Skip to content

Commit

Permalink
fix(spanish, French and Chinese translations)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixtedemaupeou committed Jun 21, 2018
1 parent f295bee commit 51bcc66
Show file tree
Hide file tree
Showing 10 changed files with 243 additions and 214 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ SelectInputContainer.propTypes = {
group: PropTypes.string.isRequired,
items: PropTypes.array.isRequired
})).isRequired,
label: PropTypes.string,
label: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
searchEnabled: PropTypes.bool,
opened: PropTypes.bool,
disabled: PropTypes.bool,
Expand Down
372 changes: 186 additions & 186 deletions packages/blockchain-wallet-v4-frontend/src/assets/locales/es.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"components.alerts.register_error": "Le portefeuille n'a pas pu être créé",
"components.alerts.register_successful": "Le portefeuille a été créé",
"components.alerts.rename_bch_wallet_error": "Échec lors de la mise à jour du libellé de compte Bitcoin Cash",
"components.alerts.rename_bch_wallet_success": "Nom de portefeuille BCH mis à jour",
"components.alerts.rename_btc_wallet_success": "Nom de portefeuille BTC mis à jour",
"components.alerts.rename_bch_wallet_success": "Nom de portefeuille Bitcoin Cash mis à jour",
"components.alerts.rename_btc_wallet_success": "Nom de portefeuille Bitcoin mis à jour",
"components.alerts.reset_twofa_info": "La réinitialisation de l'authentification à deux facteurs a été envoyée.",
"components.alerts.restore_error": "Erreur lors de la restauration de votre portefeuille",
"components.alerts.restore_success": "Votre portefeuille a été restauré",
Expand Down Expand Up @@ -198,7 +198,7 @@
"layouts.wallet.menuleft.navigation.transactions.ether": "Ether",
"layouts.wallet.menuleft.navigation.transactions.bch": "Bitcoin Cash",
"layouts.wallet.menuleft.navigation.buybitcoin": "Acheter et vendre du bitcoin",
"layouts.wallet.menuleft.navigation.exchange": "Change",
"layouts.wallet.menuleft.navigation.exchange": "Échange",
"layouts.wallet.menuleft.navigation.securitycenter": "Centre de sécurité",
"layouts.wallet.menuleft.navigation.settings": "Paramètres",
"layouts.wallet.menuleft.navigation.general": "Général",
Expand Down Expand Up @@ -248,7 +248,7 @@
"scenes.faq.group.walletfunctionality.answer11.link": " https://blockchain.info ",
"scenes.faq.group.walletfunctionality.answer11.four": "et utiliser la barre de recherche en haut à droite pour en savoir plus sur une adresse bitcoin spécifique, un hachage de transaction ou un numéro de bloc.",
"scenes.faq.group.walletfunctionality.question12": "Pourquoi mon adresse bitcoin cash a-t-elle changé ?",
"scenes.faq.group.walletfunctionality.answer12.one": "Bien que vous puissiez toujours, sur un plan technique, effectuer des transactions vers et à partir d'adresses BCH existantes, nous vous recommandons fortement d'adopter ce nouveau format afin d'éviter toute confusion.",
"scenes.faq.group.walletfunctionality.answer12.one": "Bien que vous puissiez toujours, sur un plan technique, effectuer des transactions vers et à partir d'adresses Bitcoin Cash existantes, nous vous recommandons fortement d'adopter ce nouveau format afin d'éviter toute confusion.",
"scenes.faq.group.walletsecurity.title": "Sécurité du portefeuille",
"scenes.faq.group.walletsecurity.question1": "Comment protéger mon portefeuille ?",
"scenes.faq.group.walletsecurity.answer1.one": "Notre centre de sécurité vous aide à protéger votre portefeuille et vous assure de toujours pouvoir accéder à vos fonds, le tout en moins de 5 minutes. Un bon point de départ est d'activer l'authentification à 2 facteurs et de noter votre phrase de récupération pour vous assurer de ne jamais perdre l'accès à vos fonds. Nous vous recommandons également d'utiliser un mot de passe aléatoire unique, composé de 16 caractères au moins.",
Expand Down Expand Up @@ -866,7 +866,7 @@
"selectpartner.header": "Présentation des achats et ventes",
"selectpartner.subheader": "Vous pouvez maintenant acheter et vendre du bitcoin directement à partir de votre portefeuille et faire déposer les fonds échangés sur votre compte bancaire.",
"selectpartner.selectcountry": "Sélectionnez votre pays :",
"selectpartner.getstarted": "pour commencer",
"selectpartner.getstarted": "commencer",
"scenes.exchange.simple": "Simple. Sans souci. Sécurisé.",
"scenes.exchange.summary": "Vous pouvez effectuer des opérations de change Bitcoin, Ether et Bitcoin Cash directement à partir de votre portefeuille Blockchain.",
"scenes.exchange.summary2": "Votre opération de change ne demandera que quelques étapes simples.",
Expand Down Expand Up @@ -1401,7 +1401,7 @@
"scenes.securitysettings.basicsecurity.twostepverification.description": "Votre navigateur s’en souviendra pendant une courte période, vous permettant ainsi de vous reconnecter sans avoir à vous authentifier de nouveau.",
"scenes.securitysettings.basicsecurity.twostepverification.description2": "Désactivez cette option pour exiger une authentification complète à chaque fois que vous vous connectez. Cela n'affectera pas votre navigateur actuel jusqu'à ce que vous supprimiez tous les cookies.",
"scenes.settings.security.advanced.title": "Paramètres avancés",
"scenes.transaction.bitcoincash.content.empty.bitcoincashwelcome.welcome": "Bienvenue à",
"scenes.transaction.bitcoincash.content.empty.bitcoincashwelcome.welcome": "Découvrez le",
"scenes.transaction.bitcoincash.content.empty.bitcoincashwelcome.welcome2": "Bitcoin Cash",
"scenes.transaction.bitcoincash.content.empty.bitcoincashwelcome.learnmore": "En savoir plus",
"scenes.transaction.bitcoincash.content.empty.bitcoincashwelcome.what": "En quoi consiste Bitcoin Cash ?",
Expand All @@ -1416,7 +1416,7 @@
"scenes.transactions.bch.content.empty.explain": "Les transactions se produisent lorsque vous recevez et envoyez du bitcoin cash.",
"scenes.transactions.bch.content.empty.send": "Envoyer",
"scenes.transactions.bch.content.empty.request": "Demander",
"scenes.transaction.bitcoin.content.empty.bitcoinwelcome.welcome": "Bienvenue à Bitcoin",
"scenes.transaction.bitcoin.content.empty.bitcoinwelcome.welcome": "Découvrez le Bitcoin",
"scenes.transaction.bitcoin.content.empty.bitcoinwelcome.learnmore": "En savoir plus",
"scenes.transaction.bitcoin.content.empty.bitcoinwelcome.what": "En quoi consiste bitcoin ?",
"scenes.transaction.bitcoin.content.empty.bitcoinwelcome.currency": "Bitcoin est une monnaie numérique qui est utilisée comme d'autres actifs en échange de biens et de services.",
Expand All @@ -1430,7 +1430,7 @@
"scenes.transactions.bitcoin.content.empty.explain": "Les transactions se produisent lorsque vous recevez et envoyez des bitcoins.",
"scenes.transactions.bitcoin.content.empty.send": "Envoyer",
"scenes.transactions.bitcoin.content.empty.request": "Demander",
"scenes.transaction.ether.content.empty.etherwelcome.welcome": "Bienvenue à",
"scenes.transaction.ether.content.empty.etherwelcome.welcome": "Découvrez",
"scenes.transaction.ether.content.empty.etherwelcome.welcome2": "Ether",
"scenes.transaction.ether.content.empty.etherwelcome.learnmore": "En savoir plus",
"scenes.transaction.ether.content.empty.etherwelcome.what": "En quoi consiste ether ?",
Expand Down Expand Up @@ -1487,7 +1487,7 @@
"scenes.coinify_details_modal.kyc.failed": "La vérification de votre identité a échoué. Veuillez contacter le service d'assistance.",
"scenes.coinify_details_modal.kyc.cancelled": "La vérification de votre identité a été annulée. Veuillez réessayer.",
"scenes.coinify_details_modal.kyc.expired": "La vérification de votre identité a expiré. Veuillez réessayer.",
"scenes.buy_sell.kyc_notification.complete": "Vérification terminée",
"scenes.buy_sell.kyc_notification.complete": "Terminer la vérification",
"scenes.buy_sell.kyc_notification.rejected": "Réessayez",
"scenes.buy_sell.kyc_notification.expired": "Réessayez",
"scenes.coinify.cannottradereason.firsttradecompletion": "Le trading est désactivé car votre première transaction n'est pas encore terminée.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@
"layouts.wallet.menuleft.footer.about": "关于",
"layouts.wallet.menuleft.navigation.dashboard": "控制面板",
"layouts.wallet.menuleft.navigation.transactions": "交易",
"layouts.wallet.menuleft.navigation.transactions.bitcoin": "比特币",
"layouts.wallet.menuleft.navigation.transactions.ether": "以太币",
"layouts.wallet.menuleft.navigation.transactions.bch": "比特现金",
"layouts.wallet.menuleft.navigation.transactions.bitcoin": "Bitcoin",
"layouts.wallet.menuleft.navigation.transactions.ether": "Ether",
"layouts.wallet.menuleft.navigation.transactions.bch": "Bitcoin Cash",
"layouts.wallet.menuleft.navigation.buybitcoin": "买卖比特币",
"layouts.wallet.menuleft.navigation.exchange": "兑换",
"layouts.wallet.menuleft.navigation.securitycenter": "安全中心",
Expand Down Expand Up @@ -963,14 +963,14 @@
"scenes.home.activitylist.empty.requestfunds": "请求资金",
"scenes.home.activitylist.title": "最近的活动",
"scenes.home.balanceschart.yourbalances": "您的余额",
"scenes.home.balanceschart.btc": "比特币",
"scenes.home.balanceschart.btc": "Bitcoin",
"scenes.home.balanceschart.buybtc": "买比特币",
"scenes.home.balanceschart.getstarted": "开始",
"scenes.home.balanceschart.requestbtc": "请求比特币",
"scenes.home.balanceschart.btc.viewall": "查看全部余额",
"scenes.home.balanceschart.eth": "以太币",
"scenes.home.balanceschart.eth": "Ether",
"scenes.home.balanceschart.requesteth": "请求以太币",
"scenes.home.balanceschart.bch": "比特现金",
"scenes.home.balanceschart.bch": "Bitcoin Cash",
"scenes.home.balanceschart.requestbch": "请求比特现金",
"scenes.home.balanceschart.bch.viewall": "查看全部余额",
"scenes.home.didyouknow.title1": "我们不会存储或者分享密码",
Expand Down Expand Up @@ -1323,8 +1323,8 @@
"scenes.settings.addresses.btc.wallets.balance": "余额",
"scenes.settings.addresses.btc.wallets.actions": "动作",
"scenes.settings.addresses.btc.wallets.newhdaccount": "新建钱包",
"scenes.settings.addresses.menutop.btc": "比特币",
"scenes.settings.addresses.menutop.bch": "比特现金",
"scenes.settings.addresses.menutop.btc": "Bitcoin",
"scenes.settings.addresses.menutop.bch": "Bitcoin Cash",
"scenes.settings.info.explain": "在我们的Web 客户端上使用您的钱包ID登录,",
"scenes.info.pairingcode.title": "手机App配对码",
"scenes.info.pairingcode.description2": "在下方下载我们的手机应用。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SelectBox.propTypes = {
value: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.number.isRequired, PropTypes.object.isRequired])
})).isRequired
})).isRequired,
label: PropTypes.string,
label: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
searchEnabled: PropTypes.bool,
opened: PropTypes.bool
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { connect } from 'react-redux'
import { FormattedMessage } from 'react-intl'

