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 a843d6f..0f2f7a8 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);