aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/lo/locale
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/lo/locale/keymaps/dvorak_modified.xkb12
-rw-r--r--modules/by-name/lo/locale/module.nix9
2 files changed, 16 insertions, 5 deletions
diff --git a/modules/by-name/lo/locale/keymaps/dvorak_modified.xkb b/modules/by-name/lo/locale/keymaps/dvorak_modified.xkb
index 63f5d4fb..3893e605 100644
--- a/modules/by-name/lo/locale/keymaps/dvorak_modified.xkb
+++ b/modules/by-name/lo/locale/keymaps/dvorak_modified.xkb
@@ -2,10 +2,18 @@ partial alphanumeric_keys
xkb_symbols "dvorak-modified" {
name[Group1]= "Dvorak English with additional keys";
+ // German
+ key <AC01> {[ a, A, adiaeresis, Adiaeresis]};
key <AC02> {[ o, O, odiaeresis, Odiaeresis]};
key <AC04> {[ u, U, udiaeresis, Udiaeresis]};
- key <AC01> {type[Group1]="EIGHT_LEVEL",
- [ a, A, adiaeresis, Adiaeresis, aring, Aring]};
+
+ // Missing Swedish letter (the rest is in the German ones)
+ key <AC07> {[ h, H, aring, Aring]};
+
+ // Slovenian
+ key <AC10> {[ s, S, scaron, Scaron]};
+ key <AD08> {[ c, C, ccaron, Ccaron]};
+ key <AB10> {[ z, Z, zcaron, Zcaron]};
include "us(dvorak)"
diff --git a/modules/by-name/lo/locale/module.nix b/modules/by-name/lo/locale/module.nix
index 17096731..0aa812ec 100644
--- a/modules/by-name/lo/locale/module.nix
+++ b/modules/by-name/lo/locale/module.nix
@@ -37,12 +37,15 @@ in {
};
i18n = {
- defaultLocale = "en_CA.UTF-8";
+ defaultLocale = "sv_SE.UTF-8";
extraLocaleSettings = {
- LANGUAGE = "en_CA:en_US:en";
- LC_TIME = "en_DK.UTF-8";
+ LANGUAGE = "sv_SE:en_CA:en_US:en";
+ LC_TIME = "sv_SE.UTF-8";
LC_COLLATE = "C.UTF-8";
};
+ extraLocales = [
+ "fr_FR.UTF-8/UTF-8"
+ ];
};
# Layout