Author: jsuchome
Date: Thu Oct 2 10:00:00 2008
New Revision: 51770
URL: http://svn.opensuse.org/viewcvs/yast?rev=51770&view=rev
Log:
- added minimal support for Nynorsk (bnc#426124)
- default NTP configuration based on control file value (bnc#431259)
- 2.17.17
Added:
trunk/country/language/data/language_nn_NO.ycp (with props)
Modified:
trunk/country/VERSION
trunk/country/language/src/select_language.ycp
trunk/country/package/yast2-country.changes
trunk/country/timezone/src/dialogs.ycp
Modified: trunk/country/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=51770&r1=51769&r2=51770&view=diff
==============================================================================
--- trunk/country/VERSION (original)
+++ trunk/country/VERSION Thu Oct 2 10:00:00 2008
@@ -1 +1 @@
-2.17.16
+2.17.17
Added: trunk/country/language/data/language_nn_NO.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/language/data/language_nn_NO.ycp?rev=51770&view=auto
==============================================================================
--- trunk/country/language/data/language_nn_NO.ycp (added)
+++ trunk/country/language/data/language_nn_NO.ycp Thu Oct 2 10:00:00 2008
@@ -0,0 +1,43 @@
+/**
+ * This file contains the description of the language needed by yast2-country
+ * module.
+ *
+ * Translation of the 'language name' to actual YaST language be must applied
+ * each time this file is invoked.
+ *
+ * If you want to add new language to YaST using a file of this type provided
+ * by some module different from yast2-country (e.g. in some Add-On Product),
+ * consider using special textdomain, so it is possible to provide also
+ * translations of the 'language name' string to all installed languages.
+ *
+ * Author: JiÅÃ Suchomel
+ * $Id$
+ */
+{
+ textdomain "languages_db";
+
+ return
+ $[
+ // 1. information for language selection:
+ // Format is
+ // <LANG-Code> : [
+ // <Language-to-display-UTF8-coded>,
+ // <Language-to-display-ASCII-coded-if-needed>,
+ // <LANG modifier used when UTF-8 enconding is selected>
+ // <LANG modifier used when no UTF-8 enconding is selected>
+ // <translated Language-to-display-UTF8-coded> ]
+ //
+ "nn_NO" : [
+ "Nynorsk",
+ "Nynorsk",
+ ".UTF-8",
+ "",
+ // language name
+ _("Nynorsk")
+ ],
+ // 2. what time zone propose for this language
+ "timezone" : "Europe/Oslo",
+ // 3. which keyboard layout propose for this language
+ "keyboard" : "norwegian",
+ ];
+}
Modified: trunk/country/language/src/select_language.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/language/src/select_language.ycp?rev=51770&r1=51769&r2=51770&view=diff
==============================================================================
--- trunk/country/language/src/select_language.ycp (original)
+++ trunk/country/language/src/select_language.ycp Thu Oct 2 10:00:00 2008
@@ -561,7 +561,14 @@
else if (ret == `next || (set_default && ret == `language))
{
Console::SelectFont (language);
- Language::WfmSetLanguage ();
+ // no yast translation for nn_NO, use nb_NO as a backup
+ if (language == "nn_NO")
+ {
+ y2milestone ("Nynorsk not translated, using Bokmål");
+ Language::WfmSetGivenLanguage ("nb_NO");
+ }
+ else
+ Language::WfmSetLanguage ();
}
}
Modified: trunk/country/package/yast2-country.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=51770&r1=51769&r2=51770&view=diff
==============================================================================
--- trunk/country/package/yast2-country.changes (original)
+++ trunk/country/package/yast2-country.changes Thu Oct 2 10:00:00 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Oct 1 15:40:41 CEST 2008 - jsuchome@suse.cz
+
+- added minimal support for Nynorsk (bnc#426124)
+- default NTP configuration based on control file value (bnc#431259)
+- 2.17.17
+
+-------------------------------------------------------------------
Mon Sep 29 21:57:55 CEST 2008 - jsuchome@suse.cz
- added Galician language support
Modified: trunk/country/timezone/src/dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/dialogs.ycp?rev=51770&r1=51769&r2=51770&view=diff
==============================================================================
--- trunk/country/timezone/src/dialogs.ycp (original)
+++ trunk/country/timezone/src/dialogs.ycp Thu Oct 2 10:00:00 2008
@@ -24,6 +24,7 @@
import "NetworkService";
import "Package";
import "Popup";
+ import "ProductFeatures";
import "Service";
import "Stage";
import "Timezone";
@@ -487,7 +488,8 @@
// read NTP status
if (first_run && NetworkService::isNetworkRunning() &&
- !GetInstArgs::going_back())
+ !GetInstArgs::going_back() &&
+ ProductFeatures::GetBooleanFeature("globals","default_ntp_setup")==true)
{
// true by default (fate#303520)
ntp_used = true;
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org