diff --git a/i18n/en.po b/i18n/en.po index 5a673fcb..b5948f90 100644 --- a/i18n/en.po +++ b/i18n/en.po @@ -283,6 +283,9 @@ msgstr[1] "game time: %s in %d sessions" msgid "n" msgstr "n" +msgid "optional" +msgstr "optional" + msgid "password:" msgstr "password:" diff --git a/i18n/fr.po b/i18n/fr.po index 1f36739c..e4f357a9 100644 --- a/i18n/fr.po +++ b/i18n/fr.po @@ -290,6 +290,9 @@ msgstr[1] "temps de jeu : %s en %d sessions" msgid "n" msgstr "n" +msgid "optional" +msgstr "facultatif" + msgid "password:" msgstr "mot de passe :" diff --git a/i18n/it.po b/i18n/it.po index aed99ffd..908e78b9 100644 --- a/i18n/it.po +++ b/i18n/it.po @@ -298,6 +298,9 @@ msgstr[1] "tempo di gioco: %s in %d sessioni" msgid "n" msgstr "n" +msgid "optional" +msgstr "facoltativo" + msgid "password:" msgstr "password:" diff --git a/i18n/template.pot b/i18n/template.pot index 0c0c03fc..81f5f76a 100644 --- a/i18n/template.pot +++ b/i18n/template.pot @@ -266,6 +266,9 @@ msgstr[1] "" msgid "n" msgstr "" +msgid "optional" +msgstr "" + msgid "password:" msgstr "" diff --git a/scripts/_gsh_index b/scripts/_gsh_index index c20f0890..073de68d 100755 --- a/scripts/_gsh_index +++ b/scripts/_gsh_index @@ -11,22 +11,28 @@ do continue fi + SKIPABLE="" + if [ -f "$GSH_MISSIONS/$mission_dir/skip.txt" ] || [ -d "$GSH_MISSIONS/$mission_dir/skip" ] + then + SKIPABLE=" [$(gettext "optional")]" + fi + if grep -q "^$n CHECK_OK" "$GSH_CONFIG/missions.log" then COLOR="green" - STATUS=" ($(gettext "completed"))" + STATUS=" ($(gettext "completed"))" elif grep -q "^$n CHECK_OOPS" "$GSH_CONFIG/missions.log" then COLOR="red" - STATUS=" ($(gettext "failed"))" + STATUS=" ($(gettext "failed"))" elif grep -q "^$n SKIP" "$GSH_CONFIG/missions.log" then COLOR="yellow" - STATUS=" ($(gettext "skipped"))" + STATUS=" ($(gettext "skipped"))" elif grep -q "^$n CANCEL_DEP_PB" "$GSH_CONFIG/missions.log" then COLOR="magenta" - STATUS=" ($(gettext "cancelled"))" + STATUS=" ($(gettext "cancelled"))" else COLOR="white" STATUS="" @@ -39,7 +45,7 @@ do fi printf "%s%2d " "$LEAD" "$n" - color_echo "$COLOR" "$mission_dir$STATUS" + color_echo "$COLOR" "$mission_dir$SKIPABLE$STATUS" n="$((n + 1))" done < "$GSH_CONFIG/index.txt" | pager