Skip to content

Commit 05252fa

Browse files
committed
Fix and Add some Chinese translations
1 parent 1377439 commit 05252fa

2 files changed

Lines changed: 50 additions & 15 deletions

File tree

nodes/core/locales/zh-CN/messages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"previous": "之前数值",
4949
"at": "",
5050
"and": "之间",
51-
"every": "每个",
51+
"every": "每隔",
5252
"days": [
5353
"星期一",
5454
"星期二",
@@ -60,7 +60,7 @@
6060
],
6161
"on": "",
6262
"onstart": "运行时注入?",
63-
"tip": "<b>注意:</b> \"特定时间内间隔\"\"特定时间\" 会用cron系统.<br/> 详情擦看信息页.",
63+
"tip": "<b>注意:</b> \"特定时间内间隔\"\"特定时间\" 会使用cron系统.<br/> 详情查看信息页.",
6464
"success": "成功注入: __label__",
6565
"errors": {
6666
"failed": "注入失败, 请查看日志"

red/api/editor/locales/zh-CN/editor.json

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,28 @@
2929
"label": {
3030
"view": {
3131
"view": "显示",
32+
"grid": "网格",
3233
"showGrid": "显示网格",
3334
"snapGrid": "对齐网格",
3435
"gridSize": "网格尺寸",
3536
"textDir": "文本方向",
36-
"defaultDir": "默认",
37+
"defaultDir": "默认方向",
3738
"ltr": "从左到右",
3839
"rtl": "从右到左",
3940
"auto": "上下文"
4041
},
4142
"sidebar": {
4243
"show": "显示侧边栏"
4344
},
44-
"userSettings": "设定",
45+
"settings": "设置",
46+
"userSettings": "用户设置",
47+
"nodes": "节点",
4548
"displayStatus": "显示节点状态",
46-
"displayConfig": "配置节点设定",
49+
"displayConfig": "修改节点配置",
4750
"import": "导入",
4851
"export": "导出",
49-
"search": "查询",
52+
"search": "查找流程",
53+
"searchInput": "查找流程",
5054
"clipboard": "剪贴板",
5155
"library": "",
5256
"examples": "例子",
@@ -60,15 +64,23 @@
6064
"keyboardShortcuts": "键盘快捷方式",
6165
"login": "登陆",
6266
"logout": "退出",
63-
"editPalette": "编辑调面板",
67+
"editPalette":"节点管理",
68+
"other": "其他",
6469
"showTips": "显示小提示"
6570
}
6671
},
6772
"user": {
6873
"loggedInAs": "作为__name__登陆",
74+
"username": "账号",
75+
"password": "密码",
6976
"login": "登陆",
7077
"loginFailed": "登陆失败",
71-
"notAuthorized": "未授权"
78+
"notAuthorized": "未授权",
79+
"errors": {
80+
"settings": "设置信息需要登陆后才能访问",
81+
"deploy": "改动需要登陆后才能部署",
82+
"notAuthorized": "此操作需要登陆后才能执行"
83+
}
7284
},
7385
"notification": {
7486
"warning": "<strong>警告</strong>: __message__",
@@ -192,10 +204,10 @@
192204
"configDelete": "删除",
193205
"nodesUse": "__count__个节点使用此配置",
194206
"nodesUse_plural": "__count__个节点使用此配置",
195-
"addNewConfig": "添加新的__type__配置节点",
207+
"addNewConfig": "添加新的__type__配置",
196208
"editNode": "编辑__type__节点",
197-
"editConfig": "编辑__type__配置节点",
198-
"addNewType": "添加新节点__type__...",
209+
"editConfig": "编辑__type__配置",
210+
"addNewType": "添加新的__type__节点",
199211
"nodeProperties": "节点属性",
200212
"portLabels": "端口标签",
201213
"labelInputs": "输入",
@@ -347,18 +359,31 @@
347359
"sidebar": {
348360
"info": {
349361
"name": "节点信息",
362+
"tabName": "名称",
350363
"label": "信息",
351364
"node": "节点",
352365
"type": "类型",
353366
"id": "ID",
367+
"status": "状态",
368+
"enabled": "启用",
369+
"disabled": "禁用",
354370
"subflow": "子流程",
355371
"instances": "实例",
356372
"properties": "属性",
357373
"info": "信息",
358374
"blank": "空白",
359375
"null": "",
376+
"showMore": "展开",
377+
"showLess": "收起",
378+
"flow": "流程",
379+
"selection":"选择",
380+
"nodes":"__count__ 个节点",
381+
"flowDesc": "流程描述",
382+
"subflowDesc": "子流程描述",
383+
"nodeHelp": "节点帮助",
384+
"none":"",
360385
"arrayItems": "__count__个项目",
361-
"showTips": "您可以从设置面板打开提示"
386+
"showTips": "您可以从设置面板启用提示信息"
362387
},
363388
"config": {
364389
"name": "配置节点",
@@ -369,11 +394,20 @@
369394
"flows": "流程",
370395
"filterUnused": "未使用",
371396
"filterAll": "所有",
372-
"filtered": "__count__个隐藏"
397+
"filtered": "__count__ 个隐藏"
373398
},
374399
"palette": {
375-
"name": "面板管理",
376-
"label": "面板"
400+
"name": "节点管理",
401+
"label": "节点"
402+
},
403+
"project": {
404+
"label": "项目",
405+
"name": "项目",
406+
"description": "描述",
407+
"dependencies": "依赖",
408+
"settings": "设置",
409+
"editDescription": "编辑项目描述",
410+
"editDependencies": "编辑项目依赖"
377411
}
378412
},
379413
"typedInput": {
@@ -383,6 +417,7 @@
383417
"re": "正则表达式",
384418
"bool": "布尔",
385419
"json": "JSON",
420+
"bin": "二进制流",
386421
"date": "时间戳"
387422
}
388423
},

0 commit comments

Comments
 (0)