diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-05 02:00:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-05 02:00:42 +0000 |
commit | 7515ef54e74646dca9357acc6529daf11de0b796 (patch) | |
tree | d80724b199c98ba79287ea6271fbdfcb2c9c2ab2 /crawl-ref/source/libutil.cc | |
parent | a16fbb39e54f26bff012d0b27a5b1d8d48849faf (diff) | |
download | crawl-ref-7515ef54e74646dca9357acc6529daf11de0b796.tar.gz crawl-ref-7515ef54e74646dca9357acc6529daf11de0b796.zip |
Pluralize words ending in "folk" (e.g. "merfolk") by leaving them alone
instead of adding "s".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5481 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r-- | crawl-ref/source/libutil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index d682eb08f7..9a9408910f 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -347,7 +347,7 @@ std::string pluralise(const std::string &name, return name.substr(0, name.length() - 1) + "i"; } else if (ends_with(name, "sheep") || ends_with(name, "manes") - || ends_with(name, "fish")) + || ends_with(name, "fish") || ends_with(name, "folk")) { // Maybe we should generalise 'manes' to ends_with("es")? return name; |