[Po4a-commits] "po4a/lib/Locale/Po4a Pod.pm,1.21,1.22"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Mon Feb 9 23:11:58 UTC 2009
- Previous message: [Po4a-commits] "po4a NEWS, 1.74, 1.75 changelog, 1.428, 1.429 Build.PL, 1.39, 1.40"
- Next message: [Po4a-commits] "po4a changelog,1.429,1.430 NEWS,1.75,1.76"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv6692/lib/Locale/Po4a
Modified Files:
Pod.pm
Log Message:
* NEWS, lib/Locale/Po4a/Pod.pm: Announce the encoding in the POD
header.
Index: Pod.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Pod.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Pod.pm 13 Jun 2006 19:57:17 -0000 1.21
+++ Pod.pm 9 Feb 2009 23:11:56 -0000 1.22
@@ -145,6 +145,14 @@
}
sub docheader {
+ my $self=shift;
+ my $encoding = $self->{TT}{file_out_charset};
+ if (defined $encoding) {
+ $encoding = "\n=encoding $encoding\n";
+ } else {
+ $encoding = "";
+ }
+
return <<EOT;
*****************************************************
@@ -157,7 +165,7 @@
In fact, consider this as a binary, and the po file as a regular .c file:
If the po get lost, keeping this translation up-to-date will be harder.
-
+$encoding
EOT
}
1;
- Previous message: [Po4a-commits] "po4a NEWS, 1.74, 1.75 changelog, 1.428, 1.429 Build.PL, 1.39, 1.40"
- Next message: [Po4a-commits] "po4a changelog,1.429,1.430 NEWS,1.75,1.76"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Po4a-commits
mailing list