RSS: internationalized announcementPrefix default value

This commit is contained in:
Florian Besser 2011-10-29 16:24:08 +02:00
parent 08405c6ec5
commit 21b73bfbed
2 changed files with 19 additions and 15 deletions

View File

@ -53,7 +53,7 @@ conf.registerChannelValue(RSS, 'headlineSeparator',
registry.StringSurroundedBySpaces(' || ', _("""Determines what string is registry.StringSurroundedBySpaces(' || ', _("""Determines what string is
used to separate headlines in new feeds."""))) used to separate headlines in new feeds.""")))
conf.registerChannelValue(RSS, 'announcementPrefix', conf.registerChannelValue(RSS, 'announcementPrefix',
registry.StringWithSpaceOnRight('New news from ', _("""Determines what registry.StringWithSpaceOnRight(_('New news from '), _("""Determines what
prefix is prepended (if any) to the new news item announcements made in the prefix is prepended (if any) to the new news item announcements made in the
channel."""))) channel.""")))
conf.registerChannelValue(RSS, 'announce', conf.registerChannelValue(RSS, 'announce',

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-02-26 09:49+CET\n" "POT-Creation-Date: 2011-10-29 16:08+CEST\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"
@ -34,6 +34,10 @@ msgid ""
" channel." " channel."
msgstr "" msgstr ""
#: config.py:56
msgid "New news from "
msgstr ""
#: config.py:60 #: config.py:60
msgid "" msgid ""
"Determines which RSS feeds\n" "Determines which RSS feeds\n"
@ -62,7 +66,7 @@ msgid ""
" listed when a feed is automatically announced." " listed when a feed is automatically announced."
msgstr "" msgstr ""
#: config.py:84 #: config.py:92
msgid "" msgid ""
"Determines whether the bot will list the link\n" "Determines whether the bot will list the link\n"
" along with the title of the feed when a feed is automatically\n" " along with the title of the feed when a feed is automatically\n"
@ -78,7 +82,7 @@ msgid ""
" command to determine what feeds should be announced in a given channel." " command to determine what feeds should be announced in a given channel."
msgstr "" msgstr ""
#: plugin.py:316 #: plugin.py:340
#, docstring #, docstring
msgid "" msgid ""
"<name> <url>\n" "<name> <url>\n"
@ -88,7 +92,7 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:327 #: plugin.py:351
#, docstring #, docstring
msgid "" msgid ""
"<name>\n" "<name>\n"
@ -98,11 +102,11 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:333 #: plugin.py:357
msgid "That's not a valid RSS feed command name." msgid "That's not a valid RSS feed command name."
msgstr "" msgstr ""
#: plugin.py:344 #: plugin.py:368
#, docstring #, docstring
msgid "" msgid ""
"[<channel>]\n" "[<channel>]\n"
@ -112,11 +116,11 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:351 #: plugin.py:375
msgid "I am currently not announcing any feeds." msgid "I am currently not announcing any feeds."
msgstr "" msgstr ""
#: plugin.py:356 #: plugin.py:380
#, docstring #, docstring
msgid "" msgid ""
"[<channel>] <name|url> [<name|url> ...]\n" "[<channel>] <name|url> [<name|url> ...]\n"
@ -128,7 +132,7 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:374 #: plugin.py:398
#, docstring #, docstring
msgid "" msgid ""
"[<channel>] <name|url> [<name|url> ...]\n" "[<channel>] <name|url> [<name|url> ...]\n"
@ -140,7 +144,7 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:392 #: plugin.py:416
#, docstring #, docstring
msgid "" msgid ""
"<url> [<number of headlines>]\n" "<url> [<number of headlines>]\n"
@ -150,11 +154,11 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:405 #: plugin.py:429
msgid "Couldn't get RSS feed." msgid "Couldn't get RSS feed."
msgstr "" msgstr ""
#: plugin.py:420 #: plugin.py:444
#, docstring #, docstring
msgid "" msgid ""
"<url|feed>\n" "<url|feed>\n"
@ -164,11 +168,11 @@ msgid ""
" " " "
msgstr "" msgstr ""
#: plugin.py:433 #: plugin.py:457
msgid "I couldn't retrieve that RSS feed." msgid "I couldn't retrieve that RSS feed."
msgstr "" msgstr ""
#: plugin.py:446 #: plugin.py:470
msgid "Title: %s; URL: %u; Description: %s; Last updated: %s." msgid "Title: %s; URL: %u; Description: %s; Last updated: %s."
msgstr "" msgstr ""