feat: publicize doc implemetation

This commit is contained in:
Justineo
2020-08-13 11:47:56 +08:00
parent 55b9b044f2
commit 1e5fcff6ad
372 changed files with 50636 additions and 0 deletions

43
plugins/l10n.js Normal file
View File

@@ -0,0 +1,43 @@
import i18n from 'veui/managers/i18n'
i18n.register(
'zh-Hans',
{
showCode: '显示代码',
hideCode: '隐藏代码'
},
{
ns: 'onedemo'
}
)
i18n.register(
'en-US',
{
showCode: 'Show code',
hideCode: 'Hide code'
},
{
ns: 'onedemo'
}
)
i18n.register(
'zh-Hans',
{
toTop: '回到顶部'
},
{
ns: 'onebacktotop'
}
)
i18n.register(
'en-US',
{
toTop: 'Back to top'
},
{
ns: 'onebacktotop'
}
)