[Debian-l10n-commits] r1808 - in /dl10n/trunk: Changelog dl10n-pts
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Thu Jul 23 10:53:15 UTC 2009
Author: nekral-guest
Date: Thu Jul 23 10:53:12 2009
New Revision: 1808
URL: http://svn.debian.org/wsvn/?sc=1&rev=1808
Log:
* dl10n-pts: Provide some help to the maintainer on how they can
check the PO files and what they should do.
Modified:
dl10n/trunk/Changelog
dl10n/trunk/dl10n-pts
Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=1808&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Thu Jul 23 10:53:12 2009
@@ -1,3 +1,8 @@
+2009-07-23 Nicolas François <nicolas.francois at centraliens.net>
+
+ * dl10n-pts: Provide some help to the maintainer on how they can
+ check the PO files and what they should do.
+
2009-07-23 Nicolas François <nicolas.francois at centraliens.net>
* dl10n-pts: Add the generation time.
Modified: dl10n/trunk/dl10n-pts
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-pts?rev=1808&op=diff
==============================================================================
--- dl10n/trunk/dl10n-pts (original)
+++ dl10n/trunk/dl10n-pts Thu Jul 23 10:53:12 2009
@@ -238,9 +238,22 @@
if (defined $errors{$pkg}) {
print PKGSTATUS <<EOF;
<h1>Your package's translations have errors</h1>
+ <div>
+ You can check if a PO file is valid with the following command:
+ <pre style="border-style:solid;border-width:1px">
+
+ msgfmt -c -o /dev/null <po file>
+ </pre>
+ </div>
<pre style="border-style:solid;border-width:1px">
$errors{$pkg}
</pre>
+ <div>
+ Please ask the translator (identified by the Last-Translator field
+ in the PO file), the language team (identified by the Language-Team
+ field) or <a href="mailto:debian-i18n\@debian.org">debian-i18n</a>
+ for a fix.
+ </div>
EOF
}
print PKGSTATUS <<EOF;
@@ -251,7 +264,7 @@
foreach my $lang (sort keys %{$score{$pkg}}) {
if ($lang ne "_" and $lang ne "__") {
print PKGSTATUS " ".
- "<tr><td>$lang</td><td>".
+ "<tr><td align=\"right\">$lang</td><td>".
graph_stats($score{$pkg}{$lang}{"podebconf"}).
"</td><td>".
graph_stats($score{$pkg}{$lang}{"po"}).
More information about the Debian-l10n-commits
mailing list