mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Fix wrong method name
This commit is contained in:
parent
52094ec910
commit
b85d289bbb
@ -200,13 +200,13 @@ class PluginInternationalization:
|
||||
pass
|
||||
return ordinal
|
||||
|
||||
def getBeAndHave(self, be, have):
|
||||
def getBeAndHas(self, be, has):
|
||||
# This should be used only by src/utils/str.py
|
||||
try:
|
||||
execfile(self._getL10nCode())
|
||||
except IOError:
|
||||
pass
|
||||
return (be, have)
|
||||
return (be, has)
|
||||
|
||||
def internationalizeDocstring(obj):
|
||||
# FIXME: check if the plugin has an _ object
|
||||
|
@ -366,7 +366,7 @@ def has(i):
|
||||
else:
|
||||
return 'have'
|
||||
|
||||
be, have = _.getVerbs(be, have)
|
||||
be, has = _.getBeAndHas(be, has)
|
||||
|
||||
def toBool(s):
|
||||
s = s.strip().lower()
|
||||
|
Loading…
Reference in New Issue
Block a user