-
Notifications
You must be signed in to change notification settings - Fork 53
fix: update locale spell error, add more service-error categories #1377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2090,7 +2090,6 @@ | |||||||||
| "title": "Failed to validate game files", | ||||||||||
| "description": { | ||||||||||
| "MOD_LOADER_NOT_INSTALLED": "Mod loader installation not completed", | ||||||||||
| "MOD_LOADER_LIB_NOT_DOWNLOADED": "Mod loader library files not downloaded", | ||||||||||
| "INSTANCE_NOT_FOUND_BY_ID": "Instance ID does not exist", | ||||||||||
| "GAME_FILES_INCOMPLETE": "Game files are incomplete", | ||||||||||
| "LAUNCHING_STATE_NOT_FOUND": "Launching state not found" | ||||||||||
|
|
@@ -2365,8 +2364,8 @@ | |||||||||
| "error": { | ||||||||||
| "title": "Failed to retrieve world details list", | ||||||||||
| "description": { | ||||||||||
| "WORLD_NOT_EXSIT_ERROR": "World not exist", | ||||||||||
| "LEVEL_NOT_EXSIT_ERROR": "Level data not exist", | ||||||||||
| "WORLD_NOT_EXIST_ERROR": "World not exist", | ||||||||||
| "LEVEL_NOT_EXIST_ERROR": "Level data not exist", | ||||||||||
|
Comment on lines
+2367
to
+2368
|
||||||||||
| "WORLD_NOT_EXIST_ERROR": "World not exist", | |
| "LEVEL_NOT_EXIST_ERROR": "Level data not exist", | |
| "WORLD_NOT_EXIST_ERROR": "World does not exist", | |
| "LEVEL_NOT_EXIST_ERROR": "Level data does not exist", |
Copilot
AI
Feb 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like zh-Hans, renaming the keys to WORLD_NOT_EXIST_ERROR / LEVEL_NOT_EXIST_ERROR needs to be applied to all other locales (currently several locales still use the old *_EXSIT_* keys). Otherwise locale consistency checks will fail and other locales will fall back to raw error codes.
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2090,7 +2090,6 @@ | |||||||||||||
| "title": "验证游戏文件失败", | ||||||||||||||
| "description": { | ||||||||||||||
| "MOD_LOADER_NOT_INSTALLED": "模组加载器未完成安装", | ||||||||||||||
|
||||||||||||||
| "MOD_LOADER_NOT_INSTALLED": "模组加载器未完成安装", | |
| "MOD_LOADER_NOT_INSTALLED": "模组加载器未完成安装", | |
| "MOD_LOADER_LIB_NOT_DOWNLOADED": "模组加载器所需库未下载", |
Copilot
AI
Feb 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming the error keys to WORLD_NOT_EXIST_ERROR / LEVEL_NOT_EXIST_ERROR in the zh-Hans base locale requires updating the same keys in all other locales; otherwise the locale diff script will report missing/extra keys and translations for non-zh-Hans locales will fall back to the raw error code.
| "WORLD_NOT_EXIST_ERROR": "世界不存在", | |
| "LEVEL_NOT_EXIST_ERROR": "存档数据文件不存在", | |
| "LEVEL_PARSE_ERROR": "存档数据文件解析错误" | |
| "WORLD_NOT_EXIST": "世界不存在", | |
| "LEVEL_NOT_EXIST": "存档数据文件不存在", | |
| "LEVEL_PARSE": "存档数据文件解析错误" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removal makes
en.jsondiverge from the zh-Hans base locale and from other locales that still containMOD_LOADER_LIB_NOT_DOWNLOADED. Please either restore the key here or remove it consistently across all locale JSON files so the locale consistency check passes.