From: Frank Lichtenheld Date: Tue, 18 Sep 2007 18:45:11 +0000 (+0200) Subject: Packages::I18N::LanguageNames: Misc. fixes X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=2c8c7f257bafd443f4e0fe5ec746af4d18b6fb77;p=deb%2Fpackages.git Packages::I18N::LanguageNames: Misc. fixes - Use names for variants of Chinese from webwml - Turns out xgettext doesn't like tr as hash key (probably confuses it with tr operator), so quote it --- diff --git a/lib/Packages/I18N/LanguageNames.pm b/lib/Packages/I18N/LanguageNames.pm index d046260..65ab7f9 100644 --- a/lib/Packages/I18N/LanguageNames.pm +++ b/lib/Packages/I18N/LanguageNames.pm @@ -30,14 +30,14 @@ my %ctrans = ( pt_BR => N_("Portuguese (Brasilia)"), pt_PT => N_("Portuguese (Portugal)"), zh => N_("Chinese"), - zh_CN => N_("Simplified Chinese"), - zh_HK => N_("Traditional Chinese"), - zh_TW => N_("Traditional Chinese"), + zh_CN => N_("Chinese (China)"), + zh_HK => N_("Chinese (Hong Kong)"), + zh_TW => N_("Chinese (Taiwan)"), sv => N_("Swedish"), sv_SE => N_("Swedish"), pl => N_("Polish"), 'no' => N_("Norwegian"), - tr => N_("Turkish"), + 'tr' => N_("Turkish"), ru => N_("Russian"), cs => N_("Czech"), eo => N_("Esperanto"), diff --git a/po/langs.pot b/po/langs.pot index d2566d0..acd09a8 100644 --- a/po/langs.pot +++ b/po/langs.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-18 18:43+0200\n" +"POT-Creation-Date: 2007-09-18 20:42+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -88,12 +88,15 @@ msgid "Chinese" msgstr "" #: ./lib/Packages/I18N/LanguageNames.pm:33 -msgid "Simplified Chinese" +msgid "Chinese (China)" msgstr "" #: ./lib/Packages/I18N/LanguageNames.pm:34 +msgid "Chinese (Hong Kong)" +msgstr "" + #: ./lib/Packages/I18N/LanguageNames.pm:35 -msgid "Traditional Chinese" +msgid "Chinese (Taiwan)" msgstr "" #: ./lib/Packages/I18N/LanguageNames.pm:36 @@ -109,6 +112,14 @@ msgstr "" msgid "Norwegian" msgstr "" +#: ./lib/Packages/I18N/LanguageNames.pm:40 +msgid "Turkish" +msgstr "" + +#: ./lib/Packages/I18N/LanguageNames.pm:41 +msgid "Russian" +msgstr "" + #: ./lib/Packages/I18N/LanguageNames.pm:42 msgid "Czech" msgstr ""