Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Chinese translations: Added Traditional Chinese #872

Merged
merged 4 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions svelte/src/libs/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import en from "./languages/en.json";
import de from "./languages/de.json";
import ru from "./languages/ru.json";
import uk from "./languages/uk.json";
import zh from "./languages/zh.json";
import zhhans from "./languages/zhhans.json";
import zhhant from "./languages/zhhant.json";
import ptbr from "./languages/ptbr.json";
import pl from "./languages/pl.json";
import cz from "./languages/cz.json";
Expand Down Expand Up @@ -53,7 +54,8 @@ type Translation = typeof en.translations & {
// add new language json object here
const languages = [
en,
zh,
zhhans,
zhhant,
de,
ru,
uk,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "zh",
"label": "中文",
"id": "zhhans",
"label": "简体中文",
"translations": {
"store-search-placeholder": "搜索软件包",
"action": {
Expand All @@ -26,7 +26,7 @@
},
"footer": {
"quick-links-title": "快速链接",
"about-tea-store": "关于茶仓",
"about-tea-store": "关于 tea store",
"report-a-problem": "报告问题",
"visit-website": "访问 tea.xyz",
"terms-services": "条款和服务",
Expand Down
101 changes: 101 additions & 0 deletions svelte/src/libs/translations/languages/zhhant.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"id": "zhhant",
"label": "繁體中文",
"translations": {
"store-search-placeholder": "搜尋軟件包",
"action": {
"update": "更新",
"cancel": "取消"
},
"package": {
"update-all": "全部更新",
"cta-AVAILABLE": "安裝",
"cta-INSTALLED": "已安裝",
"cta-INSTALLING": "正在安裝",
"cta-UNINSTALLED": "重新安裝",
"cta-UNINSTALL": "移除",
"cta-NEEDS_UPDATE": "更新",
"cta-UPDATING": "更新中",
"cta-UPDATED": "已更新",
"cta-PRUNE": "清理",
"cta-PRUNING": "清理中",
"open": "開啟",
"open-in-terminal": "在終端中打開",
"local-package": "本機軟件包",
"not-in-pantry": "尚未增加到軟件包管理器"
},
"footer": {
"quick-links-title": "快速連結",
"about-tea-store": "關於 tea store",
"report-a-problem": "回報問題",
"visit-website": "瀏覽 tea.xyz",
"terms-services": "條款和服務",
"privacy-policy": "私隱政策"
},
"documentation": {
"title": "文檔",
"workshops": "教學"
},
"view-all": "瀏覽所有",
"sorting": {
"label": "排序方式",
"popularity": "最受歡迎",
"most-recent": "最近更新"
},
"common": {
"home": "首頁",
"all": "全部",
"articles": "文章",
"workshops": "教學",
"metadata": "元數據",
"homepage": "首頁",
"documentation": "文檔",
"github-repository": "Github 倉庫",
"repository": "倉庫",
"contributors": "貢獻者",
"view-on-github": "在 Github 上查看"
},
"tabs": {
"details": "軟件包",
"cli": "命令列",
"gui": "圖形界面"
},
"notification": {
"update-header": "更新 tea/gui 到 {{version}} 嗎?",
"gui-restarting": "繼續操作將會導致應用程式在完成後重啓。請確認您沒有任何正在進行中的操作。是否要繼續?",
"gui-restart": "重啓"
},
"side-menu-title": {
"discover": "發現",
"all": "所有軟件包",
"installed": "已安裝的軟件包",
"installed_updates_available": "可更新",
"recently_updated": "最近更新的軟件包",
"new_packages": "新軟件包",
"popular": "最受歡迎的軟件包",
"featured": "精選軟件包",
"essentials": "必備軟件包",
"starstruck": "重量級軟件包",
"made_by_tea": "由 tea 製造",
"local_packages": "本機軟件包"
},
"tags": {
"discover": "發現",
"all": "所有軟件包",
"installed": "已安裝",
"installed_updates_available": "可更新",
"recently_updated": "最近更新的軟件包",
"new_packages": "新軟件包",
"popular": "最受歡迎的軟件包",
"featured": "精選軟件包",
"essentials": "必備軟件包",
"starstruck": "重量級軟件包",
"made_by_tea": "由 tea 製造",
"local_packages": "本地軟件包"
},
"discover": {
"featured_title": "本機 AI 基礎",
"featured_description": "探索本機 AI 領域。使用您本機的系統直接與高級 AI 工具(如 AutoGPT 和 Stable Diffusion Web UI)進行試驗的平台。在保持資料安全的同時啓動您的 AI 項目,並根據您的意願自由地微調。"
}
}
}
Loading