Signed-off-by: Gordian Edenhofer <gordian.edenhofer@gmail.com> --- contrib/updpkgsums.sh.in | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/contrib/updpkgsums.sh.in b/contrib/updpkgsums.sh.in index c571d29..5b68765 100644 --- a/contrib/updpkgsums.sh.in +++ b/contrib/updpkgsums.sh.in @@ -23,19 +23,22 @@ declare -r myname='updpkgsums' declare -r myver='@PACKAGE_VERSION@' usage() { - printf "%s (pacman) v%s\n" "${myname}" "${myver}" + printf "%s (pacman) %s\n" "$myname" "$myver" echo - printf "%s will perform an in place update of the checksums in the\n" "${myname}" - echo "path specified by [build file], defaulting to PKGBUILD in the current" - echo "working directory." + printf -- "$(gettext "\ +%s will perform an in place update of the checksums in the\n\ +path specified by [build file], defaulting to PKGBUILD in the current\n\ +working directory")\n" "$myname" echo - printf "Usage: %s [options] [build file]\n" "${myname}" + printf -- "$(gettext "Usage: %s [options] [build file]")\n" "$0" echo - echo " -h, --help display this help message and exit" - echo " -V, --version display version information and exit" + printf -- "$(gettext "Options:")\n" + printf -- "$(gettext " -h, --help Display this help message and exit")\n" + printf -- "$(gettext " -V, --version Display version information and exit")\n" + echo + printf -- "$(gettext "These options can be passed to makepkg:")\n" + printf -- "$(gettext " -m, --nocolor Disable colorized output messages")\n" echo - echo "These options can be passed to makepkg:" - echo " -m, --nocolor disable colorized output messages" } version() { -- 2.10.0