mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Enable Chinese
This commit is contained in:
parent
ddd9f3fc32
commit
0f3fb7688c
@ -424,11 +424,17 @@ class BottomBar extends Component {
|
||||
</div>
|
||||
PT
|
||||
</MenuItem>
|
||||
<MenuItem disabled={true} value={'zh'}>
|
||||
<MenuItem value={'zh-si'}>
|
||||
<div style={{ width: 24, position: 'relative', top: 3 }}>
|
||||
<Flags.CN {...flagProps} />
|
||||
</div>
|
||||
ZH
|
||||
简体
|
||||
</MenuItem>
|
||||
<MenuItem value={'zh-tr'}>
|
||||
<div style={{ width: 24, position: 'relative', top: 3 }}>
|
||||
<Flags.CN {...flagProps} />
|
||||
</div>
|
||||
繁體
|
||||
</MenuItem>
|
||||
<MenuItem value={'sv'}>
|
||||
<div style={{ width: 24, position: 'relative', top: 3 }}>
|
||||
|
@ -16,6 +16,8 @@ import translationTH from '../../static/locales/th.json';
|
||||
import translationCS from '../../static/locales/cs.json';
|
||||
import translationEU from '../../static/locales/eu.json';
|
||||
import translationSV from '../../static/locales/sv.json';
|
||||
import translationZHsi from '../../static/locales/zh-SI.json';
|
||||
import translationZHtr from '../../static/locales/zh-TR.json';
|
||||
|
||||
const config = {
|
||||
resources: {
|
||||
@ -33,6 +35,8 @@ const config = {
|
||||
th: { translations: translationTH },
|
||||
pl: { translations: translationPL },
|
||||
sv: { translations: translationSV },
|
||||
'zh-SI': { translations: translationZHsi },
|
||||
'zh-TR': { translations: translationZHtr },
|
||||
},
|
||||
fallbackLng: 'en',
|
||||
debug: false,
|
||||
|
Loading…
Reference in New Issue
Block a user