Browse Source

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

Closes: 751857
Fredrik Fornwall 12 years ago
parent
commit
dab5f8745b
1 changed files with 1 additions and 1 deletions
  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);