]> git.saurik.com Git - apt.git/commitdiff
use P_ instead of ngettext to compiling with --disable-nls
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 17 Jun 2014 09:33:00 +0000 (11:33 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 18 Jun 2014 09:17:18 +0000 (11:17 +0200)
Closes: 751857
apt-private/private-update.cc

index a843d6f8684797b245f25416e3d7cf7f812d93f8..0f2f7a8daf036beb711148f2a6b58782f4f30bf6 100644 (file)
@@ -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);