@lvl99dotcom/paintcanvas 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/lib/i18n/index.d.ts +50 -13
- package/dist/lib/i18n/index.js +121 -26
- package/dist/locales/en-GB.js +177 -184
- package/dist/locales/en-US.js +177 -184
- package/dist/locales/fr.js +177 -184
- package/dist/locales/ja.js +177 -184
- package/dist/locales/ko.js +177 -184
- package/dist/locales/zh-Hans.js +177 -184
- package/dist/locales/zh-Hant.js +177 -184
- package/dist/package.js +1 -1
- package/dist/ui/base/index.d.ts +1 -1
- package/dist/ui/base/index.js +1 -1
- package/dist/ui/elements/PaintCanvas/index.js +11 -11
- package/dist/ui/elements/PcBrushConfig/index.d.ts +3 -3
- package/dist/ui/elements/PcBrushConfig/index.js +43 -41
- package/dist/ui/elements/PcBrushMenu/index.js +18 -18
- package/dist/ui/elements/PcBrushTest/index.js +2 -2
- package/dist/ui/elements/PcCanvas/index.js +1 -1
- package/dist/ui/elements/PcCanvasMap/index.js +1 -1
- package/dist/ui/elements/PcInfoTip/index.js +1 -1
- package/dist/ui/elements/PcInputSettings/index.js +17 -13
- package/dist/ui/elements/PcLayerItem/index.js +34 -34
- package/dist/ui/elements/PcLayersMenu/index.js +1 -1
- package/dist/ui/elements/PcStats/index.js +8 -5
- package/dist/ui/elements/PcThemePicker/index.js +2 -2
- package/dist/ui/elements/PcToast/index.js +1 -1
- package/dist/ui/elements/PcToolSettings/index.js +51 -45
- package/dist/ui/elements/PcToolbar/index.js +19 -19
- package/locales/en-GB.json +177 -184
- package/locales/en-US.json +177 -184
- package/locales/fr.json +177 -184
- package/locales/ja.json +177 -184
- package/locales/ko.json +177 -184
- package/locales/zh-Hans.json +177 -184
- package/locales/zh-Hant.json +177 -184
- package/package.json +1 -1
package/dist/locales/zh-Hant.js
CHANGED
|
@@ -1,188 +1,181 @@
|
|
|
1
1
|
// locales/zh-Hant.json
|
|
2
2
|
var zh_Hant_default = {
|
|
3
|
-
"common.cancel": "取消",
|
|
4
|
-
"common.close": "關閉",
|
|
5
|
-
"common.dismiss": "關閉",
|
|
6
|
-
"common.save": "儲存",
|
|
7
|
-
"common.delete": "刪除",
|
|
8
|
-
"common.clear": "清除",
|
|
9
|
-
"common.copy": "拷貝",
|
|
10
|
-
"common.paste": "貼上",
|
|
11
|
-
"common.undo": "復原",
|
|
12
|
-
"common.redo": "重做",
|
|
13
|
-
"common.off": "關",
|
|
14
|
-
"common.moreInformation": "更多資訊",
|
|
15
|
-
"common.width": "寬度",
|
|
16
|
-
"common.height": "高度",
|
|
17
|
-
"common.opacity": "不透明度",
|
|
18
|
-
"tool.brush": "筆刷",
|
|
19
|
-
"tool.eraser": "橡皮擦",
|
|
20
|
-
"tool.move": "移動、縮放和旋轉",
|
|
21
|
-
"tool.rectangleLasso": "矩形選取",
|
|
22
|
-
"tool.circleLasso": "橢圓選取",
|
|
23
|
-
"tool.polygonLasso": "多邊形選取",
|
|
24
|
-
"tool.freeformLasso": "自由選取",
|
|
25
|
-
"tool.pan": "手形工具",
|
|
26
|
-
"tool.zoom": "縮放",
|
|
27
|
-
"tool.colourSample": "滴管",
|
|
28
|
-
"tool.withShortcut": "{tool}({shortcut})",
|
|
29
|
-
"toolbar.label": "工具",
|
|
30
|
-
"toolbar.currentColour": "目前顏色",
|
|
31
|
-
"toolbar.layers": "圖層",
|
|
32
|
-
"toolbar.menu": "選單",
|
|
33
|
-
"toolbar.undoWithShortcut": "復原({shortcut})",
|
|
34
|
-
"toolbar.redoWithShortcut": "重做({shortcut})",
|
|
35
|
-
"toolSettings.settings": "{tool}設定",
|
|
36
|
-
"toolSettings.presets": "{tool}預設",
|
|
37
|
-
"toolSettings.configure": "詳細設定",
|
|
38
|
-
"toolSettings.constrainProportions": "維持比例",
|
|
39
|
-
"toolSettings.pressure": "壓力感應",
|
|
40
|
-
"toolSettings.tilt": "傾斜",
|
|
41
|
-
"toolSettings.focusPen": "僅限觸控筆模式",
|
|
42
|
-
"toolSettings.focusPenHint": "僅限觸控筆模式:只有觸控筆可以繪圖",
|
|
43
|
-
"toolSettings.flipHorizontal": "水平翻轉",
|
|
44
|
-
"toolSettings.flipVertical": "垂直翻轉",
|
|
45
|
-
"toolSettings.rotateLeft": "向左旋轉90°",
|
|
46
|
-
"toolSettings.rotateRight": "向右旋轉90°",
|
|
47
|
-
"toolSettings.maskSettings": "遮罩設定",
|
|
48
|
-
"toolSettings.zoomIn": "放大",
|
|
49
|
-
"toolSettings.zoomOut": "縮小",
|
|
50
|
-
"toolSettings.pointSample": "單點取色",
|
|
51
|
-
"toolSettings.areaSample": "區域平均取色",
|
|
52
|
-
"brushMenu.presets": "{tool}預設",
|
|
53
|
-
"brushMenu.size": "{tool}大小",
|
|
54
|
-
"brushMenu.dragToResize": "左右拖曳以調整大小",
|
|
55
|
-
"brushMenu.newPreset": "新預設",
|
|
56
|
-
"brushMenu.create": "建立",
|
|
57
|
-
"brushMenu.import": "匯入",
|
|
58
|
-
"brushMenu.export": "匯出",
|
|
59
|
-
"presets.myPresets": "我的預設",
|
|
60
|
-
"presets.unknownAuthor": "未知",
|
|
61
|
-
"presets.deleteConfirm": "要刪除「{name}」嗎?此動作無法復原。",
|
|
62
|
-
"presets.deleted": "已刪除「{name}」",
|
|
63
|
-
"presets.deleteFailed": "無法刪除「{name}」",
|
|
64
|
-
"presets.saved": "已將「{name}」儲存到我的預設",
|
|
65
|
-
"presets.saveFailed": "無法儲存「{name}」",
|
|
66
|
-
"presets.replaceConfirm": "已有名為「{name}」的預設。要取代嗎?",
|
|
67
|
-
"presets.imported.one": "已匯入 {count} 個筆刷預設",
|
|
68
|
-
"presets.imported.other": "已匯入 {count} 個筆刷預設",
|
|
69
|
-
"presets.fileIncompatible": "不相容的筆刷預設 JSON 檔案",
|
|
70
|
-
"presets.fileReadFailed": "無法讀取筆刷預設 JSON 檔案",
|
|
71
|
-
"presets.exportFailed": "匯出筆刷預設 JSON 檔案時發生錯誤",
|
|
72
|
-
"presets.nothingToExport": "沒有可匯出的筆刷預設",
|
|
73
|
-
"brushConfig.brushTitle": "筆刷詳細設定",
|
|
74
|
-
"brushConfig.eraserTitle": "橡皮擦詳細設定",
|
|
75
|
-
"brushConfig.presetName": "預設名稱",
|
|
76
|
-
"brushConfig.shape": "形狀",
|
|
77
|
-
"brushConfig.upload": "上傳",
|
|
78
|
-
"brushConfig.paste": "貼上",
|
|
79
|
-
"brushConfig.rotation": "旋轉",
|
|
80
|
-
"brushConfig.offsetX": "X 位移",
|
|
81
|
-
"brushConfig.offsetY": "Y 位移",
|
|
82
|
-
"brushConfig.spacing": "間距",
|
|
83
|
-
"brushConfig.sampleRate": "取樣率",
|
|
84
|
-
"brushConfig.smoothing": "平滑",
|
|
85
|
-
"brushConfig.smoothingLinear": "直線",
|
|
86
|
-
"brushConfig.smoothingQuadratic": "二次曲線",
|
|
87
|
-
"brushConfig.smoothingCubic": "三次曲線",
|
|
88
|
-
"brushConfig.randomise": "隨機",
|
|
89
|
-
"brushConfig.deletePreset": "刪除預設…",
|
|
90
|
-
"brushConfig.shapeFailed": "無法使用此筆刷形狀",
|
|
91
|
-
"brushConfig.test": "試畫",
|
|
92
|
-
"brushConfig.testArea": "筆刷試畫區域",
|
|
93
|
-
"shape.notPng": "筆刷形狀必須是 PNG 影像",
|
|
94
|
-
"shape.tooLarge": "筆刷形狀影像最大為 2 MB",
|
|
95
|
-
"shape.readFailed": "無法讀取筆刷形狀影像",
|
|
96
|
-
"shape.noPngToPaste": "沒有可貼上的 PNG 影像",
|
|
97
|
-
"layers.label": "圖層",
|
|
98
|
-
"layers.new": "新增圖層",
|
|
99
|
-
"layers.defaultName": "圖層 {number}",
|
|
100
|
-
"layers.name": "圖層名稱",
|
|
101
|
-
"layers.visible": "顯示",
|
|
102
|
-
"layers.alphaLock": "鎖定透明像素",
|
|
103
|
-
"layers.blendMode": "混合模式",
|
|
104
|
-
"layers.actions": "圖層動作",
|
|
105
|
-
"layers.reorder": "調整{name}的順序:拖曳,或按下以顯示動作",
|
|
106
|
-
"layers.duplicate": "複製",
|
|
107
|
-
"layers.createMask": "建立遮罩",
|
|
108
|
-
"layers.moveUp": "上移",
|
|
109
|
-
"layers.moveDown": "下移",
|
|
110
|
-
"layers.moveToTop": "移到最上層",
|
|
111
|
-
"layers.moveToBottom": "移到最下層",
|
|
112
|
-
"layers.mergeDown": "向下合併…",
|
|
113
|
-
"layers.mergeDownConfirm": "確定要將此圖層與下方圖層合併嗎?",
|
|
114
|
-
"layers.mergeLayer": "合併圖層",
|
|
115
|
-
"layers.clearConfirm": "要清除「{name}」上的所有影像嗎?",
|
|
116
|
-
"layers.deleteConfirm": "要刪除「{name}」嗎?",
|
|
117
|
-
"blendMode.normal": "正常",
|
|
118
|
-
"blendMode.screen": "濾色",
|
|
119
|
-
"blendMode.lighten": "變亮",
|
|
120
|
-
"blendMode.multiply": "色彩增值",
|
|
121
|
-
"blendMode.darken": "變暗",
|
|
122
|
-
"blendMode.overlay": "覆蓋",
|
|
123
|
-
"canvas.label": "繪圖畫布",
|
|
124
|
-
"canvas.map": "畫布導覽",
|
|
125
|
-
"canvas.loading": "正在載入畫布…",
|
|
126
|
-
"inputSettings.title": "操作",
|
|
127
|
-
"inputSettings.scrollPan": "捲動或雙指滑動以平移",
|
|
128
|
-
"inputSettings.touchPan": "雙指拖曳以平移",
|
|
129
|
-
"inputSettings.pinchZoom": "雙指撥動以縮放",
|
|
130
|
-
"inputSettings.modifierScrollZoom": "{key} + 捲動以縮放",
|
|
131
|
-
"inputSettings.focusPen": "僅限觸控筆模式:手指和手掌不會繪圖",
|
|
132
|
-
"inputSettings.gestures": "觸控手勢",
|
|
133
|
-
"inputSettings.language": "語言",
|
|
134
|
-
"gesture.tap2": "雙指點一下",
|
|
135
|
-
"gesture.tap3": "三指點一下",
|
|
136
|
-
"gesture.swipeUp3": "三指向上滑動",
|
|
137
|
-
"gesture.swipeDown3": "三指向下滑動",
|
|
138
|
-
"gesture.swipeLeft3": "三指向左滑動",
|
|
139
|
-
"gesture.swipeRight3": "三指向右滑動",
|
|
140
|
-
"gesture.swipeIn3": "三指捏合",
|
|
141
|
-
"gesture.swipeOut3": "三指張開",
|
|
142
|
-
"toolSettings.selectAll": "全選",
|
|
143
|
-
"toolSettings.invertSelection": "反轉選取範圍",
|
|
144
|
-
"toolSettings.deselect": "取消選取",
|
|
145
|
-
"toolSettings.percent": "百分比",
|
|
146
|
-
"toolSettings.reset": "重設",
|
|
147
|
-
"brushMenu.importFile": "匯入預設檔案",
|
|
148
|
-
"brushConfig.name": "名稱",
|
|
149
|
-
"brushConfig.snapToPixelGrid": "對齊像素格線",
|
|
150
|
-
"brushConfig.addToPresets": "加入預設",
|
|
151
|
-
"brushConfig.variation": "{param}:{source}",
|
|
152
|
-
"layers.mergeDownTitle": "向下合併",
|
|
153
|
-
"layers.clear": "清除…",
|
|
154
|
-
"layers.delete": "刪除…",
|
|
155
|
-
"layers.clearTitle": "清除圖層",
|
|
156
|
-
"layers.deleteTitle": "刪除圖層",
|
|
157
|
-
"toolSettings.angle": "角度",
|
|
158
|
-
"layout.tools": "工具",
|
|
159
|
-
"layout.toolSettings": "工具設定",
|
|
160
|
-
"layout.panels": "面板",
|
|
161
|
-
"layout.status": "狀態",
|
|
162
|
-
"layout.canvas": "畫布",
|
|
163
|
-
"layout.show": "顯示{name}",
|
|
164
|
-
"layout.hide": "隱藏{name}",
|
|
165
|
-
"layout.new": "{name}(有新內容)",
|
|
166
|
-
"brushConfig.newPresetName": "新筆刷",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"stats.zoom": "縮放:{zoom}",
|
|
181
|
-
"stats.colour": "顏色:{colour}",
|
|
182
|
-
"stats.stored": "已儲存:{size}",
|
|
183
|
-
"theme.label": "主題",
|
|
184
|
-
"theme.light": "淺色",
|
|
185
|
-
"theme.dark": "深色",
|
|
186
|
-
"theme.auto": "自動"
|
|
3
|
+
"paintCanvas.common.cancel": "取消",
|
|
4
|
+
"paintCanvas.common.close": "關閉",
|
|
5
|
+
"paintCanvas.common.dismiss": "關閉",
|
|
6
|
+
"paintCanvas.common.save": "儲存",
|
|
7
|
+
"paintCanvas.common.delete": "刪除",
|
|
8
|
+
"paintCanvas.common.clear": "清除",
|
|
9
|
+
"paintCanvas.common.copy": "拷貝",
|
|
10
|
+
"paintCanvas.common.paste": "貼上",
|
|
11
|
+
"paintCanvas.common.undo": "復原",
|
|
12
|
+
"paintCanvas.common.redo": "重做",
|
|
13
|
+
"paintCanvas.common.off": "關",
|
|
14
|
+
"paintCanvas.common.moreInformation": "更多資訊",
|
|
15
|
+
"paintCanvas.common.width": "寬度",
|
|
16
|
+
"paintCanvas.common.height": "高度",
|
|
17
|
+
"paintCanvas.common.opacity": "不透明度",
|
|
18
|
+
"paintCanvas.tool.brush": "筆刷",
|
|
19
|
+
"paintCanvas.tool.eraser": "橡皮擦",
|
|
20
|
+
"paintCanvas.tool.move": "移動、縮放和旋轉",
|
|
21
|
+
"paintCanvas.tool.rectangleLasso": "矩形選取",
|
|
22
|
+
"paintCanvas.tool.circleLasso": "橢圓選取",
|
|
23
|
+
"paintCanvas.tool.polygonLasso": "多邊形選取",
|
|
24
|
+
"paintCanvas.tool.freeformLasso": "自由選取",
|
|
25
|
+
"paintCanvas.tool.pan": "手形工具",
|
|
26
|
+
"paintCanvas.tool.zoom": "縮放",
|
|
27
|
+
"paintCanvas.tool.colourSample": "滴管",
|
|
28
|
+
"paintCanvas.tool.withShortcut": "{tool}({shortcut})",
|
|
29
|
+
"paintCanvas.toolbar.label": "工具",
|
|
30
|
+
"paintCanvas.toolbar.currentColour": "目前顏色",
|
|
31
|
+
"paintCanvas.toolbar.layers": "圖層",
|
|
32
|
+
"paintCanvas.toolbar.menu": "選單",
|
|
33
|
+
"paintCanvas.toolbar.undoWithShortcut": "復原({shortcut})",
|
|
34
|
+
"paintCanvas.toolbar.redoWithShortcut": "重做({shortcut})",
|
|
35
|
+
"paintCanvas.toolSettings.settings": "{tool}設定",
|
|
36
|
+
"paintCanvas.toolSettings.presets": "{tool}預設",
|
|
37
|
+
"paintCanvas.toolSettings.configure": "詳細設定",
|
|
38
|
+
"paintCanvas.toolSettings.constrainProportions": "維持比例",
|
|
39
|
+
"paintCanvas.toolSettings.pressure": "壓力感應",
|
|
40
|
+
"paintCanvas.toolSettings.tilt": "傾斜",
|
|
41
|
+
"paintCanvas.toolSettings.focusPen": "僅限觸控筆模式",
|
|
42
|
+
"paintCanvas.toolSettings.focusPenHint": "僅限觸控筆模式:只有觸控筆可以繪圖",
|
|
43
|
+
"paintCanvas.toolSettings.flipHorizontal": "水平翻轉",
|
|
44
|
+
"paintCanvas.toolSettings.flipVertical": "垂直翻轉",
|
|
45
|
+
"paintCanvas.toolSettings.rotateLeft": "向左旋轉90°",
|
|
46
|
+
"paintCanvas.toolSettings.rotateRight": "向右旋轉90°",
|
|
47
|
+
"paintCanvas.toolSettings.maskSettings": "遮罩設定",
|
|
48
|
+
"paintCanvas.toolSettings.zoomIn": "放大",
|
|
49
|
+
"paintCanvas.toolSettings.zoomOut": "縮小",
|
|
50
|
+
"paintCanvas.toolSettings.pointSample": "單點取色",
|
|
51
|
+
"paintCanvas.toolSettings.areaSample": "區域平均取色",
|
|
52
|
+
"paintCanvas.brushMenu.presets": "{tool}預設",
|
|
53
|
+
"paintCanvas.brushMenu.size": "{tool}大小",
|
|
54
|
+
"paintCanvas.brushMenu.dragToResize": "左右拖曳以調整大小",
|
|
55
|
+
"paintCanvas.brushMenu.newPreset": "新預設",
|
|
56
|
+
"paintCanvas.brushMenu.create": "建立",
|
|
57
|
+
"paintCanvas.brushMenu.import": "匯入",
|
|
58
|
+
"paintCanvas.brushMenu.export": "匯出",
|
|
59
|
+
"paintCanvas.presets.myPresets": "我的預設",
|
|
60
|
+
"paintCanvas.presets.unknownAuthor": "未知",
|
|
61
|
+
"paintCanvas.presets.deleteConfirm": "要刪除「{name}」嗎?此動作無法復原。",
|
|
62
|
+
"paintCanvas.presets.deleted": "已刪除「{name}」",
|
|
63
|
+
"paintCanvas.presets.deleteFailed": "無法刪除「{name}」",
|
|
64
|
+
"paintCanvas.presets.saved": "已將「{name}」儲存到我的預設",
|
|
65
|
+
"paintCanvas.presets.saveFailed": "無法儲存「{name}」",
|
|
66
|
+
"paintCanvas.presets.replaceConfirm": "已有名為「{name}」的預設。要取代嗎?",
|
|
67
|
+
"paintCanvas.presets.imported.one": "已匯入 {count} 個筆刷預設",
|
|
68
|
+
"paintCanvas.presets.imported.other": "已匯入 {count} 個筆刷預設",
|
|
69
|
+
"paintCanvas.presets.fileIncompatible": "不相容的筆刷預設 JSON 檔案",
|
|
70
|
+
"paintCanvas.presets.fileReadFailed": "無法讀取筆刷預設 JSON 檔案",
|
|
71
|
+
"paintCanvas.presets.exportFailed": "匯出筆刷預設 JSON 檔案時發生錯誤",
|
|
72
|
+
"paintCanvas.presets.nothingToExport": "沒有可匯出的筆刷預設",
|
|
73
|
+
"paintCanvas.brushConfig.brushTitle": "筆刷詳細設定",
|
|
74
|
+
"paintCanvas.brushConfig.eraserTitle": "橡皮擦詳細設定",
|
|
75
|
+
"paintCanvas.brushConfig.presetName": "預設名稱",
|
|
76
|
+
"paintCanvas.brushConfig.shape": "形狀",
|
|
77
|
+
"paintCanvas.brushConfig.upload": "上傳",
|
|
78
|
+
"paintCanvas.brushConfig.paste": "貼上",
|
|
79
|
+
"paintCanvas.brushConfig.rotation": "旋轉",
|
|
80
|
+
"paintCanvas.brushConfig.offsetX": "X 位移",
|
|
81
|
+
"paintCanvas.brushConfig.offsetY": "Y 位移",
|
|
82
|
+
"paintCanvas.brushConfig.spacing": "間距",
|
|
83
|
+
"paintCanvas.brushConfig.sampleRate": "取樣率",
|
|
84
|
+
"paintCanvas.brushConfig.smoothing": "平滑",
|
|
85
|
+
"paintCanvas.brushConfig.smoothingLinear": "直線",
|
|
86
|
+
"paintCanvas.brushConfig.smoothingQuadratic": "二次曲線",
|
|
87
|
+
"paintCanvas.brushConfig.smoothingCubic": "三次曲線",
|
|
88
|
+
"paintCanvas.brushConfig.randomise": "隨機",
|
|
89
|
+
"paintCanvas.brushConfig.deletePreset": "刪除預設…",
|
|
90
|
+
"paintCanvas.brushConfig.shapeFailed": "無法使用此筆刷形狀",
|
|
91
|
+
"paintCanvas.brushConfig.test": "試畫",
|
|
92
|
+
"paintCanvas.brushConfig.testArea": "筆刷試畫區域",
|
|
93
|
+
"paintCanvas.shape.notPng": "筆刷形狀必須是 PNG 影像",
|
|
94
|
+
"paintCanvas.shape.tooLarge": "筆刷形狀影像最大為 2 MB",
|
|
95
|
+
"paintCanvas.shape.readFailed": "無法讀取筆刷形狀影像",
|
|
96
|
+
"paintCanvas.shape.noPngToPaste": "沒有可貼上的 PNG 影像",
|
|
97
|
+
"paintCanvas.layers.label": "圖層",
|
|
98
|
+
"paintCanvas.layers.new": "新增圖層",
|
|
99
|
+
"paintCanvas.layers.defaultName": "圖層 {number}",
|
|
100
|
+
"paintCanvas.layers.name": "圖層名稱",
|
|
101
|
+
"paintCanvas.layers.visible": "顯示",
|
|
102
|
+
"paintCanvas.layers.alphaLock": "鎖定透明像素",
|
|
103
|
+
"paintCanvas.layers.blendMode": "混合模式",
|
|
104
|
+
"paintCanvas.layers.actions": "圖層動作",
|
|
105
|
+
"paintCanvas.layers.reorder": "調整{name}的順序:拖曳,或按下以顯示動作",
|
|
106
|
+
"paintCanvas.layers.duplicate": "複製",
|
|
107
|
+
"paintCanvas.layers.createMask": "建立遮罩",
|
|
108
|
+
"paintCanvas.layers.moveUp": "上移",
|
|
109
|
+
"paintCanvas.layers.moveDown": "下移",
|
|
110
|
+
"paintCanvas.layers.moveToTop": "移到最上層",
|
|
111
|
+
"paintCanvas.layers.moveToBottom": "移到最下層",
|
|
112
|
+
"paintCanvas.layers.mergeDown": "向下合併…",
|
|
113
|
+
"paintCanvas.layers.mergeDownConfirm": "確定要將此圖層與下方圖層合併嗎?",
|
|
114
|
+
"paintCanvas.layers.mergeLayer": "合併圖層",
|
|
115
|
+
"paintCanvas.layers.clearConfirm": "要清除「{name}」上的所有影像嗎?",
|
|
116
|
+
"paintCanvas.layers.deleteConfirm": "要刪除「{name}」嗎?",
|
|
117
|
+
"paintCanvas.blendMode.normal": "正常",
|
|
118
|
+
"paintCanvas.blendMode.screen": "濾色",
|
|
119
|
+
"paintCanvas.blendMode.lighten": "變亮",
|
|
120
|
+
"paintCanvas.blendMode.multiply": "色彩增值",
|
|
121
|
+
"paintCanvas.blendMode.darken": "變暗",
|
|
122
|
+
"paintCanvas.blendMode.overlay": "覆蓋",
|
|
123
|
+
"paintCanvas.canvas.label": "繪圖畫布",
|
|
124
|
+
"paintCanvas.canvas.map": "畫布導覽",
|
|
125
|
+
"paintCanvas.canvas.loading": "正在載入畫布…",
|
|
126
|
+
"paintCanvas.inputSettings.title": "操作",
|
|
127
|
+
"paintCanvas.inputSettings.scrollPan": "捲動或雙指滑動以平移",
|
|
128
|
+
"paintCanvas.inputSettings.touchPan": "雙指拖曳以平移",
|
|
129
|
+
"paintCanvas.inputSettings.pinchZoom": "雙指撥動以縮放",
|
|
130
|
+
"paintCanvas.inputSettings.modifierScrollZoom": "{key} + 捲動以縮放",
|
|
131
|
+
"paintCanvas.inputSettings.focusPen": "僅限觸控筆模式:手指和手掌不會繪圖",
|
|
132
|
+
"paintCanvas.inputSettings.gestures": "觸控手勢",
|
|
133
|
+
"paintCanvas.inputSettings.language": "語言",
|
|
134
|
+
"paintCanvas.gesture.tap2": "雙指點一下",
|
|
135
|
+
"paintCanvas.gesture.tap3": "三指點一下",
|
|
136
|
+
"paintCanvas.gesture.swipeUp3": "三指向上滑動",
|
|
137
|
+
"paintCanvas.gesture.swipeDown3": "三指向下滑動",
|
|
138
|
+
"paintCanvas.gesture.swipeLeft3": "三指向左滑動",
|
|
139
|
+
"paintCanvas.gesture.swipeRight3": "三指向右滑動",
|
|
140
|
+
"paintCanvas.gesture.swipeIn3": "三指捏合",
|
|
141
|
+
"paintCanvas.gesture.swipeOut3": "三指張開",
|
|
142
|
+
"paintCanvas.toolSettings.selectAll": "全選",
|
|
143
|
+
"paintCanvas.toolSettings.invertSelection": "反轉選取範圍",
|
|
144
|
+
"paintCanvas.toolSettings.deselect": "取消選取",
|
|
145
|
+
"paintCanvas.toolSettings.percent": "百分比",
|
|
146
|
+
"paintCanvas.toolSettings.reset": "重設",
|
|
147
|
+
"paintCanvas.brushMenu.importFile": "匯入預設檔案",
|
|
148
|
+
"paintCanvas.brushConfig.name": "名稱",
|
|
149
|
+
"paintCanvas.brushConfig.snapToPixelGrid": "對齊像素格線",
|
|
150
|
+
"paintCanvas.brushConfig.addToPresets": "加入預設",
|
|
151
|
+
"paintCanvas.brushConfig.variation": "{param}:{source}",
|
|
152
|
+
"paintCanvas.layers.mergeDownTitle": "向下合併",
|
|
153
|
+
"paintCanvas.layers.clear": "清除…",
|
|
154
|
+
"paintCanvas.layers.delete": "刪除…",
|
|
155
|
+
"paintCanvas.layers.clearTitle": "清除圖層",
|
|
156
|
+
"paintCanvas.layers.deleteTitle": "刪除圖層",
|
|
157
|
+
"paintCanvas.toolSettings.angle": "角度",
|
|
158
|
+
"paintCanvas.layout.tools": "工具",
|
|
159
|
+
"paintCanvas.layout.toolSettings": "工具設定",
|
|
160
|
+
"paintCanvas.layout.panels": "面板",
|
|
161
|
+
"paintCanvas.layout.status": "狀態",
|
|
162
|
+
"paintCanvas.layout.canvas": "畫布",
|
|
163
|
+
"paintCanvas.layout.show": "顯示{name}",
|
|
164
|
+
"paintCanvas.layout.hide": "隱藏{name}",
|
|
165
|
+
"paintCanvas.layout.new": "{name}(有新內容)",
|
|
166
|
+
"paintCanvas.brushConfig.newPresetName": "新筆刷",
|
|
167
|
+
"paintCanvas.autosave.elsewhere": "你已在另一個視窗中繪畫",
|
|
168
|
+
"paintCanvas.autosave.elsewhereMessage": "此畫作已在另一個視窗或分頁中開啟,一次只能在一個視窗中繪畫。選擇「在此繪畫」即可在此視窗繼續(另一個視窗將停止)。",
|
|
169
|
+
"paintCanvas.autosave.takeOver": "在此繪畫",
|
|
170
|
+
"paintCanvas.autosave.failed": "無法在此瀏覽器中儲存畫作",
|
|
171
|
+
"paintCanvas.stats.label": "畫布詳細資料",
|
|
172
|
+
"paintCanvas.stats.size": "畫布:{width} × {height} 像素",
|
|
173
|
+
"paintCanvas.stats.zoom": "縮放:{zoom}",
|
|
174
|
+
"paintCanvas.stats.colour": "顏色:{colour}",
|
|
175
|
+
"paintCanvas.stats.stored": "已儲存:{size}",
|
|
176
|
+
"paintCanvas.theme.label": "主題",
|
|
177
|
+
"paintCanvas.theme.light": "淺色",
|
|
178
|
+
"paintCanvas.theme.dark": "深色",
|
|
179
|
+
"paintCanvas.theme.auto": "自動"
|
|
187
180
|
};
|
|
188
181
|
export { zh_Hant_default as default };
|
package/dist/package.js
CHANGED
package/dist/ui/base/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const emit: <T>(target: EventTarget, type: string, detail?: T) =>
|
|
|
23
23
|
* @example
|
|
24
24
|
* class PcThing extends PcElement {
|
|
25
25
|
* override render() {
|
|
26
|
-
* return html`<button>${this.t("common.close")}</button>`;
|
|
26
|
+
* return html`<button>${this.t("paintCanvas.common.close")}</button>`;
|
|
27
27
|
* }
|
|
28
28
|
* }
|
|
29
29
|
*/
|
package/dist/ui/base/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var emit = (target, type, detail) => target.dispatchEvent(new CustomEvent(type,
|
|
|
32
32
|
* @example
|
|
33
33
|
* class PcThing extends PcElement {
|
|
34
34
|
* override render() {
|
|
35
|
-
* return html`<button>${this.t("common.close")}</button>`;
|
|
35
|
+
* return html`<button>${this.t("paintCanvas.common.close")}</button>`;
|
|
36
36
|
* }
|
|
37
37
|
* }
|
|
38
38
|
*/
|
|
@@ -132,7 +132,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
132
132
|
this.input = kind === "pen" || kind === "touch" ? kind : "mouse";
|
|
133
133
|
};
|
|
134
134
|
onAutosaveError = () => emit(this, "pc-toast", {
|
|
135
|
-
message: this.t("autosave.failed"),
|
|
135
|
+
message: this.t("paintCanvas.autosave.failed"),
|
|
136
136
|
kind: "error"
|
|
137
137
|
});
|
|
138
138
|
onShortcut = (event) => {
|
|
@@ -324,7 +324,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
324
324
|
kind,
|
|
325
325
|
config: {
|
|
326
326
|
...settings.preset,
|
|
327
|
-
name: this.t("brushConfig.newPresetName"),
|
|
327
|
+
name: this.t("paintCanvas.brushConfig.newPresetName"),
|
|
328
328
|
width: settings.width,
|
|
329
329
|
height: settings.height
|
|
330
330
|
}
|
|
@@ -425,7 +425,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
425
425
|
${panels.map((panel) => html`<button
|
|
426
426
|
type="button"
|
|
427
427
|
title=${panel.label}
|
|
428
|
-
aria-label=${panel.badge ? this.t("layout.new", { name: panel.label }) : panel.label}
|
|
428
|
+
aria-label=${panel.badge ? this.t("paintCanvas.layout.new", { name: panel.label }) : panel.label}
|
|
429
429
|
aria-expanded=${String(this.openPanel === panel)}
|
|
430
430
|
@click=${(event) => this.togglePanel(panel, event.currentTarget)}
|
|
431
431
|
>
|
|
@@ -437,7 +437,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
437
437
|
/** A side, in its mode */
|
|
438
438
|
renderSide(side, app, blocked) {
|
|
439
439
|
const mode = this.modeOf(side);
|
|
440
|
-
const label = this.t(side === "left" ? "layout.tools" : "layout.panels");
|
|
440
|
+
const label = this.t(side === "left" ? "paintCanvas.layout.tools" : "paintCanvas.layout.panels");
|
|
441
441
|
const slot = html`<slot
|
|
442
442
|
name=${side}
|
|
443
443
|
@slotchange=${(event) => this.onSideSlotChange(side, event)}
|
|
@@ -456,7 +456,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
456
456
|
type="button"
|
|
457
457
|
class="collapse"
|
|
458
458
|
aria-expanded=${String(!collapsed)}
|
|
459
|
-
aria-label=${this.t(collapsed ? "layout.show" : "layout.hide", { name: label })}
|
|
459
|
+
aria-label=${this.t(collapsed ? "paintCanvas.layout.show" : "paintCanvas.layout.hide", { name: label })}
|
|
460
460
|
@click=${() => this.collapsed = {
|
|
461
461
|
...this.collapsed,
|
|
462
462
|
[side]: !collapsed
|
|
@@ -513,12 +513,12 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
513
513
|
renderBlocked(app) {
|
|
514
514
|
const choices = [{
|
|
515
515
|
value: TAKE_OVER_CHOICE,
|
|
516
|
-
label: this.t("autosave.takeOver")
|
|
516
|
+
label: this.t("paintCanvas.autosave.takeOver")
|
|
517
517
|
}];
|
|
518
518
|
return html`<pc-dialog
|
|
519
519
|
class="elsewhere"
|
|
520
|
-
heading=${this.t("autosave.elsewhere")}
|
|
521
|
-
message=${this.t("autosave.elsewhereMessage")}
|
|
520
|
+
heading=${this.t("paintCanvas.autosave.elsewhere")}
|
|
521
|
+
message=${this.t("paintCanvas.autosave.elsewhereMessage")}
|
|
522
522
|
.choices=${choices}
|
|
523
523
|
@pc-choose=${(event) => {
|
|
524
524
|
if (event.detail.value === TAKE_OVER_CHOICE) app.autosave?.takeOver();
|
|
@@ -537,7 +537,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
537
537
|
class="top"
|
|
538
538
|
part="top"
|
|
539
539
|
role="region"
|
|
540
|
-
aria-label=${this.t("layout.toolSettings")}
|
|
540
|
+
aria-label=${this.t("paintCanvas.layout.toolSettings")}
|
|
541
541
|
?inert=${blocked}
|
|
542
542
|
>
|
|
543
543
|
${this.slotWithDefault("top", showsToolSettings ? html`<pc-tool-settings
|
|
@@ -549,7 +549,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
549
549
|
class="center"
|
|
550
550
|
part="center"
|
|
551
551
|
role="region"
|
|
552
|
-
aria-label=${this.t("layout.canvas")}
|
|
552
|
+
aria-label=${this.t("paintCanvas.layout.canvas")}
|
|
553
553
|
?inert=${blocked}
|
|
554
554
|
>
|
|
555
555
|
${this.slotWithDefault("center", html`<pc-canvas
|
|
@@ -568,7 +568,7 @@ var PaintCanvasElement = class extends PcElement {
|
|
|
568
568
|
class="bottom"
|
|
569
569
|
part="bottom"
|
|
570
570
|
role="region"
|
|
571
|
-
aria-label=${this.t("layout.status")}
|
|
571
|
+
aria-label=${this.t("paintCanvas.layout.status")}
|
|
572
572
|
?inert=${blocked}
|
|
573
573
|
>
|
|
574
574
|
<slot name="bottom"></slot>
|
|
@@ -11,15 +11,15 @@ export type PromptFn = (message: string, value: string) => string | null;
|
|
|
11
11
|
/** The smoothing choices, in the order shown: value, translation key of the name, and icon name */
|
|
12
12
|
export declare const SMOOTHING_CHOICES: readonly [{
|
|
13
13
|
readonly value: SmoothingType.Linear;
|
|
14
|
-
readonly label: "brushConfig.smoothingLinear";
|
|
14
|
+
readonly label: "paintCanvas.brushConfig.smoothingLinear";
|
|
15
15
|
readonly icon: "smoothingLinear";
|
|
16
16
|
}, {
|
|
17
17
|
readonly value: SmoothingType.BezierQuad;
|
|
18
|
-
readonly label: "brushConfig.smoothingQuadratic";
|
|
18
|
+
readonly label: "paintCanvas.brushConfig.smoothingQuadratic";
|
|
19
19
|
readonly icon: "smoothingBezierQuad";
|
|
20
20
|
}, {
|
|
21
21
|
readonly value: SmoothingType.BezierCubic;
|
|
22
|
-
readonly label: "brushConfig.smoothingCubic";
|
|
22
|
+
readonly label: "paintCanvas.brushConfig.smoothingCubic";
|
|
23
23
|
readonly icon: "smoothingBezierCubic";
|
|
24
24
|
}];
|
|
25
25
|
/**
|