Pārlūkot izejas kodu

* apt-pkg/depcache.cc, apt-pkg/indexcopy.cc:
- typo fix (LP: #462328)

Michael Vogt 16 gadi atpakaļ
vecāks
revīzija
a1e42d1fd8
3 mainītis faili ar 8 papildinājumiem un 4 dzēšanām
  1. 1 1
      apt-pkg/depcache.cc
  2. 3 3
      apt-pkg/indexcopy.cc
  3. 4 0
      debian/changelog

+ 1 - 1
apt-pkg/depcache.cc

@@ -243,7 +243,7 @@ bool pkgDepCache::writeStateFile(OpProgress *prog, bool InstalledOnly)	/*{{{*/
 	    continue;
 	    continue;
 	 bool newAuto = (PkgState[pkg->ID].Flags & Flag::Auto);
 	 bool newAuto = (PkgState[pkg->ID].Flags & Flag::Auto);
 	 if(_config->FindB("Debug::pkgAutoRemove",false))
 	 if(_config->FindB("Debug::pkgAutoRemove",false))
-	    std::clog << "Update exisiting AutoInstall info: " 
+	    std::clog << "Update existing AutoInstall info: " 
 		      << pkg.Name() << std::endl;
 		      << pkg.Name() << std::endl;
 	 TFRewriteData rewrite[2];
 	 TFRewriteData rewrite[2];
 	 rewrite[0].Tag = "Auto-Installed";
 	 rewrite[0].Tag = "Auto-Installed";

+ 3 - 3
apt-pkg/indexcopy.cc

@@ -527,19 +527,19 @@ bool SigVerify::Verify(string prefix, string file, indexRecords *MetaIndex)
    // (non-existing files are not considered a error)
    // (non-existing files are not considered a error)
    if(!FileExists(prefix+file))
    if(!FileExists(prefix+file))
    {
    {
-      _error->Warning("Skipping non-exisiting file %s", string(prefix+file).c_str());
+      _error->Warning(_("Skipping nonexistent file %s"), string(prefix+file).c_str());
       return true;
       return true;
    }
    }
 
 
    if (!Record) 
    if (!Record) 
    {
    {
-      _error->Warning("Can't find authentication record for: %s",file.c_str());
+      _error->Warning(_("Can't find authentication record for: %s"), file.c_str());
       return false;
       return false;
    }
    }
 
 
    if (!Record->Hash.VerifyFile(prefix+file))
    if (!Record->Hash.VerifyFile(prefix+file))
    {
    {
-      _error->Warning("Hash mismatch for: %s",file.c_str());
+      _error->Warning(_("Hash mismatch for: %s"),file.c_str());
       return false;
       return false;
    }
    }
 
 

+ 4 - 0
debian/changelog

@@ -10,6 +10,10 @@ apt (0.7.22.4) unstable; urgency=low
     - add output about pre-depends configuring when debug::pkgPackageManager
     - add output about pre-depends configuring when debug::pkgPackageManager
       is used
       is used
 
 
+  [ Brian Murray ]
+  * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc:
+    - typo fix (LP: #462328)
+  
   [ Loïc Minier ]
   [ Loïc Minier ]
   * cmdline/apt-key:
   * cmdline/apt-key:
     - Emit a warning if removed keys keyring is missing and skip associated
     - Emit a warning if removed keys keyring is missing and skip associated