console: ngettext fixes

This commit is contained in:
zzz
2020-08-29 13:32:34 +00:00
parent ba7fb00450
commit 623a11dd8f
4 changed files with 13 additions and 14 deletions
@@ -246,7 +246,7 @@ public class PluginStarter implements Runnable {
updated++;
}
if (updated > 0)
mgr.notifyComplete(null, ngettext("1 plugin updated", "{0} plugins updated", updated, ctx));
mgr.notifyComplete(null, ngettext("{0} plugin updated", "{0} plugins updated", updated, ctx));
else
mgr.notifyComplete(null, Messages.getString("Plugin update check complete", ctx));
}