mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-12 09:00:58 +00:00
commit
50767c77c3
@ -53,7 +53,6 @@
|
|||||||
"pt-PT": "pt",
|
"pt-PT": "pt",
|
||||||
"ru": "ru",
|
"ru": "ru",
|
||||||
"uk": "uk",
|
"uk": "uk",
|
||||||
"zh-CN": "zh",
|
"zh-CN": "zh"
|
||||||
"zh-TW": "zh_TW"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 942 B |
@ -15,7 +15,7 @@ export const LANGUAGE = [
|
|||||||
{ code: 'ru', name: 'Русский', en: 'Russian' },
|
{ code: 'ru', name: 'Русский', en: 'Russian' },
|
||||||
{ code: 'uk', name: 'Українська', en: 'Ukrainian' },
|
{ code: 'uk', name: 'Українська', en: 'Ukrainian' },
|
||||||
{ code: 'zh', name: '中文(简体)', en: 'Chinese Simplified' },
|
{ code: 'zh', name: '中文(简体)', en: 'Chinese Simplified' },
|
||||||
{ code: 'zh_TW', name: '中文(台灣)', en: 'Chinese Traditional' },
|
{ code: 'zh-TW', name: '中文(台灣)', en: 'Chinese Traditional' },
|
||||||
];
|
];
|
||||||
|
|
||||||
export const FIAT_CURRENCIES = [
|
export const FIAT_CURRENCIES = [
|
||||||
|
@ -62,7 +62,11 @@ const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (
|
|||||||
});
|
});
|
||||||
|
|
||||||
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
|
const ReactIntlProvider = ({ children, locale, messages }: Props) => (
|
||||||
<IntlProvider locale={locale} messages={messages}>
|
<IntlProvider
|
||||||
|
locale={locale}
|
||||||
|
messages={messages}
|
||||||
|
key={locale} // forces rerender IntlProvider when lang file is downloaded
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</IntlProvider>
|
</IntlProvider>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user