Fix double colon usage

This commit is contained in:
Christoph Atteneder 2018-08-15 15:12:31 +02:00
parent a1cfe72c46
commit a85f8de5a8
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B
3 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@ public class MoneyGramForm extends PaymentMethodForm {
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"),

View File

@ -73,7 +73,7 @@ public class SepaForm extends PaymentMethodForm {
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 class SepaForm extends PaymentMethodForm {
});
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<Country> countryComboBox = new ComboBox<>();

View File

@ -73,7 +73,7 @@ public class SepaInstantForm extends PaymentMethodForm {
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 class SepaInstantForm extends PaymentMethodForm {
});
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<Country> countryComboBox = new ComboBox<>();