mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-03-29 02:47:23 +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')
|
return matchCase(s, s+'es')
|
||||||
# Words ending with a consonant followed by a 'y' such as
|
# Words ending with a consonant followed by a 'y' such as
|
||||||
# 'try (tries)' or 'spy (spies)'
|
# 'try (tries)' or 'spy (spies)'
|
||||||
elif re.search(_pluralizeRegex, lowered):
|
elif _pluralizeRegex.search(lowered):
|
||||||
return matchCase(s, s[:-1] + 'ies')
|
return matchCase(s, s[:-1] + 'ies')
|
||||||
# In all other cases, we simply add an 's' to the base word
|
# In all other cases, we simply add an 's' to the base word
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user