[Pkg-kbd-devel] Bug#352772: console-setup: Proposed templates rewrite

Christian Perrier bubulle at debian.org
Tue Feb 14 07:30:02 UTC 2006


Package: console-setup
Severity: normal
Tags: patch

Attached is a patch that will make the debconf templates a bit less verbose
by removing stuff which I think do not pertain to debconf templates.

It also makes the templates compliant with writing style recommended in the
developers references (for instance avoid interrogative form for
string/select/multiselect templates).

I also used enumeration style for a few templates.

Please consider spplying this patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
-------------- next part --------------
--- templates.ori	2006-02-14 07:59:25.130735340 +0100
+++ templates	2006-02-14 08:27:34.594868534 +0100
@@ -1,40 +1,42 @@
 Template: console-setup/codeset
 Type: select
-Choices: Arabic, Armenian, CyrAsia, CyrKoi, CyrSlav, Ethiopian, Georgian, Greek, Hebrew, Lao, Lat15, Lat2, Lat38, Lat7, Thai, Uni1, Uni2, Uni3, Vietnamese
+__Choices: Arabic, Armenian, CyrAsia, CyrKoi, CyrSlav, Ethiopian, Georgian, Greek, Hebrew, Lao, Lat15, Lat2, Lat38, Lat7, Thai, Uni1, Uni2, Uni3, Vietnamese
 Default: Uni1
-_Description: Which codeset is suitable for your language environment?
- Lat15 covers ISO 8859-1, ISO 8859-15 and ISO 8859-9.  Lat2 covers ISO
- 8859-2, the Euro sign as well as the Romanian letters with comma below. 
- Lat38 covers ISO 8859-3 and ISO 8859-13. Lat7 covers ISO 8859-13. CyrSlav
- covers not only the Slavic Cyrillic letters but also the Serbian Latin
- letters.
- .
- Uni1 supports most of the Latin languages, the Slavic Cyrillic languages,
- Hebrew and barely Arabic.  Uni2 supports most of the Latin languages, the
- Slavic Cyrillic languages and Greek.  Uni3 supports most of the Latin and
- Cyrillic languages.
+_Description: Codeset for your language environment:
+  - Lat15 covers ISO 8859-1, ISO 8859-15 and ISO 8859-9;
+  - Lat2 covers ISO 8859-2, the Euro sign as well as the Romanian letters
+    with comma below;
+  - Lat38 covers ISO 8859-3 and ISO 8859-13;
+  - Lat7 covers ISO 8859-13;
+  - CyrSlav covers the Slavic Cyrillic letters as well as the Serbian
+    Latin letters;
+  - Uni1 supports most of the Latin languages, the Slavic Cyrillic languages,
+    Hebrew and barely Arabic;
+  - Uni2 supports most of the Latin languages, the Slavic Cyrillic languages
+    and Greek;
+  - Uni3 supports most of the Latin and Cyrillic languages.
 
 Template: console-setup/model
 Type: select
 Choices: ${CHOICES}
-_Description: What is the model of your keyboard?
+_Description: Keyboard model:
 
 Template: console-setup/layout
 Type: select
 Choices: ${CHOICES}
 Default: U.S. English
-_Description: What is the origin of your keyboard layout?
+_Description: Keyboard layout:
 
 Template: console-setup/variant
 Type: select
 Choices: ${CHOICES}
-_Description: What is the keys layout of your keyboard?
+_Description: Keyboard variant:
  There are several keyboard layouts with the origin you selected.
  Please select the layout matching your keyboard.
 
 Template: console-setup/dont_ask_layout
 Type: note
-_Description: No questions about layout will be asked
+_Description: Unsupported settings in configuration file
  The configuration file /etc/default/console-setup specifies keyboard
  layout and variant that are not supported by the configuration
  program.  Because of that no questions about the keyboard layout will
@@ -44,57 +46,57 @@
 Type: select
 Choices: ${CHOICES}
 Default: Fixed
-_Description: Choose a font for the console.
+_Description: Font for the console:
  Please choose the font face you would like to use on the text-mode
  emergency Linux console.
  .
- VGA is traditionally looking, it has medium coverage of international
- scripts.  Fixed has simplistic look and has best coverage of
- international scripts.  The aim of Terminus is to reduce the
- eyes-fatigue when one has to read a lot (a note for programmers: some
- symbols look quiet similar), it supports only the Latin and the
- Cyrillic scripts.
+ - VGA is traditionally looking and has medium coverage of international
+   scripts;
+ - Fixed has simplistic look and has a better coverage of international
+   scripts;
+ - Terminus is aimed to reduce the eyes fatigue though some symbols
+   have a similar aspect which may be a problem for programmers. It
+   only supports the Latin and the Cyrillic scripts.
  .
- Use TerminusBoldVGA if you prefer font size 8x14 or 8x16 and you
- don't use framebuffer.  Otherwise choose TerminusBold.
+ The use of TerminusBoldVGA is recommended if you prefer 8x14 or 8x16 font
+ sizes and don't use the framebuffer.  Otherwise choose TerminusBold.
 
 Template: console-setup/fontsize
 Type: select
 Choices: ${CHOICES}
 Default: 16
