From 7d6cc1f924359ba60ec98dca0b48823fabc75086 Mon Sep 17 00:00:00 2001 From: SiderealArt Date: Wed, 13 Jul 2022 21:18:47 +0800 Subject: [PATCH] Create zh-tw.json (#811) * Create zh-tw.json * Update translations.ts * new strings --- .../tldraw/src/translations/translations.ts | 2 + packages/tldraw/src/translations/zh-tw.json | 98 +++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 packages/tldraw/src/translations/zh-tw.json diff --git a/packages/tldraw/src/translations/translations.ts b/packages/tldraw/src/translations/translations.ts index 1bcd67744..2583e31cc 100644 --- a/packages/tldraw/src/translations/translations.ts +++ b/packages/tldraw/src/translations/translations.ts @@ -18,6 +18,7 @@ import ru from './ru.json' import tr from './tr.json' import uk from './uk.json' import zh_cn from './zh-cn.json' +import zh_tw from './zh-tw.json' // The default language (english) must have a value for every message. // Other languages may have missing messages. If the application finds @@ -44,6 +45,7 @@ export const TRANSLATIONS: TDTranslations = [ { locale: 'tr', label: 'Türkçe', messages: tr }, { locale: 'uk', label: 'Ukrainian', messages: uk }, { locale: 'zh-ch', label: 'Chinese - Simplified', messages: zh_cn }, + { locale: 'zh-tw', label: '繁體中文 (台灣)', messages: zh_tw }, ] /* ----------------- (do not change) ---------------- */ diff --git a/packages/tldraw/src/translations/zh-tw.json b/packages/tldraw/src/translations/zh-tw.json new file mode 100644 index 000000000..9480e1c68 --- /dev/null +++ b/packages/tldraw/src/translations/zh-tw.json @@ -0,0 +1,98 @@ +{ + "style.menu.color": "顏色", + "style.menu.fill": "填充", + "style.menu.dash": "虛線", + "style.menu.size": "大小", + "style.menu.keep.open": "保持開啟", + "style.menu.font": "字型", + "style.menu.align": "對齊", + "styles": "樣式", + "zoom.in": "放大", + "zoom.out": "縮小", + "to": "至", + "to.selection": "至選取範圍", + "to.fit": "至適當大小", + "menu.file": "檔案", + "menu.edit": "編輯", + "menu.view": "檢視", + "menu.preferences": "選項", + "menu.sign.in": "登入", + "menu.sign.out": "登出", + "sponsored": "贊助", + "become.a.sponsor": "成為贊助者", + "zoom.to.selection": "縮放至選取範圍", + "zoom.to.fit": "縮放至適當大小", + "zoom.to": "縮放至", + "preferences.dark.mode": "深色模式", + "preferences.focus.mode": "專注模式", + "preferences.debug.mode": "除錯模式", + "preferences.show.grid": "顯示網格", + "preferences.use.cad.selection": "使用 CAD 選取", + "preferences.keep.stylemenu.open": "樣式選單保持開啟", + "preferences.always.show.snaps": "永遠顯示對齊線", + "preferences.rotate.handles": "旋轉控點", + "preferences.binding.handles": "綁定控點", + "preferences.clone.handles": "複製控點", + "undo": "復原", + "redo": "取消復原", + "cut": "剪下", + "copy": "複製", + "paste": "貼上", + "copy.as": "複製成", + "export.as": "匯出成", + "select.all": "全選", + "select.none": "取消選取", + "delete": "刪除", + "new.project": "新專案", + "open": "開啟", + "save": "儲存", + "save.as": "另存為", + "upload.media": "上傳媒體", + "create.page": "建立頁面", + "new.page": "新頁面", + "page.name": "頁面名稱", + "duplicate": "複製", + "cancel": "取消", + "copy.invite.link": "複製邀請連結", + "copy.readonly.link": "複製唯讀連結", + "create.multiplayer.project": "建立多人專案", + "copy.multiplayer.project": "複製至多人專案", + "select": "選取", + "eraser": "橡皮擦", + "draw": "手繪", + "arrow": "箭頭", + "text": "文字", + "sticky": "便利貼", + "Rectangle": "長方形", + "Ellipse": "橢圓形", + "Triangle": "三角形", + "Line": "直線", + "rotate": "旋轉", + "lock.aspect.ratio": "鎖定長寬比", + "unlock.aspect.ratio": "解鎖長寬比", + "group": "組成群組", + "ungroup": "取消群組", + "move.to.back": "移到最下層", + "move.backward": "下移一層", + "move.forward": "上移一層", + "move.to.front": "移到最上層", + "reset.angle": "重設角度", + "lock": "鎖定", + "unlock": "解鎖", + "move.to.page": "移至頁面", + "flip.horizontal": "水平翻轉", + "flip.vertical": "垂直翻轉", + "move": "移動", + "to.front": "到最上層", + "forward": "到上一層", + "backward": "到下一層", + "back": "到最下層", + "language": "語言", + "translation.link": "了解詳情", + "dock.position": "工具列位置", + "bottom": "下方", + "left": "左側", + "right": "右側", + "top": "上方", + "page": "頁面" +}