Package: doc-base
Version: 0.9.5
Severity: wishlist
Tags: patch l10n

Hi,

I just noticed a weird message on upgrade:
        “Traitement de 9 modifiés fichier(s) de documentation”
that could sounds in English like:
        “Processing 9 file(s) doc-base changed”.
It's weird because the adjective is not where it should fit and because
the adjective use a proper plural form while the name don't.

The following untested but trivial patch should solve this issue.

Please, don't forget to run
        “podebconf-report-po --podir=po/bin --utf8 --call”
after modifying messages in order to ask for translation updates.


diff -ur /tmp/doc-base-0.9.5-orig/perl/Debian/DocBase/InstallDocs.pm 
./perl/Debian/DocBase/InstallDocs.pm
--- /tmp/doc-base-0.9.5-orig/perl/Debian/DocBase/InstallDocs.pm 2009-04-26 
18:57:37.000000000 -0400
+++ ./perl/Debian/DocBase/InstallDocs.pm        2010-12-09 11:03:24.000000000 
-0400
@@ -178,13 +178,13 @@
   if ($mode == $MODE_INSTALL_CHANGED) {
     my @stats = 
Debian::DocBase::DocBaseFile::GetChangedDocBaseFiles(\...@toremove, 
\...@toinstall);
 
-    $msg      .=  _ng("%d removed", "%d removed", $stats[0]) if $stats[0];
+    $msg      .=  _ng("%d removed doc-base file", "%d removed doc-base files", 
$stats[0]) if $stats[0];
     $msg      .= " " if $msg and $stats[1];
-    $msg      .=  _ng("%d changed", "%d changed", $stats[1]) if $stats[1];
+    $msg      .=  _ng("%d changed doc-base file", "%d changed doc-base files", 
$stats[1]) if $stats[1];
     $msg      .= " " if $msg and $stats[2];
-    $msg      .=  _ng("%d added",   "%d added",   $stats[2]) if $stats[2];
+    $msg      .=  _ng("%d added doc-base file",   "%d added doc-base files",   
$stats[2]) if $stats[2];
     $msg       = sprintf $msg, grep { $_ != 0 } @stats if $msg;
-    Inform(_g("Processing %s doc-base file(s)..."), $msg) if $msg;
+    Inform(_g("Processing %s..."), $msg) if $msg;
   }
 
   elsif ($mode == $MODE_INSTALL_ALL) {



In the meantime, here is a trivial patch against the French PO file that
would make the sentence a lot less weird:

diff -ur /tmp/doc-base-0.9.5-orig/po/bin/fr.po ./po/bin/fr.po
--- /tmp/doc-base-0.9.5-orig/po/bin/fr.po       2010-12-09 11:01:30.000000000 
-0400
+++ ./po/bin/fr.po      2010-12-09 10:58:17.000000000 -0400
@@ -262,7 +262,7 @@
 #: ../../perl/Debian/DocBase/InstallDocs.pm:187
 #, perl-format
 msgid "Processing %s doc-base file(s)..."
-msgstr "Traitement de %s fichier(s) de documentation"
+msgstr "Traitement de fichier(s) de documentation : %s"
 
 #: ../../perl/Debian/DocBase/InstallDocs.pm:196
 #, perl-format


Regards

David

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
    APT policy: (600, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 
'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 2.6.36-trunk-amd64 (SMP w/1 CPU core)
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to