Skip to content

Commit

Permalink
Changed message IDs for "Buy/Sell" => "Sell" to force translation upd…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
vsubhuman committed Sep 24, 2021
1 parent c2b75c3 commit ce66ccd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Expand Up @@ -18,8 +18,8 @@ import globalMessages from '../../i18n/global-messages';

const messages = defineMessages({
dialogTitle: {
id: 'buysell.dialog.title',
defaultMessage: '!!!Buy / Sell ADA',
id: 'buy.dialog.title',
defaultMessage: '!!!Buy ADA',
},
dialogSelectAddress: {
id: 'buysell.dialog.selectAddress',
Expand Down
Expand Up @@ -27,7 +27,7 @@ export default class BuySellAdaButton extends Component<Props> {

return (
<Button
label={intl.formatMessage(globalMessages.buySellAda)}
label={intl.formatMessage(globalMessages.buyAda)}
className={classnames([styles.button, 'secondary'])}
onClick={() => this.props.onBuySellClick()}
skin={ButtonSkin}
Expand Down
6 changes: 3 additions & 3 deletions packages/yoroi-extension/app/i18n/global-messages.js
Expand Up @@ -773,9 +773,9 @@ const globalMessages: * = defineMessages({
id: 'global.errors.invalidPin',
defaultMessage: '!!!Invalid Pin',
},
buySellAda: {
id: 'button.buySellAda',
defaultMessage: '!!!Buy/Sell ADA',
buyAda: {
id: 'button.buyAda',
defaultMessage: '!!!Buy ADA',
},
txConfirmationLedgerNanoLine2: {
id: 'wallet.send.ledger.confirmationDialog.info.line.2',
Expand Down
4 changes: 2 additions & 2 deletions packages/yoroi-extension/app/i18n/locales/en-US.json
Expand Up @@ -50,11 +50,11 @@
"app.errors.unableToLoad": "Unable to load!",
"app.errors.unexpectedError": "Something unexpected happened. Please retry.",
"app.errors.unknowError": "Unknown error.",
"button.buySellAda": "Buy ADA",
"button.buyAda": "Buy ADA",
"buysell.dialog.instructions": "Please select your preferences. On the next screen, confirm your selection by pressing the green arrow on the top right",
"buysell.dialog.manual": "I will add my address manually",
"buysell.dialog.selectAddress": "Please select the receiving address. This will be shared with the third party provider called Changelly for the buy / sell of ADA. ",
"buysell.dialog.title": "Buy ADA",
"buy.dialog.title": "Buy ADA",
"connector.connect.connectedWallets": "Connected Wallets",
"connector.connect.noWebsitesConnected": "You don't have any websites connected yet",
"connector.settings.about": "About",
Expand Down

0 comments on commit ce66ccd

Please sign in to comment.