mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Merge branch 'l10n-fr' into testing
This commit is contained in:
commit
5f2699b2c0
@ -200,13 +200,13 @@ class PluginInternationalization:
|
|||||||
pass
|
pass
|
||||||
return ordinal
|
return ordinal
|
||||||
|
|
||||||
def getBeAndHave(self, be, have):
|
def getBeAndHas(self, be, has):
|
||||||
# This should be used only by src/utils/str.py
|
# This should be used only by src/utils/str.py
|
||||||
try:
|
try:
|
||||||
execfile(self._getL10nCode())
|
execfile(self._getL10nCode())
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
return (be, have)
|
return (be, has)
|
||||||
|
|
||||||
def internationalizeDocstring(obj):
|
def internationalizeDocstring(obj):
|
||||||
# FIXME: check if the plugin has an _ object
|
# FIXME: check if the plugin has an _ object
|
||||||
|
@ -366,7 +366,7 @@ def has(i):
|
|||||||
else:
|
else:
|
||||||
return 'have'
|
return 'have'
|
||||||
|
|
||||||
be, have = _.getVerbs(be, have)
|
be, has = _.getBeAndHas(be, has)
|
||||||
|
|
||||||
def toBool(s):
|
def toBool(s):
|
||||||
s = s.strip().lower()
|
s = s.strip().lower()
|
||||||
|
Loading…
Reference in New Issue
Block a user