Fixed some typos
authorUlrich Dangel <uli@spamt.net>
Sun, 31 Jan 2010 00:16:12 +0000 (01:16 +0100)
committerUlrich Dangel <uli@spamt.net>
Sun, 31 Jan 2010 00:16:12 +0000 (01:16 +0100)
grml-quickconfig
grml-quickconfig.8
quickconfig/001-heading.sh
quickconfig/005-language.sh
quickconfig/010-network.sh
quickconfig/015-netcardconfig.sh
quickconfig/025-info.sh
quickconfig/030-wm.sh
quickconfig/035-menu.sh
quickconfig/040-grml2hd.sh

index 52a22ac..5ac4e0a 100755 (executable)
@@ -25,8 +25,8 @@ typeset -A keymap
 
 HLINE="$B x $N"
 VLINE=$(repeat $MAXLEN echo -n q)
-HILIGHT="$GREEN"
-HILIGHT_NAME="$MAGENTA"
+HIGHLIGHT="$GREEN"
+HIGHLIGHT_NAME="$MAGENTA"
 SCRIPTDIR="/usr/share/grml-quickconfig/"
 
 
@@ -56,8 +56,8 @@ print_delim() {
    echo $B ${BLUE}t"$VLINE"u${NORMAL} $N
 }
 
