mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140
This commit is contained in:
@ -24,11 +24,11 @@ public class I18n {
|
||||
|
||||
// prompt text stuff
|
||||
|
||||
static String PROMPT_YES;
|
||||
static String PROMPT_NO;
|
||||
static String PROMPT_CANCEL;
|
||||
static String PROMPT_OK;
|
||||
static String PROMPT_BROWSE;
|
||||
public static String PROMPT_YES;
|
||||
public static String PROMPT_NO;
|
||||
public static String PROMPT_CANCEL;
|
||||
public static String PROMPT_OK;
|
||||
public static String PROMPT_BROWSE;
|
||||
|
||||
static protected void init(String language) throws MissingResourceException {
|
||||
String[] languageParts = language.split("_");
|
||||
|
@ -88,6 +88,10 @@ public class PreferencesData {
|
||||
fixPreferences();
|
||||
}
|
||||
|
||||
public static File getPreferencesFile() {
|
||||
return preferencesFile;
|
||||
}
|
||||
|
||||
private static void fixPreferences() {
|
||||
String baud = get("serial.debug_rate");
|
||||
if ("14400".equals(baud) || "28800".equals(baud)) {
|
||||
|
Reference in New Issue
Block a user