Skip to content

Commit ee85231

Browse files
authored
Merge pull request #6247 from sec2/patch-2
Update zh-tw.js
2 parents a815471 + b5d34dc commit ee85231

File tree

3 files changed

+80
-6
lines changed

3 files changed

+80
-6
lines changed

draftlogs/6238_add.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
- Add official Sinhala translation (locale `si`) [[#2249](https://github.com/plotly/plotly.js/pull/2249)] with thanks to @sujithranga for the contribution!
1+
- Add official Sinhala translation (locale `si`) [[#6238](https://github.com/plotly/plotly.js/pull/6238)] with thanks to @sujithranga for the contribution!

draftlogs/6247_add.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add official Chinese (Taiwan) translation (locale `zh-tw`) [[#6247](https://github.com/plotly/plotly.js/pull/6247)] with thanks to @sec2 for the contribution!

lib/locales/zh-tw.js

+78-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,85 @@
33
module.exports = {
44
moduleType: 'locale',
55
name: 'zh-TW',
6-
dictionary: {},
6+
dictionary: {
7+
'Autoscale': '自動縮放', // components/modebar/buttons.js:139
8+
'Box Select': '矩形選擇', // components/modebar/buttons.js:103
9+
'Click to enter Colorscale title': '點擊以輸入色階標題', // plots/plots.js:437
10+
'Click to enter Component A title': '點擊以輸入元件 A 標題', // plots/ternary/ternary.js:386
11+
'Click to enter Component B title': '點擊以輸入元件 B 標題', // plots/ternary/ternary.js:400
12+
'Click to enter Component C title': '點擊以輸入元件 C 標題', // plots/ternary/ternary.js:411
13+
'Click to enter Plot title': '點擊以輸入繪圖標題', // plot_api/plot_api.js:579
14+
'Click to enter X axis title': '點擊以輸入 X 軸標題', // plots/plots.js:435
15+
'Click to enter Y axis title': '點擊以輸入 Y 軸標題', // plots/plots.js:436
16+
'Click to enter radial axis title': '點擊以輸入輻射軸標題', // plots/polar/polar.js:575
17+
'Compare data on hover': '游標停留時比較資料', // components/modebar/buttons.js:167
18+
'Double-click on legend to isolate one trace': '雙擊圖例以隔離單一軌跡', // components/legend/handle_click.js:90
19+
'Double-click to zoom back out': '雙擊回復縮放', // plots/cartesian/dragbox.js:299
20+
'Download plot as a png': '下載圖表為 PNG 圖檔', // components/modebar/buttons.js:52
21+
'Download plot': '下載圖表', // components/modebar/buttons.js:53
22+
'Draw circle': '繪製圓圈', // components/modebar/buttons.js:171
23+
'Draw closed freeform': '繪製封閉的任意圖形', // components/modebar/buttons.js:135
24+
'Draw line': '繪製線條', // components/modebar/buttons.js:153
25+
'Draw open freeform': '繪製開放的任意圖形', // components/modebar/buttons.js:144
26+
'Draw rectangle': '繪製矩形', // components/modebar/buttons.js:162
27+
'Edit in Chart Studio': '於 Chart Studio 編輯', // components/modebar/buttons.js:76
28+
'Erase active shape': '清除作用中的形狀', // components/modebar/buttons.js:180
29+
'IE only supports svg. Changing format to svg.': 'IE 僅支援 SVG,將變更格式為 SVG。', // components/modebar/buttons.js:60
30+
'Lasso Select': '套索選擇', // components/modebar/buttons.js:112
31+
'Orbital rotation': '軌道旋轉', // components/modebar/buttons.js:279
32+
'Pan': '平移', // components/modebar/buttons.js:94
33+
'Produced with Plotly.js': '使用 Plotly.js 製作', // components/modebar/modebar.js:256
34+
'Reset': '重置', // components/modebar/buttons.js:432
35+
'Reset axes': '重置軸', // components/modebar/buttons.js:148
36+
'Reset camera to default': '重置相機至預設位置', // components/modebar/buttons.js:314
37+
'Reset camera to last save': '重置相機至上次儲存的位置', // components/modebar/buttons.js:322
38+
'Reset view': '重置視圖', // components/modebar/buttons.js:583
39+
'Reset views': '重置視圖', // components/modebar/buttons.js:529
40+
'Show closest data on hover': '游標停留時顯示最接近的資料', // components/modebar/buttons.js:157
41+
'Snapshot succeeded': '快照成功', // components/modebar/buttons.js:66
42+
'Sorry, there was a problem downloading your snapshot!': '抱歉,下載快照時發生錯誤!', // components/modebar/buttons.js:69
43+
'Taking snapshot - this may take a few seconds': '產生快照中 - 可能需要一點時間', // components/modebar/buttons.js:57
44+
'Zoom': '縮放', // components/modebar/buttons.js:85
45+
'Zoom in': '放大', // components/modebar/buttons.js:121
46+
'Zoom out': '縮小', // components/modebar/buttons.js:130
47+
'close:': '關閉:', // traces/ohlc/transform.js:139
48+
'concentration': '集中', // traces/sankey/plot.js:160
49+
'trace': '軌跡:', // plots/plots.js:439
50+
'lat:': '緯度:', // traces/scattergeo/calc.js:48
51+
'lon:': '經度:', // traces/scattergeo/calc.js:49
52+
'q1:': '第一四分位數:', // traces/box/calc.js:130
53+
'q3:': '第三四分位數:', // traces/box/calc.js:131
54+
'source:': '來源:', // traces/sankey/plot.js:140
55+
'target:': '目標:', // traces/sankey/plot.js:141
56+
'lower fence:': '下圍籬值:', // traces/box/calc.js:134
57+
'upper fence:': '上圍籬值:', // traces/box/calc.js:135
58+
'max:': '最大值:', // traces/box/calc.js:132
59+
'mean ± σ:': '平均 ± σ:', // traces/box/calc.js:133
60+
'mean:': '平均值:', // traces/box/calc.js:133
61+
'median:': '中位數:', // traces/box/calc.js:128
62+
'min:': '最小值:', // traces/box/calc.js:129
63+
'Turntable rotation': '轉盤旋轉:', // components/modebar/buttons.js:288
64+
'Toggle Spike Lines': '切換尖峰線', // components/modebar/buttons.js:548
65+
'open:': '開啟:', // traces/ohlc/transform.js:136
66+
'high:': '高:', // traces/ohlc/transform.js:137
67+
'low:': '低:', // traces/ohlc/transform.js:138
68+
'Toggle show closest data on hover': '切換滑鼠懸停顯示最接近的資料', // components/modebar/buttons.js:353
69+
'incoming flow count:': '傳入流量計數:', // traces/sankey/plot.js:142
70+
'outgoing flow count:': '傳出流量計數:', // traces/sankey/plot.js:143
71+
'kde:': 'kde:', // traces/violin/calc.js:73
72+
'new text': '新文本'
73+
},
774
format: {
875
days: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
9-
shortDays: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
10-
months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
11-
shortMonths: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],
12-
date: '%Y/%m/%d'
76+
shortDays: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'],
77+
months: [
78+
'一月', '二月', '三月', '四月', '五月', '六月',
79+
'七月', '八月', '九月', '十月', '十一月', '十二月'
80+
],
81+
shortMonths: [
82+
'1月', '2月', '3月', '4月', '5月', '6月',
83+
'7月', '8月', '9月', '10月', '11月', '12月'
84+
],
85+
date: '%Y-%m-%d'
1386
}
1487
};

0 commit comments

Comments
 (0)