Factoids: Internationalize a config variable

This commit is contained in:
Valentin Lorentz 2010-11-11 12:36:47 +01:00
parent 323ffe1a1f
commit 11f7033ee0
2 changed files with 6 additions and 2 deletions

View File

@ -61,7 +61,7 @@ conf.registerChannelValue(Factoids, 'replyWhenInvalidCommand',
commands by searching for a factoid; basically making the whatis commands by searching for a factoid; basically making the whatis
unnecessary when you want all factoids for a given key."""))) unnecessary when you want all factoids for a given key.""")))
conf.registerChannelValue(Factoids, 'format', conf.registerChannelValue(Factoids, 'format',
FactoidFormat('$key could be $value.', _("""Determines the format of FactoidFormat(_('$key could be $value.'), _("""Determines the format of
the response given when a factoid's value is requested. All the standard the response given when a factoid's value is requested. All the standard
substitutes apply, in addition to "$key" for the factoid's key and "$value" substitutes apply, in addition to "$key" for the factoid's key and "$value"
for the factoid's value."""))) for the factoid's value.""")))

View File

@ -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-17 10:59+CEST\n" "POT-Creation-Date: 2010-11-11 12:37+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"
@ -44,6 +44,10 @@ msgid ""
" unnecessary when you want all factoids for a given key." " unnecessary when you want all factoids for a given key."
msgstr "" msgstr ""
#: config.py:64
msgid "$key could be $value."
msgstr ""
#: config.py:64 #: config.py:64
msgid "" msgid ""
"Determines the format of\n" "Determines the format of\n"