-_Description: What is your favourite font size?
- Please select the size of the font on the emergency Linux console. In case
- you use text-mode videomode the following table shows the correspondence
- between the fontsize and the number of the characters on the screen:
-  size 18 - for 80x22 and 80x26
-  size 16 - for 80x25 and 80x30 (most standard)
-  size 15 - for 80x26 and 80x32
-  size 14 - for 80x28 and 80x34
-  size 13 - for 80x30 and 80x36
-  size 8 - for 80x43, 80x50 and 80x60 (very unreadable).
-  other size - only with framebuffer
+_Description: Font size:
+ Please select the size of the font for the Linux console. Correspondence
+ between font sizes and the number of the characters on the screen:
+  size 18     - for 80x22 and 80x26
+  size 16     - for 80x25 and 80x30 (most standard)
+  size 15     - for 80x26 and 80x32
+  size 14     - for 80x28 and 80x34
+  size 13     - for 80x30 and 80x36
+  size 8      - for 80x43, 80x50 and 80x60 (very unreadable)
+  other sizes - only with framebuffer
 
 Template: console-setup/charmap
 Type: select
 Choices: ${CHOICES}
 Default: UTF-8
-_Description: What is your encoding?
+_Description: Encoding:
 
 Template: console-setup/ttys
 Type: string
 Default: /dev/tty[1-6]
-_Description: What virtual consoles do you use?
+_Description: Virtual consoles in use:
  Please enter a space delimited list of virtual consoles you use. The usual
  Unix filename wildcards are allowed (*, ? and [...]).
  .
- If you are unsure, then use the default /dev/tty[1-6], it is for six
+ If you are unsure, then use the default /dev/tty[1-6] which stands for six
  virtual consoles. If you use devfs, then enter /dev/vc/[1-6] instead.
 
 Template: console-setup/toggle
 Type: select
 __Choices: Caps Lock, Right Alt, Right Control, Right Shift, Right Logo key, Menu key, Alt+Shift, Control+Shift, Shift+Caps Lock, Control+Alt, Both Shift keys together, Both Control keys together, Both Alt keys together, Left Alt, Left Control, Left Shift, Left Logo key, No toggling
 Default: Alt+Shift
-_Description: Toggling between Latin and non-Latin mode
+_Description: Method for toggling between Latin and non-Latin mode:
  Since your keyboard is a non-Latin one, you will need a way to toggle
  between the Latin and the non-Latin mode.  Several options are available.
  .
@@ -105,13 +107,13 @@
  you choose it) will lose its usual meaning in Emacs and other programs
  using it.
  .
- Notice that on some keyboards not all listed keys are present.
+ Notice the listed keys are not present on all keyboards.
 
 Template: console-setup/switch
 Type: select
 __Choices: No temporary switch, Right Alt, Left Alt, Right Logo key, Left Logo key, Both Logo keys
 Default: No temporary switch,
-_Description: Switching temporarily between Latin and non-Latin characters
+_Description: Method for temporarily toggle between Latin and non-Latin input:
  Sometimes the keyboard is in non-Latin mode and you want to type only few
  Latin letters. In this case it may be desirable to have a key for
  temporary switching between non-Latin and Latin letters.  While this key
@@ -125,34 +127,23 @@
 Type: select
 __Choices: No AltGr key, Right Alt, Right Control, Menu key, Right Logo key, Left Logo key, Both Logo keys, Left Alt
 Default: Right Alt
-_Description: The AltGr key
- With some of the keyboard layouts, AltGr is a modifier key used to type
- many character, primarily ones that are unusual for the language of the
+_Description: AltGr key replacement:
+ With some of the keyboard layouts, AltGr is a modifier key used to input
+ some characters, primarily ones that are unusual for the language of the
  keyboard layout, such as foreign currency symbols and accented letters. 
  If a key has a third symbol on it (on the front vertical face or the
  bottom right of the key top, sometimes in a different colour), then AltGr
  is often the means of eliciting that symbol.
- .
- In the French and Spanish keyboard layouts AltGr is used extensively to
- type the accented vowels.  In the British keyboard layouts fewer symbols
- require the use of AltGr, most notably the Euro currency symbol.  AltGr is
- often used to type symbols which are commonly used by programmers and
- technical writers.
 
 Template: console-setup/compose
 Type: select
 __Choices: No compose key, Right Alt, Right Logo key, Right Control, Menu key, Caps Lock
 Default: No compose key
-_Description: The compose key
- The compose key (known also as Multi_key) is a key which is designated to
+_Description: Compose key:
+ The Compose key (known also as Multi_key) is a key which is designated to
  signal the software to interpret the next keystrokes as a combination in
  order to produce a character not found on the keyboard.
  .
- For example, typing compose, then a, then e may produce the French AE
- ligature.  Typing compose, then e, then ' can yield an e with an acute
- accent.  Typing compose, then o, then c may produce the copyright sign. 
- Etc.
- .
  On the text console the Compose key does not work in Unicode mode. If not
  in Unicode mode, regardless of what you choose here, you can always use
  also the Alt+period combination as a Compose key.


More information about the Pkg-kbd-devel mailing list