Author: kmachalkova Date: Wed Apr 9 10:28:36 2008 New Revision: 46269 URL: http://svn.opensuse.org/viewcvs/yast?rev=46269&view=rev Log: Consider also lang strings of the form xx_YY.ZZ (full-stop is important here) Modified: trunk/country/language/src/modules/Language.ycp Modified: trunk/country/language/src/modules/Language.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/language/src/modules/Language.ycp?rev=46269&r1=46268&r2=46269&view=diff ============================================================================== --- trunk/country/language/src/modules/Language.ycp (original) +++ trunk/country/language/src/modules/Language.ycp Wed Apr 9 10:28:36 2008 @@ -888,6 +888,11 @@ } if (country != nil && country != "") { + if (find (country, ".") != -1) + country = splitstring (country, ".") [0]:""; + } + if (country != nil && country != "") + { if (find(country, "_") != -1) country = splitstring (country, "_") [1]:""; else -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org