Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41508 - in /trunk/country: VERSION console/data/consolefonts.ycp language/src/select_language.ycp package/yast2-country.changes
  • From: jsuchome@xxxxxxxxxxxxxxxx
  • Date: Mon, 22 Oct 2007 11:10:54 -0000
  • Message-id: <20071022111054.EE2BB2665F@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Mon Oct 22 13:10:54 2007
New Revision: 41508

URL: http://svn.opensuse.org/viewcvs/yast?rev=41508&view=rev
Log:
- in firstboot, do not show list with secondary languages (F302520) 
- correct console font for Hungarian (#335246)
- 2.16.0


Modified:
    trunk/country/VERSION
    trunk/country/console/data/consolefonts.ycp
    trunk/country/language/src/select_language.ycp
    trunk/country/package/yast2-country.changes

Modified: trunk/country/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=41508&r1=41507&r2=41508&view=diff
==============================================================================
--- trunk/country/VERSION (original)
+++ trunk/country/VERSION Mon Oct 22 13:10:54 2007
@@ -1 +1 @@
-2.15.20
+2.16.0

Modified: trunk/country/console/data/consolefonts.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/console/data/consolefonts.ycp?rev=41508&r1=41507&r2=41508&view=diff
==============================================================================
--- trunk/country/console/data/consolefonts.ycp (original)
+++ trunk/country/console/data/consolefonts.ycp Mon Oct 22 13:10:54 2007
@@ -80,9 +80,9 @@
       "sk"           : [ "lat2-16.psfu",   "",   "trivial",    "(K" ],
       "sk_SK.UTF-8"     : [ "lat2-16.psfu",        "",   "trivial",    "(K" ],
 
-      "hu_HU"                : [ "lat2-16.psfu",   "",   "trivial",    "(K" ],
-      "hu"           : [ "lat2-16.psfu",   "",   "trivial",    "(K" ],
-      "hu_HU.UTF-8"     : [ "lat2-16.psfu",        "",   "trivial",    "(K" ],
+      "hu_HU"                : [ "lat2a-16.psfu",  "",   "trivial",    "(K" ],
+      "hu"           : [ "lat2a-16.psfu",  "",   "trivial",    "(K" ],
+      "hu_HU.UTF-8"     : [ "lat2a-16.psfu",       "",   "trivial",    "(K" ],
 
       "lt_LT"                : [ "lat7a-16.psf",   "",   "trivial",    "(K" ],
       "lt"           : [ "lat7a-16.psf",   "",   "trivial",    "(K" ],

Modified: trunk/country/language/src/select_language.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/language/src/select_language.ycp?rev=41508&r1=41507&r2=41508&view=diff
==============================================================================
--- trunk/country/language/src/select_language.ycp (original)
+++ trunk/country/language/src/select_language.ycp Mon Oct 22 13:10:54 2007
@@ -206,7 +206,7 @@
 
     string preselected = Language::preselected;
 
-    if (Stage::initial () && preselected != "en_US" && set_default)
+    if (preselected != "en_US" && set_default)
     {
        if (ProductFeatures::GetBooleanFeature ("globals", "skip_language_dialog"))
        {
@@ -244,7 +244,7 @@
     // heading text
     string heading_text = _("Languages");
 
-    if (Stage::initial () && set_default && !Mode::repair ())
+    if (set_default && !Mode::repair ())
     {
        // heading text
        heading_text = _("Language");
@@ -255,7 +255,7 @@
        heading_text = _("Welcome to System Repair");
     }
 
-    if (Stage::initial () && set_default)
+    if (set_default)
     {
        show_expert     = false;
        more_languages  = false;
@@ -295,6 +295,14 @@
                          (language == codelist[1]:""))))
     );
 
+    if (Stage::firstboot ())
+       languagesel = `SelectionBox (`id(`language), `opt(`notify), "",
+           maplist (string trans_lang, lsort (lang_list), {
+               string code     = lang2code [trans_lang]:"";
+               return `item (`id (code), trans_lang, language == code);
+           })
+       );
+
     // this type of contents will be shown only for initial installation dialog
     term contents = `HVCenter (
        `BackgroundPixmap ("wallpapers/welcome.jpg"),
@@ -468,9 +476,9 @@
     UI::SetFocus(`id(`language));
 
     // adapt keyboard for language?
-    boolean kbd_adapt = (Stage::initial () && set_default && !Mode::config ());
+    boolean kbd_adapt = (set_default && !Mode::config ());
     // adapt timezone for language?
-    boolean tmz_adapt = (Stage::initial () && set_default && !Mode::config ());
+    boolean tmz_adapt = (set_default && !Mode::config ());
 
 
     repeat
@@ -558,7 +566,7 @@
                }
 
 
-               if (Stage::initial () && set_default)
+               if (set_default)
                {
                    Timezone::ResetZonemap ();
                }
@@ -621,7 +629,7 @@
                if (kbd_adapt)
                {
                    Keyboard::SetKeyboardForLanguage (language);
-                   if (Stage::initial () && set_default)
+                   if (set_default)
                    {
                        Keyboard::SetKeyboardDefault();
                    }

Modified: trunk/country/package/yast2-country.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=41508&r1=41507&r2=41508&view=diff
==============================================================================
--- trunk/country/package/yast2-country.changes (original)
+++ trunk/country/package/yast2-country.changes Mon Oct 22 13:10:54 2007
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Oct 22 11:58:15 CEST 2007 - jsuchome@xxxxxxx
+
+- in firstboot, do not show list with secondary languages (F302520) 
+- correct console font for Hungarian (#335246)
+- 2.16.0
+
+-------------------------------------------------------------------
 Wed Sep 19 12:42:10 CEST 2007 - jsuchome@xxxxxxx
 
 - save correct system time from ntpdate to HW clock (#309583")

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

< Previous Next >
This Thread
  • No further messages