From 21b73bfbed234c89ce6af7b6853c504a76c292d2 Mon Sep 17 00:00:00 2001 From: Florian Besser Date: Sat, 29 Oct 2011 16:24:08 +0200 Subject: [PATCH] RSS: internationalized announcementPrefix default value --- plugins/RSS/config.py | 2 +- plugins/RSS/messages.pot | 32 ++++++++++++++++++-------------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/plugins/RSS/config.py b/plugins/RSS/config.py index d4c03e8af..d816705a2 100644 --- a/plugins/RSS/config.py +++ b/plugins/RSS/config.py @@ -53,7 +53,7 @@ conf.registerChannelValue(RSS, 'headlineSeparator', registry.StringSurroundedBySpaces(' || ', _("""Determines what string is used to separate headlines in new feeds."""))) 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 channel."""))) conf.registerChannelValue(RSS, 'announce', diff --git a/plugins/RSS/messages.pot b/plugins/RSS/messages.pot index 9885ca62f..bc281f410 100644 --- a/plugins/RSS/messages.pot +++ b/plugins/RSS/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -34,6 +34,10 @@ msgid "" " channel." msgstr "" +#: config.py:56 +msgid "New news from " +msgstr "" + #: config.py:60 msgid "" "Determines which RSS feeds\n" @@ -62,7 +66,7 @@ msgid "" " listed when a feed is automatically announced." msgstr "" -#: config.py:84 +#: config.py:92 msgid "" "Determines whether the bot will list the link\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." msgstr "" -#: plugin.py:316 +#: plugin.py:340 #, docstring msgid "" " \n" @@ -88,7 +92,7 @@ msgid "" " " msgstr "" -#: plugin.py:327 +#: plugin.py:351 #, docstring msgid "" "\n" @@ -98,11 +102,11 @@ msgid "" " " msgstr "" -#: plugin.py:333 +#: plugin.py:357 msgid "That's not a valid RSS feed command name." msgstr "" -#: plugin.py:344 +#: plugin.py:368 #, docstring msgid "" "[]\n" @@ -112,11 +116,11 @@ msgid "" " " msgstr "" -#: plugin.py:351 +#: plugin.py:375 msgid "I am currently not announcing any feeds." msgstr "" -#: plugin.py:356 +#: plugin.py:380 #, docstring msgid "" "[] [ ...]\n" @@ -128,7 +132,7 @@ msgid "" " " msgstr "" -#: plugin.py:374 +#: plugin.py:398 #, docstring msgid "" "[] [ ...]\n" @@ -140,7 +144,7 @@ msgid "" " " msgstr "" -#: plugin.py:392 +#: plugin.py:416 #, docstring msgid "" " []\n" @@ -150,11 +154,11 @@ msgid "" " " msgstr "" -#: plugin.py:405 +#: plugin.py:429 msgid "Couldn't get RSS feed." msgstr "" -#: plugin.py:420 +#: plugin.py:444 #, docstring msgid "" "\n" @@ -164,11 +168,11 @@ msgid "" " " msgstr "" -#: plugin.py:433 +#: plugin.py:457 msgid "I couldn't retrieve that RSS feed." msgstr "" -#: plugin.py:446 +#: plugin.py:470 msgid "Title: %s; URL: %u; Description: %s; Last updated: %s." msgstr ""