[Po4a-commits] "po4a changelog,1.48,1.49 po4a,1.57,1.58"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sat Jul 15 22:00:39 UTC 2006


Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv26748

Modified Files:
	changelog po4a 
Log Message:
Print the number of translated strings, even if the translation is
discarded because it is less translated than the threshold.


Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- po4a	8 Jun 2006 20:13:28 -0000	1.57
+++ po4a	15 Jul 2006 22:00:37 -0000	1.58
@@ -882,8 +882,9 @@
 	    my ($percent,$hit,$queries) = $doc->stats();
 
 	    if ($percent<$file_opts{"threshold"})  {
-		print wrap_msg(gettext("Discard %s (only %s%% translated; need %s%%)."),
-		    $document{$master}{$lang}, $percent, $file_opts{"threshold"});
+		print wrap_msg(gettext("Discard %s (%s of %s strings; only %s%% translated; need %s%%)."),
+		    $document{$master}{$lang}, $hit, $queries,
+		    $percent, $file_opts{"threshold"});
 		unlink($document{$master}{$lang}) if (-e $document{$master}{$lang});
 		next DOC;
 	    }

Index: changelog
===================================================================
RCS file: /cvsroot/po4a/po4a/changelog,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- changelog	14 Jul 2006 23:29:04 -0000	1.48
+++ changelog	15 Jul 2006 22:00:37 -0000	1.49
@@ -13,6 +13,9 @@
     (otherwise the line will be considered empty by groff.
     Add these \&, and do not force the translators to translate them if
     the line only consists in \&, spaces and font modifiers.
+  (po4a)
+  * Print the number of translated strings, even if the translation is
+    discarded because it is less translated than the threshold.
 
   [Florentin Duneau]
   (po/pod/fr.po)




More information about the Po4a-commits mailing list