summaryrefslogtreecommitdiffstats
path: root/locale.inc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-08 11:51:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-08 11:51:56 +0000
commitc962365315fb42b07df962941419310d7dcd5feb (patch)
tree0aa5aac8cf3dadb19bd3a3c1b0f82cc9624e83bd /locale.inc
parent534f2f4437093bd78411126ef45de41fc6b93bf3 (diff)
downloadbootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar
bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar.gz
bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar.bz2
bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.tar.xz
bootloader-theme-c962365315fb42b07df962941419310d7dcd5feb.zip
re-sync after the big svn loss0.21
Diffstat (limited to 'locale.inc')
-rw-r--r--locale.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/locale.inc b/locale.inc
index e50d4d7..ff139b4 100644
--- a/locale.inc
+++ b/locale.inc
@@ -28,6 +28,7 @@
} def
+/config.keymap.locale_short 2 string def
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
% Set keyboard map.
@@ -39,8 +40,13 @@
/config.keymap.locale exch def
+ config.keymap.locale 1 get config.keymap.locale 0 get "%c%c" config.keymap.locale_short sprintf
+
keymaps {
- dup .km.locale get config.keymap.locale eq {
+ dup .km.locale get dup
+ config.keymap.locale eq exch
+ config.keymap.locale_short eq or
+ {
.km.map get /config.keymap exch def exit
} { pop } ifelse
} forall