From 98aca2b5b0cc29406925e635651f8a02500376fa Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 14 Jul 2013 15:11:12 -0400 Subject: Internationalize the rest of the help message. --- diff --git a/lib/cmd/help.sh b/lib/cmd/help.sh index 68b51f8..f27d770 100644 --- a/lib/cmd/help.sh +++ b/lib/cmd/help.sh @@ -29,6 +29,7 @@ cmd_help_main() fi fi - printf 'Usage: %s \n\nWhere is one of:\n' "${0}" + printf "$(get_msg 'usage')\n\n" "${0}" + printf "$(get_msg 'summary_head')\n" print_cmd_summaries } diff --git a/locale/en_US/pro_archman.sh b/locale/en_US/pro_archman.sh index 65255f1..a62aa7d 100644 --- a/locale/en_US/pro_archman.sh +++ b/locale/en_US/pro_archman.sh @@ -18,6 +18,8 @@ # along with this program. If not, see . msg_pro_archman_cmd_not_found='Command "%s" not found' +msg_pro_archman_usage='Usage: %s ' +msg_pro_archman_summary_head='Where is one of:' msg_pro_archman_cmd_help_summary='print this help message' msg_pro_archman_cmd_help_usage='[]' msg_pro_archman_cmd_include_summary='include packages described in changes files' -- cgit v0.9.1