@lvl99dotcom/paintcanvas 0.5.0 → 0.7.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/brushes/configRanges/index.d.ts +17 -0
- package/dist/lib/brushes/configRanges/index.js +31 -1
- package/dist/lib/brushes/params/index.d.ts +2 -1
- package/dist/lib/brushes/params/index.js +7 -4
- package/dist/lib/brushes/types/index.d.ts +8 -0
- package/dist/lib/classes/Layer/index.d.ts +10 -0
- package/dist/lib/classes/Layer/index.js +15 -1
- package/dist/lib/classes/LayerAutosave/index.d.ts +9 -15
- package/dist/lib/classes/LayerAutosave/index.js +30 -43
- package/dist/lib/classes/LayerStack/index.d.ts +15 -0
- package/dist/lib/classes/LayerStack/index.js +26 -2
- package/dist/lib/classes/PaintCanvas/index.d.ts +36 -5
- package/dist/lib/classes/PaintCanvas/index.js +45 -14
- package/dist/lib/classes/PngEncoder/index.d.ts +41 -0
- package/dist/lib/classes/PngEncoder/index.js +104 -0
- package/dist/lib/classes/ProfileGraphs/index.d.ts +87 -0
- package/dist/lib/classes/ProfileGraphs/index.js +148 -0
- package/dist/lib/classes/SettingsAutosave/index.d.ts +1 -1
- package/dist/lib/classes/SettingsAutosave/index.js +2 -1
- package/dist/lib/classes/UiSettings/index.d.ts +24 -2
- package/dist/lib/classes/UiSettings/index.js +32 -7
- package/dist/lib/messages/schema.d.ts +720 -0
- package/dist/lib/presets/schema.d.ts +360 -0
- package/dist/lib/presets/schema.js +8 -1
- package/dist/lib/profiles/index.d.ts +61 -0
- package/dist/lib/profiles/index.js +131 -0
- package/dist/lib/profiles/schema.d.ts +73 -0
- package/dist/lib/profiles/schema.js +53 -0
- package/dist/lib/rendering/sample/index.d.ts +11 -0
- package/dist/lib/rendering/sample/index.js +36 -5
- package/dist/lib/settings/index.d.ts +2 -1
- package/dist/lib/settings/index.js +4 -1
- package/dist/lib/settings/schema.d.ts +53 -1
- package/dist/lib/settings/schema.js +9 -2
- package/dist/lib/storage/index.d.ts +26 -0
- package/dist/lib/storage/index.js +38 -1
- package/dist/lib/validation/validators.generated.js +13061 -3675
- package/dist/lib/version/index.d.ts +25 -0
- package/dist/lib/version/index.js +35 -0
- package/dist/locales/en-GB.js +35 -0
- package/dist/locales/en-US.js +35 -0
- package/dist/locales/fr.js +35 -0
- package/dist/locales/ja.js +35 -0
- package/dist/locales/ko.js +35 -0
- package/dist/locales/zh-Hans.js +35 -0
- package/dist/locales/zh-Hant.js +35 -0
- package/dist/package.js +1 -1
- package/dist/ui/ask/index.d.ts +48 -0
- package/dist/ui/ask/index.js +67 -0
- package/dist/ui/base/index.d.ts +8 -1
- package/dist/ui/base/index.js +19 -4
- package/dist/ui/elements/PaintCanvas/index.d.ts +13 -3
- package/dist/ui/elements/PaintCanvas/index.js +25 -6
- package/dist/ui/elements/PaintCanvas/style.js +1 -1
- package/dist/ui/elements/PcAppSettings/index.d.ts +15 -7
- package/dist/ui/elements/PcAppSettings/index.js +53 -62
- package/dist/ui/elements/PcBrushConfig/index.d.ts +26 -14
- package/dist/ui/elements/PcBrushConfig/index.js +214 -145
- package/dist/ui/elements/PcBrushConfig/style.js +1 -1
- package/dist/ui/elements/PcBrushTest/index.d.ts +1 -0
- package/dist/ui/elements/PcBrushTest/index.js +15 -9
- package/dist/ui/elements/PcBrushTest/style.js +1 -1
- package/dist/ui/elements/PcButton/index.d.ts +12 -3
- package/dist/ui/elements/PcButton/index.js +18 -10
- package/dist/ui/elements/PcButtonMenu/index.d.ts +88 -0
- package/dist/ui/elements/PcButtonMenu/index.js +125 -0
- package/dist/ui/elements/PcCanvas/index.d.ts +15 -1
- package/dist/ui/elements/PcCanvas/index.js +42 -19
- package/dist/ui/elements/PcCanvas/style.js +1 -1
- package/dist/ui/elements/PcClipboardTools/index.d.ts +11 -7
- package/dist/ui/elements/PcClipboardTools/index.js +30 -29
- package/dist/ui/elements/PcDialog/index.d.ts +46 -10
- package/dist/ui/elements/PcDialog/index.js +102 -51
- package/dist/ui/elements/PcDialogWindow/index.d.ts +141 -0
- package/dist/ui/elements/PcDialogWindow/index.js +385 -0
- package/dist/ui/elements/PcInputSettings/index.d.ts +2 -1
- package/dist/ui/elements/PcInputSettings/index.js +9 -15
- package/dist/ui/elements/PcLayerItem/index.d.ts +21 -6
- package/dist/ui/elements/PcLayerItem/index.js +53 -26
- package/dist/ui/elements/PcLayerItem/style.js +1 -1
- package/dist/ui/elements/PcPanelBrushes/index.d.ts +3 -2
- package/dist/ui/elements/PcPanelBrushes/index.js +7 -5
- package/dist/ui/elements/PcPanelBrushes/style.js +1 -1
- package/dist/ui/elements/PcPanelColours/index.js +2 -2
- package/dist/ui/elements/PcPanelColours/style.js +1 -1
- package/dist/ui/elements/PcPanelLayers/index.js +1 -1
- package/dist/ui/elements/PcPanelLayers/style.js +1 -1
- package/dist/ui/elements/PcProfileEditor/index.d.ts +103 -0
- package/dist/ui/elements/PcProfileEditor/index.js +259 -0
- package/dist/ui/elements/PcProfileGraph/index.d.ts +84 -0
- package/dist/ui/elements/PcProfileGraph/index.js +317 -0
- package/dist/ui/elements/PcShortcutSettings/index.js +9 -13
- package/dist/ui/elements/PcSliderRange/index.d.ts +147 -0
- package/dist/ui/elements/PcSliderRange/index.js +308 -0
- package/dist/ui/elements/PcStats/index.d.ts +19 -4
- package/dist/ui/elements/PcStats/index.js +29 -13
- package/dist/ui/elements/PcToggleCheckbox/index.d.ts +13 -2
- package/dist/ui/elements/PcToggleCheckbox/index.js +27 -8
- package/dist/ui/elements/PcToolSettings/index.d.ts +1 -0
- package/dist/ui/elements/PcToolSettings/index.js +14 -14
- package/dist/ui/elements/PcVersion/index.d.ts +12 -0
- package/dist/ui/elements/PcVersion/index.js +43 -0
- package/dist/ui/icons/images/icon-profile-graph@2x.js +3 -0
- package/dist/ui/icons/index.d.ts +1 -1
- package/dist/ui/icons/index.js +2 -0
- package/dist/ui/index.d.ts +9 -2
- package/dist/ui/index.js +9 -2
- package/dist/ui/layout/index.d.ts +2 -2
- package/dist/ui/layout/index.js +2 -2
- package/dist/ui/styles/index.d.ts +21 -1
- package/dist/ui/styles/index.js +73 -14
- package/locales/en-GB.json +35 -0
- package/locales/en-US.json +35 -0
- package/locales/fr.json +35 -0
- package/locales/ja.json +35 -0
- package/locales/ko.json +35 -0
- package/locales/zh-Hans.json +35 -0
- package/locales/zh-Hant.json +35 -0
- package/package.json +25 -23
package/locales/ja.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"paintCanvas.common.clear": "クリア",
|
|
8
8
|
"paintCanvas.common.cut": "切り取り",
|
|
9
9
|
"paintCanvas.common.copy": "コピー",
|
|
10
|
+
"paintCanvas.common.copyMerged": "結合部分をコピー",
|
|
10
11
|
"paintCanvas.common.paste": "ペースト",
|
|
11
12
|
"paintCanvas.common.undo": "取り消す",
|
|
12
13
|
"paintCanvas.common.redo": "やり直す",
|
|
@@ -16,6 +17,31 @@
|
|
|
16
17
|
"paintCanvas.common.height": "高さ",
|
|
17
18
|
"paintCanvas.common.size": "サイズ",
|
|
18
19
|
"paintCanvas.common.opacity": "不透明度",
|
|
20
|
+
"paintCanvas.range.low": "{label}(最小)",
|
|
21
|
+
"paintCanvas.range.high": "{label}(最大)",
|
|
22
|
+
"paintCanvas.profileGraph.point": "点 {number}:{x}, {y}",
|
|
23
|
+
"paintCanvas.profileGraph.remove": "点を削除",
|
|
24
|
+
"paintCanvas.profileGraph.linear": "角(直線)",
|
|
25
|
+
"paintCanvas.profileGraph.bezier": "なめらか(3次ベジェ)",
|
|
26
|
+
"paintCanvas.profiles.linear": "リニア",
|
|
27
|
+
"paintCanvas.profiles.overweight": "重め",
|
|
28
|
+
"paintCanvas.profiles.underweight": "軽め",
|
|
29
|
+
"paintCanvas.profileEditor.title": "{param}のプロファイルグラフ",
|
|
30
|
+
"paintCanvas.profileEditor.button": "{param}:プロファイルグラフ",
|
|
31
|
+
"paintCanvas.profileEditor.custom": "カスタム",
|
|
32
|
+
"paintCanvas.profileEditor.actions": "グラフの操作",
|
|
33
|
+
"paintCanvas.profileEditor.new": "新しいグラフ",
|
|
34
|
+
"paintCanvas.profileEditor.duplicate": "複製…",
|
|
35
|
+
"paintCanvas.profileEditor.rename": "名前を変更…",
|
|
36
|
+
"paintCanvas.profileEditor.delete": "削除…",
|
|
37
|
+
"paintCanvas.profileEditor.reset": "リセット",
|
|
38
|
+
"paintCanvas.profileEditor.name": "名前",
|
|
39
|
+
"paintCanvas.profileEditor.saveHeading": "グラフを保存",
|
|
40
|
+
"paintCanvas.profileEditor.renameHeading": "グラフの名前を変更",
|
|
41
|
+
"paintCanvas.profileEditor.deleteHeading": "グラフを削除",
|
|
42
|
+
"paintCanvas.profileEditor.deleteConfirm": "「{name}」を削除しますか?元に戻せません。",
|
|
43
|
+
"paintCanvas.profileEditor.replaceHeading": "グラフを置き換え",
|
|
44
|
+
"paintCanvas.profileEditor.replaceConfirm": "「{name}」という名前のグラフがすでにあります。置き換えますか?",
|
|
19
45
|
"paintCanvas.tool.brush": "ブラシ",
|
|
20
46
|
"paintCanvas.tool.eraser": "消しゴム",
|
|
21
47
|
"paintCanvas.tool.move": "移動・拡大縮小・回転",
|
|
@@ -88,6 +114,9 @@
|
|
|
88
114
|
"paintCanvas.presets.myPresets": "マイプリセット",
|
|
89
115
|
"paintCanvas.presets.unknownAuthor": "不明",
|
|
90
116
|
"paintCanvas.presets.deleteConfirm": "「{name}」を削除しますか?元に戻せません。",
|
|
117
|
+
"paintCanvas.presets.deleteHeading": "プリセットを削除",
|
|
118
|
+
"paintCanvas.presets.replaceHeading": "プリセットを置き換え",
|
|
119
|
+
"paintCanvas.presets.replace": "置き換え",
|
|
91
120
|
"paintCanvas.presets.deleted": "「{name}」を削除しました",
|
|
92
121
|
"paintCanvas.presets.deleteFailed": "「{name}」を削除できませんでした",
|
|
93
122
|
"paintCanvas.presets.saved": "「{name}」をマイプリセットに保存しました",
|
|
@@ -134,6 +163,8 @@
|
|
|
134
163
|
"paintCanvas.layers.alphaLock": "透明部分をロック",
|
|
135
164
|
"paintCanvas.layers.blendMode": "描画モード",
|
|
136
165
|
"paintCanvas.layers.actions": "レイヤーの操作",
|
|
166
|
+
"paintCanvas.layers.rename": "名前を変更…",
|
|
167
|
+
"paintCanvas.layers.renameTitle": "レイヤー名を変更",
|
|
137
168
|
"paintCanvas.layers.reorder": "{name}の並べ替え:ドラッグ、または押して操作を表示",
|
|
138
169
|
"paintCanvas.layers.duplicate": "複製",
|
|
139
170
|
"paintCanvas.layers.createMask": "マスクを作成",
|
|
@@ -181,6 +212,7 @@
|
|
|
181
212
|
"paintCanvas.brushConfig.snapToPixelGrid": "ピクセルグリッドに吸着",
|
|
182
213
|
"paintCanvas.brushConfig.addToPresets": "プリセットに追加",
|
|
183
214
|
"paintCanvas.brushConfig.variation": "{param}:{source}",
|
|
215
|
+
"paintCanvas.brushConfig.varyWith": "{param}:変化の元",
|
|
184
216
|
"paintCanvas.layers.mergeDownTitle": "下のレイヤーと結合",
|
|
185
217
|
"paintCanvas.layers.clear": "クリア…",
|
|
186
218
|
"paintCanvas.layers.delete": "削除…",
|
|
@@ -260,6 +292,9 @@
|
|
|
260
292
|
"paintCanvas.settings.fileIncompatible": "この設定のJSONファイルには対応していません",
|
|
261
293
|
"paintCanvas.settings.fileReadFailed": "設定のJSONファイルを読み込めませんでした",
|
|
262
294
|
"paintCanvas.settings.exportFailed": "設定のJSONファイルを書き出せませんでした",
|
|
295
|
+
"paintCanvas.settings.gpu": "GPU で描画する",
|
|
296
|
+
"paintCanvas.settings.gpuHint": "描画が遅い場合にお試しください。ページを再読み込みすると適用されます。",
|
|
297
|
+
"paintCanvas.settings.reloadToApply": "この変更を適用するにはページを再読み込みしてください。",
|
|
263
298
|
"paintCanvas.stats.label": "キャンバスの詳細",
|
|
264
299
|
"paintCanvas.stats.size": "キャンバス: {width} × {height} px",
|
|
265
300
|
"paintCanvas.stats.zoom": "ズーム: {zoom}",
|
package/locales/ko.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"paintCanvas.common.clear": "지우기",
|
|
8
8
|
"paintCanvas.common.cut": "잘라내기",
|
|
9
9
|
"paintCanvas.common.copy": "복사",
|
|
10
|
+
"paintCanvas.common.copyMerged": "병합하여 복사",
|
|
10
11
|
"paintCanvas.common.paste": "붙여넣기",
|
|
11
12
|
"paintCanvas.common.undo": "실행 취소",
|
|
12
13
|
"paintCanvas.common.redo": "다시 실행",
|
|
@@ -16,6 +17,31 @@
|
|
|
16
17
|
"paintCanvas.common.height": "높이",
|
|
17
18
|
"paintCanvas.common.size": "크기",
|
|
18
19
|
"paintCanvas.common.opacity": "불투명도",
|
|
20
|
+
"paintCanvas.range.low": "{label} (최소)",
|
|
21
|
+
"paintCanvas.range.high": "{label} (최대)",
|
|
22
|
+
"paintCanvas.profileGraph.point": "점 {number}: {x}, {y}",
|
|
23
|
+
"paintCanvas.profileGraph.remove": "점 삭제",
|
|
24
|
+
"paintCanvas.profileGraph.linear": "뾰족한 모서리 (선형)",
|
|
25
|
+
"paintCanvas.profileGraph.bezier": "부드럽게 (3차 베지어)",
|
|
26
|
+
"paintCanvas.profiles.linear": "선형",
|
|
27
|
+
"paintCanvas.profiles.overweight": "강하게",
|
|
28
|
+
"paintCanvas.profiles.underweight": "약하게",
|
|
29
|
+
"paintCanvas.profileEditor.title": "{param} 프로필 그래프",
|
|
30
|
+
"paintCanvas.profileEditor.button": "{param}: 프로필 그래프",
|
|
31
|
+
"paintCanvas.profileEditor.custom": "사용자 지정",
|
|
32
|
+
"paintCanvas.profileEditor.actions": "그래프 작업",
|
|
33
|
+
"paintCanvas.profileEditor.new": "새 그래프",
|
|
34
|
+
"paintCanvas.profileEditor.duplicate": "복제…",
|
|
35
|
+
"paintCanvas.profileEditor.rename": "이름 바꾸기…",
|
|
36
|
+
"paintCanvas.profileEditor.delete": "삭제…",
|
|
37
|
+
"paintCanvas.profileEditor.reset": "초기화",
|
|
38
|
+
"paintCanvas.profileEditor.name": "이름",
|
|
39
|
+
"paintCanvas.profileEditor.saveHeading": "그래프 저장",
|
|
40
|
+
"paintCanvas.profileEditor.renameHeading": "그래프 이름 바꾸기",
|
|
41
|
+
"paintCanvas.profileEditor.deleteHeading": "그래프 삭제",
|
|
42
|
+
"paintCanvas.profileEditor.deleteConfirm": "\"{name}\"을(를) 삭제할까요? 되돌릴 수 없습니다.",
|
|
43
|
+
"paintCanvas.profileEditor.replaceHeading": "그래프 바꾸기",
|
|
44
|
+
"paintCanvas.profileEditor.replaceConfirm": "\"{name}\"(이)라는 그래프가 이미 있습니다. 바꿀까요?",
|
|
19
45
|
"paintCanvas.tool.brush": "브러시",
|
|
20
46
|
"paintCanvas.tool.eraser": "지우개",
|
|
21
47
|
"paintCanvas.tool.move": "이동, 크기 조절 및 회전",
|
|
@@ -88,6 +114,9 @@
|
|
|
88
114
|
"paintCanvas.presets.myPresets": "내 프리셋",
|
|
89
115
|
"paintCanvas.presets.unknownAuthor": "알 수 없음",
|
|
90
116
|
"paintCanvas.presets.deleteConfirm": "\"{name}\"을(를) 삭제할까요? 되돌릴 수 없습니다.",
|
|
117
|
+
"paintCanvas.presets.deleteHeading": "프리셋 삭제",
|
|
118
|
+
"paintCanvas.presets.replaceHeading": "프리셋 바꾸기",
|
|
119
|
+
"paintCanvas.presets.replace": "바꾸기",
|
|
91
120
|
"paintCanvas.presets.deleted": "\"{name}\"을(를) 삭제했습니다",
|
|
92
121
|
"paintCanvas.presets.deleteFailed": "\"{name}\"을(를) 삭제하지 못했습니다",
|
|
93
122
|
"paintCanvas.presets.saved": "\"{name}\"을(를) 내 프리셋에 저장했습니다",
|
|
@@ -134,6 +163,8 @@
|
|
|
134
163
|
"paintCanvas.layers.alphaLock": "투명 픽셀 잠금",
|
|
135
164
|
"paintCanvas.layers.blendMode": "혼합 모드",
|
|
136
165
|
"paintCanvas.layers.actions": "레이어 작업",
|
|
166
|
+
"paintCanvas.layers.rename": "이름 바꾸기…",
|
|
167
|
+
"paintCanvas.layers.renameTitle": "레이어 이름 바꾸기",
|
|
137
168
|
"paintCanvas.layers.reorder": "{name} 순서 변경: 드래그하거나 눌러서 작업 보기",
|
|
138
169
|
"paintCanvas.layers.duplicate": "복제",
|
|
139
170
|
"paintCanvas.layers.createMask": "마스크 만들기",
|
|
@@ -181,6 +212,7 @@
|
|
|
181
212
|
"paintCanvas.brushConfig.snapToPixelGrid": "픽셀 격자에 맞추기",
|
|
182
213
|
"paintCanvas.brushConfig.addToPresets": "프리셋에 추가",
|
|
183
214
|
"paintCanvas.brushConfig.variation": "{param}: {source}",
|
|
215
|
+
"paintCanvas.brushConfig.varyWith": "{param}: 변화 기준",
|
|
184
216
|
"paintCanvas.layers.mergeDownTitle": "아래 레이어와 병합",
|
|
185
217
|
"paintCanvas.layers.clear": "지우기…",
|
|
186
218
|
"paintCanvas.layers.delete": "삭제…",
|
|
@@ -260,6 +292,9 @@
|
|
|
260
292
|
"paintCanvas.settings.fileIncompatible": "호환되지 않는 설정 JSON 파일입니다",
|
|
261
293
|
"paintCanvas.settings.fileReadFailed": "설정 JSON 파일을 읽지 못했습니다",
|
|
262
294
|
"paintCanvas.settings.exportFailed": "설정 JSON 파일을 내보내지 못했습니다",
|
|
295
|
+
"paintCanvas.settings.gpu": "GPU로 그리기",
|
|
296
|
+
"paintCanvas.settings.gpuHint": "그리기가 느리면 사용해 보세요. 페이지를 새로 고친 후 적용됩니다.",
|
|
297
|
+
"paintCanvas.settings.reloadToApply": "이 변경 사항을 적용하려면 페이지를 새로 고치세요.",
|
|
263
298
|
"paintCanvas.stats.label": "캔버스 정보",
|
|
264
299
|
"paintCanvas.stats.size": "캔버스: {width} × {height} px",
|
|
265
300
|
"paintCanvas.stats.zoom": "확대/축소: {zoom}",
|
package/locales/zh-Hans.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"paintCanvas.common.clear": "清除",
|
|
8
8
|
"paintCanvas.common.cut": "剪切",
|
|
9
9
|
"paintCanvas.common.copy": "复制",
|
|
10
|
+
"paintCanvas.common.copyMerged": "合并拷贝",
|
|
10
11
|
"paintCanvas.common.paste": "粘贴",
|
|
11
12
|
"paintCanvas.common.undo": "撤销",
|
|
12
13
|
"paintCanvas.common.redo": "重做",
|
|
@@ -16,6 +17,31 @@
|
|
|
16
17
|
"paintCanvas.common.height": "高度",
|
|
17
18
|
"paintCanvas.common.size": "大小",
|
|
18
19
|
"paintCanvas.common.opacity": "不透明度",
|
|
20
|
+
"paintCanvas.range.low": "{label}(最小)",
|
|
21
|
+
"paintCanvas.range.high": "{label}(最大)",
|
|
22
|
+
"paintCanvas.profileGraph.point": "点 {number}:{x}, {y}",
|
|
23
|
+
"paintCanvas.profileGraph.remove": "删除点",
|
|
24
|
+
"paintCanvas.profileGraph.linear": "尖角(线性)",
|
|
25
|
+
"paintCanvas.profileGraph.bezier": "平滑(三次贝塞尔)",
|
|
26
|
+
"paintCanvas.profiles.linear": "线性",
|
|
27
|
+
"paintCanvas.profiles.overweight": "偏重",
|
|
28
|
+
"paintCanvas.profiles.underweight": "偏轻",
|
|
29
|
+
"paintCanvas.profileEditor.title": "{param}曲线",
|
|
30
|
+
"paintCanvas.profileEditor.button": "{param}:曲线",
|
|
31
|
+
"paintCanvas.profileEditor.custom": "自定义",
|
|
32
|
+
"paintCanvas.profileEditor.actions": "曲线操作",
|
|
33
|
+
"paintCanvas.profileEditor.new": "新建曲线",
|
|
34
|
+
"paintCanvas.profileEditor.duplicate": "复制…",
|
|
35
|
+
"paintCanvas.profileEditor.rename": "重命名…",
|
|
36
|
+
"paintCanvas.profileEditor.delete": "删除…",
|
|
37
|
+
"paintCanvas.profileEditor.reset": "重置",
|
|
38
|
+
"paintCanvas.profileEditor.name": "名称",
|
|
39
|
+
"paintCanvas.profileEditor.saveHeading": "保存曲线",
|
|
40
|
+
"paintCanvas.profileEditor.renameHeading": "重命名曲线",
|
|
41
|
+
"paintCanvas.profileEditor.deleteHeading": "删除曲线",
|
|
42
|
+
"paintCanvas.profileEditor.deleteConfirm": "删除“{name}”?此操作无法撤销。",
|
|
43
|
+
"paintCanvas.profileEditor.replaceHeading": "替换曲线",
|
|
44
|
+
"paintCanvas.profileEditor.replaceConfirm": "已有名为“{name}”的曲线。要替换吗?",
|
|
19
45
|
"paintCanvas.tool.brush": "画笔",
|
|
20
46
|
"paintCanvas.tool.eraser": "橡皮擦",
|
|
21
47
|
"paintCanvas.tool.move": "移动、缩放和旋转",
|
|
@@ -88,6 +114,9 @@
|
|
|
88
114
|
"paintCanvas.presets.myPresets": "我的预设",
|
|
89
115
|
"paintCanvas.presets.unknownAuthor": "未知",
|
|
90
116
|
"paintCanvas.presets.deleteConfirm": "删除“{name}”?此操作无法撤销。",
|
|
117
|
+
"paintCanvas.presets.deleteHeading": "删除预设",
|
|
118
|
+
"paintCanvas.presets.replaceHeading": "替换预设",
|
|
119
|
+
"paintCanvas.presets.replace": "替换",
|
|
91
120
|
"paintCanvas.presets.deleted": "已删除“{name}”",
|
|
92
121
|
"paintCanvas.presets.deleteFailed": "无法删除“{name}”",
|
|
93
122
|
"paintCanvas.presets.saved": "已将“{name}”保存到我的预设",
|
|
@@ -134,6 +163,8 @@
|
|
|
134
163
|
"paintCanvas.layers.alphaLock": "锁定透明像素",
|
|
135
164
|
"paintCanvas.layers.blendMode": "混合模式",
|
|
136
165
|
"paintCanvas.layers.actions": "图层操作",
|
|
166
|
+
"paintCanvas.layers.rename": "重命名…",
|
|
167
|
+
"paintCanvas.layers.renameTitle": "重命名图层",
|
|
137
168
|
"paintCanvas.layers.reorder": "调整{name}的顺序:拖动,或按下以显示操作",
|
|
138
169
|
"paintCanvas.layers.duplicate": "复制",
|
|
139
170
|
"paintCanvas.layers.createMask": "创建蒙版",
|
|
@@ -181,6 +212,7 @@
|
|
|
181
212
|
"paintCanvas.brushConfig.snapToPixelGrid": "对齐像素网格",
|
|
182
213
|
"paintCanvas.brushConfig.addToPresets": "添加到预设",
|
|
183
214
|
"paintCanvas.brushConfig.variation": "{param}:{source}",
|
|
215
|
+
"paintCanvas.brushConfig.varyWith": "{param}:变化依据",
|
|
184
216
|
"paintCanvas.layers.mergeDownTitle": "向下合并",
|
|
185
217
|
"paintCanvas.layers.clear": "清除…",
|
|
186
218
|
"paintCanvas.layers.delete": "删除…",
|
|
@@ -260,6 +292,9 @@
|
|
|
260
292
|
"paintCanvas.settings.fileIncompatible": "不兼容的设置 JSON 文件",
|
|
261
293
|
"paintCanvas.settings.fileReadFailed": "无法读取设置 JSON 文件",
|
|
262
294
|
"paintCanvas.settings.exportFailed": "导出设置 JSON 文件时出错",
|
|
295
|
+
"paintCanvas.settings.gpu": "使用 GPU 绘制",
|
|
296
|
+
"paintCanvas.settings.gpuHint": "如果绘制缓慢,请尝试此选项。重新加载页面后生效。",
|
|
297
|
+
"paintCanvas.settings.reloadToApply": "重新加载页面以应用此更改。",
|
|
263
298
|
"paintCanvas.stats.label": "画布详情",
|
|
264
299
|
"paintCanvas.stats.size": "画布:{width} × {height} 像素",
|
|
265
300
|
"paintCanvas.stats.zoom": "缩放:{zoom}",
|
package/locales/zh-Hant.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"paintCanvas.common.clear": "清除",
|
|
8
8
|
"paintCanvas.common.cut": "剪下",
|
|
9
9
|
"paintCanvas.common.copy": "拷貝",
|
|
10
|
+
"paintCanvas.common.copyMerged": "合併拷貝",
|
|
10
11
|
"paintCanvas.common.paste": "貼上",
|
|
11
12
|
"paintCanvas.common.undo": "復原",
|
|
12
13
|
"paintCanvas.common.redo": "重做",
|
|
@@ -16,6 +17,31 @@
|
|
|
16
17
|
"paintCanvas.common.height": "高度",
|
|
17
18
|
"paintCanvas.common.size": "大小",
|
|
18
19
|
"paintCanvas.common.opacity": "不透明度",
|
|
20
|
+
"paintCanvas.range.low": "{label}(最小)",
|
|
21
|
+
"paintCanvas.range.high": "{label}(最大)",
|
|
22
|
+
"paintCanvas.profileGraph.point": "點 {number}:{x}, {y}",
|
|
23
|
+
"paintCanvas.profileGraph.remove": "刪除點",
|
|
24
|
+
"paintCanvas.profileGraph.linear": "尖角(線性)",
|
|
25
|
+
"paintCanvas.profileGraph.bezier": "平滑(三次貝茲)",
|
|
26
|
+
"paintCanvas.profiles.linear": "線性",
|
|
27
|
+
"paintCanvas.profiles.overweight": "偏重",
|
|
28
|
+
"paintCanvas.profiles.underweight": "偏輕",
|
|
29
|
+
"paintCanvas.profileEditor.title": "{param}曲線",
|
|
30
|
+
"paintCanvas.profileEditor.button": "{param}:曲線",
|
|
31
|
+
"paintCanvas.profileEditor.custom": "自訂",
|
|
32
|
+
"paintCanvas.profileEditor.actions": "曲線操作",
|
|
33
|
+
"paintCanvas.profileEditor.new": "新增曲線",
|
|
34
|
+
"paintCanvas.profileEditor.duplicate": "複製…",
|
|
35
|
+
"paintCanvas.profileEditor.rename": "重新命名…",
|
|
36
|
+
"paintCanvas.profileEditor.delete": "刪除…",
|
|
37
|
+
"paintCanvas.profileEditor.reset": "重設",
|
|
38
|
+
"paintCanvas.profileEditor.name": "名稱",
|
|
39
|
+
"paintCanvas.profileEditor.saveHeading": "儲存曲線",
|
|
40
|
+
"paintCanvas.profileEditor.renameHeading": "重新命名曲線",
|
|
41
|
+
"paintCanvas.profileEditor.deleteHeading": "刪除曲線",
|
|
42
|
+
"paintCanvas.profileEditor.deleteConfirm": "刪除「{name}」?此操作無法復原。",
|
|
43
|
+
"paintCanvas.profileEditor.replaceHeading": "取代曲線",
|
|
44
|
+
"paintCanvas.profileEditor.replaceConfirm": "已有名為「{name}」的曲線。要取代嗎?",
|
|
19
45
|
"paintCanvas.tool.brush": "筆刷",
|
|
20
46
|
"paintCanvas.tool.eraser": "橡皮擦",
|
|
21
47
|
"paintCanvas.tool.move": "移動、縮放和旋轉",
|
|
@@ -88,6 +114,9 @@
|
|
|
88
114
|
"paintCanvas.presets.myPresets": "我的預設",
|
|
89
115
|
"paintCanvas.presets.unknownAuthor": "未知",
|
|
90
116
|
"paintCanvas.presets.deleteConfirm": "要刪除「{name}」嗎?此動作無法復原。",
|
|
117
|
+
"paintCanvas.presets.deleteHeading": "刪除預設",
|
|
118
|
+
"paintCanvas.presets.replaceHeading": "取代預設",
|
|
119
|
+
"paintCanvas.presets.replace": "取代",
|
|
91
120
|
"paintCanvas.presets.deleted": "已刪除「{name}」",
|
|
92
121
|
"paintCanvas.presets.deleteFailed": "無法刪除「{name}」",
|
|
93
122
|
"paintCanvas.presets.saved": "已將「{name}」儲存到我的預設",
|
|
@@ -134,6 +163,8 @@
|
|
|
134
163
|
"paintCanvas.layers.alphaLock": "鎖定透明像素",
|
|
135
164
|
"paintCanvas.layers.blendMode": "混合模式",
|
|
136
165
|
"paintCanvas.layers.actions": "圖層動作",
|
|
166
|
+
"paintCanvas.layers.rename": "重新命名…",
|
|
167
|
+
"paintCanvas.layers.renameTitle": "重新命名圖層",
|
|
137
168
|
"paintCanvas.layers.reorder": "調整{name}的順序:拖曳,或按下以顯示動作",
|
|
138
169
|
"paintCanvas.layers.duplicate": "複製",
|
|
139
170
|
"paintCanvas.layers.createMask": "建立遮罩",
|
|
@@ -181,6 +212,7 @@
|
|
|
181
212
|
"paintCanvas.brushConfig.snapToPixelGrid": "對齊像素格線",
|
|
182
213
|
"paintCanvas.brushConfig.addToPresets": "加入預設",
|
|
183
214
|
"paintCanvas.brushConfig.variation": "{param}:{source}",
|
|
215
|
+
"paintCanvas.brushConfig.varyWith": "{param}:變化依據",
|
|
184
216
|
"paintCanvas.layers.mergeDownTitle": "向下合併",
|
|
185
217
|
"paintCanvas.layers.clear": "清除…",
|
|
186
218
|
"paintCanvas.layers.delete": "刪除…",
|
|
@@ -260,6 +292,9 @@
|
|
|
260
292
|
"paintCanvas.settings.fileIncompatible": "不相容的設定 JSON 檔案",
|
|
261
293
|
"paintCanvas.settings.fileReadFailed": "無法讀取設定 JSON 檔案",
|
|
262
294
|
"paintCanvas.settings.exportFailed": "匯出設定 JSON 檔案時發生錯誤",
|
|
295
|
+
"paintCanvas.settings.gpu": "使用 GPU 繪製",
|
|
296
|
+
"paintCanvas.settings.gpuHint": "如果繪製緩慢,請嘗試此選項。重新載入頁面後生效。",
|
|
297
|
+
"paintCanvas.settings.reloadToApply": "重新載入頁面以套用此變更。",
|
|
263
298
|
"paintCanvas.stats.label": "畫布詳細資料",
|
|
264
299
|
"paintCanvas.stats.size": "畫布:{width} × {height} 像素",
|
|
265
300
|
"paintCanvas.stats.zoom": "縮放:{zoom}",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvl99dotcom/paintcanvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Open-source painting engine and renderer for the browser, with optional UI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drawing",
|
|
@@ -52,6 +52,29 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "pnpm icons:build && vite build && tsc -p tsconfig.build.json",
|
|
57
|
+
"typecheck": "tsc -p .",
|
|
58
|
+
"test": "vitest --run --project paintcanvas",
|
|
59
|
+
"test:browser": "vitest --run --project paintcanvas-browser",
|
|
60
|
+
"test:all": "vitest --run",
|
|
61
|
+
"coverage": "vitest --run --coverage",
|
|
62
|
+
"lint": "eslint .",
|
|
63
|
+
"format": "prettier --write .",
|
|
64
|
+
"format:check": "prettier --check .",
|
|
65
|
+
"build:validators": "node scripts/build-validators.ts",
|
|
66
|
+
"icons:build": "node scripts/build-icons.ts",
|
|
67
|
+
"dev": "pnpm icons:build && vite --config vite.demo.config.ts --port 5190 --strictPort --open",
|
|
68
|
+
"demo": "pnpm dev",
|
|
69
|
+
"docs": "pnpm --filter paintcanvas-docs start",
|
|
70
|
+
"docs:build": "pnpm --filter paintcanvas-docs build",
|
|
71
|
+
"prepack": "pnpm build",
|
|
72
|
+
"demo:build": "vite build --config vite.demo.config.ts",
|
|
73
|
+
"pages:build": "node scripts/build-pages.ts",
|
|
74
|
+
"pages:deploy": "node scripts/deploy-pages.ts",
|
|
75
|
+
"pages:preview": "vite preview --config vite.demo.config.ts --outDir ../.pages --base /paintcanvas/ --port 5191 --strictPort"
|
|
76
|
+
},
|
|
77
|
+
"packageManager": "pnpm@12.10.1",
|
|
55
78
|
"peerDependencies": {
|
|
56
79
|
"lit": "^3.3.3",
|
|
57
80
|
"vitest": "^4.1.12"
|
|
@@ -82,26 +105,5 @@
|
|
|
82
105
|
"typescript-eslint": "^8.72.1",
|
|
83
106
|
"vite": "^8.3.5",
|
|
84
107
|
"vitest": "^4.1.12"
|
|
85
|
-
},
|
|
86
|
-
"scripts": {
|
|
87
|
-
"build": "pnpm icons:build && vite build && tsc -p tsconfig.build.json",
|
|
88
|
-
"typecheck": "tsc -p .",
|
|
89
|
-
"test": "vitest --run --project paintcanvas",
|
|
90
|
-
"test:browser": "vitest --run --project paintcanvas-browser",
|
|
91
|
-
"test:all": "vitest --run",
|
|
92
|
-
"coverage": "vitest --run --coverage",
|
|
93
|
-
"lint": "eslint .",
|
|
94
|
-
"format": "prettier --write .",
|
|
95
|
-
"format:check": "prettier --check .",
|
|
96
|
-
"build:validators": "node scripts/build-validators.ts",
|
|
97
|
-
"icons:build": "node scripts/build-icons.ts",
|
|
98
|
-
"dev": "pnpm icons:build && vite demo --port 5190 --strictPort --open",
|
|
99
|
-
"demo": "pnpm dev",
|
|
100
|
-
"docs": "pnpm --filter paintcanvas-docs start",
|
|
101
|
-
"docs:build": "pnpm --filter paintcanvas-docs build",
|
|
102
|
-
"demo:build": "vite build --config vite.demo.config.ts",
|
|
103
|
-
"pages:build": "node scripts/build-pages.ts",
|
|
104
|
-
"pages:deploy": "node scripts/deploy-pages.ts",
|
|
105
|
-
"pages:preview": "vite preview --config vite.demo.config.ts --outDir ../.pages --base /paintcanvas/ --port 5191 --strictPort"
|
|
106
108
|
}
|
|
107
|
-
}
|
|
109
|
+
}
|