Rename localeProperty

This commit is contained in:
Manfred Karrer 2017-07-02 22:37:27 +02:00
parent 301bbb3814
commit a11d39ce62
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ public class GlobalSettings {
return btcDenomination;
}
public static ReadOnlyObjectProperty<Locale> localePropertyProperty() {
public static ReadOnlyObjectProperty<Locale> localeProperty() {
return localeProperty;
}

View file

@ -42,7 +42,7 @@ public class Res {
private static ResourceBundle resourceBundle = ResourceBundle.getBundle("i18n.displayStrings", GlobalSettings.getLocale(), new UTF8Control());
static {
GlobalSettings.localePropertyProperty().addListener((observable, oldValue, newValue) -> {
GlobalSettings.localeProperty().addListener((observable, oldValue, newValue) -> {
resourceBundle = ResourceBundle.getBundle("i18n.displayStrings", newValue, new UTF8Control());
});
}