[New] Added I18nMessage.toString()
This commit is contained in:
parent
74cddd997d
commit
5764201470
|
@ -231,6 +231,11 @@ public class I18nMessage {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return getMessage(Locale.getDefault());
|
||||||
|
}
|
||||||
|
|
||||||
private ResourceBundle findBundle(String baseName) {
|
private ResourceBundle findBundle(String baseName) {
|
||||||
if (baseName.isEmpty())
|
if (baseName.isEmpty())
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue