Skip to content

Commit e666715

Browse files
committed
fix: 修补中英文
1 parent 9f8f033 commit e666715

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.15.2",
3+
"version": "2.15.3",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/locales/en.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,14 @@ export default {
527527
"Input Script Link or Internal File like /api/file/name. In addition to the parameters of the script itself, there is support for additional parameters: noCache - do not use cache. For example: http://a.com#a=1&b=2#noCache",
528528
openEditorBtn: "Open Code Editor",
529529
tipsTitle: "Script Filter Tips",
530-
tipsDes: "Use a JavaScript script to modify node information",
530+
tipsDes: "Use a JavaScript script to filter nodes",
531+
noCacheTips: 'When the cache is turned off, the script is refetched for each request.',
532+
paramsEditTips: 'Visual parameter editor, duplicate key names will adopt the principle of prioritizing the latter value.',
533+
paramsAdd: 'Add',
534+
paramsDelete: 'Delete',
535+
paramsOptions: 'Options',
536+
paramsEmpty: 'No parameters',
537+
duplicateKeyWarning: 'Duplicate key names',
531538
},
532539
"Script Operator": {
533540
label: "Script Operator",
@@ -537,7 +544,7 @@ export default {
537544
"Input Script Link or Internal File like /api/file/name. In addition to the parameters of the script itself, there is support for additional parameters: noCache - do not use cache. For example: http://a.com#a=1&b=2#noCache",
538545
openEditorBtn: "Open Code Editor",
539546
tipsTitle: "Script Operator Tips",
540-
tipsDes: "Use a JavaScript script to filter nodes",
547+
tipsDes: "Use a JavaScript script to modify node information",
541548
paramsEdit: 'Edit Parameters',
542549
noCache: 'noCache',
543550
helpTitle: 'noCache Tips',

src/locales/zh.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,16 @@ export default {
543543
openEditorBtn: '打开脚本编辑器',
544544
tipsTitle: '脚本过滤器操作提示',
545545
tipsDes: '使用一段 JavaScript 脚本来过滤节点',
546+
paramsEdit: '参数编辑',
547+
noCache: '关闭缓存',
548+
helpTitle: '温馨提示',
549+
noCacheTips: '关闭缓存后, 每次请求都会重新获取脚本内容',
550+
paramsEditTips: '可视化参数编辑器,重复键名将采用后值优先原则',
551+
paramsAdd: '添加参数',
552+
paramsDelete: '删除',
553+
paramsOptions: '操作',
554+
paramsEmpty: '暂无参数数据',
555+
duplicateKeyWarning: '重复的键名',
546556
},
547557
},
548558
sourceNamePicker: {

0 commit comments

Comments
 (0)