summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2014-06-17 11:33:00 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-06-18 11:17:18 +0200
commitdab5f8745b8d6df1060490c8c5ac895832657a74 (patch)
treeb3a6d1dc4677090dec6a599618f5b02b90aae6ab
parent480c2414e72058b50fa287f779a4fda7b22e1018 (diff)
use P_ instead of ngettext to compiling with --disable-nls
Closes: 751857
-rw-r--r--apt-private/private-update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-update.cc b/apt-private/private-update.cc
index a843d6f86..0f2f7a8da 100644
--- a/apt-private/private-update.cc
+++ b/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);