From 84faea7f0d74d596189d6f7073fa2a976a892b34 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 12 Aug 2007 09:54:23 +0200 Subject: [PATCH] Put the three letter language codes and aliases into i18n.c --- HISTORY | 5 ++- i18n.c | 98 ++++++++++++++++++++++++++++++++++++++++++----------- po/ca_ES.po | 8 ++--- po/cs_CZ.po | 8 ++--- po/da_DK.po | 6 ++-- po/de_DE.po | 8 ++--- po/el_GR.po | 8 ++--- po/es_ES.po | 8 ++--- po/et_EE.po | 6 ++-- po/fi_FI.po | 8 ++--- po/fr_FR.po | 8 ++--- po/hr_HR.po | 6 ++-- po/hu_HU.po | 6 ++-- po/it_IT.po | 6 ++-- po/nl_NL.po | 8 ++--- po/nn_NO.po | 6 ++-- po/pl_PL.po | 6 ++-- po/pt_PT.po | 6 ++-- po/ro_RO.po | 8 ++--- po/ru_RU.po | 6 ++-- po/sl_SI.po | 8 ++--- po/sv_SE.po | 8 ++--- po/tr_TR.po | 6 ++-- 23 files changed, 157 insertions(+), 94 deletions(-) diff --git a/HISTORY b/HISTORY index ab14ac1e..fa600981 100644 --- a/HISTORY +++ b/HISTORY @@ -5299,7 +5299,7 @@ Video Disk Recorder Revision History - Added a missing 'P' to vdr.c's SHUTDOWNCANCELROMPT macro (reported by Marco Schlüßler). -2007-08-11: Version 1.5.7 +2007-08-12: Version 1.5.7 - All logging now goes to LOG_ERR, because some systems split error, info and debug messages into separate files, which repeatedly caused extra efforts to @@ -5321,6 +5321,9 @@ Video Disk Recorder Revision History to make strings in arrays translatable. See README.i18n for information on how to create new or maintain existing translations. +- The three letter language codes and their aliases are stored in i18n.c, and + each translation file only contains one of them to link that language name + to the code. - The 'newplugin' script has been extended to generate the Makefile section for i18n support. - The parameter OSDLanguage in 'setup.conf' is now a string and holds the locale diff --git a/i18n.c b/i18n.c index 17b954bb..2d096048 100644 --- a/i18n.c +++ b/i18n.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: i18n.c 1.306 2007/08/11 14:27:02 kls Exp $ + * $Id: i18n.c 1.307 2007/08/12 09:51:15 kls Exp $ * * */ @@ -27,8 +27,39 @@ // TRANSLATORS: The name of the language, as written natively const char *LanguageName = trNOOP("LanguageName$English"); -// TRANSLATORS: The 3-letter code(s) of the language (separated by commas) -const char *LanguageCode = trNOOP("LanguageCode$eng,dos"); +// TRANSLATORS: The 3-letter code of the language +const char *LanguageCode = trNOOP("LanguageCode$eng"); + +// List of known language codes with aliases. +// Actually we could list all codes from http://www.loc.gov/standards/iso639-2 +// here, but that would be several hundreds - and for most of them it's unlikely +// they're ever going to be used... + +const char *LanguageCodeList[] = { + "eng,dos", + "deu,ger", + "slv,slo", + "ita", + "dut,nla,nld", + "por", + "fra,fre", + "nor", + "fin,smi", + "pol", + "esl,spa", + "ell,gre", + "sve,swe", + "rom,rum", + "hun", + "cat,cln", + "rus", + "hrv", + "est", + "dan", + "cze,ces", + "tur", + NULL + }; static char *I18nLocaleDir = LOCDIR; @@ -38,6 +69,21 @@ static cStringList LanguageCodes; static int CurrentLanguage = 0; +static bool ContainsCode(const char *Codes, const char *Code) +{ + while (*Codes) { + int l = 0; + for ( ; l < 3 && Code[l]; l++) { + if (Codes[l] != tolower(Code[l])) + break; + } + if (l == 3) + return true; + Codes++; + } + return false; +} + static const char *SkipContext(const char *s) { const char *p = strchr(s, '$'); @@ -46,9 +92,9 @@ static const char *SkipContext(const char *s) void I18nInitialize(void) { - LanguageNames.Append(strdup(SkipContext(LanguageName))); - LanguageCodes.Append(strdup(SkipContext(LanguageCode))); LanguageLocales.Append(strdup(I18N_DEFAULT_LOCALE)); + LanguageNames.Append(strdup(SkipContext(LanguageName))); + LanguageCodes.Append(strdup(LanguageCodeList[0])); textdomain("vdr"); bindtextdomain("vdr", I18nLocaleDir); cFileNameList Locales(I18nLocaleDir, true); @@ -58,11 +104,18 @@ void I18nInitialize(void) for (int i = 0; i < Locales.Size(); i++) { if (i < I18N_MAX_LANGUAGES - 1) { if (setlocale(LC_MESSAGES, Locales[i])) { + if (strstr(OldLocale, Locales[i]) == OldLocale) + CurrentLanguage = LanguageLocales.Size(); LanguageLocales.Append(strdup(Locales[i])); LanguageNames.Append(strdup(gettext(LanguageName))); - LanguageCodes.Append(strdup(gettext(LanguageCode))); - if (strstr(OldLocale, Locales[i]) == OldLocale) - CurrentLanguage = LanguageLocales.Size() - 1; + const char *Code = gettext(LanguageCode); + for (const char **lc = LanguageCodeList; *lc; lc++) { + if (ContainsCode(*lc, Code)) { + Code = *lc; + break; + } + } + LanguageCodes.Append(strdup(Code)); } } else @@ -71,6 +124,22 @@ void I18nInitialize(void) setlocale(LC_MESSAGES, OldLocale); free(OldLocale); } + // Prepare any known language codes for which there was no locale: + for (const char **lc = LanguageCodeList; *lc; lc++) { + bool Found = false; + for (int i = 0; i < LanguageCodes.Size(); i++) { + if (strcmp(*lc, LanguageCodes[i]) == 0) { + Found = true; + break; + } + } + if (!Found) { + dsyslog("no locale for language code '%s'", *lc); + LanguageLocales.Append(strdup(I18N_DEFAULT_LOCALE)); + LanguageNames.Append(strdup(*lc)); + LanguageCodes.Append(strdup(*lc)); + } + } } void I18nRegister(const char *Plugin) @@ -134,17 +203,8 @@ const char *I18nLanguageCode(int Language) int I18nLanguageIndex(const char *Code) { for (int i = 0; i < LanguageCodes.Size(); i++) { - const char *s = LanguageCodes[i]; - while (*s) { - int l = 0; - for ( ; l < 3 && Code[l]; l++) { - if (s[l] != tolower(Code[l])) - break; - } - if (l == 3) - return i; - s++; - } + if (ContainsCode(LanguageCodes[i], Code)) + return i; } //dsyslog("unknown language code: '%s'", Code); return -1; diff --git a/po/ca_ES.po b/po/ca_ES.po index 34fc7538..741bc9a2 100644 --- a/po/ca_ES.po +++ b/po/ca_ES.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Jordi Vilà \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -42,10 +42,10 @@ msgstr "" msgid "LanguageName$English" msgstr "Català" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "cat,cln" +msgid "LanguageCode$eng" +msgstr "cat" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/cs_CZ.po b/po/cs_CZ.po index 40532a1c..25cef7f6 100644 --- a/po/cs_CZ.po +++ b/po/cs_CZ.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Vladimír Bárta \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,10 +40,10 @@ msgstr "Bez n msgid "LanguageName$English" msgstr "Èesky" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "cze,ces" +msgid "LanguageCode$eng" +msgstr "cze" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/da_DK.po b/po/da_DK.po index af9510db..a43a1ae3 100644 --- a/po/da_DK.po +++ b/po/da_DK.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Mogens Elneff \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,9 +40,9 @@ msgstr "Ingen titel" msgid "LanguageName$English" msgstr "Dansk" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "dan" #: interface.c:75 diff --git a/po/de_DE.po b/po/de_DE.po index 6833a67b..cd29b369 100644 --- a/po/de_DE.po +++ b/po/de_DE.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 15:18+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Klaus Schmidinger \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,10 +40,10 @@ msgstr "Kein Titel" msgid "LanguageName$English" msgstr "Deutsch" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "deu,ger" +msgid "LanguageCode$eng" +msgstr "deu" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/el_GR.po b/po/el_GR.po index af96853a..7c40487a 100644 --- a/po/el_GR.po +++ b/po/el_GR.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Dimitrios Dimitrakos \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,10 +40,10 @@ msgstr " msgid "LanguageName$English" msgstr "ÅëëçíéêÜ" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "ell,gre" +msgid "LanguageCode$eng" +msgstr "ell" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/es_ES.po b/po/es_ES.po index 63dcd2b8..7e00ff08 100644 --- a/po/es_ES.po +++ b/po/es_ES.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Ruben Nunez Francisco \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,10 +40,10 @@ msgstr "Sin t msgid "LanguageName$English" msgstr "Español" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "esl,spa" +msgid "LanguageCode$eng" +msgstr "esl" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/et_EE.po b/po/et_EE.po index d04369e8..5fba8d1f 100644 --- a/po/et_EE.po +++ b/po/et_EE.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Arthur Konovalov \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,9 +40,9 @@ msgstr "Pealkiri puudub" msgid "LanguageName$English" msgstr "eesti" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "est" #: interface.c:75 diff --git a/po/fi_FI.po b/po/fi_FI.po index 01b167db..5682c921 100644 --- a/po/fi_FI.po +++ b/po/fi_FI.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Rolf Ahrenberg \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -43,10 +43,10 @@ msgstr "Ei esityst msgid "LanguageName$English" msgstr "suomi" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "fin,smi" +msgid "LanguageCode$eng" +msgstr "fin" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/fr_FR.po b/po/fr_FR.po index 293de4b5..71f418c7 100644 --- a/po/fr_FR.po +++ b/po/fr_FR.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Nicolas Huillard \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -43,10 +43,10 @@ msgstr "Sans titre" msgid "LanguageName$English" msgstr "Français" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "fra,fre" +msgid "LanguageCode$eng" +msgstr "fra" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/hr_HR.po b/po/hr_HR.po index bba257a4..3d39030c 100644 --- a/po/hr_HR.po +++ b/po/hr_HR.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Drazen Dupor \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,9 +41,9 @@ msgstr "Bez titla" msgid "LanguageName$English" msgstr "Hrvatski" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "hrv" #: interface.c:75 diff --git a/po/hu_HU.po b/po/hu_HU.po index 3fa53069..aca47b83 100644 --- a/po/hu_HU.po +++ b/po/hu_HU.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Istvan Koenigsberger , Guido Josten \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,9 +41,9 @@ msgstr "n msgid "LanguageName$English" msgstr "Magyar" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "hun" #: interface.c:75 diff --git a/po/it_IT.po b/po/it_IT.po index 6cf890a6..224bc36a 100644 --- a/po/it_IT.po +++ b/po/it_IT.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Sean Carlos \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -42,9 +42,9 @@ msgstr "Senza titolo" msgid "LanguageName$English" msgstr "Italiano" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "ita" #: interface.c:75 diff --git a/po/nl_NL.po b/po/nl_NL.po index b8e204f8..6e56194c 100644 --- a/po/nl_NL.po +++ b/po/nl_NL.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Maarten Wisse \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -42,10 +42,10 @@ msgstr "Geen titel" msgid "LanguageName$English" msgstr "Nederlands" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "dut,nla,nld" +msgid "LanguageCode$eng" +msgstr "dut" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/nn_NO.po b/po/nn_NO.po index 77c39e37..8deab349 100644 --- a/po/nn_NO.po +++ b/po/nn_NO.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Truls Slevigen \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,9 +41,9 @@ msgstr "" msgid "LanguageName$English" msgstr "Norsk" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "nor" #: interface.c:75 diff --git a/po/pl_PL.po b/po/pl_PL.po index 1f99932e..18ec7ad3 100644 --- a/po/pl_PL.po +++ b/po/pl_PL.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Michael Rakowski \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,9 +40,9 @@ msgstr "Bez tytu msgid "LanguageName$English" msgstr "Polski" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "pol" #: interface.c:75 diff --git a/po/pt_PT.po b/po/pt_PT.po index cb0a55f9..c083b343 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Paulo Lopes \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,9 +40,9 @@ msgstr "" msgid "LanguageName$English" msgstr "Português" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "por" #: interface.c:75 diff --git a/po/ro_RO.po b/po/ro_RO.po index f287f6ad..7cafd046 100644 --- a/po/ro_RO.po +++ b/po/ro_RO.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Lucian Muresan \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,10 +41,10 @@ msgstr "F msgid "LanguageName$English" msgstr "Românã" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "rom,rum" +msgid "LanguageCode$eng" +msgstr "rom" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/ru_RU.po b/po/ru_RU.po index 4c1b92eb..6a1aae70 100644 --- a/po/ru_RU.po +++ b/po/ru_RU.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Vyacheslav Dikonov \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,9 +40,9 @@ msgstr " msgid "LanguageName$English" msgstr "ÀãááÚØÙ" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "rus" #: interface.c:75 diff --git a/po/sl_SI.po b/po/sl_SI.po index dabb6d2f..a7720d43 100644 --- a/po/sl_SI.po +++ b/po/sl_SI.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Matjaz Thaler \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,10 +41,10 @@ msgstr "Brez naziva" msgid "LanguageName$English" msgstr "Slovenski" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "slv,slo" +msgid "LanguageCode$eng" +msgstr "slv" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/sv_SE.po b/po/sv_SE.po index 2435ae49..3e046753 100644 --- a/po/sv_SE.po +++ b/po/sv_SE.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Tomas Prybil \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -41,10 +41,10 @@ msgstr "ingen titel" msgid "LanguageName$English" msgstr "Svenska" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" -msgstr "sve,swe" +msgid "LanguageCode$eng" +msgstr "sve" #: interface.c:75 msgid "Phase 1: Detecting RC code type" diff --git a/po/tr_TR.po b/po/tr_TR.po index c4afd634..49085133 100644 --- a/po/tr_TR.po +++ b/po/tr_TR.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: VDR 1.5.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-11 11:00+0200\n" -"PO-Revision-Date: 2007-08-11 11:00+0200\n" +"PO-Revision-Date: 2007-08-12 11:53+0200\n" "Last-Translator: Oktay Yolgeçen \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -40,9 +40,9 @@ msgstr " msgid "LanguageName$English" msgstr "Türkçe" -#. TRANSLATORS: The 3-letter code(s) of the language (separated by commas) +#. TRANSLATORS: The 3-letter code of the language #: i18n.c:31 -msgid "LanguageCode$eng,dos" +msgid "LanguageCode$eng" msgstr "tur" #: interface.c:75