Revert to English locale if the system default is not available

See #1525
This commit is contained in:
Cristian Maglie 2013-09-06 16:02:42 +02:00
parent b5ba1617f7
commit 64ea65cf54
2 changed files with 5 additions and 2 deletions

View File

@ -270,8 +270,8 @@ public class Preferences {
try {
I18n.init(Preferences.get("editor.languages.current"));
} catch (MissingResourceException e) {
I18n.init("");
Preferences.set("editor.languages.current", "");
I18n.init("en");
Preferences.set("editor.languages.current", "en");
}
// set some other runtime constants (not saved on preferences file)

View File

@ -1,6 +1,9 @@
ARDUINO 1.5.4 BETA
[ide]
* Revert to English locale if the system default is not available
[libraries]
* sam: fixed wrong SPI initialization (noblepepper)