import SelectBox from '../SelectBox'

Expand All @@ -13,8 +14,15 @@ class SelectBoxBankAccountType extends React.PureComponent {

const mapStateToProps = (state, ownProps) => ({
accountTypes: [
{ text: 'Checking', value: 'checking' },
{ text: 'Savings', value: 'savings' }
{
text: <FormattedMessage id='components.form.selectboxbankaccounttype.checking' defaultMessage='Checking' />,
value: 'checking'
},

{
text: <FormattedMessage id='components.form.selectboxbankaccounttype.savings' defaultMessage='Savings' />,
value: 'savings'
}
]
})

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { connect } from 'react-redux'
import { FormattedMessage } from 'react-intl'

import SelectBox from '../SelectBox'

Expand All @@ -8,7 +9,10 @@ class SelectBoxCountry extends React.PureComponent {
const { countries, ...rest } = this.props
const elements = [{ group: '', items: countries }]

return <SelectBox label='Select country' elements={elements} {...rest} />
return <SelectBox
label={<FormattedMessage id='components.selectboxcountry.label' defaultMessage='Select country' />}
elements={elements}
{...rest} />
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { connect } from 'react-redux'
import { FormattedMessage } from 'react-intl'

import { selectors } from 'data'
import SelectBox from '../SelectBox'
Expand All @@ -16,10 +17,10 @@ class SelectBoxTheme extends React.PureComponent {
const mapStateToProps = (state, ownProps) => ({
theme: selectors.preferences.getTheme(state),
themes: [
{ text: 'Default', value: 'default' },
{ text: 'Complement', value: 'complement' },
{ text: 'Grayscale', value: 'grayscale' },
{ text: 'Invert', value: 'invert' }
{ text: <FormattedMessage id='components.selectboxtheme.default' defaultMessage='Default' />, value: 'default' },
{ text: <FormattedMessage id='components.selectboxtheme.complement' defaultMessage='Complement' />, value: 'complement' },
{ text: <FormattedMessage id='components.selectboxtheme.grayscale' defaultMessage='Grayscale' />, value: 'grayscale' },
{ text: <FormattedMessage id='components.selectboxtheme.invert' defaultMessage='Invert' />, value: 'invert' }
]
})

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { connect } from 'react-redux'
import { FormattedMessage } from 'react-intl'

import SelectBox from '../SelectBox'

Expand All @@ -8,7 +9,10 @@ class SelectBoxUSState extends React.PureComponent {
const { states, ...rest } = this.props
const elements = [{ group: '', items: states }]

return <SelectBox label='Select state' elements={elements} {...rest} />
return <SelectBox
label={<FormattedMessage id='components.selectboxstate.label' defaultMessage='Select country' />}
elements={elements}
{...rest} />
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react'
import { FormattedMessage } from 'react-intl'
import { equals, length, prop, path } from 'ramda'
import { selectors } from 'data'
import { createDeepEqualSelector } from 'services/ReselectHelper'
Expand Down Expand Up @@ -26,7 +28,17 @@ export const getData = createDeepEqualSelector(
const maxFeePerByte = path(['fees', 'limits', 'max'], payment)
const totalFee = path(['selection', 'fee'], payment) || '0'
const effectiveBalance = prop('effectiveBalance', payment)
const feePerByteElements = [{ group: '', items: [{ text: 'Regular', value: regularFeePerByte }, { text: 'Priority', value: priorityFeePerByte }] }]
const feePerByteElements =
[{ group: '',
items: [
{ text: <FormattedMessage id='modals.sendbtc.firststep.fee.regular' defaultMessage='Regular' />,
value: regularFeePerByte
},
{ text: <FormattedMessage id='modals.sendbtc.firststep.fee.priority' defaultMessage='Priority' />,
value: priorityFeePerByte
}
]
}]
const watchOnly = prop('watchOnly', from)
const addressMatchesPriv = payment.fromType === 'FROM.WATCH_ONLY'
const isPriorityFeePerByte = equals(parseInt(feePerByte), priorityFeePerByte)
Expand Down

0 comments on commit 51bcc66

Please sign in to comment.