Explorar el Código

* dpkg-genchanges.pl: Mark string for translation.

Guillem Jover hace 19 años
padre
commit
2d0fe6517f
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 4 0
      ChangeLog
  2. 1 1
      scripts/dpkg-genchanges.pl

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2007-04-03  Guillem Jover  <guillem@debian.org>
+
+	* dpkg-genchanges.pl: Mark string for translation.
+
 2007-04-03  Guillem Jover  <guillem@debian.org>
 
 	* scripts/controllib.pl (warn): Rename to ...

+ 1 - 1
scripts/dpkg-genchanges.pl

@@ -275,7 +275,7 @@ for $p (keys %p2f) {
     $pri = $sourcedefault{'Priority'} if !defined($pri);
     if (!defined($pri)) {
 	$pri = '-';
-	warning("missing Priority for binary package $p; using '-'");
+	warning(sprintf(_g("missing Priority for binary package %s; using '-'"), $p);
     }
     $pri eq $f2pri{$f} || &error(sprintf(_g("package %s has priority %s in ".
                                            "control file but %s in files list"),