summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-12 21:53:01 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-12 21:53:01 (EDT)
commit2a38f0c0471318e3bd5bf400b4b8b3f6a6456f48 (patch)
treee927f594916a87df9c836d5f0a1672408005d6bd
parent8185e0f10131624c6b8c3fa83bdc022bda8ace77 (diff)
Internationalize copyright and license notice.
-rw-r--r--lib/cmd/version.sh8
-rw-r--r--locale/en_US/pro_archman.sh4
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/cmd/version.sh b/lib/cmd/version.sh
index e1d27b4..6608107 100644
--- a/lib/cmd/version.sh
+++ b/lib/cmd/version.sh
@@ -21,10 +21,6 @@ cmd_version_main()
{
printf '%s %s\n' "${PACKAGE_NAME}" "${PACKAGE_VERSION}"
- cat <<EOF
-Copyright (C) 2013 Patrick "P. J." McDermott
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law.
-EOF
+ printf "$(get_msg 'cmd_version_copyright')\n" \
+ '2013' 'Patrick "P. J." McDermott'
}
diff --git a/locale/en_US/pro_archman.sh b/locale/en_US/pro_archman.sh
index 3bb6190..b9c0e5a 100644
--- a/locale/en_US/pro_archman.sh
+++ b/locale/en_US/pro_archman.sh
@@ -40,6 +40,10 @@ msg_pro_archman_cmd_help_usage='[<command>]'
# lib/cmd/version.sh
msg_pro_archman_cmd_version_summary='print version information'
msg_pro_archman_cmd_version_usage=''
+msg_pro_archman_cmd_version_copyright='Copyright (C) %s %s
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.'
# lib/cmd/include.sh
msg_pro_archman_cmd_include_summary='include packages described in changes files'