@node-red/editor-client 3.1.1 → 3.1.3
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/locales/en-US/editor.json +9 -3
- package/locales/fr/editor.json +156 -1
- package/locales/zh-CN/editor.json +48 -22
- package/locales/zh-CN/jsonata.json +4 -0
- package/locales/zh-TW/editor.json +181 -36
- package/locales/zh-TW/jsonata.json +4 -0
- package/package.json +1 -1
- package/public/red/about +20 -0
- package/public/red/red.js +14 -11
- package/public/red/red.min.js +2 -2
- package/public/red/style.min.css +1 -1
|
@@ -23,7 +23,11 @@
|
|
|
23
23
|
"position": "位置",
|
|
24
24
|
"enable": "啟用",
|
|
25
25
|
"disable": "禁用",
|
|
26
|
-
"upload": "上傳"
|
|
26
|
+
"upload": "上傳",
|
|
27
|
+
"lock": "鎖定",
|
|
28
|
+
"unlock": "解鎖",
|
|
29
|
+
"locked": "鎖定",
|
|
30
|
+
"unlocked": "解鎖"
|
|
27
31
|
},
|
|
28
32
|
"type": {
|
|
29
33
|
"string": "字符串",
|
|
@@ -38,11 +42,14 @@
|
|
|
38
42
|
}
|
|
39
43
|
},
|
|
40
44
|
"event": {
|
|
45
|
+
"loadPlugins": "加載插件",
|
|
41
46
|
"loadPalette": "加載控制板",
|
|
42
47
|
"loadNodeCatalogs": "加載節點目錄",
|
|
43
48
|
"loadNodes": "加載 __count__ 個節點",
|
|
44
49
|
"loadFlows": "加載流程",
|
|
45
|
-
"importFlows": "往工作區中加載流程"
|
|
50
|
+
"importFlows": "往工作區中加載流程",
|
|
51
|
+
"importError": "<p>加載流程錯誤</p><p>__message__</p>",
|
|
52
|
+
"loadingProject": "加載項目"
|
|
46
53
|
},
|
|
47
54
|
"workspace": {
|
|
48
55
|
"defaultName": "流程__number__",
|
|
@@ -51,18 +58,35 @@
|
|
|
51
58
|
"delete": "確定想要刪除 '__label__'?",
|
|
52
59
|
"dropFlowHere": "把流程放到這裡",
|
|
53
60
|
"addFlow": "新增流程",
|
|
54
|
-
"
|
|
61
|
+
"addFlowToRight": "在右側新增流程",
|
|
62
|
+
"hideFlow": "隱藏流程",
|
|
63
|
+
"hideOtherFlows": "隱藏其它流程",
|
|
64
|
+
"showAllFlows": "顯示所有流程",
|
|
65
|
+
"hideAllFlows": "隱藏所有流程",
|
|
66
|
+
"hiddenFlows": "列出 __count__ 個隱藏流程",
|
|
67
|
+
"hiddenFlows_plural": "列出 __count__ 個隱藏流程",
|
|
68
|
+
"showLastHiddenFlow": "顯示最後一個隱藏流程",
|
|
69
|
+
" ": "流程列表",
|
|
70
|
+
"listSubflows": "列出子流程",
|
|
55
71
|
"status": "狀態",
|
|
56
72
|
"enabled": "有效",
|
|
57
73
|
"disabled": "無效",
|
|
58
74
|
"info": "詳細描述",
|
|
59
|
-
"selectNodes": "點擊節點用於選擇"
|
|
75
|
+
"selectNodes": "點擊節點用於選擇",
|
|
76
|
+
"enableFlow": "啟用流程",
|
|
77
|
+
"disableFlow": "禁用流程",
|
|
78
|
+
"lockFlow": "鎖定流程",
|
|
79
|
+
"unlockFlow": "解除鎖定",
|
|
80
|
+
"moveToStart": "移動到起始",
|
|
81
|
+
"moveToEnd": "移動到末尾"
|
|
60
82
|
},
|
|
61
83
|
"menu": {
|
|
62
84
|
"label": {
|
|
63
85
|
"view": {
|
|
64
86
|
"view": "顯示",
|
|
65
87
|
"grid": "格線",
|
|
88
|
+
"storeZoom": "加載時還原縮放尺寸",
|
|
89
|
+
"storePosition": "加載時還原滾動位置",
|
|
66
90
|
"showGrid": "顯示格線",
|
|
67
91
|
"snapGrid": "對齊格線",
|
|
68
92
|
"gridSize": "格線尺寸",
|
|
@@ -80,12 +104,14 @@
|
|
|
80
104
|
"palette": {
|
|
81
105
|
"show": "顯示控制板"
|
|
82
106
|
},
|
|
107
|
+
"edit": "編輯",
|
|
83
108
|
"settings": "設置",
|
|
84
109
|
"userSettings": "使用者設置",
|
|
85
110
|
"nodes": "節點",
|
|
86
111
|
"displayStatus": "顯示節點狀態",
|
|
87
112
|
"displayConfig": "修改節點配置",
|
|
88
113
|
"import": "匯入",
|
|
114
|
+
"importExample": "導入示例流程",
|
|
89
115
|
"export": "匯出",
|
|
90
116
|
"search": "搜尋流程",
|
|
91
117
|
"searchInput": "搜尋流程",
|
|
@@ -102,24 +128,48 @@
|
|
|
102
128
|
"editPalette": "節點管理",
|
|
103
129
|
"other": "其他",
|
|
104
130
|
"showTips": "顯示小提示",
|
|
105
|
-
"
|
|
131
|
+
"showWelcomeTours": "顯示新版本向導",
|
|
132
|
+
"help": "Node-RED 文檔主頁",
|
|
106
133
|
"projects": "專案",
|
|
107
134
|
"projects-new": "新專案",
|
|
108
135
|
"projects-open": "開啟專案",
|
|
109
136
|
"projects-settings": "專案設定",
|
|
110
137
|
"showNodeLabelDefault": "顯示新添加節點的標籤",
|
|
138
|
+
"codeEditor": "代碼編輯器",
|
|
111
139
|
"groups": "組",
|
|
112
140
|
"groupSelection": "選擇組",
|
|
113
141
|
"ungroupSelection": "取消選擇組",
|
|
114
142
|
"groupMergeSelection": "合并選擇",
|
|
115
|
-
"groupRemoveSelection": "從組中移除"
|
|
143
|
+
"groupRemoveSelection": "從組中移除",
|
|
144
|
+
"arrange": "布局",
|
|
145
|
+
"alignLeft": "左對齊",
|
|
146
|
+
"alignCenter": "居中對齊",
|
|
147
|
+
"alignRight": "右對齊",
|
|
148
|
+
"alignTop": "頂部對齊",
|
|
149
|
+
"alignMiddle": "垂直居中對齊",
|
|
150
|
+
"alignBottom": "底部對齊",
|
|
151
|
+
"distributeHorizontally": "横向分布",
|
|
152
|
+
"distributeVertically": "垂直分布",
|
|
153
|
+
"moveToBack": "置於底層",
|
|
154
|
+
"moveToFront": "置於頂層",
|
|
155
|
+
"moveBackwards": "向後移動",
|
|
156
|
+
"moveForwards": "向前移動",
|
|
157
|
+
"showNodeHelp":"顯示節點幫助",
|
|
158
|
+
"enableSelectedNodes":"啟用當前選中節點",
|
|
159
|
+
"disableSelectedNodes":"禁用當前選中節點",
|
|
160
|
+
"showSelectedNodeLabels":"顯示選中的節點標簽",
|
|
161
|
+
"hideSelectedNodeLabels":"隱藏選中的節點標簽"
|
|
116
162
|
}
|
|
117
163
|
},
|
|
118
164
|
"actions": {
|
|
119
165
|
"toggle-navigator": "切換導航器",
|
|
120
166
|
"zoom-out": "縮小",
|
|
121
167
|
"zoom-reset": "重置縮放",
|
|
122
|
-
"zoom-in": "放大"
|
|
168
|
+
"zoom-in": "放大",
|
|
169
|
+
"search-flows": "搜索流程",
|
|
170
|
+
"search-prev": "上一個",
|
|
171
|
+
"search-next": "下一個",
|
|
172
|
+
"search-counter": "\"__term__\" __result__ of __count__"
|
|
123
173
|
},
|
|
124
174
|
"user": {
|
|
125
175
|
"loggedInAs": "作為 __name__ 登入",
|
|
@@ -135,12 +185,17 @@
|
|
|
135
185
|
}
|
|
136
186
|
},
|
|
137
187
|
"notification": {
|
|
188
|
+
"state": {
|
|
189
|
+
"flowsStopped": "流程已停止",
|
|
190
|
+
"flowsStarted": "流程已啟動"
|
|
191
|
+
},
|
|
138
192
|
"warning": "<strong>警告</strong>: __message__",
|
|
139
193
|
"warnings": {
|
|
140
194
|
"undeployedChanges": "節點中存在未部署的更改",
|
|
141
195
|
"nodeActionDisabled": "節點動作在子流程中被禁用",
|
|
142
196
|
"nodeActionDisabledSubflow": "子流程中禁用了節點操作",
|
|
143
197
|
"missing-types": "流程由於缺少節點類型而停止。請檢查日誌的詳細資訊",
|
|
198
|
+
"missing-modules": "<p>流程因缺少模塊而停止。</p>",
|
|
144
199
|
"safe-mode": "<p>流程在安全模式下停止。</p><p>您可以修改流程並部署更改以重新啟動。</p>",
|
|
145
200
|
"restartRequired": "Node-RED必須重新啟動,以啟用升級的模組",
|
|
146
201
|
"credentials_load_failed": "<p>流程由於無法解密證書而停止。</p> <p>流程證書文件已加密,但是項目的加密密鑰丟失或無效。</p>",
|
|
@@ -151,7 +206,7 @@
|
|
|
151
206
|
"project_not_found": "<p>找不到項目的'__project__'</p>",
|
|
152
207
|
"git_merge_conflict": "<p>自動合併更改失敗。</p><p>修復未合併的衝突,然後提交結果。</p>"
|
|
153
208
|
},
|
|
154
|
-
"error": "<strong
|
|
209
|
+
"error": "<strong>錯誤</strong>: __message__",
|
|
155
210
|
"errors": {
|
|
156
211
|
"lostConnection": "丟失與伺服器的連接,重新連接...",
|
|
157
212
|
"lostConnectionReconnect": "丟失與伺服器的連接,__time__ 秒後重新連接",
|
|
@@ -208,6 +263,8 @@
|
|
|
208
263
|
"download": "下載",
|
|
209
264
|
"importUnrecognised": "匯入了無法識別的類型:",
|
|
210
265
|
"importUnrecognised_plural": "匯入了無法識別的類型:",
|
|
266
|
+
"importDuplicate": "導入了重復節點:",
|
|
267
|
+
"importDuplicate_plural": "導入了重復節點:",
|
|
211
268
|
"nodesExported": "節點匯出到了剪貼簿",
|
|
212
269
|
"nodesImported": "已匯入:",
|
|
213
270
|
"nodeCopied": "已複製 __count__ 個節點",
|
|
@@ -259,6 +316,10 @@
|
|
|
259
316
|
"modifiedFlowsDesc": "只部署包含已更改節點的流程",
|
|
260
317
|
"modifiedNodes": "已更改的節點",
|
|
261
318
|
"modifiedNodesDesc": "只部署已經更改的節點",
|
|
319
|
+
"startFlows": "啟動",
|
|
320
|
+
"startFlowsDesc": "啟動流程",
|
|
321
|
+
"stopFlows": "停止",
|
|
322
|
+
"stopFlowsDesc": "停止流程",
|
|
262
323
|
"restartFlows": "重新啟動流程",
|
|
263
324
|
"restartFlowsDesc": "重新啟動當前部署的流程",
|
|
264
325
|
"successfulDeploy": "部署成功",
|
|
@@ -337,14 +398,28 @@
|
|
|
337
398
|
"output": "輸出:",
|
|
338
399
|
"status": "狀態節點",
|
|
339
400
|
"deleteSubflow": "刪除子流程",
|
|
401
|
+
"confirmDelete": "您確定要刪除此子流程?",
|
|
340
402
|
"info": "詳細描述",
|
|
341
403
|
"category": "類別",
|
|
404
|
+
"module": "模塊",
|
|
405
|
+
"license": "許可",
|
|
406
|
+
"licenseNone": "無",
|
|
407
|
+
"licenseOther": "其它",
|
|
408
|
+
"type": "節點類型",
|
|
409
|
+
"version": "版本",
|
|
410
|
+
"versionPlaceholder": "x.y.z",
|
|
411
|
+
"keys": "關鍵字",
|
|
412
|
+
"keysPlaceholder": "使用英文逗號分隔關鍵字",
|
|
413
|
+
"author": "作者",
|
|
414
|
+
"authorPlaceholder": "名字 <email@example.com>",
|
|
415
|
+
"desc": "描述",
|
|
342
416
|
"env": {
|
|
343
417
|
"restore": "恢復為默認子流程",
|
|
344
418
|
"remove": "類別刪除環境變量"
|
|
345
419
|
},
|
|
346
420
|
"errors": {
|
|
347
421
|
"noNodesSelected": "<strong>無法創建子流程</strong>: 未選擇節點",
|
|
422
|
+
"acrossMultipleGroups": "無法跨多個組創建子流",
|
|
348
423
|
"multipleInputsToSelection": "<strong>無法創建子流程</strong>: 多個輸入到了選擇"
|
|
349
424
|
}
|
|
350
425
|
},
|
|
@@ -367,12 +442,12 @@
|
|
|
367
442
|
"editConfig": "編輯 __type__ 配置",
|
|
368
443
|
"addNewType": "添加新的 __type__ 節點",
|
|
369
444
|
"nodeProperties": "節點屬性",
|
|
370
|
-
"label": "
|
|
445
|
+
"label": "標簽",
|
|
371
446
|
"color": "顏色",
|
|
372
447
|
"portLabels": "埠標籤",
|
|
373
448
|
"labelInputs": "輸入",
|
|
374
449
|
"labelOutputs": "輸出",
|
|
375
|
-
"settingIcon": "
|
|
450
|
+
"settingIcon": "圖標",
|
|
376
451
|
"default": "默認",
|
|
377
452
|
"noDefaultLabel": "無",
|
|
378
453
|
"defaultLabel": "使用默認標籤",
|
|
@@ -385,6 +460,7 @@
|
|
|
385
460
|
"icon": "圖標",
|
|
386
461
|
"inputType": "輸入類型",
|
|
387
462
|
"selectType": "選擇類型...",
|
|
463
|
+
"loadCredentials": "加載節點憑證",
|
|
388
464
|
"inputs": {
|
|
389
465
|
"input": "輸入",
|
|
390
466
|
"select": "選擇",
|
|
@@ -419,7 +495,8 @@
|
|
|
419
495
|
},
|
|
420
496
|
"errors": {
|
|
421
497
|
"scopeChange": "更改範圍將使其他流程中的節點無法使用",
|
|
422
|
-
"invalidProperties": "無效的屬性:"
|
|
498
|
+
"invalidProperties": "無效的屬性:",
|
|
499
|
+
"credentialLoadFailed": "無法加載節點憑據"
|
|
423
500
|
}
|
|
424
501
|
},
|
|
425
502
|
"keyboard": {
|
|
@@ -431,11 +508,14 @@
|
|
|
431
508
|
"unassigned": "未分配",
|
|
432
509
|
"global": "全局",
|
|
433
510
|
"workspace": "工作區",
|
|
511
|
+
"editor": "編輯對話框",
|
|
434
512
|
"selectAll": "選擇所有節點",
|
|
513
|
+
"selectNone": "取消所有選擇",
|
|
435
514
|
"selectAllConnected": "選擇所有連接的節點",
|
|
436
515
|
"addRemoveNode": "從選擇中添加/刪除節點",
|
|
437
516
|
"editSelected": "編輯選定節點",
|
|
438
517
|
"deleteSelected": "刪除選定節點或連結",
|
|
518
|
+
"deleteReconnect": "刪除並重新連接",
|
|
439
519
|
"importNode": "匯入節點",
|
|
440
520
|
"exportNode": "匯出節點",
|
|
441
521
|
"nudgeNode": "移動所選節點(1px)",
|
|
@@ -445,10 +525,14 @@
|
|
|
445
525
|
"copyNode": "複製所選節點",
|
|
446
526
|
"cutNode": "剪切所選節點",
|
|
447
527
|
"pasteNode": "粘貼節點",
|
|
528
|
+
"copyGroupStyle": "復製組樣式",
|
|
529
|
+
"pasteGroupStyle": "粘貼組樣式",
|
|
448
530
|
"undoChange": "撤銷上次執行的更改",
|
|
531
|
+
"redoChange": "重做",
|
|
449
532
|
"searchBox": "打開搜尋框",
|
|
450
533
|
"managePalette": "管理面板",
|
|
451
|
-
"actionList": "動作列表"
|
|
534
|
+
"actionList": "動作列表",
|
|
535
|
+
"splitWireWithLinks": "使用Link節點拆分已選項"
|
|
452
536
|
},
|
|
453
537
|
"library": {
|
|
454
538
|
"library": "庫",
|
|
@@ -466,12 +550,11 @@
|
|
|
466
550
|
"types": {
|
|
467
551
|
"local": "本地",
|
|
468
552
|
"examples": "例子"
|
|
469
|
-
}
|
|
470
|
-
"exportToLibrary": "將節點匯出到庫"
|
|
553
|
+
}
|
|
471
554
|
},
|
|
472
555
|
"palette": {
|
|
473
556
|
"noInfo": "無可用資訊",
|
|
474
|
-
"filter": "
|
|
557
|
+
"filter": "過濾已安裝模組",
|
|
475
558
|
"search": "搜尋模組",
|
|
476
559
|
"addCategory": "添加新的...",
|
|
477
560
|
"label": {
|
|
@@ -501,11 +584,13 @@
|
|
|
501
584
|
"nodeEnabled_plural": "啟用多個節點:",
|
|
502
585
|
"nodeDisabled": "禁用節點:",
|
|
503
586
|
"nodeDisabled_plural": "禁用多個節點:",
|
|
504
|
-
"nodeUpgraded": "節點模組__module__升級到__version__版本"
|
|
587
|
+
"nodeUpgraded": "節點模組__module__升級到__version__版本",
|
|
588
|
+
"unknownNodeRegistered": "加載節點錯誤: <ul><li>__type__<br>__error__</li></ul>"
|
|
505
589
|
},
|
|
506
590
|
"editor": {
|
|
507
591
|
"title": "面板管理",
|
|
508
|
-
"palette": "
|
|
592
|
+
"palette": "控製板",
|
|
593
|
+
"allCatalogs": "所有目錄",
|
|
509
594
|
"times": {
|
|
510
595
|
"seconds": "秒前",
|
|
511
596
|
"minutes": "分前",
|
|
@@ -545,10 +630,12 @@
|
|
|
545
630
|
"tab-nodes": "節點",
|
|
546
631
|
"tab-install": "安裝",
|
|
547
632
|
"sort": "排序:",
|
|
633
|
+
"sortRelevance": "關聯",
|
|
548
634
|
"sortAZ": "a-z順序",
|
|
549
635
|
"sortRecent": "日期順序",
|
|
550
636
|
"more": "增加 __count__ 個",
|
|
551
637
|
"upload": "上傳模塊tgz文件",
|
|
638
|
+
"refresh": "更新模塊列表",
|
|
552
639
|
"errors": {
|
|
553
640
|
"catalogLoadFailed": "無法載入節點目錄。<br>查看瀏覽器控制臺瞭解更多資訊",
|
|
554
641
|
"installFailed": "無法安裝: __module__<br>__message__<br>查看日誌瞭解更多資訊",
|
|
@@ -617,7 +704,11 @@
|
|
|
617
704
|
"empty": "空的",
|
|
618
705
|
"globalConfig": "全局配置節點",
|
|
619
706
|
"triggerAction": "觸發動作",
|
|
620
|
-
"find": "在工作區中查找"
|
|
707
|
+
"find": "在工作區中查找",
|
|
708
|
+
"copyItemUrl": "復製地址",
|
|
709
|
+
"copyURL2Clipboard": "復製地址到剪貼板",
|
|
710
|
+
"showFlow": "顯示流程",
|
|
711
|
+
"hideFlow": "隱藏流程"
|
|
621
712
|
},
|
|
622
713
|
"help": {
|
|
623
714
|
"name": "幫助",
|
|
@@ -627,7 +718,8 @@
|
|
|
627
718
|
"showHelp": "顯示幫助",
|
|
628
719
|
"showInOutline": "在大綱中顯示",
|
|
629
720
|
"showTopics": "顯示主題",
|
|
630
|
-
"noHelp": "未選擇幫助主題"
|
|
721
|
+
"noHelp": "未選擇幫助主題",
|
|
722
|
+
"changeLog": "更新日誌"
|
|
631
723
|
},
|
|
632
724
|
"config": {
|
|
633
725
|
"name": "配置節點",
|
|
@@ -828,31 +920,37 @@
|
|
|
828
920
|
"json": "JSON",
|
|
829
921
|
"bin": "二進位流",
|
|
830
922
|
"date": "時間戳記",
|
|
831
|
-
"jsonata": "
|
|
832
|
-
"env": "
|
|
923
|
+
"jsonata": "表達式",
|
|
924
|
+
"env": "環境變量",
|
|
833
925
|
"cred": "證書"
|
|
834
926
|
}
|
|
835
927
|
},
|
|
836
928
|
"editableList": {
|
|
837
|
-
"add": "添加"
|
|
929
|
+
"add": "添加",
|
|
930
|
+
"addTitle": "添加項"
|
|
838
931
|
},
|
|
839
932
|
"search": {
|
|
840
|
-
"
|
|
933
|
+
"history": "搜索歷史",
|
|
934
|
+
"clear": "清除所有",
|
|
935
|
+
"empty": "找不到匹配項",
|
|
841
936
|
"addNode": "添加一個節點...",
|
|
842
937
|
"options": {
|
|
843
938
|
"configNodes": "配置節點",
|
|
844
939
|
"unusedConfigNodes": "未使用的配置節點",
|
|
845
940
|
"invalidNodes": "無效的節點",
|
|
846
941
|
"uknownNodes": "未知的節點",
|
|
847
|
-
"unusedSubflows": "未使用的子流程"
|
|
942
|
+
"unusedSubflows": "未使用的子流程",
|
|
943
|
+
"hiddenFlows": "隱藏的流程",
|
|
944
|
+
"modifiedNodes": "已修改的節點或流程",
|
|
945
|
+
"thisFlow": "當前流程"
|
|
848
946
|
}
|
|
849
947
|
},
|
|
850
948
|
"expressionEditor": {
|
|
851
949
|
"functions": "功能",
|
|
852
|
-
"functionReference": "
|
|
950
|
+
"functionReference": "功能參考",
|
|
853
951
|
"insert": "插入",
|
|
854
952
|
"title": "JSONata運算式編輯器",
|
|
855
|
-
"test": "
|
|
953
|
+
"test": "測試",
|
|
856
954
|
"data": "示例消息",
|
|
857
955
|
"result": "結果",
|
|
858
956
|
"format": "格式表達方法",
|
|
@@ -863,20 +961,28 @@
|
|
|
863
961
|
"invalid-expr": "無效的JSONata運算式:\n __message__",
|
|
864
962
|
"invalid-msg": "無效的示例JSON消息:\n __message__",
|
|
865
963
|
"context-unsupported": "無法測試上下文函數\n $flowContext 或 $globalContext",
|
|
964
|
+
"env-unsupported": "無法測試 $env 函數",
|
|
965
|
+
"moment-unsupported": "無法測試 $moment 函數",
|
|
966
|
+
"clone-unsupported": "無法測試 $clone 函數",
|
|
866
967
|
"eval": "評估運算式錯誤:\n __message__"
|
|
867
968
|
}
|
|
868
969
|
},
|
|
970
|
+
"monaco": {
|
|
971
|
+
"setTheme": "設置主題"
|
|
972
|
+
},
|
|
869
973
|
"jsEditor": {
|
|
870
974
|
"title": "JavaScript 編輯器"
|
|
871
975
|
},
|
|
872
976
|
"textEditor": {
|
|
873
|
-
"title": "
|
|
977
|
+
"title": "文本編輯器"
|
|
874
978
|
},
|
|
875
979
|
"jsonEditor": {
|
|
876
980
|
"title": "JSON編輯器",
|
|
877
981
|
"format": "格式化JSON",
|
|
878
982
|
"rawMode": "編輯 JSON",
|
|
879
|
-
"uiMode": "
|
|
983
|
+
"uiMode": "可視化編輯器",
|
|
984
|
+
"rawMode-readonly": "原始JSON",
|
|
985
|
+
"uiMode-readonly": "可視化",
|
|
880
986
|
"insertAbove": "在上方插入",
|
|
881
987
|
"insertBelow": "在下方插入",
|
|
882
988
|
"addItem": "添加項目",
|
|
@@ -892,9 +998,9 @@
|
|
|
892
998
|
"title": "Markdown 編輯器",
|
|
893
999
|
"expand": "展開",
|
|
894
1000
|
"format": "F使用markdown格式化",
|
|
895
|
-
"heading1": "
|
|
896
|
-
"heading2": "
|
|
897
|
-
"heading3": "
|
|
1001
|
+
"heading1": "標題 1",
|
|
1002
|
+
"heading2": "標題 2",
|
|
1003
|
+
"heading3": "標題 3",
|
|
898
1004
|
"bold": "粗體",
|
|
899
1005
|
"italic": "斜體",
|
|
900
1006
|
"code": "程式碼",
|
|
@@ -903,7 +1009,10 @@
|
|
|
903
1009
|
"quote": "引用",
|
|
904
1010
|
"link": "連結",
|
|
905
1011
|
"horizontal-rule": "分隔線",
|
|
906
|
-
"toggle-preview": "
|
|
1012
|
+
"toggle-preview": "切換預覽",
|
|
1013
|
+
"mermaid": {
|
|
1014
|
+
"summary": "美人魚圖"
|
|
1015
|
+
}
|
|
907
1016
|
},
|
|
908
1017
|
"bufferEditor": {
|
|
909
1018
|
"title": "緩衝區編輯器",
|
|
@@ -1038,7 +1147,8 @@
|
|
|
1038
1147
|
"not-git": "不是git倉庫",
|
|
1039
1148
|
"no-resource": "找不到存儲庫",
|
|
1040
1149
|
"cant-get-ssh-key-path": "錯誤! 無法獲取所選的SSH密鑰路徑。",
|
|
1041
|
-
"unexpected_error": "意外的錯誤"
|
|
1150
|
+
"unexpected_error": "意外的錯誤",
|
|
1151
|
+
"clearContext": "更改項目時清除上下文"
|
|
1042
1152
|
},
|
|
1043
1153
|
"delete": {
|
|
1044
1154
|
"confirm": "您確定要刪除此項目嗎?"
|
|
@@ -1068,7 +1178,7 @@
|
|
|
1068
1178
|
"create-default-file-set": {
|
|
1069
1179
|
"no-active": "沒有活動項目就無法創建默認文件集",
|
|
1070
1180
|
"no-empty": "無法在非空項目上創建默認文件集",
|
|
1071
|
-
"git-error": "git
|
|
1181
|
+
"git-error": "git錯誤"
|
|
1072
1182
|
},
|
|
1073
1183
|
"errors": {
|
|
1074
1184
|
"no-username-email": "您的Git客戶端未配置用戶名/電子郵件。",
|
|
@@ -1079,11 +1189,20 @@
|
|
|
1079
1189
|
"editor-tab": {
|
|
1080
1190
|
"properties": "屬性",
|
|
1081
1191
|
"envProperties": "環境變量",
|
|
1192
|
+
"module": "模塊屬性",
|
|
1082
1193
|
"description": "描述",
|
|
1083
1194
|
"appearance": "外觀",
|
|
1084
1195
|
"preview": "UI預覽",
|
|
1085
|
-
"defaultValue": "默認值"
|
|
1086
|
-
|
|
1196
|
+
"defaultValue": "默認值"
|
|
1197
|
+
},
|
|
1198
|
+
"tourGuide": {
|
|
1199
|
+
"takeATour": "查看更新內容",
|
|
1200
|
+
"start": "開始",
|
|
1201
|
+
"next": "下一個",
|
|
1202
|
+
"welcomeTours": "歡迎使用 Node-RED"
|
|
1203
|
+
},
|
|
1204
|
+
"diagnostics": {
|
|
1205
|
+
"title": "系统信息"
|
|
1087
1206
|
},
|
|
1088
1207
|
"languages": {
|
|
1089
1208
|
"de": "德語",
|
|
@@ -1095,5 +1214,31 @@
|
|
|
1095
1214
|
"ru":"俄語",
|
|
1096
1215
|
"zh-CN": "簡體中文",
|
|
1097
1216
|
"zh-TW": "繁體中文"
|
|
1217
|
+
},
|
|
1218
|
+
"validator": {
|
|
1219
|
+
"errors": {
|
|
1220
|
+
"invalid-json": "無效的 JSON 數據: __error__",
|
|
1221
|
+
"invalid-expr": "無效的 JSONata 表達式: __error__",
|
|
1222
|
+
"invalid-prop": "無效的屬性表達式",
|
|
1223
|
+
"invalid-num": "無效的數字",
|
|
1224
|
+
"invalid-regexp": "輸入格式無效",
|
|
1225
|
+
"invalid-regex-prop": "__prop__: 輸入格式無效",
|
|
1226
|
+
"missing-required-prop": "__prop__: 缺少屬性值",
|
|
1227
|
+
"invalid-config": "__prop__: 無效的配置節點",
|
|
1228
|
+
"missing-config": "__prop__: 缺少配置節點",
|
|
1229
|
+
"validation-error": "__prop__: 驗證錯誤: __node__, __id__: __error__"
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"contextMenu": {
|
|
1233
|
+
"showActionList":"顯示動作列表",
|
|
1234
|
+
"insert": "插入",
|
|
1235
|
+
"node": "節點",
|
|
1236
|
+
"junction": "連接點",
|
|
1237
|
+
"linkNodes": "鏈接節點"
|
|
1238
|
+
},
|
|
1239
|
+
"env-var": {
|
|
1240
|
+
"environment": "環境配置",
|
|
1241
|
+
"header": "全局環境變量",
|
|
1242
|
+
"revert": "重置"
|
|
1098
1243
|
}
|
|
1099
1244
|
}
|
package/package.json
CHANGED
package/public/red/about
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
#### 3.1.3: Maintenance Release
|
|
2
|
+
|
|
3
|
+
Editor
|
|
4
|
+
|
|
5
|
+
- Add missing en-us messages (#4475) @knolleary
|
|
6
|
+
|
|
7
|
+
#### 3.1.2: Maintenance Release
|
|
8
|
+
|
|
9
|
+
Editor
|
|
10
|
+
|
|
11
|
+
- Relax some node validators to allow undefined value (#4471) @knolleary
|
|
12
|
+
- Fix switch validation of typeof field (#4465) @knolleary
|
|
13
|
+
- Use move cursor when hovering on group border (#4467) @knolleary
|
|
14
|
+
- Added action list Chinese (Simplified and Traditional) translation + v3.1.1 changes (#4470) @wangyiyi2056
|
|
15
|
+
- Add French translation of `action-list` + v3.1.1 changes (#4466) @GogoVega
|
|
16
|
+
|
|
17
|
+
Runtime
|
|
18
|
+
|
|
19
|
+
- Ensure nested groups inside subflows have their g props remapped (#4472) @knolleary
|
|
20
|
+
|
|
1
21
|
#### 3.1.1: Maintenance Release
|
|
2
22
|
|
|
3
23
|
Editor
|
package/public/red/red.js
CHANGED
|
@@ -8487,6 +8487,9 @@ RED.validators = {
|
|
|
8487
8487
|
if (options.allowBlank && v === '') {
|
|
8488
8488
|
return true
|
|
8489
8489
|
}
|
|
8490
|
+
if (options.allowUndefined && v === undefined) {
|
|
8491
|
+
return true
|
|
8492
|
+
}
|
|
8490
8493
|
const result = RED.utils.validateTypedProperty(v, ptype, opt)
|
|
8491
8494
|
if (result === true || opt) {
|
|
8492
8495
|
// Valid, or opt provided - return result as-is
|
|
@@ -45052,7 +45055,7 @@ RED.search = (function() {
|
|
|
45052
45055
|
}
|
|
45053
45056
|
|
|
45054
45057
|
menuItems.push(
|
|
45055
|
-
{ onselect: 'core:show-action-list', onpostselect: function () { } }
|
|
45058
|
+
{ onselect: 'core:show-action-list', label: RED._("contextMenu.showActionList"), onpostselect: function () { } }
|
|
45056
45059
|
)
|
|
45057
45060
|
|
|
45058
45061
|
const insertOptions = []
|
|
@@ -45116,16 +45119,16 @@ RED.search = (function() {
|
|
|
45116
45119
|
const nodeOptions = []
|
|
45117
45120
|
if (!hasMultipleSelection && !isGroup) {
|
|
45118
45121
|
nodeOptions.push(
|
|
45119
|
-
{ onselect: 'core:show-node-help' },
|
|
45122
|
+
{ onselect: 'core:show-node-help', label: RED._('menu.label.showNodeHelp') },
|
|
45120
45123
|
null
|
|
45121
45124
|
)
|
|
45122
45125
|
}
|
|
45123
45126
|
nodeOptions.push(
|
|
45124
|
-
{ onselect: 'core:enable-selected-nodes' },
|
|
45125
|
-
{ onselect: 'core:disable-selected-nodes' },
|
|
45127
|
+
{ onselect: 'core:enable-selected-nodes', label: RED._('menu.label.enableSelectedNodes') },
|
|
45128
|
+
{ onselect: 'core:disable-selected-nodes', label: RED._('menu.label.disableSelectedNodes') },
|
|
45126
45129
|
null,
|
|
45127
|
-
{ onselect: 'core:show-selected-node-labels' },
|
|
45128
|
-
{ onselect: 'core:hide-selected-node-labels' }
|
|
45130
|
+
{ onselect: 'core:show-selected-node-labels', label: RED._('menu.label.showSelectedNodeLabels') },
|
|
45131
|
+
{ onselect: 'core:hide-selected-node-labels', label: RED._('menu.label.hideSelectedNodeLabels') }
|
|
45129
45132
|
)
|
|
45130
45133
|
menuItems.push({
|
|
45131
45134
|
label: RED._('sidebar.info.node'),
|
|
@@ -45134,8 +45137,8 @@ RED.search = (function() {
|
|
|
45134
45137
|
menuItems.push({
|
|
45135
45138
|
label: RED._('sidebar.info.group'),
|
|
45136
45139
|
options: [
|
|
45137
|
-
{ onselect: 'core:group-selection' },
|
|
45138
|
-
{ onselect: 'core:ungroup-selection', disabled: !hasGroup },
|
|
45140
|
+
{ onselect: 'core:group-selection', label: RED._("menu.label.groupSelection") },
|
|
45141
|
+
{ onselect: 'core:ungroup-selection', label: RED._("menu.label.ungroupSelection"), disabled: !hasGroup },
|
|
45139
45142
|
]
|
|
45140
45143
|
})
|
|
45141
45144
|
if (hasGroup) {
|
|
@@ -45151,8 +45154,8 @@ RED.search = (function() {
|
|
|
45151
45154
|
}
|
|
45152
45155
|
menuItems[menuItems.length - 1].options.push(
|
|
45153
45156
|
null,
|
|
45154
|
-
{ onselect: 'core:copy-group-style', disabled: !hasGroup },
|
|
45155
|
-
{ onselect: 'core:paste-group-style', disabled: !hasGroup}
|
|
45157
|
+
{ onselect: 'core:copy-group-style', label: RED._("keyboard.copyGroupStyle"), disabled: !hasGroup },
|
|
45158
|
+
{ onselect: 'core:paste-group-style', label: RED._("keyboard.pasteGroupStyle"), disabled: !hasGroup}
|
|
45156
45159
|
)
|
|
45157
45160
|
}
|
|
45158
45161
|
if (canEdit && hasMultipleSelection) {
|
|
@@ -45182,7 +45185,7 @@ RED.search = (function() {
|
|
|
45182
45185
|
{ onselect: 'core:cut-selection-to-internal-clipboard', label: RED._("keyboard.cutNode"), disabled: !canEdit || !hasSelection },
|
|
45183
45186
|
{ onselect: 'core:copy-selection-to-internal-clipboard', label: RED._("keyboard.copyNode"), disabled: !hasSelection },
|
|
45184
45187
|
{ onselect: 'core:paste-from-internal-clipboard', label: RED._("keyboard.pasteNode"), disabled: !canEdit || !RED.view.clipboard() },
|
|
45185
|
-
{ onselect: 'core:delete-selection', disabled: !canEdit || !canDelete },
|
|
45188
|
+
{ onselect: 'core:delete-selection', label: RED._('keyboard.deleteSelected'), disabled: !canEdit || !canDelete },
|
|
45186
45189
|
{ onselect: 'core:delete-selection-and-reconnect', label: RED._('keyboard.deleteReconnect'), disabled: !canEdit || !canDelete },
|
|
45187
45190
|
{ onselect: 'core:show-export-dialog', label: RED._("menu.label.export") },
|
|
45188
45191
|
{ onselect: 'core:select-all-nodes', label: RED._("keyboard.selectAll") },
|