diff options
author | Alex Gulyás <gulyas.alex@gmail.com> | 2014-04-27 18:06:15 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-27 16:57:47 +0000 |
commit | dfbaef22fcc66f86ecdfccb82037fbfd171c975d (patch) | |
tree | e89ccfed0bc4a9f1b7e69b9b5ec79947788a4bf8 /nlpsolver | |
parent | 62219707ff063ce4d4679a3614a551b2854ffcfd (diff) |
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>
Diffstat (limited to 'nlpsolver')
-rw-r--r-- | nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java index 60bdcf9f7272..8561763afce3 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java @@ -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) |