Unix: Make plugin.py:190 localizable and regenerate messages.pot

This commit is contained in:
nyuszika7h 2011-12-22 22:28:46 +01:00
parent 1c01dc2a3c
commit 71c7f39d44
2 changed files with 26 additions and 16 deletions

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: 2011-08-10 11:27+CEST\n" "POT-Creation-Date: 2011-12-22 22:28+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"
@ -68,7 +68,13 @@ msgid ""
" what command will be called for the spell command." " what command will be called for the spell command."
msgstr "" msgstr ""
#: config.py:87 #: config.py:85
msgid ""
"Determines what aspell dictionary will be used\n"
" for spell checking."
msgstr ""
#: config.py:90
msgid "" msgid ""
"Determines what\n" "Determines what\n"
" command will be called for the wtf command." " command will be called for the wtf command."
@ -140,27 +146,31 @@ msgstr ""
msgid "The spell checking command is not configured. If one is installed, reconfigure supybot.plugins.Unix.spell.command appropriately." msgid "The spell checking command is not configured. If one is installed, reconfigure supybot.plugins.Unix.spell.command appropriately."
msgstr "" msgstr ""
#: plugin.py:147 #: plugin.py:148
msgid "<word> must begin with an alphabet character." msgid "<word> must begin with an alphabet character."
msgstr "" msgstr ""
#: plugin.py:169 #: plugin.py:170
msgid "No results found." msgid "No results found."
msgstr "" msgstr ""
#: plugin.py:180 #: plugin.py:181
msgid "%q may be spelled correctly." msgid "%q may be spelled correctly."
msgstr "" msgstr ""
#: plugin.py:182 #: plugin.py:183
msgid "I could not find an alternate spelling for %q" msgid "I could not find an alternate spelling for %q"
msgstr "" msgstr ""
#: plugin.py:186 #: plugin.py:187
msgid "Possible spellings for %q: %L." msgid "Possible spellings for %q: %L."
msgstr "" msgstr ""
#: plugin.py:195 #: plugin.py:190
msgid "Something unexpected was seen in the [ai]spell output."
msgstr ""
#: plugin.py:196
#, docstring #, docstring
msgid "" msgid ""
"takes no arguments\n" "takes no arguments\n"
@ -169,15 +179,15 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:215 #: plugin.py:217
msgid "It seems the configured fortune command was not available." msgid "It seems the configured fortune command was not available."
msgstr "" msgstr ""
#: plugin.py:224 #: plugin.py:226
msgid "The fortune command is not configured. If fortune is installed on this system, reconfigure the supybot.plugins.Unix.fortune.command configuration variable appropriately." msgid "The fortune command is not configured. If fortune is installed on this system, reconfigure the supybot.plugins.Unix.fortune.command configuration variable appropriately."
msgstr "" msgstr ""
#: plugin.py:231 #: plugin.py:233
#, docstring #, docstring
msgid "" msgid ""
"[is] <something>\n" "[is] <something>\n"
@ -188,15 +198,15 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:246 #: plugin.py:248
msgid "It seems the configured wtf command was not available." msgid "It seems the configured wtf command was not available."
msgstr "" msgstr ""
#: plugin.py:255 #: plugin.py:257
msgid "The wtf command is not configured. If it is installed on this system, reconfigure the supybot.plugins.Unix.wtf.command configuration variable appropriately." msgid "The wtf command is not configured. If it is installed on this system, reconfigure the supybot.plugins.Unix.wtf.command configuration variable appropriately."
msgstr "" msgstr ""
#: plugin.py:263 #: plugin.py:265
#, docstring #, docstring
msgid "" msgid ""
"[--c <count>] [--i <interval>] [--t <ttl>] [--W <timeout>] <host or ip>\n" "[--c <count>] [--i <interval>] [--t <ttl>] [--W <timeout>] <host or ip>\n"
@ -207,7 +217,7 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:315 #: plugin.py:317
#, docstring #, docstring
msgid "" msgid ""
"<command to call with any arguments> \n" "<command to call with any arguments> \n"

View File

@ -187,7 +187,7 @@ class Unix(callbacks.Plugin):
resp = format(_('Possible spellings for %q: %L.'), resp = format(_('Possible spellings for %q: %L.'),
word, matches.split(', ')) word, matches.split(', '))
else: else:
resp = 'Something unexpected was seen in the [ai]spell output.' resp = _('Something unexpected was seen in the [ai]spell output.')
irc.reply(resp) irc.reply(resp)
spell = thread(wrap(spell, ['something'])) spell = thread(wrap(spell, ['something']))