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

Typo fixes.
Author: doogie
Date: 2003-02-10 01:40:58 GMT
Typo fixes.

Arch Librarian лет назад: 22
Родитель
Сommit
bac2e71520
3 измененных файлов с 7 добавлено и 7 удалено
  1. 3 3
      apt-pkg/contrib/cmndline.cc
  2. 2 2
      apt-pkg/pkgcache.cc
  3. 2 2
      cmdline/apt-cache.cc

+ 3 - 3
apt-pkg/contrib/cmndline.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: cmndline.cc,v 1.14 2002/11/11 06:58:55 doogie Exp $
+// $Id: cmndline.cc,v 1.15 2003/02/10 01:40:58 doogie Exp $
 /* ######################################################################
 
    Command Line Class - Sophisticated command line parser
@@ -198,13 +198,13 @@ bool CommandLine::HandleOpt(int &I,int argc,const char *argv[],
 	 const char *J;
 	 for (J = Argument; *J != 0 && *J != '='; J++);
 	 if (*J == 0)
-	    return _error->Error(_("Option %s: Configuration item sepecification must have an =<val>."),argv[I]);
+	    return _error->Error(_("Option %s: Configuration item specification must have an =<val>."),argv[I]);
 
 	 // = is trailing
 	 if (J[1] == 0)
 	 {
 	    if (I+1 >= argc)
-	       return _error->Error(_("Option %s: Configuration item sepecification must have an =<val>."),argv[I]);
+	       return _error->Error(_("Option %s: Configuration item specification must have an =<val>."),argv[I]);
 	    Conf->Set(string(Argument,J-Argument),string(argv[I++ +1]));
 	 }
 	 else

+ 2 - 2
apt-pkg/pkgcache.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: pkgcache.cc,v 1.36 2001/07/01 22:28:24 jgg Exp $
+// $Id: pkgcache.cc,v 1.37 2003/02/10 01:40:58 doogie Exp $
 /* ######################################################################
    
    Package Cache - Accessor code for the cache
@@ -144,7 +144,7 @@ bool pkgCache::ReMap()
    // Chcek the arhcitecture
    if (HeaderP->Architecture == 0 ||
        _config->Find("APT::Architecture") != StrP + HeaderP->Architecture)
-      return _error->Error(_("The package cache was build for a different architecture"));
+      return _error->Error(_("The package cache was built for a different architecture"));
    return true;
 }
 									/*}}}*/

+ 2 - 2
cmdline/apt-cache.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: apt-cache.cc,v 1.60 2003/01/11 07:18:44 jgg Exp $
+// $Id: apt-cache.cc,v 1.61 2003/02/10 01:40:58 doogie Exp $
 /* ######################################################################
    
    apt-cache - Manages the cache files
@@ -1268,7 +1268,7 @@ bool ShowHelp(CommandLine &Cmd)
       "cache files, and query information from them\n"
       "\n"
       "Commands:\n"
-      "   add - Add an package file to the source cache\n"
+      "   add - Add a package file to the source cache\n"
       "   gencaches - Build both the package and source cache\n"
       "   showpkg - Show some general information for a single package\n"
       "   showsrc - Show source records\n"