diff options
Diffstat (limited to 'logo/src/xlogo/AppSettings.java')
-rw-r--r-- | logo/src/xlogo/AppSettings.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/logo/src/xlogo/AppSettings.java b/logo/src/xlogo/AppSettings.java index c746282..49b81ca 100644 --- a/logo/src/xlogo/AppSettings.java +++ b/logo/src/xlogo/AppSettings.java @@ -60,6 +60,9 @@ public class AppSettings */
public String translate(String key)
{
+ if (Logo.messages == null) {
+ Logo.generateLanguage(Language.LANGUAGE_ENGLISH); // TODO this is a temporary bug fix
+ }
return Logo.messages.getString(key);
}
|