Parcourir la source

use P_ instead of ngettext to compiling with --disable-nls

Closes: 751857
Fredrik Fornwall il y a 12 ans
Parent
commit
dab5f8745b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      apt-private/private-update.cc

+ 1 - 1
apt-private/private-update.cc

@@ -86,7 +86,7 @@ bool DoUpdate(CommandLine &CmdL)
          if (I->CurrentVer != 0 && state.Upgradable())
             upgradable++;
       }
-      const char *msg = ngettext(
+      const char *msg = P_(
          "%i package can be upgraded. Run 'apt list --upgradable' to see it.\n",
          "%i packages can be upgraded. Run 'apt list --upgradable' to see them.\n",
          upgradable);