The following commit has been merged in the master branch:
commit 21bae07787b41706d5afbefb470b1ee84e3382b6
Author: Guillem Jover <guil...@debian.org>
Date:   Mon Jun 21 19:57:51 2010 +0200

    dpkg: Mark the summarize_filename() ellipsed string for translation
    
    Coallesce the ellipsed string with the format string so that it makes a
    bit more sense for translators. This will allow translators to use for
    example the UTF-8 ellipsis character.

diff --git a/src/processarc.c b/src/processarc.c
index 3bf3cf8..3da1e0e 100644
--- a/src/processarc.c
+++ b/src/processarc.c
@@ -71,8 +71,7 @@ summarize_filename(const char *filename)
 
   if (pfilename && pfilename != filename) {
     pfilenamebuf = nfmalloc(strlen(pfilename) + 5);
-    strcpy(pfilenamebuf, ".../");
-    strcat(pfilenamebuf, pfilename);
+    sprintf(pfilenamebuf, _(".../%s"), pfilename);
     pfilename = pfilenamebuf;
   } else {
     pfilename = filename;

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to