Skip to content

Commit 04edfe7

Browse files
authored
fix:修改plus描述 (#3021)
1 parent 2ea5bc4 commit 04edfe7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

examples/sites/src/i18n/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"backTop": "Back To Top",
3333
"overview": "Components Overview",
3434
"overviewDesc": "TinyVue provides a wealth of basic UI components for web applications, and we will continue to explore the best UI practices for enterprise-level applications. Welcome to try TinyVue.",
35+
"overviewDescPlus": "TinyVuePlus is a component library for Cloud business scenarios based on TinyVue, following the new design specifications of Cloud CloudDesign and utilizing Vite+Vue3+TypeScript technology stack.",
3536
"searchComponents": "search components",
3637
"apiType": "Components demos code style",
3738
"apiStyleOptions": "Options",
@@ -41,4 +42,4 @@
4142
"demoModeMultiple": "Multiple",
4243
"contributor": "Contributors",
4344
"noData": "No Data"
44-
}
45+
}

examples/sites/src/i18n/zh.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"backTop": "返回顶部",
3333
"overview": "组件总览",
3434
"overviewDesc": "TinyVue 为 Web 应用提供了丰富的基础 UI 组件,我们还将持续探索企业级应用的最佳 UI 实践,欢迎尝试使用 TinyVue。",
35+
"overviewDescPlus": "TinyVuePlus 是一款基于 TinyVue 的面向云业务场景的组件库,遵循 CloudDesign 新设计规范,基于 Vite + Vue3 + TypeScript 技术栈。",
3536
"searchComponents": "搜索组件",
3637
"apiType": "组件示例代码风格",
3738
"apiStyleOptions": "选项式",
@@ -41,4 +42,4 @@
4142
"demoModeMultiple": "多示例",
4243
"contributor": "贡献者",
4344
"noData": "暂无数据"
44-
}
45+
}

examples/sites/src/views/overview.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<span class="ti-f18">({{ getTotalComponentsNum() }})</span>
77
</h1>
88

9-
<h1 v-if="!isPlus" class="overview-desc ti-f14 ti-my20 ti-lh21">
10-
{{ i18nByKey('overviewDesc') }}
9+
<h1 class="overview-desc ti-f14 ti-my20 ti-lh21">
10+
{{ i18nByKey(isPlus ? 'overviewDescPlus' : 'overviewDesc') }}
1111
</h1>
1212
<!-- 搜索 -->
1313
<tiny-input

0 commit comments

Comments
 (0)