mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 14:44:48 -04:00
v0.4.1:
Language could be selected by user manually. Minor changes to CSS.
This commit is contained in:
parent
082395bf80
commit
525262ebfe
12 changed files with 142 additions and 80 deletions
|
@ -1,5 +1,6 @@
|
|||
package nsusbloader;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.prefs.Preferences;
|
||||
|
||||
public class AppPreferences {
|
||||
|
@ -105,4 +106,7 @@ public class AppPreferences {
|
|||
|
||||
public boolean getTfXCI(){return preferences.getBoolean("TF_XCI", false);}
|
||||
public void setTfXCI(boolean prop){ preferences.putBoolean("TF_XCI", prop); }
|
||||
|
||||
public String getLanguage(){return preferences.get("USR_LANG", Locale.getDefault().getISO3Language());}
|
||||
public void setLanguage(String langStr){preferences.put("USR_LANG", langStr);}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue