mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 06:34:43 -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
|
@ -18,7 +18,7 @@ public class NSLMain extends Application {
|
|||
|
||||
FXMLLoader loader = new FXMLLoader(getClass().getResource("/NSLMain.fxml"));
|
||||
|
||||
Locale userLocale = new Locale(Locale.getDefault().getISO3Language()); // NOTE: user locale based on ISO3 Language codes
|
||||
Locale userLocale = new Locale(AppPreferences.getInstance().getLanguage()); // NOTE: user locale based on ISO3 Language codes
|
||||
ResourceBundle rb = ResourceBundle.getBundle("locale", userLocale);
|
||||
|
||||
loader.setResources(rb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue