summaryrefslogtreecommitdiffstats
path: root/tools/keyboarddrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 12:26:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 12:26:16 +0000
commit5fd2d25f56ee44f0a4f93eee0fb161879404241d (patch)
tree17c35744bbd555ccdcbb9ee319c1969e7a588157 /tools/keyboarddrake
parent0ad51b215fff27243c114a67ae0b7eea46b2cb5a (diff)
downloaddrakx-kbd-mouse-x11-5fd2d25f56ee44f0a4f93eee0fb161879404241d.tar
drakx-kbd-mouse-x11-5fd2d25f56ee44f0a4f93eee0fb161879404241d.tar.gz
drakx-kbd-mouse-x11-5fd2d25f56ee44f0a4f93eee0fb161879404241d.tar.bz2
drakx-kbd-mouse-x11-5fd2d25f56ee44f0a4f93eee0fb161879404241d.tar.xz
drakx-kbd-mouse-x11-5fd2d25f56ee44f0a4f93eee0fb161879404241d.zip
re-sync after the big svn loss
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 => '|',