[New] Added I18nMessage.toString()
This commit is contained in:
parent
7350ec0f4c
commit
ea983d1113
|
@ -219,6 +219,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