Skip to content

Commit fe0cbbe

Browse files
Update and improve zh-TW Traditional Chinese locale (#398)
1 parent 0efb547 commit fe0cbbe

File tree

1 file changed

+100
-79
lines changed

1 file changed

+100
-79
lines changed

src/i18n/locales/zh-tw.js

Lines changed: 100 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,38 @@ const traditionalChinese = {
66

77
const zh_tw = {
88
translation: {
9-
report_bug: "回報錯誤",
10-
import_from: "匯入",
9+
report_bug: "回報問題",
1110
import: "匯入",
11+
import_from: "匯入自",
1212
file: "檔案",
1313
new: "新增",
14-
new_window: "新視窗",
14+
new_window: "開新視窗",
1515
open: "開啟",
1616
save: "儲存",
1717
save_as: "另存新檔",
1818
save_as_template: "儲存為範本",
1919
template_saved: "範本已儲存!",
2020
rename: "重新命名",
2121
delete_diagram: "刪除圖表",
22-
are_you_sure_delete_diagram: "您確定要刪除此圖表嗎?此操作無法復原。",
22+
are_you_sure_delete_diagram:
23+
"您確定要刪除此圖表嗎?此操作無法復原。",
2324
oops_smth_went_wrong: "糟糕!發生錯誤。",
2425
import_diagram: "匯入圖表",
2526
import_from_source: "從 SQL 匯入",
2627
export_as: "匯出為",
2728
export_source: "匯出 SQL",
2829
models: "模型",
29-
exit: "離開",
30+
exit: "結束",
3031
edit: "編輯",
3132
undo: "復原",
3233
redo: "重做",
3334
clear: "清除",
34-
are_you_sure_clear: "您確定要清除圖表嗎?此操作無法復原。",
35+
are_you_sure_clear:
36+
"您確定要清除圖表嗎?此操作無法復原。",
3537
cut: "剪下",
3638
copy: "複製",
3739
paste: "貼上",
38-
duplicate: "重複",
40+
duplicate: "建立副本",
3941
delete: "刪除",
4042
copy_as_image: "複製為圖片",
4143
view: "檢視",
@@ -47,6 +49,7 @@ const zh_tw = {
4749
field_details: "欄位詳細資料",
4850
reset_view: "重設檢視",
4951
show_grid: "顯示格線",
52+
show_datatype: "顯示資料型別",
5053
show_cardinality: "顯示基數",
5154
theme: "佈景主題",
5255
light: "淺色",
@@ -69,65 +72,66 @@ const zh_tw = {
6972
language: "語言",
7073
flush_storage: "清除儲存空間",
7174
are_you_sure_flush_storage:
72-
"您確定要清除儲存空間嗎?這將無法復原地刪除您所有的圖表和自訂範本。",
75+
"您確定要清除儲存空間嗎?這將會永久刪除所有圖表和自訂範本。",
7376
storage_flushed: "儲存空間已清除",
7477
help: "說明",
7578
shortcuts: "快速鍵",
7679
ask_on_discord: "在 Discord 上詢問我們",
7780
feedback: "意見回饋",
78-
no_changes: "沒有變更",
81+
no_changes: "無變更",
7982
loading: "載入中...",
8083
last_saved: "上次儲存時間",
8184
saving: "儲存中...",
8285
failed_to_save: "儲存失敗",
83-
fit_window_reset: "合適視窗 / 重設",
86+
fit_window_reset: "符合視窗大小 / 重設",
8487
zoom: "縮放",
85-
add_table: "新增表格",
88+
add_table: "新增資料表",
8689
add_area: "新增區域",
8790
add_note: "新增註解",
8891
add_type: "新增型別",
8992
to_do: "待辦事項",
90-
tables: "表格",
93+
tables: "資料表",
9194
relationships: "關聯",
9295
subject_areas: "主題區域",
9396
notes: "註解",
9497
types: "型別",
9598
search: "搜尋...",
96-
no_tables: "沒有表格",
99+
no_tables: "尚無資料表",
97100
no_tables_text: "開始建立您的圖表!",
98-
no_relationships: "沒有關聯",
101+
no_relationships: "尚無關聯",
99102
no_relationships_text: "拖曳以連接欄位並建立關聯!",
100-
no_subject_areas: "沒有主題區域",
101-
no_subject_areas_text: "新增主題區域以將表格分組!",
102-
no_notes: "沒有註解",
103+
no_subject_areas: "尚無主題區域",
104+
no_subject_areas_text: "將主題區域新增至群組資料表!",
105+
no_notes: "尚無註解",
103106
no_notes_text: "使用註解記錄額外資訊",
104-
no_types: "沒有型別",
105-
no_types_text: "建立您自己的自訂資料型別",
107+
no_types: "尚無型別",
108+
no_types_text: "建立您的自訂資料型別",
106109
no_issues: "未偵測到問題。",
107-
strict_mode_is_on_no_issues: "嚴謹模式已關閉,因此不會顯示任何問題。",
110+
strict_mode_is_on_no_issues:
111+
"嚴謹模式已關閉,因此不會顯示任何問題。",
108112
name: "名稱",
109113
type: "型別",
110114
null: "允許空值",
111115
not_null: "不允許空值",
112116
primary: "主鍵",
113-
unique: "唯一",
117+
unique: "唯一值",
114118
autoincrement: "自動遞增",
115119
default_value: "預設值",
116-
check: "檢查表達式",
117-
this_will_appear_as_is: "*這將按原樣顯示在產生的指令碼中。",
120+
check: "檢查條件",
121+
this_will_appear_as_is: "*這將以原樣出現在產出的指令碼中。",
118122
comment: "註解",
119123
add_field: "新增欄位",
120124
values: "值",
121125
size: "大小",
122126
precision: "精確度",
123-
set_precision: "設定精確度:(大小,位數)",
124-
use_for_batch_input: "使用 , 進行批次輸入",
127+
set_precision: "設定精確度:'大小, 位數'",
128+
use_for_batch_input: "使用逗號(,)進行批次輸入",
125129
indices: "索引",
126130
add_index: "新增索引",
127131
select_fields: "選擇欄位",
128132
title: "標題",
129133
not_set: "未設定",
130-
foreign: "外來鍵",
134+
foreign: "外部",
131135
cardinality: "基數",
132136
on_update: "更新時",
133137
on_delete: "刪除時",
@@ -137,13 +141,13 @@ const zh_tw = {
137141
many_to_one: "多對一",
138142
content: "內容",
139143
types_info:
140-
"此功能適用於像 PostgreSQL 這樣的物件關聯式資料庫管理系統。\n如果用於 MySQL 或 MariaDB,將產生具有相應 JSON 驗證檢查的 JSON 型別。\n如果用於 SQLite,它將被轉換為 BLOB。\n如果用於 MSSQL,將產生到第一個欄位的型別別名。",
141-
table_deleted: "表格已刪除",
144+
"此功能適用於 PostgreSQL 等物件關聯式 DBMS。\n若用於 MySQL 或 MariaDB,將產出具 JSON 驗證檢查的 JSON 型別。\n若用於 SQLite,將轉換為 BLOB。\n若用於 MSSQL,將產出指向第一個欄位的型別別名。",
145+
table_deleted: "資料表已刪除",
142146
area_deleted: "區域已刪除",
143147
note_deleted: "註解已刪除",
144148
relationship_deleted: "關聯已刪除",
145149
type_deleted: "型別已刪除",
146-
cannot_connect: "無法連接,欄位型別不同",
150+
cannot_connect: "無法連接,欄位型別不符",
147151
copied_to_clipboard: "已複製到剪貼簿",
148152
create_new_diagram: "建立新圖表",
149153
cancel: "取消",
@@ -153,81 +157,98 @@ const zh_tw = {
153157
export_image: "匯出圖片",
154158
create: "建立",
155159
confirm: "確認",
156-
last_modified: "上次修改時間",
157-
drag_and_drop_files: "拖曳檔案到此處或點選上傳。",
158-
upload_sql_to_generate_diagrams: "上傳 SQL 檔案以自動產生表格和欄位。",
159-
overwrite_existing_diagram: "覆寫現有圖表",
160-
only_mysql_supported: "*目前僅支援載入 MySQL 指令碼。",
160+
last_modified: "最後修改",
161+
drag_and_drop_files: "將檔案拖曳至此處或點選以上傳。",
162+
upload_sql_to_generate_diagrams:
163+
"上傳 SQL 檔案以自動產出資料表及欄位。",
164+
overwrite_existing_diagram: "覆蓋現有圖表",
165+
only_mysql_supported:
166+
"*目前僅支援載入 MySQL 指令碼。",
161167
blank: "空白",
162168
filename: "檔案名稱",
163-
table_w_no_name: "宣告了一個沒有名稱的表格",
164-
duplicate_table_by_name: "表格名稱 '{{tableName}}' 重複",
165-
empty_field_name: "表格 '{{tableName}}' 中的欄位 `name` 為空",
166-
empty_field_type: "表格 '{{tableName}}' 中的欄位 `type` 為空",
169+
table_w_no_name: "有未命名的資料表",
170+
duplicate_table_by_name: "資料表名稱「{{tableName}}重複",
171+
empty_field_name: "資料表「{{tableName}}」中有未命名的欄位",
172+
empty_field_type: "資料表「{{tableName}}」中有未指定型別的欄位",
167173
no_values_for_field:
168-
"表格 '{{tableName}}' 的 '{{fieldName}}' 欄位型別為 `{{type}}`,但未指定任何值",
174+
"資料表「{{tableName}}」中的欄位「{{fieldName}}」型別為「{{type}}但未指定任何值",
169175
default_doesnt_match_type:
170-
"表格 '{{tableName}}' 中欄位 '{{fieldName}}' 的預設值與其型別不符",
176+
"資料表「{{tableName}}中欄位{{fieldName}}的預設值與其型別不符",
171177
not_null_is_null:
172-
"表格 '{{tableName}}' 中的 '{{fieldName}}' 欄位為 NOT NULL,但預設值為 NULL",
173-
duplicate_fields: "表格 '{{tableName}}' 中的欄位名稱 '{{fieldName}}' 重複",
174-
duplicate_index: "表格 '{{tableName}}' 中的索引名稱 '{{indexName}}' 重複",
175-
empty_index: "表格 '{{tableName}}' 中的索引未指定任何欄位",
176-
no_primary_key: "表格 '{{tableName}}' 沒有主鍵",
177-
type_with_no_name: "宣告了一個沒有名稱的型別",
178-
duplicate_types: "型別名稱 '{{typeName}}' 重複",
179-
type_w_no_fields: "宣告了一個沒有欄位的空型別 '{{typeName}}'",
180-
empty_type_field_name: "型別 '{{typeName}}' 中的欄位 `name` 為空",
181-
empty_type_field_type: "型別 '{{typeName}}' 中的欄位 `type` 為空",
178+
"資料表「{{tableName}}」中的欄位「{{fieldName}}」設定為不可為空值但預設為空值",
179+
duplicate_fields:
180+
"資料表「{{tableName}}」中欄位名稱「{{fieldName}}」重複",
181+
duplicate_index:
182+
"資料表「{{tableName}}」中索引名稱「{{indexName}}」重複",
183+
empty_index: "資料表「{{tableName}}」中有未包含任何欄位的索引",
184+
no_primary_key: "資料表「{{tableName}}」未設定主鍵",
185+
type_with_no_name: "有未命名的型別",
186+
duplicate_types: "型別名稱「{{typeName}}」重複",
187+
type_w_no_fields: "型別「{{typeName}}」未定義任何欄位",
188+
empty_type_field_name: "型別「{{typeName}}」中有未命名的欄位",
189+
empty_type_field_type: "型別「{{typeName}}」中有未指定型別的欄位",
182190
no_values_for_type_field:
183-
"型別 '{{typeName}}' 的 '{{fieldName}}' 欄位型別為 `{{type}}`,但未指定任何值",
191+
"型別{{typeName}}」中的欄位「{{fieldName}}」型別為「{{type}}但未指定任何值",
184192
duplicate_type_fields:
185-
"自訂型別 '{{typeName}}' 中的欄位名稱 '{{fieldName}}' 重複",
186-
duplicate_reference: "參考名稱 '{{refName}}' 重複",
187-
circular_dependency: "涉及到表格 '{{refName}}' 的循環相依性",
193+
"型別「{{typeName}}」中欄位名稱「{{fieldName}}重複",
194+
duplicate_reference: "關聯名稱「{{refName}}重複",
195+
circular_dependency: "資料表「{{refName}}」存在循環相依性問題",
188196
timeline: "時間軸",
189197
priority: "優先順序",
190198
none: "無",
191199
low: "低",
192200
medium: "中",
193201
high: "高",
194202
sort_by: "排序方式",
195-
my_order: "我的排序",
203+
my_order: "自訂排序",
196204
completed: "已完成",
197-
alphabetically: "按字母順序",
198-
add_task: "新增任務",
205+
alphabetically: "依字母順序",
206+
add_task: "新增工作項目",
199207
details: "詳細資料",
200-
no_tasks: "您還沒有任務。",
201-
no_activity: "您還沒有活動。",
202-
move_element: "將 {{name}} 移動到 {{coords}}",
203-
edit_area: "{{extra}} 編輯區域 {{areaName}}",
204-
delete_area: "刪除區域 {{areaName}}",
205-
edit_note: "{{extra}} 編輯註解 {{noteTitle}}",
206-
delete_note: "刪除註解 {{noteTitle}}",
207-
edit_table: "{{extra}} 編輯表格 {{tableName}}",
208-
delete_table: "刪除表格 {{tableName}}",
209-
edit_type: "{{extra}} 編輯型別 {{typeName}}",
210-
delete_type: "刪除型別 {{typeName}}",
208+
no_tasks: "目前尚無工作項目。",
209+
no_activity: "目前尚無任何活動記錄。",
210+
move_element: "將{{name}}」移動至 {{coords}}",
211+
edit_area: "{{extra}} 編輯區域{{areaName}}",
212+
delete_area: "刪除區域{{areaName}}",
213+
edit_note: "{{extra}} 編輯註解{{noteTitle}}",
214+
delete_note: "刪除註解{{noteTitle}}",
215+
edit_table: "{{extra}} 編輯資料表「{{tableName}}",
216+
delete_table: "刪除資料表「{{tableName}}",
217+
edit_type: "{{extra}} 編輯型別{{typeName}}",
218+
delete_type: "刪除型別{{typeName}}",
211219
add_relationship: "新增關聯",
212-
edit_relationship: "{{extra}} 編輯關聯 {{refName}}",
213-
delete_relationship: "刪除關聯 {{refName}}",
214-
not_found: "沒有找到",
220+
edit_relationship: "{{extra}} 編輯關聯{{refName}}",
221+
delete_relationship: "刪除關聯{{refName}}",
222+
not_found: "找不到",
215223
pick_db: "選擇資料庫",
216224
generic: "通用",
217225
generic_description:
218-
"通用圖表可以匯出到任何 SQL 語法,但支援的資料型別較少。",
226+
"通用圖表可匯出至任何 SQL 格式,但僅支援少數資料型別。",
219227
enums: "列舉",
220228
add_enum: "新增列舉",
221-
edit_enum: "{{extra}} 編輯列舉 {{enumName}}",
229+
edit_enum: "{{extra}} 編輯列舉{{enumName}}",
222230
delete_enum: "刪除列舉",
223-
enum_w_no_name: "找到沒有名稱的列舉",
224-
enum_w_no_values: "找到沒有值的列舉 '{{enumName}}'",
225-
duplicate_enums: "列舉名稱 '{{enumName}}' 重複",
226-
no_enums: "沒有列舉",
231+
enum_w_no_name: "未指定名稱的列舉",
232+
enum_w_no_values: "列舉「{{enumName}}」未定義任何值",
233+
duplicate_enums: "列舉名稱{{enumName}}重複",
234+
no_enums: "尚無列舉",
227235
no_enums_text: "在此定義列舉",
228236
declare_array: "宣告陣列",
229-
empty_index_name: "在表格 '{{tableName}}' 中宣告了一個沒有名稱的索引",
230-
didnt_find_diagram: "糟糕!找不到圖表。",
237+
empty_index_name: "資料表「{{tableName}}」中有未命名的索引",
238+
didnt_find_diagram: "糟糕!找不到該圖表。",
239+
unsigned: "無號數",
240+
share: "分享",
241+
unshare: "取消分享",
242+
copy_link: "複製連結",
243+
readme: "說明文件",
244+
failed_to_load: "載入失敗。請確認連結是否正確。",
245+
share_info:
246+
"* 分享此連結不會建立即時的協作工作階段。",
247+
show_relationship_labels: "顯示關聯標籤",
248+
docs: "文件",
249+
supported_types: "支援的檔案類型:",
250+
bulk_update: "批次更新",
251+
multiselect: "多重選取",
231252
},
232253
};
233254

0 commit comments

Comments
 (0)