summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2011-05-31 21:33:00 +1000
committerBrendan O'Dea <bod@debian.org>2011-05-31 21:33:00 +1000
commit40991a543c3ac4e48c881aae387d27e73d765143 (patch)
treee597f8871416fcd9c149ccae7d01434534872f47
parentf767ad6363ba2474f063b0d82295215dd406abd7 (diff)
downloadhelp2man-40991a543c3ac4e48c881aae387d27e73d765143.tar.gz
Add comment for translators on date format
-rwxr-xr-xhelp2man.PL6
1 files changed, 5 insertions, 1 deletions
diff --git a/help2man.PL b/help2man.PL
index 532c0b9..826afab 100755
--- a/help2man.PL
+++ b/help2man.PL
@@ -16,7 +16,7 @@ use 5.008;
use Config;
use Getopt::Long;
-my ($program, $version) = ('help2man', '1.40.1');
+my ($program, $version) = ('help2man', '1.40.2');
my %opts;
die "Usage: $0 [--quiet] [--stdout] [--with-gettext] [--name] [--version]\n"
@@ -332,6 +332,10 @@ sub get_option_value;
my $help_text = get_option_value $ARGV[0], $help_option;
$version_text ||= get_option_value $ARGV[0], $version_option;
+# Translators: the following message is a strftime(3) format string, which in
+# the English version expands to the month as a word and the full year. It
+# is used on the footer of the generated manual pages. If in doubt, you may
+# just use %x as the value (which should be the full locale-specific date).
my $date = enc strftime _("%B %Y"), localtime;
(my $program = $ARGV[0]) =~ s!.*/!!;
my $package = $program;