Mailinglist Archive: yast-commit (595 mails)

< Previous Next >
[yast-commit] r53913 - in /trunk/squid: VERSION package/yast2-squid.changes src/SquidErrorMessages.ycp
  • From: jsrain@xxxxxxxxxxxxxxxx
  • Date: Fri, 05 Dec 2008 10:55:14 -0000
  • Message-id: <20081205105514.876AFB1A97@xxxxxxxxxxxxxxxx>
Author: jsrain
Date: Fri Dec 5 11:55:14 2008
New Revision: 53913

URL: http://svn.opensuse.org/viewcvs/yast?rev=53913&view=rev
Log:
add translations of squid error language names (bnc #447020)

Modified:
trunk/squid/VERSION
trunk/squid/package/yast2-squid.changes
trunk/squid/src/SquidErrorMessages.ycp

Modified: trunk/squid/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/squid/VERSION?rev=53913&r1=53912&r2=53913&view=diff
==============================================================================
--- trunk/squid/VERSION (original)
+++ trunk/squid/VERSION Fri Dec 5 11:55:14 2008
@@ -1 +1 @@
-2.17.5
+2.17.6

Modified: trunk/squid/package/yast2-squid.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/squid/package/yast2-squid.changes?rev=53913&r1=53912&r2=53913&view=diff
==============================================================================
--- trunk/squid/package/yast2-squid.changes (original)
+++ trunk/squid/package/yast2-squid.changes Fri Dec 5 11:55:14 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Dec 5 11:47:41 CET 2008 - jsrain@xxxxxxx
+
+- add translations of squid error language names (bnc #447020)
+- 2.17.6
+
+-------------------------------------------------------------------
Thu Dec 4 16:26:58 CET 2008 - jsrain@xxxxxxx

- marked even more missing texts for translations (bnc #447014)

Modified: trunk/squid/src/SquidErrorMessages.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/squid/src/SquidErrorMessages.ycp?rev=53913&r1=53912&r2=53913&view=diff
==============================================================================
--- trunk/squid/src/SquidErrorMessages.ycp (original)
+++ trunk/squid/src/SquidErrorMessages.ycp Fri Dec 5 11:55:14 2008
@@ -86,6 +86,77 @@
return ret;
}

+map<string,string> trans_map = $[
+ // language name - combo box entry
+ "Armenian" : _("Armenian"),
+ // language name - combo box entry
+ "Catalan" : _("Catalan"),
+ // language name - combo box entry
+ "Dutch" : _("Dutch"),
+ // language name - combo box entry
+ "Finnish" : _("Finnish"),
+ // language name - combo box entry
+ "Greek" : _("Greek"),
+ // language name - combo box entry
+ "Italian" : _("Italian"),
+ // language name - combo box entry
+ "Lithuanian" : _("Lithuanian"),
+ // language name - combo box entry
+ "Romanian" : _("Romanian"),
+ // language name - combo box entry
+ "Serbian" : _("Serbian"),
+ // language name - combo box entry
+ "Spanish" : _("Spanish"),
+ // language name - combo box entry
+ "Turkish" : _("Turkish"),
+ // language name - combo box entry; don't translate the encoding suffix
+ "Ukrainian-1251" : _("Ukrainian-1251"),
+ // language name - combo box entry
+ "Azerbaijani" : _("Azerbaijani"),
+ // language name - combo box entry
+ "Czech" : _("Czech"),
+ // language name - combo box entry
+ "English" : _("English"),
+ // language name - combo box entry
+ "French" : _("French"),
+ // language name - combo box entry
+ "Hebrew" : _("Hebrew"),
+ // language name - combo box entry
+ "Japanese" : _("Japanese"),
+ // language name - combo box entry
+ "Polish" : _("Polish"),
+ // language name - combo box entry; don't translate the encoding suffix
+ "Russian-koi8-r" : _("Russian-koi8-r"),
+ // language name - combo box entry
+ "Simplify_Chinese" : _("Simplify Chinese"),
+ // language name - combo box entry
+ "Swedish" : _("Swedish"),
+ // language name - combo box entry; don't translate the encoding suffix
+ "Ukrainian-koi8-u" : _("Ukrainian-koi8-u"),
+ // language name - combo box entry
+ "Bulgarian" : _("Bulgarian"),
+ // language name - combo box entry
+ "Danish" : _("Danish"),
+ // language name - combo box entry
+ "Estonian" : _("Estonian"),
+ // language name - combo box entry
+ "German" : _("German"),
+ // language name - combo box entry
+ "Hungarian" : _("Hungarian"),
+ // language name - combo box entry
+ "Korean" : _("Korean"),
+ // language name - combo box entry
+ "Portuguese" : _("Portuguese"),
+ // language name - combo box entry; don't translate the encoding suffix
+ "Russian-1251" : _("Russian-1251"),
+ // language name - combo box entry
+ "Slovak" : _("Slovak"),
+ // language name - combo box entry
+ "Traditional_Chinese" : _("Traditional Chinese"),
+ // language name - combo box entry; don't translate the encoding suffix
+ "Ukrainian-utf8" : _("Ukrainian-utf8"),
+];
+
/**
* Returns list of all available languages in form of items of ComboBox.
*/
@@ -96,7 +167,7 @@
list<term> ret = [];
foreach (string language, GetLanguages(),
{
- ret = add(ret, `item(`id(language), language));
+ ret = add(ret, `item(`id(language), trans_map[language]:language));
});
return ret;
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages