aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-17 15:11:21 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-17 15:11:21 +0200
commitfeaa83a377966b6cec982f0bbaba1ea15c28d52e (patch)
treeb0725fe0de68d26f1e08586514ea194d1cbd6639 /gnu/installer.scm
parent085e021e63f327f9d8aa4d65319325c87dd33d97 (diff)
downloadpatches-feaa83a377966b6cec982f0bbaba1ea15c28d52e.tar
patches-feaa83a377966b6cec982f0bbaba1ea15c28d52e.tar.gz
installer: Translate keyboard layout names.
* gnu/installer.scm (installer-program)[installer-builder]: Call 'bindtextdomain' for "xkeyboard-config". * gnu/installer/newt/keymap.scm (run-keymap-page): Add calls to 'gettext'.
Diffstat (limited to 'gnu/installer.scm')
-rw-r--r--gnu/installer.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 5baead8137..881c40ee9b 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -353,6 +353,10 @@ selected keymap."
(bindtextdomain "iso_3166-1" ;territories
#+(file-append iso-codes "/share/locale"))
+ ;; Likewise for XKB keyboard layout names.
+ (bindtextdomain "xkeyboard-config"
+ #+(file-append xkeyboard-config "/share/locale"))
+
(let* ((current-installer newt-installer)
(steps (#$steps current-installer)))
((installer-init current-installer))