diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-16 18:51:57 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-16 18:51:57 (EDT) |
commit | cd009236f4f8bbe367ede294acb005d077bb0411 (patch) | |
tree | 205f2898eb96768a2e9d779b23591e0033e17e12 | |
parent | a1779d0bf034a4df75315082796686eb5d1ad5be (diff) |
Better organize help command translatable strings.
-rw-r--r-- | lib/cmd/help.sh | 4 | ||||
-rw-r--r-- | locale/en_US/pro_archman.sh | 9 |
2 files changed, 9 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. +# lib/cmd.sh msg_pro_archman_cmd_not_found='Command "%s" not found' -msg_pro_archman_usage='Usage: %s <command>' -msg_pro_archman_summary_head='Where <command> is one of:' msg_pro_archman_cmd_usage='Usage: %s %s %s' + +# lib/cmd/help.sh +msg_pro_archman_cmd_help_head='Usage: %s <command>' +msg_pro_archman_cmd_help_summary_head='Where <command> is one of:' msg_pro_archman_cmd_help_summary='print this help message' msg_pro_archman_cmd_help_usage='[<command>]' + +# lib/cmd/include.sh msg_pro_archman_cmd_include_summary='include packages described in changes files' msg_pro_archman_cmd_include_usage='<changes> ...' msg_pro_archman_cmd_include_including='Including %s (%s) into %s...' |