The following commit has been merged in the master branch:
commit acf7fe58c95c2ba4300ec4b60d614012483f4771
Author: Guillem Jover <guil...@debian.org>
Date:   Fri Jun 25 08:46:23 2010 +0200

    dpkg: Mark hook command error string for translation

diff --git a/src/main.c b/src/main.c
index e32cfa0..c933f24 100644
--- a/src/main.c
+++ b/src/main.c
@@ -381,7 +381,8 @@ run_invoke_hooks(const char *action, struct invoke_hook 
*hook_head)
      * used “!$=&|\\`'"^~;<>{}[]()?*#”. */
     status = system(hook->command);
     if (status != 0)
-      ohshit("error executing hook '%s', exit code %d", hook->command, status);
+      ohshit(_("error executing hook '%s', exit code %d"), hook->command,
+             status);
   }
 
   unsetenv("DPKG_HOOK_ACTION");

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