From 770fdda163882126fae035e7ee50e0e39f7b843d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 1 Feb 2006 18:05:02 +0000 Subject: [PATCH] * Reduce the width of the keymap menu a bit by removing some unnecessary text from the German option. --- debian/changelog | 2 ++ keytables.inc | 2 +- scrape-console-keymaps | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ca165e2..7cd879b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ gfxboot-theme-ubuntu (0.1.11) UNRELEASED; urgency=low * Disable transparent menus: they make it too difficult for visually impaired users to read the menu labels. + * Reduce the width of the keymap menu a bit by removing some unnecessary + text from the German option. -- Colin Watson Wed, 1 Feb 2006 17:44:27 +0000 diff --git a/keytables.inc b/keytables.inc index 4004530..6262a22 100644 --- a/keytables.inc +++ b/keytables.inc @@ -1312,7 +1312,7 @@ [ "et" .undef "Estonian" [ "et" ] ] [ "fi-latin1" keymap.fi-latin1 "Finnish" [ "fi" ] ] [ "fr-latin9" keymap.fr-latin9 "French" [ "fr" "fr_FR" "br" "oc" ] ] - [ "de-latin1-nodeadkeys" keymap.de-latin1-nodeadkeys "German (Latin1; no dead keys)" [ "de" "de_DE" "en_DE" ] ] + [ "de-latin1-nodeadkeys" keymap.de-latin1-nodeadkeys "German" [ "de" "de_DE" "en_DE" ] ] [ "gr" keymap.gr "Greek" [ "el" ] ] [ "hebrew" keymap.hebrew "Hebrew" [ "he" ] ] [ "hu" keymap.hu "Hungarian" [ "hu" ] ] diff --git a/scrape-console-keymaps b/scrape-console-keymaps index 4958f24..38a4ef9 100755 --- a/scrape-console-keymaps +++ b/scrape-console-keymaps @@ -18,6 +18,9 @@ while () { next if /^#/ or not /\S/; my ($locales, $keymap, $keymapname) = split /\t/; $keymapname =~ s/\s+$//; + if ($keymapname =~ /^German \(/) { + $keymapname =~ s/ \(.*//; + } $keymaps{$keymap} = [[split(':', $locales)], $keymapname]; }