From 2a38f0c0471318e3bd5bf400b4b8b3f6a6456f48 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 12 Oct 2013 21:53:01 -0400 Subject: Internationalize copyright and license notice. --- 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 < -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='[]' # 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 +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' -- cgit v0.9.1