Merge pull request #667 from haiqu/Development

Save i18n progress
This commit is contained in:
Manfred Karrer 2016-10-22 17:20:20 +02:00 committed by GitHub
commit 92e6ec73d8
3 changed files with 158 additions and 40 deletions

View file

@ -101,7 +101,7 @@ public class SepaForm extends PaymentMethodForm {
}); });
addLabel(gridPane, ++gridRow, "Country of your Bank:"); addLabel(gridPane, ++gridRow, "Country of bank:");
HBox hBox = new HBox(); HBox hBox = new HBox();
hBox.setSpacing(10); hBox.setSpacing(10);
ComboBox<Country> countryComboBox = new ComboBox<>(); ComboBox<Country> countryComboBox = new ComboBox<>();
@ -123,7 +123,7 @@ public class SepaForm extends PaymentMethodForm {
gridPane.getChildren().add(hBox); gridPane.getChildren().add(hBox);
countryComboBox.setPromptText("Select country of your Bank"); countryComboBox.setPromptText("Select country of bank");
countryComboBox.setConverter(new StringConverter<Country>() { countryComboBox.setConverter(new StringConverter<Country>() {
@Override @Override
public String toString(Country country) { public String toString(Country country) {
@ -309,7 +309,7 @@ public class SepaForm extends PaymentMethodForm {
addLabelTextField(gridPane, ++gridRow, "Account holder name:", sepaAccount.getHolderName()); addLabelTextField(gridPane, ++gridRow, "Account holder name:", sepaAccount.getHolderName());
addLabelTextField(gridPane, ++gridRow, "IBAN:", sepaAccount.getIban()).second.setMouseTransparent(false); addLabelTextField(gridPane, ++gridRow, "IBAN:", sepaAccount.getIban()).second.setMouseTransparent(false);
addLabelTextField(gridPane, ++gridRow, "BIC/SWIFT:", sepaAccount.getBic()).second.setMouseTransparent(false); addLabelTextField(gridPane, ++gridRow, "BIC/SWIFT:", sepaAccount.getBic()).second.setMouseTransparent(false);
addLabelTextField(gridPane, ++gridRow, "Location of Bank:", addLabelTextField(gridPane, ++gridRow, "Country of Bank:",
sepaAccount.getCountry() != null ? sepaAccount.getCountry().name : ""); sepaAccount.getCountry() != null ? sepaAccount.getCountry().name : "");
addLabelTextField(gridPane, ++gridRow, "Currency:", sepaAccount.getSingleTradeCurrency().getNameAndCode()); addLabelTextField(gridPane, ++gridRow, "Currency:", sepaAccount.getSingleTradeCurrency().getNameAndCode());
String countries; String countries;

View file

@ -1,6 +1,6 @@
# Used by gui/components/infoDisplay.java # Used by gui/components/infoDisplay.java
# shared # Shared
shared.readMore=Read more shared.readMore=Read more
shared.openHelp=Open Help shared.openHelp=Open Help
shared.warning=Warning shared.warning=Warning
@ -18,7 +18,65 @@ shared.buy=buy
shared.sell=sell shared.sell=sell
shared.spend=spend shared.spend=spend
# validation # App
app.version=You probably have the wrong Bitsquare version for this computer.\nYour computer's architecture is: {0}.\nThe Bitsquare binary you installed is: {1}.\nPlease shut down and re-install the correct version ( {3} ).
app.shutdown.headline=Shutdown in progress ...
app.shutdown.text=Shutting down application can take a few seconds.\nPlease don't interrupt this process.
# Payment methods
payment.account.no=Account no.:
payment.currency=Currency:
payment.account.name=Account name:
payment.payment.method=Payment method:
payment.account.owner=Account holder name:
payment.bank.country=Country of bank:
payment.account.name.email=Account holder name / email
payment.bank.name=Bank name:
payment.select.account=Select account type
payment.select.currency=Select currency
payment.select.region=Select region
payment.select.country=Select country
payment.select.bank.country=Select country of bank
payment.foreign.currency=Are you sure you want to choose a currency other than the country's default currency?
payment.restore.default=No, restore default currency
payment.email=Email:
payment.country=Country:
payment.owner.email=Account holder email:
payment.extras=Extra requirements:
payment.us.info=Bank transfer with WIRE or ACH is not supported for the US because WIRE is too expensive and ACH has a high chargeback risk.\n\nPlease use payment methods ClearXchange, US Postal Money Order or Cash Deposit instead.
payment.email.mobile=Email or mobile no.:
payment.altcoin.address=Altcoin address:
payment.address=address:
payment.altcoin=Altcoin:
payment.select.altcoin=Select or search altcoin
payment.uk.sort=UK sort code:
payment.secret=Secret question:
payment.answer=Answer:
payment.wallet=Wallet ID:
payment.supported.okpay=Supported OKPay currencies:
payment.max.allowed=Max. allowed period / date:
payment.hours=hours
payment.days=days
payment.1hour=1 hour
payment.1day=1 day
payment.max.duration=Max. trade duration:
payment.max.limit=Max. trade limit:
payment.limitations=Limitations:
payment.iban=IBAN:
payment.bicswift=BIC/SWIFT:
payment.accept.euro=Accept trades from these Euro countries:
payment.accept.noneuro=Accept trades from these non-Euro countries:
payment.all.euro=All Euro countries
payment.accepted.countries=Accepted countries:
payment.accepted.banks=Accepted banks:
payment.mobile=Mobile no.:
payment.postal.address=Postal address:
# Validation
validation.empty=Empty input is not allowed. validation.empty=Empty input is not allowed.
validation.NaN=Input is not a valid number. validation.NaN=Input is not a valid number.
validation.zero=Input of 0 is not allowed. validation.zero=Input of 0 is not allowed.
@ -88,7 +146,6 @@ createOffer.success.info=You can manage your open offers in the \"Portfolio\" sc
createOffer.error.message=An error occurred when placing the offer.\n\n{0} createOffer.error.message=An error occurred when placing the offer.\n\n{0}
# Take offer # Take offer
takeOffer.amount.prompt=Enter amount in BTC takeOffer.amount.prompt=Enter amount in BTC
takeOffer.price.prompt=Enter price takeOffer.price.prompt=Enter price
@ -153,15 +210,15 @@ PERFECT_MONEY=Perfect Money
ALI_PAY=AliPay ALI_PAY=AliPay
SEPA=SEPA SEPA=SEPA
FASTER_PAYMENTS=Faster Payments FASTER_PAYMENTS=Faster Payments
NATIONAL_BANK=National Bank transfer NATIONAL_BANK=National bank transfer
SAME_BANK=Transfer with same Bank SAME_BANK=Transfer with same bank
SPECIFIC_BANKS=Transfers with specific banks SPECIFIC_BANKS=Transfers with specific banks
SWISH=Swish SWISH=Swish
CLEAR_X_CHANGE=ClearXchange CLEAR_X_CHANGE=ClearXchange
CHASE_QUICK_PAY=Chase QuickPay CHASE_QUICK_PAY=Chase QuickPay
INTERAC_E_TRANSFER=Interac e-Transfer INTERAC_E_TRANSFER=Interac e-Transfer
US_POSTAL_MONEY_ORDER=US Postal money order US_POSTAL_MONEY_ORDER=US Postal Money Order
CASH_DEPOSIT=Cash Deposit CASH_DEPOSIT=Cash deposit
BLOCK_CHAINS=Altcoins BLOCK_CHAINS=Altcoins
@ -171,15 +228,15 @@ PERFECT_MONEY_SHORT=Perfect Money
ALI_PAY_SHORT=AliPay ALI_PAY_SHORT=AliPay
SEPA_SHORT=SEPA SEPA_SHORT=SEPA
FASTER_PAYMENTS_SHORT=Faster Payments FASTER_PAYMENTS_SHORT=Faster Payments
NATIONAL_BANK_SHORT=National Banks NATIONAL_BANK_SHORT=National banks
SAME_BANK_SHORT=Same Bank SAME_BANK_SHORT=Same bank
SPECIFIC_BANKS_SHORT=Specific banks SPECIFIC_BANKS_SHORT=Specific banks
FED_WIRE_SHORT=Fed Wire FED_WIRE_SHORT=Fed Wire
SWISH_SHORT=Swish SWISH_SHORT=Swish
CLEAR_X_CHANGE_SHORT=ClearXchange CLEAR_X_CHANGE_SHORT=ClearXchange
CHASE_QUICK_PAY_SHORT=Chase QuickPay CHASE_QUICK_PAY_SHORT=Chase QuickPay
INTERAC_E_TRANSFER_SHORT=Interac e-Transfer INTERAC_E_TRANSFER_SHORT=Interac e-Transfer
US_POSTAL_MONEY_ORDER_SHORT=US money order US_POSTAL_MONEY_ORDER_SHORT=US Money Order
CASH_DEPOSIT_SHORT=Cash Deposit CASH_DEPOSIT_SHORT=Cash deposit
BLOCK_CHAINS_SHORT=Altcoins BLOCK_CHAINS_SHORT=Altcoins

View file

@ -1,6 +1,6 @@
# Used by gui/components/infoDisplay.java # Used by gui/components/infoDisplay.java
# shared # Shared
shared.readMore=Read more shared.readMore=Read more
shared.openHelp=Open Help shared.openHelp=Open Help
shared.warning=Warning shared.warning=Warning
@ -18,7 +18,65 @@ shared.buy=buy
shared.sell=sell shared.sell=sell
shared.spend=spend shared.spend=spend
# validation # App
app.version=You probably have the wrong Bitsquare version for this computer.\nYour computer's architecture is: {0}.\nThe Bitsquare binary you installed is: {1}.\nPlease shut down and re-install the correct version ( {3} ).
app.shutdown.headline=Shutdown in progress ...
app.shutdown.text=Shutting down application can take a few seconds.\nPlease don't interrupt this process.
# Payment methods
payment.account.no=Account no.:
payment.currency=Currency:
payment.account.name=Account name:
payment.payment.method=Payment method:
payment.account.owner=Account holder name:
payment.bank.country=Country of bank:
payment.account.name.email=Account holder name / email
payment.bank.name=Bank name:
payment.select.account=Select account type
payment.select.currency=Select currency
payment.select.region=Select region
payment.select.country=Select country
payment.select.bank.country=Select country of bank
payment.foreign.currency=Are you sure you want to choose a currency other than the country's default currency?
payment.restore.default=No, restore default currency
payment.email=Email:
payment.country=Country:
payment.owner.email=Account holder email:
payment.extras=Extra requirements:
payment.us.info=Bank transfer with WIRE or ACH is not supported for the US because WIRE is too expensive and ACH has a high chargeback risk.\n\nPlease use payment methods ClearXchange, US Postal Money Order or Cash Deposit instead.
payment.email.mobile=Email or mobile no.:
payment.altcoin.address=Altcoin address:
payment.address=address:
payment.altcoin=Altcoin:
payment.select.altcoin=Select or search altcoin
payment.uk.sort=UK sort code:
payment.secret=Secret question:
payment.answer=Answer:
payment.wallet=Wallet ID:
payment.supported.okpay=Supported OKPay currencies:
payment.max.allowed=Max. allowed period / date:
payment.hours=hours
payment.days=days
payment.1hour=1 hour
payment.1day=1 day
payment.max.duration=Max. trade duration:
payment.max.limit=Max. trade limit:
payment.limitations=Limitations:
payment.iban=IBAN:
payment.bicswift=BIC/SWIFT:
payment.accept.euro=Accept trades from these Euro countries:
payment.accept.noneuro=Accept trades from these non-Euro countries:
payment.all.euro=All Euro countries
payment.accepted.countries=Accepted countries:
payment.accepted.banks=Accepted banks:
payment.mobile=Mobile no.:
payment.postal.address=Postal address:
# Validation
validation.empty=Empty input is not allowed. validation.empty=Empty input is not allowed.
validation.NaN=Input is not a valid number. validation.NaN=Input is not a valid number.
validation.zero=Input of 0 is not allowed. validation.zero=Input of 0 is not allowed.
@ -29,11 +87,11 @@ validation.btc.toSmall=Input results in a bitcoin value with a fraction of the s
validation.btc.toLarge=Input larger than maximum trading amount of {0} is not allowed. validation.btc.toLarge=Input larger than maximum trading amount of {0} is not allowed.
validation.passwordTooShort=The password you entered is too short. It needs to have min. 8 characters. validation.passwordTooShort=The password you entered is too short. It needs to have min. 8 characters.
validation.passwordTooLong=The password you entered is too long. It cannot be longer than 50 characters. validation.passwordTooLong=The password you entered is too long. It cannot be longer than 50 characters.
validation.sortCodeNumber={0} must consist of {1} numbers validation.sortCodeNumber={0} must consist of {1} numbers.
validation.sortCodeChars={0} must consist of {1} characters validation.sortCodeChars={0} must consist of {1} characters.
validation.bankIdNumber={0} must consist of {1} numbers validation.bankIdNumber={0} must consist of {1} numbers.
validation.accountNr=Account number must consist of {0} numbers validation.accountNr=Account number must consist of {0} numbers.
validation.accountNrChars=Account number must consist of {0} characters validation.accountNrChars=Account number must consist of {0} characters.
# Create offer # Create offer
createOffer.amount.prompt=Enter amount in BTC createOffer.amount.prompt=Enter amount in BTC
@ -88,7 +146,6 @@ createOffer.success.info=You can manage your open offers in the \"Portfolio\" sc
createOffer.error.message=An error occurred when placing the offer.\n\n{0} createOffer.error.message=An error occurred when placing the offer.\n\n{0}
# Take offer # Take offer
takeOffer.amount.prompt=Enter amount in BTC takeOffer.amount.prompt=Enter amount in BTC
takeOffer.price.prompt=Enter price takeOffer.price.prompt=Enter price
@ -143,7 +200,7 @@ takeOffer.advancedBox.county=Payments account country:
takeOffer.advancedBox.info=These are the offer restrictions your trading partner has defined in his offer. \ takeOffer.advancedBox.info=These are the offer restrictions your trading partner has defined in his offer. \
Your settings match those constraints and you are able to trade with him. Your settings match those constraints and you are able to trade with him.
takeOffer.success.headline=You have successfully taken an offer takeOffer.success.headline=You have successfully taken an offer.
takeOffer.success.info=You can see the status of your trade at the \"Portfolio\" screen under \"Open trades\". takeOffer.success.info=You can see the status of your trade at the \"Portfolio\" screen under \"Open trades\".
takeOffer.error.message=An error occurred when taking the offer.\n\n{0} takeOffer.error.message=An error occurred when taking the offer.\n\n{0}
@ -153,13 +210,15 @@ PERFECT_MONEY=Perfect Money
ALI_PAY=AliPay ALI_PAY=AliPay
SEPA=SEPA SEPA=SEPA
FASTER_PAYMENTS=Faster Payments FASTER_PAYMENTS=Faster Payments
NATIONAL_BANK=National Bank transfer NATIONAL_BANK=National bank transfer
SAME_BANK=Transfer with same Bank SAME_BANK=Transfer with same bank
SPECIFIC_BANKS=Transfers with specific banks SPECIFIC_BANKS=Transfers with specific banks
SWISH=Swish SWISH=Swish
CLEAR_X_CHANGE=ClearXchange CLEAR_X_CHANGE=ClearXchange
US_POSTAL_MONEY_ORDER=US Postal money order CHASE_QUICK_PAY=Chase QuickPay
CASH_DEPOSIT=Cash Deposit INTERAC_E_TRANSFER=Interac e-Transfer
US_POSTAL_MONEY_ORDER=US Postal Money Order
CASH_DEPOSIT=Cash deposit
BLOCK_CHAINS=Altcoins BLOCK_CHAINS=Altcoins
@ -169,13 +228,15 @@ PERFECT_MONEY_SHORT=Perfect Money
ALI_PAY_SHORT=AliPay ALI_PAY_SHORT=AliPay
SEPA_SHORT=SEPA SEPA_SHORT=SEPA
FASTER_PAYMENTS_SHORT=Faster Payments FASTER_PAYMENTS_SHORT=Faster Payments
NATIONAL_BANK_SHORT=National Banks NATIONAL_BANK_SHORT=National banks
SAME_BANK_SHORT=Same Bank SAME_BANK_SHORT=Same bank
SPECIFIC_BANKS_SHORT=Specific banks SPECIFIC_BANKS_SHORT=Specific banks
FED_WIRE_SHORT=Fed Wire FED_WIRE_SHORT=Fed Wire
SWISH_SHORT=Swish SWISH_SHORT=Swish
CLEAR_X_CHANGE_SHORT=ClearXchange CLEAR_X_CHANGE_SHORT=ClearXchange
US_POSTAL_MONEY_ORDER_SHORT=US money order CHASE_QUICK_PAY_SHORT=Chase QuickPay
CASH_DEPOSIT_SHORT=Cash Deposit INTERAC_E_TRANSFER_SHORT=Interac e-Transfer
US_POSTAL_MONEY_ORDER_SHORT=US Money Order
CASH_DEPOSIT_SHORT=Cash deposit
BLOCK_CHAINS_SHORT=Altcoins BLOCK_CHAINS_SHORT=Altcoins