diff --git a/src/main/java/bisq/desktop/components/paymentmethods/MoneyGramForm.java b/src/main/java/bisq/desktop/components/paymentmethods/MoneyGramForm.java index 16a818019b9..379d3cf7de4 100644 --- a/src/main/java/bisq/desktop/components/paymentmethods/MoneyGramForm.java +++ b/src/main/java/bisq/desktop/components/paymentmethods/MoneyGramForm.java @@ -63,7 +63,7 @@ public static int addFormForBuyer(GridPane gridPane, int gridRow, addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.getWithCol("payment.account.fullName"), payload.getHolderName()); FormBuilder.addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, - Res.getWithCol("payment.bank.country"), + Res.get("payment.bank.country"), CountryUtil.getNameAndCode(((MoneyGramAccountPayload) paymentAccountPayload).getCountryCode())); if (BankUtil.isStateRequired(payload.getCountryCode())) addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, Res.get("payment.account.state"), diff --git a/src/main/java/bisq/desktop/components/paymentmethods/SepaForm.java b/src/main/java/bisq/desktop/components/paymentmethods/SepaForm.java index b1dab8ce15e..9481e213da3 100644 --- a/src/main/java/bisq/desktop/components/paymentmethods/SepaForm.java +++ b/src/main/java/bisq/desktop/components/paymentmethods/SepaForm.java @@ -73,7 +73,7 @@ public static int addFormForBuyer(GridPane gridPane, int gridRow, addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, title, value); FormBuilder.addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, - Res.getWithCol("payment.bank.country"), + Res.get("payment.bank.country"), CountryUtil.getNameAndCode(sepaAccountPayload.getCountryCode())); // IBAN, BIC will not be translated FormBuilder.addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, "IBAN:", sepaAccountPayload.getIban()); @@ -127,7 +127,7 @@ public void addFormForAddAccount() { }); - FormBuilder.addLabel(gridPane, ++gridRow, Res.getWithCol("payment.bank.country")); + FormBuilder.addLabel(gridPane, ++gridRow, Res.get("payment.bank.country")); HBox hBox = new HBox(); hBox.setSpacing(10); ComboBox countryComboBox = new ComboBox<>(); diff --git a/src/main/java/bisq/desktop/components/paymentmethods/SepaInstantForm.java b/src/main/java/bisq/desktop/components/paymentmethods/SepaInstantForm.java index fa84c607da7..7bbfda3866d 100644 --- a/src/main/java/bisq/desktop/components/paymentmethods/SepaInstantForm.java +++ b/src/main/java/bisq/desktop/components/paymentmethods/SepaInstantForm.java @@ -73,7 +73,7 @@ public static int addFormForBuyer(GridPane gridPane, int gridRow, addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, title, value); FormBuilder.addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, - Res.getWithCol("payment.bank.country"), + Res.get("payment.bank.country"), CountryUtil.getNameAndCode(sepaInstantAccountPayload.getCountryCode())); // IBAN, BIC will not be translated FormBuilder.addLabelTextFieldWithCopyIcon(gridPane, ++gridRow, "IBAN:", sepaInstantAccountPayload.getIban()); @@ -127,7 +127,7 @@ public void addFormForAddAccount() { }); - FormBuilder.addLabel(gridPane, ++gridRow, Res.getWithCol("payment.bank.country")); + FormBuilder.addLabel(gridPane, ++gridRow, Res.get("payment.bank.country")); HBox hBox = new HBox(); hBox.setSpacing(10); ComboBox countryComboBox = new ComboBox<>();