Repository navigation
fix: correct i18n namespaces at 4 wrong call sites - #188
Merged
Merged
Conversation
BMJLearnToHelloWorld
added a commit
that referenced
this pull request
Nov 10, 2026
BMJLearnToHelloWorld
added a commit
that referenced
this pull request
Nov 10, 2026
BMJLearnToHelloWorld
added a commit
that referenced
this pull request
Nov 10, 2026
BMJLearnToHelloWorld
added a commit
that referenced
this pull request
Nov 10, 2026
… welcome, limit banner) (#193) * feat: G-11 stage D (customize page, topics view controls, first-login welcome, limit banner) * rebase: G-11 stage D onto main c82e61a (keeps #188 i18n fix) * Fix vue-tsc errors in G-11 D batch (7 new) * Fix: make LandingPageLayoutItem.static optional; revert placeholder static
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
最终重扫(
RESCAN-CROSS-CUTTING.md检查 3)发现 4 处 i18n 调用写错了命名空间,页面上直接显示原始 key 字符串。本批只改调用处,不动语言文件(6 个文件 +8/−8):shared.create→crud.create、shared.edit→crud.edit(CuratedAssetsWidget.vue:151,201)crud.loading→shared.loading(ArticlesRightPanel.vue:132、MemoryConflictCompareModal.vue:209、MemoryConflictReviews.vue:152)crud.retry→shared.retry(MemoryConflictReviews.vue:157、GlossaryDetailView.vue:821、WorkflowsView.vue:199)依据
正确的 key 在两个语言文件里都已存在,只是命名空间写反了:
shared.loading/shared.retry(en-US.ts:14,17;zh-CN 同样布局)、crud.edit/crud.create(en-US.ts:989-990;zh-CN:977-978)。正确的 key 在别处已有 78 次引用。修复后全仓 grep 4 个错 key 为 0 命中;src/i18n/的 diff 为空。测试
i18n/index、i18n/localePreference、i18n/messageKeys(后者断言中英文叶子 key 逐项对齐)。