mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Added loss to the plurals dictionary.
This commit is contained in:
parent
6e911131fd
commit
7ae53ef169
@ -289,7 +289,8 @@ def ellipsisify(s, n):
|
|||||||
return (textwrap.wrap(s, n-3)[0] + '...')
|
return (textwrap.wrap(s, n-3)[0] + '...')
|
||||||
|
|
||||||
plurals = TwoWayDictionary({'match': 'matches',
|
plurals = TwoWayDictionary({'match': 'matches',
|
||||||
'patch': 'patches',})
|
'patch': 'patches',
|
||||||
|
'loss': 'losses'})
|
||||||
def _matchCase(s1, s2):
|
def _matchCase(s1, s2):
|
||||||
"""Matches the case of s1 in s2"""
|
"""Matches the case of s1 in s2"""
|
||||||
L = list(s2)
|
L = list(s2)
|
||||||
|
Loading…
Reference in New Issue
Block a user