Skip to content

Commit f14f822

Browse files
committed
fix(WebServer): add i18n for slot enable/disable tooltip
1 parent 578ae62 commit f14f822

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Tools/WebServer/static/js/locales/en.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ window.i18nResources['en'] = {
377377
reinject: 'Re-inject all cached files',
378378
clear_all: 'Clear all FPB slots',
379379
clear_slot: 'Clear slot',
380-
toggle_enable: 'Click to enable/disable patch',
380+
click_to_disable: 'Click to disable patch',
381+
click_to_enable: 'Click to enable patch',
381382
reinject_all: 'Re-inject all ({{count}} files)',
382383
slot_original: 'Original',
383384
slot_target: 'Target',

Tools/WebServer/static/js/locales/zh-CN.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ window.i18nResources['zh-CN'] = {
370370
reinject: '重新注入所有缓存的文件',
371371
clear_all: '清除所有 FPB 槽位',
372372
clear_slot: '清除槽位',
373-
toggle_enable: '点击启用/禁用补丁',
373+
click_to_disable: '点击禁用补丁',
374+
click_to_enable: '点击启用补丁',
374375
reinject_all: '重新注入全部 ({{count}} 个文件)',
375376
slot_original: '劫持地址',
376377
slot_target: '跳转地址',

Tools/WebServer/static/js/locales/zh-TW.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ window.i18nResources['zh-TW'] = {
370370
reinject: '重新注入所有快取的檔案',
371371
clear_all: '清除所有 FPB 槽位',
372372
clear_slot: '清除槽位',
373-
toggle_enable: '點擊啟用/停用補丁',
373+
click_to_disable: '點擊停用補丁',
374+
click_to_enable: '點擊啟用補丁',
374375
reinject_all: '重新注入全部 ({{count}} 個檔案)',
375376
slot_original: '劫持地址',
376377
slot_target: '跳轉地址',

0 commit comments

Comments
 (0)