Fix issue #22
This commit is contained in:
1 parent
2f97cd8104
commit
8e8584656e
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public enum SupportedLocales {
|
||||
|
||||
public String translate(String key, Object... format) {
|
||||
try {
|
||||
return bundle.localize(key);
|
||||
return String.format(bundle.localize(key), format);
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
return key;
|
||||
|
||||
Reference in new issue
Block a user