mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Internationalize two strings in Config
This commit is contained in:
parent
13b194a4fe
commit
a739511b73
@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2010-10-16 12:34+CEST\n"
|
"POT-Creation-Date: 2010-12-12 15:02+CET\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -15,6 +15,14 @@ msgstr ""
|
|||||||
"Generated-By: pygettext.py 1.5\n"
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
|
||||||
|
|
||||||
|
#: plugin.py:103
|
||||||
|
msgid "configuration variable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: plugin.py:109
|
||||||
|
msgid "settable configuration variable"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: plugin.py:136
|
#: plugin.py:136
|
||||||
#, docstring
|
#, docstring
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -100,13 +100,13 @@ def getConfigVar(irc, msg, args, state):
|
|||||||
state.args.append(group)
|
state.args.append(group)
|
||||||
del args[0]
|
del args[0]
|
||||||
except registry.InvalidRegistryName, e:
|
except registry.InvalidRegistryName, e:
|
||||||
state.errorInvalid('configuration variable', str(e))
|
state.errorInvalid(_('configuration variable'), str(e))
|
||||||
addConverter('configVar', getConfigVar)
|
addConverter('configVar', getConfigVar)
|
||||||
|
|
||||||
def getSettableConfigVar(irc, msg, args, state):
|
def getSettableConfigVar(irc, msg, args, state):
|
||||||
getConfigVar(irc, msg, args, state)
|
getConfigVar(irc, msg, args, state)
|
||||||
if not hasattr(state.args[-1], 'set'):
|
if not hasattr(state.args[-1], 'set'):
|
||||||
state.errorInvalid('settable configuration variable',
|
state.errorInvalid(_('settable configuration variable'),
|
||||||
state.args[-1]._name)
|
state.args[-1]._name)
|
||||||
addConverter('settableConfigVar', getSettableConfigVar)
|
addConverter('settableConfigVar', getSettableConfigVar)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user