mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Rename localeProperty
This commit is contained in:
parent
301bbb3814
commit
a11d39ce62
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ public class GlobalSettings {
|
|||
return btcDenomination;
|
||||
}
|
||||
|
||||
public static ReadOnlyObjectProperty<Locale> localePropertyProperty() {
|
||||
public static ReadOnlyObjectProperty<Locale> localeProperty() {
|
||||
return localeProperty;
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue