Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 488fb10

Browse files
stevenleigetneil
andauthored
Add Traditional Chinese translation (#872)
Co-authored-by: Neil <get.neilmolina@gmail.com>
1 parent e2a10e0 commit 488fb10

3 files changed

Lines changed: 108 additions & 5 deletions

File tree

svelte/src/libs/translations/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import en from "./languages/en.json";
77
import de from "./languages/de.json";
88
import ru from "./languages/ru.json";
99
import uk from "./languages/uk.json";
10-
import zh from "./languages/zh.json";
10+
import zhhans from "./languages/zhhans.json";
11+
import zhhant from "./languages/zhhant.json";
1112
import ptbr from "./languages/ptbr.json";
1213
import pl from "./languages/pl.json";
1314
import cz from "./languages/cz.json";
@@ -53,7 +54,8 @@ type Translation = typeof en.translations & {
5354
// add new language json object here
5455
const languages = [
5556
en,
56-
zh,
57+
zhhans,
58+
zhhant,
5759
de,
5860
ru,
5961
uk,

svelte/src/libs/translations/languages/zh.json renamed to svelte/src/libs/translations/languages/zhhans.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"id": "zh",
3-
"label": "中文",
2+
"id": "zhhans",
3+
"label": "简体中文",
44
"translations": {
55
"store-search-placeholder": "搜索软件包",
66
"action": {
@@ -26,7 +26,7 @@
2626
},
2727
"footer": {
2828
"quick-links-title": "快速链接",
29-
"about-tea-store": "关于茶仓",
29+
"about-tea-store": "关于 tea store",
3030
"report-a-problem": "报告问题",
3131
"visit-website": "访问 tea.xyz",
3232
"terms-services": "条款和服务",
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
{
2+
"id": "zhhant",
3+
"label": "繁體中文",
4+
"translations": {
5+
"store-search-placeholder": "搜尋軟件包",
6+
"action": {
7+
"update": "更新",
8+
"cancel": "取消"
9+
},
10+
"package": {
11+
"update-all": "全部更新",
12+
"cta-AVAILABLE": "安裝",
13+
"cta-INSTALLED": "已安裝",
14+
"cta-INSTALLING": "正在安裝",
15+
"cta-UNINSTALLED": "重新安裝",
16+
"cta-UNINSTALL": "移除",
17+
"cta-NEEDS_UPDATE": "更新",
18+
"cta-UPDATING": "更新中",
19+
"cta-UPDATED": "已更新",
20+
"cta-PRUNE": "清理",
21+
"cta-PRUNING": "清理中",
22+
"open": "開啟",
23+
"open-in-terminal": "在終端中打開",
24+
"local-package": "本機軟件包",
25+
"not-in-pantry": "尚未增加到軟件包管理器"
26+
},
27+
"footer": {
28+
"quick-links-title": "快速連結",
29+
"about-tea-store": "關於 tea store",
30+
"report-a-problem": "回報問題",
31+
"visit-website": "瀏覽 tea.xyz",
32+
"terms-services": "條款和服務",
33+
"privacy-policy": "私隱政策"
34+
},
35+
"documentation": {
36+
"title": "文檔",
37+
"workshops": "教學"
38+
},
39+
"view-all": "瀏覽所有",
40+
"sorting": {
41+
"label": "排序方式",
42+
"popularity": "最受歡迎",
43+
"most-recent": "最近更新"
44+
},
45+
"common": {
46+
"home": "首頁",
47+
"all": "全部",
48+
"articles": "文章",
49+
"workshops": "教學",
50+
"metadata": "元數據",
51+
"homepage": "首頁",
52+
"documentation": "文檔",
53+
"github-repository": "Github 倉庫",
54+
"repository": "倉庫",
55+
"contributors": "貢獻者",
56+
"view-on-github": "在 Github 上查看"
57+
},
58+
"tabs": {
59+
"details": "軟件包",
60+
"cli": "命令列",
61+
"gui": "圖形界面"
62+
},
63+
"notification": {
64+
"update-header": "更新 tea/gui 到 {{version}} 嗎?",
65+
"gui-restarting": "繼續操作將會導致應用程式在完成後重啓。請確認您沒有任何正在進行中的操作。是否要繼續?",
66+
"gui-restart": "重啓"
67+
},
68+
"side-menu-title": {
69+
"discover": "發現",
70+
"all": "所有軟件包",
71+
"installed": "已安裝的軟件包",
72+
"installed_updates_available": "可更新",
73+
"recently_updated": "最近更新的軟件包",
74+
"new_packages": "新軟件包",
75+
"popular": "最受歡迎的軟件包",
76+
"featured": "精選軟件包",
77+
"essentials": "必備軟件包",
78+
"starstruck": "重量級軟件包",
79+
"made_by_tea": "由 tea 製造",
80+
"local_packages": "本機軟件包"
81+
},
82+
"tags": {
83+
"discover": "發現",
84+
"all": "所有軟件包",
85+
"installed": "已安裝",
86+
"installed_updates_available": "可更新",
87+
"recently_updated": "最近更新的軟件包",
88+
"new_packages": "新軟件包",
89+
"popular": "最受歡迎的軟件包",
90+
"featured": "精選軟件包",
91+
"essentials": "必備軟件包",
92+
"starstruck": "重量級軟件包",
93+
"made_by_tea": "由 tea 製造",
94+
"local_packages": "本地軟件包"
95+
},
96+
"discover": {
97+
"featured_title": "本機 AI 基礎",
98+
"featured_description": "探索本機 AI 領域。使用您本機的系統直接與高級 AI 工具(如 AutoGPT 和 Stable Diffusion Web UI)進行試驗的平台。在保持資料安全的同時啓動您的 AI 項目,並根據您的意願自由地微調。"
99+
}
100+
}
101+
}

0 commit comments

Comments
 (0)