-hilight_char() {
-    echo $1 | sed -e "s/$2/$HILIGHT$2$NORMAL/"
+highlight_char() {
+    echo $1 | sed -e "s/$2/$HIGHLIGHT$2$NORMAL/"
 }
 
 print_menu() {
index ca0cac8..7641930 100644 (file)
@@ -80,7 +80,7 @@ Switch back to normal color
 Highlight the used key inside the menu.
 .TP
 .B Example
- print_line "Configure ${HILIGHT}n${NORMAL}etwork"
+ print_line "Configure ${HIGHLIGHT}n${NORMAL}etwork"
 .SS MUST Provide
 .TP
 .B display_entry
@@ -108,7 +108,7 @@ used in combination with print_line. Only used if display_entry returns 0.
 .RS
 .B \ Example
  # print Configure network (grml-network)
- LINE='print_line "Configure ${HILIGHT}n${NORMAL}etwork (${HILIGHT_NAME}grml-network${NORMAL})"'
+ LINE='print_line "Configure ${HIGHLIGHT}n${NORMAL}etwork (${HIGHLIGHT_NAME}grml-network${NORMAL})"'
 .RE 1
 .SS Optional entries
 The following variables are optional and can be defined in a script but do not have to.
@@ -135,8 +135,8 @@ KEY=(c d e)
 
 .SS Complete Example
  # language module for grml-quickconfig
- LINE='print_line "Set keyboard layout (${HILIGHT_NAME}grml-lang${NORMAL}): \\
- ${HILIGHT}d${NORMAL}e ${HILIGHT}a${NORMAL}t ${HILIGHT}c${NORMAL}h e${HILIGHT}s${NORMAL} ${HILIGHT}u${NORMAL}s"'
+ LINE='print_line "Set keyboard layout (${HIGHLIGHT_NAME}grml-lang${NORMAL}): \\
+ ${HIGHLIGHT}d${NORMAL}e ${HIGHLIGHT}a${NORMAL}t ${HIGHLIGHT}c${NORMAL}h e${HIGHLIGHT}s${NORMAL} ${HIGHLIGHT}u${NORMAL}s"'
 
  typeset -A lang_mapping
 
index 2b9fe82..1f5647a 100644 (file)
@@ -2,7 +2,7 @@
 # print the heading
 LINE='print_line "Welcome to grml-quickconfig";
 print_line "Press a highlighted key to perform an action, or press";
-print_line "${HILIGHT}Return${NORMAL} or ${HILIGHT}q${NORMAL} to go back to the shell.";
+print_line "${HIGHLIGHT}Return${NORMAL} or ${HIGHLIGHT}q${NORMAL} to go back to the shell.";
 print_delim;
 '
 
index daf21be..4548960 100644 (file)
@@ -1,6 +1,6 @@
 # language module for grml-quickconfig
-LINE='print_line "Set keyboard layout (${HILIGHT_NAME}grml-lang${NORMAL}): \
-${HILIGHT}d${NORMAL}e ${HILIGHT}a${NORMAL}t ${HILIGHT}c${NORMAL}h e${HILIGHT}s${NORMAL} ${HILIGHT}u${NORMAL}s"'
+LINE='print_line "Set keyboard layout (${HIGHLIGHT_NAME}grml-lang${NORMAL}): \
+${HIGHLIGHT}d${NORMAL}e ${HIGHLIGHT}a${NORMAL}t ${HIGHLIGHT}c${NORMAL}h e${HIGHLIGHT}s${NORMAL} ${HIGHLIGHT}u${NORMAL}s"'
 
 typeset -A lang_mapping
 
index e1efa25..76e3cd3 100644 (file)
@@ -1,5 +1,5 @@
 # grml-network module for grml-quickconfig
-LINE='print_line "Configure ${HILIGHT}n${NORMAL}etwork (${HILIGHT_NAME}grml-network${NORMAL})"'
+LINE='print_line "Configure ${HIGHLIGHT}n${NORMAL}etwork (${HIGHLIGHT_NAME}grml-network${NORMAL})"'
 KEY=(n)
 FUNCTION='run grml-network'
 
index 2da0ed3..e1ec01d 100644 (file)
@@ -1,5 +1,5 @@
 # netcardconfig module for grml-quickconfig
-LINE='print_line "-> Configure ${HILIGHT}e${NORMAL}thernet card directly (${HILIGHT_NAME}netcardconfig${NORMAL})"'
+LINE='print_line "-> Configure ${HIGHLIGHT}e${NORMAL}thernet card directly (${HIGHLIGHT_NAME}netcardconfig${NORMAL})"'
 KEY=(n)
 FUNCTION='run netcardconfig'
 
index b550bc6..33533f9 100644 (file)
@@ -1,5 +1,5 @@
 # grml-info module for grml-quickconfig
-LINE='print_line "Show ${HILIGHT}i${NORMAL}nformation about grml (${HILIGHT_NAME}grml-info${NORMAL})"'
+LINE='print_line "Show ${HIGHLIGHT}i${NORMAL}nformation about grml (${HIGHLIGHT_NAME}grml-info${NORMAL})"'
 KEY=(i)
 FUNCTION="run grml-info"
 
index 31bcbf4..be376ed 100644 (file)
@@ -1,5 +1,5 @@
 # window manager module for grml-quickconfig
-LINE='print_line "Start ${HILIGHT}x${NORMAL} (${HILIGHT_NAME}grml-x${NORMAL})"'
+LINE='print_line "Start ${HIGHLIGHT}x${NORMAL} (${HIGHLIGHT_NAME}grml-x${NORMAL})"'
 KEY=(x)
 FUNCTION='wm_menu'
 
@@ -44,7 +44,7 @@ print_available_wm() {
       # test if word could be added to current line
       if [ $[${(c)#key} + $LEN] -lt $MAXLEN ] ; then
         LEN+=${(c)#wm}
-        line+="$(hilight_char $value $key) "
+        line+="$(highlight_char $value $key) "
       else
         LEN=0
         output+="$line"
index 6e48b23..9987b46 100644 (file)
@@ -1,6 +1,6 @@
 # application menu module for grml-quickconfig
 
-LINE='print_line "Show an application ${HILIGHT}m${NORMAL}enu (${HILIGHT_NAME}pdmenu${NORMAL})"'
+LINE='print_line "Show an application ${HIGHLIGHT}m${NORMAL}enu (${HIGHLIGHT_NAME}pdmenu${NORMAL})"'
 KEY=(m)
 MENU_PROGNAME=pdmenu
 FUNCTION="run $MENU_PROGNAME"
index f30deaa..745663e 100644 (file)
@@ -1,4 +1,4 @@
-LINE='print_line "Install grml to ${HILIGHT}h${NORMAL}ard disk (${HILIGHT_NAME}grml2hd${NORMAL}"'
+LINE='print_line "Install grml to ${HIGHLIGHT}h${NORMAL}ard disk (${HIGHLIGHT_NAME}grml2hd${NORMAL}"'
 KEY=(m)
 HD_APP=grml2hd
 FUNCTION="run $HD_APP"