Another round of string clarification and adding TRANSLATORS comments.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-26 17:28:05 +01:00
parent ad7b7b8527
commit 67093bc0ed
56 changed files with 131 additions and 71 deletions

View file

@ -42,15 +42,15 @@ grubdir=`echo "/@bootdirname@/@grubdirname@" | sed 's,//*,/,g'`
# Usage: usage
# Print the usage.
usage () {
gettext_printf "Usage: %s [OPTION] entry\n" "$self"
gettext "Set the default boot entry for GRUB, for the next boot only."; echo
gettext_printf "Usage: %s [OPTION] MENU_ENTRY\n" "$self"
gettext "Set the default boot menu entry for GRUB, for the next boot only."; echo
echo
printf " -h, --help %s\n" "$(gettext "print this message and exit")"
printf " -v, --version %s\n" "$(gettext "print the version information and exit")"
dirmsg="$(gettext_printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")"
printf " --boot-directory=%-7s%s\n" "$(gettext "DIR")" "$dirmsg"
echo
gettext "ENTRY is a number or a menu item title."; echo
gettext "MENU_ENTRY is a number or a menu item title."; echo
echo
gettext "Report bugs to <bug-grub@gnu.org>."; echo
}
@ -92,13 +92,13 @@ do
bootdir=`echo "$option" | sed 's/--boot-directory=//'` ;;
-*)
gettext_printf "Unrecognized option \`%s'" "$option" 1>&2
gettext_printf "Unrecognized option \`%s'\n" "$option" 1>&2
usage
exit 1
;;
*)
if test "x$entry" != x; then
gettext "More than one entry?" 1>&2
gettext "More than one menu entry?" 1>&2
echo >&2
usage
exit 1
@ -108,7 +108,7 @@ do
done
if test "x$entry" = x; then
gettext "entry not specified." 1>&2
gettext "menu entry not specified." 1>&2
echo >&2
usage
exit 1