Repository navigation
Conversation
…main #51417 moved bots.items.menu.cancel/done to bots.items.row.*, while the fr/es/ja/zh-Hant desktop translation PRs merged with the old keys. The catalog verifier now fails on main with 'extra' keys. Remove the stale pair and carry each locale's existing Cancel translation to bots.items.row.cancel.
Contributor
Author
|
Folded into #51478, since each fix would fail CI on the other's break. |
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.
ELI5
Four translation files still had two menu labels that the English source had just moved somewhere else, so the translation check on main fails. This removes the leftovers and keeps the "Cancel" label translated in its new place.
What Changed
es,fr,ja,zh-Hant: removedbots.items.menu.cancelandbots.items.menu.done, whichen.jsonno longer has after feat(bots): Cancel replaces the More menu in item row hover actions #51417.bots.items.row.cancel, reusing each locale's existing "Cancel" translation (Cancelar / Annuler / キャンセル / 取消). The other locales already have this key.Why
#51417 moved the item Cancel action from the menu to a row hover action, renaming the keys. The French, Spanish, Japanese and Traditional Chinese translation PRs (#51396, #51394, #51390, #51392) were based on an older main, merged cleanly in git, and brought the removed keys back.
verify-localization-catalogs.mjsnow fails on main withextra: bots.items.menu.cancel, extra: bots.items.menu.done, which blocks every PR's localization gate.Testing
bun config/scripts/localization/catalog-validation/verify-localization-catalogs.mjspasses (exit 0), andverify-localization-catalog.mjspasses.