mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-19 10:22:07 +08:00
refactor(notice): make the notice table exhaustive and drop dead wire entries
D5 cleanup, frontend and backend in one commit: removes the six config_validate::* statuses that never receive a backend send and the set_config::ok send (enum variants, golden list 41→34, send point in restart_clash_core), their frontend handlers, and the five i18n keys only those handlers used. The notice table is now typed as a Record over the generated NoticeStatus union, so a status without a frontend entry fails to compile. The info status (sent by the silent updater for breaking change notices, previously dropped with a console warning) now shows an info toast — the one deliberate behavior delta.
This commit is contained in:
@@ -108,7 +108,6 @@
|
||||
"config": {
|
||||
"failed": "فشل التحقق من تكوين الاشتراك، يرجى فحص ملف التكوين، تم التراجع عن التغييرات، تفاصيل الخطأ:",
|
||||
"bootFailed": "فشل التحقق من التكوين عند الإقلاع، تم استخدام التكوين الافتراضي، يرجى فحص ملف التكوين، تفاصيل الخطأ:",
|
||||
"coreChangeFailed": "فشل التحقق من التكوين عند تغيير النواة، تم استخدام التكوين الافتراضي، يرجى فحص ملف التكوين، تفاصيل الخطأ:",
|
||||
"processTerminated": "تم إنهاء عملية التحقق. يرجى التحقق مما إذا كان برنامج الأمان يمنع تشغيل النواة، أو ما إذا كانت وحدة المعالجة المركزية وبيئة التشغيل في الكمبيوتر تدعمان برنامج النواة."
|
||||
},
|
||||
"script": {
|
||||
@@ -120,15 +119,11 @@
|
||||
"yaml": {
|
||||
"syntaxError": "YAML syntax error, changes reverted",
|
||||
"readError": "YAML read error, changes reverted",
|
||||
"mappingError": "YAML mapping error, changes reverted",
|
||||
"keyError": "YAML key error, changes reverted",
|
||||
"generalError": "YAML error, changes reverted"
|
||||
"mappingError": "YAML mapping error, changes reverted"
|
||||
},
|
||||
"merge": {
|
||||
"syntaxError": "Merge file syntax error, changes reverted",
|
||||
"mappingError": "Merge file mapping error, changes reverted",
|
||||
"keyError": "Merge file key error, changes reverted",
|
||||
"generalError": "Merge file error, changes reverted"
|
||||
"mappingError": "Merge file mapping error, changes reverted"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user