Procházet zdrojové kódy

dpkg: Use “unselected” as an adjective instead of “deselected”

When being used as an adjective “unselected” is the correct word to use.

Closes: #231089
Guillem Jover před 15 roky
rodič
revize
8b9315219d
3 změnil soubory, kde provedl 5 přidání a 3 odebrání
  1. 2 0
      debian/changelog
  2. 1 1
      lib/dpkg/parse.c
  3. 2 2
      src/archives.c

+ 2 - 0
debian/changelog

@@ -43,6 +43,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
   * Clarify the current dpkg behaviour when running the dpkg-deb and
     dpkg-query back-ends, of not passing through back-end specific options
     when running them from dpkg. Closes: #610940
+  * Use “unselected” as an adjective in dpkg output messages instead of
+    “deselected”. Closes: #231089
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann).

+ 1 - 1
lib/dpkg/parse.c

@@ -168,7 +168,7 @@ pkg_parse_verify(struct parsedb_state *ps,
   parse_must_have_field(ps, pkg, pkg->name, "package name");
 
   /* XXX: We need to check for status != stat_halfinstalled as while
-   * unpacking a deselected package, it will not have yet all data in
+   * unpacking an unselected package, it will not have yet all data in
    * place. But we cannot check for > stat_halfinstalled as stat_configfiles
    * always should have those fields. */
   if ((ps->flags & pdb_recordavailable) ||

+ 2 - 2
src/archives.c

@@ -1352,11 +1352,11 @@ wanttoinstall(struct pkginfo *pkg)
 
   if (pkg->want != want_install && pkg->want != want_hold) {
     if (f_alsoselect) {
-      printf(_("Selecting previously deselected package %s.\n"), pkg->name);
+      printf(_("Selecting previously unselected package %s.\n"), pkg->name);
       pkg->want = want_install;
       return true;
     } else {
-      printf(_("Skipping deselected package %s.\n"), pkg->name);
+      printf(_("Skipping unselected package %s.\n"), pkg->name);
       return false;
     }
   }