import i18n from 'veui/managers/i18n' i18n.register( 'zh-Hans', { showCode: '显示代码', hideCode: '隐藏代码', expandEditor: '展开实时编辑', playInCodeSandbox: '在 CodeSandbox 中打开', playInStackBlitz: '在 StackBlitz 中打开' }, { ns: 'onedemo' } ) i18n.register( 'en-US', { showCode: 'Show code', hideCode: 'Hide code', expandEditor: 'Expand Live Editor', playInCodeSandbox: 'Open in CodeSandbox', playInStackBlitz: 'Open in StackBlitz' }, { ns: 'onedemo' } ) i18n.register( 'zh-Hans', { copyCode: '复制代码', copySuccess: '复制成功!', copyFailed: '复制失败!', reset: '重置', dismiss: '关闭' }, { ns: 'onelive' } ) i18n.register( 'en-US', { copyCode: 'Copy code', copySuccess: 'Copy success!', copyFailed: 'Copy failed!', reset: 'Reset', dismiss: 'Dismiss' }, { ns: 'onelive' } ) i18n.register( 'zh-Hans', { exit: '退出', liveEdit: '实时编辑' }, { ns: 'onerepl' } ) i18n.register( 'en-US', { exit: 'Exit', liveEdit: 'Live Edit' }, { ns: 'onerepl' } ) i18n.register( 'zh-Hans', { toTop: '回到顶部' }, { ns: 'onebacktotop' } ) i18n.register( 'en-US', { toTop: 'Back to top' }, { ns: 'onebacktotop' } ) i18n.register( 'zh-Hans', { editOnGitHub: '在 GitHub 上编辑此页', edit: '编辑' }, { ns: 'oneeditlink' } ) i18n.register( 'en-US', { editOnGitHub: 'Edit this page on GitHub', edit: 'Edit' }, { ns: 'oneeditlink' } )