diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-14 15:11:12 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-14 15:11:12 (EDT) |
commit | 98aca2b5b0cc29406925e635651f8a02500376fa (patch) | |
tree | 98685f4c5701e3dc502606bff791c64b4afd53da | |
parent | 85da4187b219b80d82e1e40f9b79ef0a9216a29f (diff) |
Internationalize the rest of the help message.
-rw-r--r-- | lib/cmd/help.sh | 3 | ||||
-rw-r--r-- | locale/en_US/pro_archman.sh | 2 |
2 files changed, 4 insertions, 1 deletions
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 <command>\n\nWhere <command> 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 <http://www.gnu.org/licenses/>. 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_help_summary='print this help message' msg_pro_archman_cmd_help_usage='[<command>]' msg_pro_archman_cmd_include_summary='include packages described in changes files' |