fdo#78004 fix string formatting

Added missing 's'

Change-Id: I7570d86d65ebcffc547b06ab9c19843de0b90436
Reviewed-on: https://gerrit.libreoffice.org/9181
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
Alex Gulyás 2014-04-27 18:06:15 +02:00 committed by Markus Mohrhard
parent 62219707ff
commit dfbaef22fc

View File

@ -553,7 +553,7 @@ public abstract class BaseNLPSolver extends WeakBase
if (days > 0)
return String.format("%d %s, %d %s",
days, resourceManager.getLocalizedString(String.format("Time.Day%", days == 1 ? "" : "s"), "Days"),
days, resourceManager.getLocalizedString(String.format("Time.Day%s", days == 1 ? "" : "s"), "Days"),
hours, resourceManager.getLocalizedString(String.format("Time.Hour%s", hours == 1 ? "" : "s"), "Hours"));
if (hours > 0)