[New] Added I18nMessage.toString()

This commit is contained in:
Robert von Burg 2022-06-27 16:41:43 +02:00
parent 7350ec0f4c
commit ea983d1113
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 5 additions and 0 deletions

View File

@ -219,6 +219,11 @@ public class I18nMessage {
return true;
}
@Override
public String toString() {
return getMessage(Locale.getDefault());
}
private ResourceBundle findBundle(String baseName) {
if (baseName.isEmpty())
return null;