Просмотр исходного кода

* cmdline/apt-cache.cc:
- remove the gettext from a string that consists entirely
of variables (LP: #56792)

Michael Vogt лет назад: 18
Родитель
Сommit
78acd6505b
2 измененных файлов с 5 добавлено и 1 удалено
  1. 2 1
      cmdline/apt-cache.cc
  2. 3 0
      debian/changelog

+ 2 - 1
cmdline/apt-cache.cc

@@ -1533,7 +1533,8 @@ bool Policy(CommandLine &CmdL)
 	 if (SrcList->FindIndex(F,Indx) == false &&
 	     _system->FindIndex(F,Indx) == false)
 	    return _error->Error(_("Cache is out of sync, can't x-ref a package file"));
-	 printf(_("%4i %s\n"),
+	 
+	 printf("%4i %s\n",
 		Plcy.GetPriority(F),Indx->Describe(true).c_str());
 	 
 	 // Print the reference information for the package

+ 3 - 0
debian/changelog

@@ -35,6 +35,9 @@ apt (0.7.15) UNRELEASED; urgency=low
     - support having CDs with no Packages file (just a Packages.gz)
       by not forcing a verification on non-existing files
      (LP: #255545)
+  * cmdline/apt-cache.cc:
+    - remove the gettext from a string that consists entirely 
+      of variables (LP: #56792)
   
   [ Dereck Wonnacott ]
   * apt-ftparchive might write corrupt Release files (LP: #46439)