2020-08-13 11:47:56 +08:00
|
|
|
import i18n from 'veui/managers/i18n'
|
|
|
|
|
|
|
|
i18n.register(
|
|
|
|
'zh-Hans',
|
|
|
|
{
|
|
|
|
showCode: '显示代码',
|
2021-09-15 19:19:09 +08:00
|
|
|
hideCode: '隐藏代码',
|
|
|
|
playInCsb: '在 CodeSandbox 中打开'
|
2020-08-13 11:47:56 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
ns: 'onedemo'
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
i18n.register(
|
|
|
|
'en-US',
|
|
|
|
{
|
|
|
|
showCode: 'Show code',
|
2021-09-15 19:19:09 +08:00
|
|
|
hideCode: 'Hide code',
|
|
|
|
playInCsb: 'Open in CodeSandbox'
|
2020-08-13 11:47:56 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
ns: 'onedemo'
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
i18n.register(
|
|
|
|
'zh-Hans',
|
|
|
|
{
|
|
|
|
toTop: '回到顶部'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
ns: 'onebacktotop'
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
i18n.register(
|
|
|
|
'en-US',
|
|
|
|
{
|
|
|
|
toTop: 'Back to top'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
ns: 'onebacktotop'
|
|
|
|
}
|
|
|
|
)
|