diff --git a/example/src/locales/en_US.ts b/example/src/locales/en_US.ts index 6efb9938..1e573320 100644 --- a/example/src/locales/en_US.ts +++ b/example/src/locales/en_US.ts @@ -5,5 +5,11 @@ export default { components: "Components", extend: "Extend", material: "Material" + }, + home: { + description: "An enterprise-class UI components based on Layui and Vue.", + version: "version", + changelog: "changelog", + download: "download" } } \ No newline at end of file diff --git a/example/src/locales/zh_CN.ts b/example/src/locales/zh_CN.ts index fbaa259f..40aa5258 100644 --- a/example/src/locales/zh_CN.ts +++ b/example/src/locales/zh_CN.ts @@ -5,5 +5,11 @@ export default { components: "组件", extend: "生态", material: "物料" + }, + home: { + description: "layui - vue(谐音:类 UI) 是 一 套 Vue 3.0 的 桌 面 端 组 件 库.", + version: "当前版本", + changelog: "更新日志", + download: "下载量" } } \ No newline at end of file diff --git a/example/src/view/index.vue b/example/src/view/index.vue index eca93cb3..29955bdd 100644 --- a/example/src/view/index.vue +++ b/example/src/view/index.vue @@ -12,8 +12,7 @@
layui - vue
layui - vue(谐音:类 UI) 是 一 套 Vue 3.0 的 桌 面 端 组 件 - 库.{{ t('home.description') }}