The following commit has been merged in the master branch:
commit 88ee17740d92b05caf824733e6df194b0a5701bc
Author: Guillem Jover <guil...@debian.org>
Date:   Sat Nov 12 06:07:20 2011 +0100

    u-a: Use the generic PACKAGE instead of a literal "dpkg" for textdomain
    
    This unties a bit more update-alternatives from dpkg, so that it can be
    more easily reused by third parties.

diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c
index 81055b4..16fd8c6 100644
--- a/utils/update-alternatives.c
+++ b/utils/update-alternatives.c
@@ -2309,8 +2309,8 @@ main(int argc, char **argv)
        int i = 0;
 
        setlocale(LC_ALL, "");
-       bindtextdomain("dpkg", LOCALEDIR);
-       textdomain("dpkg");
+       bindtextdomain(PACKAGE, LOCALEDIR);
+       textdomain(PACKAGE);
 
        admdir = admindir_init();
 

-- 
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