mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Fix two function misspell in locale/fr.py
This commit is contained in:
parent
485c6161ee
commit
b1f0e058a8
@ -40,7 +40,7 @@ def pluralize(s):
|
|||||||
lowered in ['bijou', 'caillou', 'chou', 'genou', 'hibou', 'joujou',
|
lowered in ['bijou', 'caillou', 'chou', 'genou', 'hibou', 'joujou',
|
||||||
'pou']:
|
'pou']:
|
||||||
return s + 'x'
|
return s + 'x'
|
||||||
elif lowered.endwith('al') and \
|
elif lowered.endswith('al') and \
|
||||||
lowered not in ['bal', 'carnaval', 'chacal', 'festival', 'récital',
|
lowered not in ['bal', 'carnaval', 'chacal', 'festival', 'récital',
|
||||||
'régal', 'cal', 'étal', 'aval', 'caracal', 'val', 'choral',
|
'régal', 'cal', 'étal', 'aval', 'caracal', 'val', 'choral',
|
||||||
'corral', 'galgal', 'gayal']:
|
'corral', 'galgal', 'gayal']:
|
||||||
@ -53,7 +53,7 @@ def pluralize(s):
|
|||||||
return s + 'x'
|
return s + 'x'
|
||||||
elif lowered == 'pare-feu':
|
elif lowered == 'pare-feu':
|
||||||
return s
|
return s
|
||||||
elif lowered.endwith('eu') and \
|
elif lowered.endswith('eu') and \
|
||||||
lowered not in ['bleu', 'pneu', 'émeu', 'enfeu']:
|
lowered not in ['bleu', 'pneu', 'émeu', 'enfeu']:
|
||||||
# Note: when 'lieu' is a fish, it has a 's' ; else, it has a 'x'
|
# Note: when 'lieu' is a fish, it has a 's' ; else, it has a 'x'
|
||||||
return s + 'x'
|
return s + 'x'
|
||||||
|
Loading…
Reference in New Issue
Block a user