[Debian-l10n-commits] r1805 - in /dl10n/trunk: Changelog dl10n-pts
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Thu Jul 23 00:31:42 UTC 2009
Author: nekral-guest
Date: Thu Jul 23 00:31:42 2009
New Revision: 1805
URL: http://svn.debian.org/wsvn/?sc=1&rev=1805
Log:
* dl10n-pts: Differentiate between no translations (-) and no
translated strings (0).
Modified:
dl10n/trunk/Changelog
dl10n/trunk/dl10n-pts
Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=1805&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Thu Jul 23 00:31:42 2009
@@ -1,4 +1,9 @@
-2009-07-22 Nicolas François <nicolas.francois at centraliens.net>
+2009-07-23 Nicolas François <nicolas.francois at centraliens.net>
+
+ * dl10n-pts: Differentiate between no translations (-) and no
+ translated strings (0).
+
+2009-07-23 Nicolas François <nicolas.francois at centraliens.net>
* dl10n-pts: Added section regarding errors in translations.
Modified: dl10n/trunk/dl10n-pts
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-pts?rev=1805&op=diff
==============================================================================
--- dl10n/trunk/dl10n-pts (original)
+++ dl10n/trunk/dl10n-pts Thu Jul 23 00:31:42 2009
@@ -360,7 +360,7 @@
if ($stats =~ /([0-9]*)u/) { $u=$1; }
if ($stats =~ /([0-9]*)f/) { $f=$1; }
$percent = calc_percent($t,$t+$u+$f);
- if ($percent eq "NaN" || $percent == 0) {
+ if ($percent eq "NaN") {
return '-';
}
return "$percent";
More information about the Debian-l10n-commits
mailing list