mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
This wasn't being done correctly, let's see if this fixes it.
This commit is contained in:
parent
78da84e4cb
commit
b0931ea0ec
@ -363,7 +363,7 @@ def pluralize(s, i=2):
|
||||
return matchCase(s, s+'es')
|
||||
# Words ending with a consonant followed by a 'y' such as
|
||||
# 'try (tries)' or 'spy (spies)'
|
||||
elif re.search(_pluralizeRegex, lowered):
|
||||
elif _pluralizeRegex.search(lowered):
|
||||
return matchCase(s, s[:-1] + 'ies')
|
||||
# In all other cases, we simply add an 's' to the base word
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user