summaryrefslogtreecommitdiffstats
path: root/tools/keyboarddrake
diff options
context:
space:
mode:
Diffstat (limited to 'tools/keyboarddrake')
-rwxr-xr-xtools/keyboarddrake11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/keyboarddrake b/tools/keyboarddrake
index 0961094..fb5d9be 100755
--- a/tools/keyboarddrake
+++ b/tools/keyboarddrake
@@ -2,6 +2,9 @@
use lib qw(/usr/lib/libDrakX);
+# i18n: IMPORTANT: to get correct namespace (drakx-kbd-mouse-x11 instead of libDrakX)
+BEGIN { unshift @::textdomains, 'drakx-kbd-mouse-x11' }
+
use standalone; #- warning, standalone must be loaded very first, for 'explanations'
use interactive;
@@ -28,11 +31,17 @@ if (my ($kb) = grep { !/^-/ } @ARGV) {
choose:
$in->ask_from(N("Keyboard"),
N("Please, choose your keyboard layout."),
- [ { val => \$keyboard->{KEYBOARD},
+ [ { label => N("Keyboard layout"),
+ title => 1,
+ },
+ { val => \$keyboard->{KEYBOARD},
format => sub { translate(keyboard::KEYBOARD2text($_[0])) },
list => [ keyboard::KEYBOARDs() ],
type => 'list',
},
+ { label => N("Keyboard type"),
+ title => 1,
+ },
{ val => \$keyboard->{XkbModel},
format => sub { $model2text->{$_[0]} },
separator => '|',