diff --git a/packages/yoroi-extension/app/components/widgets/FlagLabel.js b/packages/yoroi-extension/app/components/widgets/FlagLabel.js index dd9aa19f35..29b519ac28 100644 --- a/packages/yoroi-extension/app/components/widgets/FlagLabel.js +++ b/packages/yoroi-extension/app/components/widgets/FlagLabel.js @@ -18,7 +18,7 @@ export default class FlagLabel extends Component { return (
- + { typeof svg === 'string' ? svg : ()} {label}
); diff --git a/packages/yoroi-extension/app/i18n/global-messages.js b/packages/yoroi-extension/app/i18n/global-messages.js index cb38148bbb..4c4de0a4b0 100644 --- a/packages/yoroi-extension/app/i18n/global-messages.js +++ b/packages/yoroi-extension/app/i18n/global-messages.js @@ -264,6 +264,10 @@ const globalMessages: * = defineMessages({ id: 'global.language.slovak', defaultMessage: '!!!Slovak', }, + languageVietnamese: { + id: 'global.language.vietnamese', + defaultMessage: '!!!Vietnamese', + }, addressLabel: { id: 'wallet.receive.confirmationDialog.addressLabel', defaultMessage: '!!!Address', diff --git a/packages/yoroi-extension/app/i18n/locales/en-US.json b/packages/yoroi-extension/app/i18n/locales/en-US.json index d72fc3ac76..c764e2c32a 100644 --- a/packages/yoroi-extension/app/i18n/locales/en-US.json +++ b/packages/yoroi-extension/app/i18n/locales/en-US.json @@ -203,6 +203,7 @@ "global.language.slovak": "Slovak", "global.language.spanish": "Español", "global.language.turkish": "Turkish", + "global.language.vietnamese": "Vietnamese", "global.passwordInstructionsPaperWallet": "Note: Paper Wallet password needs to be at least 10 characters long.", "global.publicKey.explanation": "Public keys allow seeing the wallet history for the wallet, but does not allow to spend or move the funds in any way (private key is not included)", "global.receive": "Receive", @@ -462,11 +463,11 @@ "wallet.add.page.hw.tooltip": "Create or restore a Yoroi wallet
using a Ledger or Trezor hardware wallet.", "wallet.add.page.restore.title": "Restore wallet", "wallet.add.page.restore.tooltip": "Enter a 15-word recovery phrase
to restore an already-existing Yoroi wallet,
or import an existing Yoroi paper wallet.", + "wallet.add.page.revamp.backButtonLabel": "Back to current wallet", "wallet.add.page.revamp.connectHardwareWallet": "Connect hardware wallet", "wallet.add.page.revamp.createWallet": "Create new wallet", "wallet.add.page.revamp.restoreWallet": "Restore existing wallet", "wallet.add.page.revamp.subtitle": "Light wallet for Cardano assets", - "wallet.add.page.revamp.backButtonLabel": "Back to current wallet", "wallet.add.page.subtitle.label": "Yoroi light wallet for Cardano", "wallet.add.page.title": "Your gateway
to the
financial world", "wallet.address.category.addressBook": "Addresses that do not belong to you, but are relevant to your wallet", @@ -1061,4 +1062,4 @@ "yoroiTransfer.waiting.progressInfo.checkingAddresses": "Checking addresses funds", "yoroiTransfer.waiting.progressInfo.restoringAddresses": "Fetching addresses", "yoroiTransfer.waiting.title.label": "Wallet is being restored" -} +} \ No newline at end of file diff --git a/packages/yoroi-extension/app/i18n/translations.js b/packages/yoroi-extension/app/i18n/translations.js index 44622b605f..7aed8fda06 100644 --- a/packages/yoroi-extension/app/i18n/translations.js +++ b/packages/yoroi-extension/app/i18n/translations.js @@ -116,5 +116,10 @@ export const LANGUAGES: Array = [ value: 'sk-SK', label: globalMessages.languageSlovak, svg: SlovakFlag + }, + { + value: 'vi-VN', + label: globalMessages.languageVietnamese, + svg: '🇻🇳' } ];