[Libreoffice-commits] core.git: nlpsolver/src
Alex Gulyás
gulyas.alex at gmail.com
Sun Apr 27 09:58:17 PDT 2014
nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dfbaef22fcc66f86ecdfccb82037fbfd171c975d
Author: Alex Gulyás <gulyas.alex at gmail.com>
Date: Sun Apr 27 18:06:15 2014 +0200
fdo#78004 fix string formatting
Added missing 's'
Change-Id: I7570d86d65ebcffc547b06ab9c19843de0b90436
Reviewed-on: https://gerrit.libreoffice.org/9181
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
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 60bdcf9..8561763 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)
More information about the Libreoffice-commits
mailing list