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