mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +01:00
Added first exception for pluralize.
This commit is contained in:
parent
d3f1ca724f
commit
757154313e
@ -272,7 +272,7 @@ def wrapLines(s):
|
|||||||
L.append(textwrap.fill(line))
|
L.append(textwrap.fill(line))
|
||||||
return '\n'.join(L)
|
return '\n'.join(L)
|
||||||
|
|
||||||
plurals = {}
|
plurals = {'match': 'matches'}
|
||||||
def pluralize(i, s):
|
def pluralize(i, s):
|
||||||
"""Returns the plural of s based on its number i. Put any exceptions to
|
"""Returns the plural of s based on its number i. Put any exceptions to
|
||||||
the general English rule of appending 's' in the plurals dictionary.
|
the general English rule of appending 's' in the plurals dictionary.
|
||||||
|
Loading…
Reference in New Issue
Block a user