Added support for Norsk environment, thanks to Arnt Karlsen! 0.5-24
authorMichael Prokop <mika@grml.org>
Tue, 14 Nov 2006 12:10:02 +0000 (13:10 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 14 Nov 2006 12:10:02 +0000 (13:10 +0100)
debian/changelog
language-functions

index 19b5793..eb07d36 100644 (file)
@@ -1,3 +1,9 @@
+grml-autoconfig (0.5-24) unstable; urgency=low
+
+  * Added support for Norsk environment, thanks to Arnt Karlsen!
+
+ -- Michael Prokop <mika@grml.org>  Tue, 14 Nov 2006 13:09:19 +0100
+
 grml-autoconfig (0.5-23) unstable; urgency=low
 
   * The "we need a cleanup" release.
index 3a2fc21..34a6d45 100644 (file)
@@ -559,6 +559,33 @@ case "$LANGUAGE" in
                 KDEKEYBOARDS="nl,de,fr"
                 TZ="Europe/Amsterdam"
                 ;;
+        no|nb|nn)
+                # Norsk versjon
+                COUNTRY="no"
+                LANG="nb_NO"
+                LANGUAGE="no:nb_NO"
+                KEYTABLE="no"
+                XKEYBOARD="no"
+                KDEKEYBOARD="no"
+                CHARSET="iso8859-15"
+                KDEKEYBOARDS="no-latin1,us,no,no-dvorak"
+                TZ="Europe/Oslo"
+                ;;
+        no-utf8|nb-utf8|nn-utf8)
+                # Norsk versjon (UTF8)
+                COUNTRY="no"
+                LANG="nb_NO.UTF-8"
+                LANGUAGE="no:nb_NO"
+                # Keytable "no*" is correct if æøå (the 3 final letters in the
+                # norse alphabet) shows up as "a+e", "oslash" and "aring".
+                # Otherwise try the other variants no-latin1 etc.
+                KEYTABLE="no"
+                XKEYBOARD="no"
+                KDEKEYBOARD="no"
+                CHARSET="utf8"
+                KDEKEYBOARDS="no,us,no-dvorak,dk,no-latin1"
+                TZ="Europe/Oslo"
+                ;;
         pl)
                 # Polish version
                 COUNTRY="pl"