diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-06 21:14:33 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-06 21:14:33 +0000 |
commit | ef970c20a9d2ecb98d5838d779c1790a449d0f33 (patch) | |
tree | 81f006d9807f93c4b17f7c9f8ad4aff294919004 /crawl-ref/source/Kills.h | |
parent | 7f97bf0e03db69e9f393d4b683705bcfdc3c7c86 (diff) | |
download | crawl-ref-ef970c20a9d2ecb98d5838d779c1790a449d0f33.tar.gz crawl-ref-ef970c20a9d2ecb98d5838d779c1790a449d0f33.zip |
Add the last of the apostrophe-related fixes. Words that end in "x"
will now get proper "'s" endings; simple_monster_message() and
simple_god_message() will now replace all "s's" with "'s" (there's no
need to worry about the "its" rule here, since invisible monsters are
excluded from the former, and no gods are named "It" or are invisible
with regard to the latter); and the tutorial will now generically
apostrophize the one god name it has (since doing the aforementioned
replacement would take too long on the tutorial text). The high score
message still appends "'s" unconditionally to user names, but they may
not be English, so that seems okay to me.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8281 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/Kills.h')
-rw-r--r-- | crawl-ref/source/Kills.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/Kills.h b/crawl-ref/source/Kills.h index b610d41c86..0dd4cb9550 100644 --- a/crawl-ref/source/Kills.h +++ b/crawl-ref/source/Kills.h @@ -16,6 +16,7 @@ #include "enum.h" std::string apostrophise(const std::string &name); +std::string apostrophise_fixup(const std::string &sentence); class monsters; class reader; |