Skip to content

Commit 235cd4f

Browse files
committed
Fix some typos and improve the translation accuracy of some words
1 parent 57c5cba commit 235cd4f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

locale/zh_CN.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const locale_zh_CN = {
99
name: "数据库连接",
1010
links: [{
1111
url: "connection",
12-
name: "使用连接"
12+
name: "使用Connection"
1313
}, {
1414
url: "using-ormconfig",
1515
name: "使用ormconfig.json"
@@ -21,7 +21,7 @@ const locale_zh_CN = {
2121
name: "多个连接"
2222
}, {
2323
url: "connection-api",
24-
name: "连接API"
24+
name: "Connection API"
2525
}]
2626
}, {
2727
name: "实体",
@@ -54,7 +54,7 @@ const locale_zh_CN = {
5454
name: "多对一和一对多"
5555
}, {
5656
url: "many-to-many-relations",
57-
name: "多对对y"
57+
name: "多对多"
5858
}, {
5959
url: "eager-and-lazy-relations",
6060
name: "Eager 和 Lazy 关系"
@@ -63,29 +63,29 @@ const locale_zh_CN = {
6363
name: "关系常见问题"
6464
}]
6565
}, {
66-
name: "实体管理器和存储库",
66+
name: "Entity Manager 和 Repository",
6767
links: [{
6868
url: "working-with-entity-manager",
69-
name: "使用实体管理器"
69+
name: "使用Entity Manager"
7070
}, {
7171
url: "working-with-repository",
72-
name: "使用存储库"
72+
name: "使用Repository"
7373
}, {
7474
url: "find-options",
75-
name: "查找选项"
75+
name: "find选项"
7676
}, {
7777
url: "custom-repository",
78-
name: "自定义存储库"
78+
name: "自定义Repository"
7979
}, {
8080
url: "entity-manager-api",
8181
name: "实体管理器API"
8282
}, {
8383
url: "repository-api",
84-
name: "存储库API"
84+
name: "Entity Manager API"
8585
}]
8686
}, {
8787
url: "query-builder",
88-
name: "查询生成器",
88+
name: "Query Builder",
8989
links: [{
9090
url: "select-query-builder",
9191
name: "使用Query Builder查询"
@@ -100,10 +100,10 @@ const locale_zh_CN = {
100100
name: "使用Query Builder删除"
101101
}, {
102102
url: "relational-query-builder",
103-
name: "关系查询生成器"
103+
name: "与Relations结合"
104104
}, {
105105
url: "caching",
106-
name: "缓存结果"
106+
name: "结果缓存"
107107
}]
108108
}, {
109109
name: "进阶主题",

script/component/MainPage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const MainPage = {
9191
data: function () {
9292
return {
9393
links: this.$t("links"),
94-
langs: { en: "English", "zh_CN": "中文" }
94+
langs: { en: "English", "zh_CN": "简体中文" }
9595
};
9696
},
9797
mounted() {

0 commit comments

Comments
 (0)