From cd009236f4f8bbe367ede294acb005d077bb0411 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 16 Jul 2013 18:51:57 -0400 Subject: Better organize help command translatable strings. --- diff --git a/lib/cmd/help.sh b/lib/cmd/help.sh index f27d770..625b2d1 100644 --- a/lib/cmd/help.sh +++ b/lib/cmd/help.sh @@ -29,7 +29,7 @@ cmd_help_main() fi fi - printf "$(get_msg 'usage')\n\n" "${0}" - printf "$(get_msg 'summary_head')\n" + printf "$(get_msg 'cmd_help_head')\n\n" "${0}" + printf "$(get_msg 'cmd_help_summary_head')\n" print_cmd_summaries } diff --git a/locale/en_US/pro_archman.sh b/locale/en_US/pro_archman.sh index 41b1bf6..6978791 100644 --- a/locale/en_US/pro_archman.sh +++ b/locale/en_US/pro_archman.sh @@ -17,12 +17,17 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# lib/cmd.sh 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_usage='Usage: %s %s %s' + +# lib/cmd/help.sh +msg_pro_archman_cmd_help_head='Usage: %s ' +msg_pro_archman_cmd_help_summary_head='Where is one of:' msg_pro_archman_cmd_help_summary='print this help message' msg_pro_archman_cmd_help_usage='[]' + +# lib/cmd/include.sh msg_pro_archman_cmd_include_summary='include packages described in changes files' msg_pro_archman_cmd_include_usage=' ...' msg_pro_archman_cmd_include_including='Including %s (%s) into %s...' -- cgit v0.9.1