Fix issue #22
This commit is contained in:
@@ -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