Skip to content

Drop the Reboot to Boot Menu translations left behind by its removal - #16152

Open
mrjamesmyers wants to merge 2 commits into
omacom:quattrofrom
mrjamesmyers:fix/OM45-104
Open

mrjamesmyers wants to merge 2 commits into
omacom:quattrofrom
mrjamesmyers:fix/OM45-104

Conversation

@mrjamesmyers

Copy link
Copy Markdown
Contributor

This PR removes only the orphaned system.reboot-boot-menu entries (49 catalogs plus the manifest). It is up to date with quattro (merged, not rebased). The missing translations themselves need the sync workflow fixed (#15549 / #15778); the findings below explain why this orphan matters and what else is outstanding.

Finding

I wrote a validator that checks every catalog of the 49 non-English languages against English: key sets, %N placeholders, plural forms, markup, entities and newlines. For each language it finds the same 111 keys missing, 5,439 in total:

Catalog Missing per language What users see in English
shell.json 92 Almost the whole new notification center: 83 keys (DND, snooze, history, preferences, "Copy this code", relative times "now/yesterday/%1m ago"). Also 6 Elsewhen people and search strings, 2 bar and 1 agents string.
menu.json 9 Style > Font > CJK (the picker for Chinese, Japanese and Korean users, untranslated in ja, zh-CN, zh-TW and ko), and Remove > Service > 1Password.
cli.json 6 T3 Code channel prompts, CJK font change notices, and "turned off on this machine".
keybindings.json 4 "Move window to left/right/up/down monitor".

Everything else is sound: no placeholder or plural mismatches, no broken markup, and the plural rules agree with ICU/CLDR 48 for every language for counts 0–2000 and the millions. All 50 locales generate with omarchy-locale-generate and resolve with glibc. Noto covers every script.

Why CI is green

.github/workflows/i18n-check.yml:41 and i18n-sync.yml run I18N_STRUCTURAL=1 bash test/shell.d/i18n-test.sh. In that mode missing translations count as pending work, not failures. Nothing runs the full check before a release. At the tag, the full check fails at its first catalog:

$ bash test/shell.d/i18n-test.sh
["key set differs","system.reboot-boot-menu: not in the English catalog"]
not ok - da/menu.json mirrors the English catalog

system.reboot-boot-menu is a leftover of #15795, which removed the menu item but not its 49 translations or their manifest hashes. That orphan is the only extra key. The fix branch removes it, which lets the full check reach the real gap.

The translations aren't catching up

Every scheduled "Sync translations" run skips the translate job. On run 39540818298 (2026-10-21 03:50 UTC), extract and translate were skipped and every other job succeeded. On quattro HEAD today, da/shell.json still lacks 92 of 563 keys. #15549 (open) and #15778 (draft) fix the skip.

Suggested release gate

Run bash test/shell.d/i18n-test.sh without I18N_STRUCTURAL before cutting the 4.5.0 final release. Alternatively, release notes that advertise 50 languages should list what is still English.

Found while testing Omarchy 4.5.0-rc1.

mrjamesmyers and others added 2 commits October 21, 2026 01:21
omacom#15795 removed the menu item and its English label, but its translations
stayed in all 49 catalogs and the manifest. The full catalog check
(i18n-test.sh without I18N_STRUCTURAL) stops at da/menu.json on the
orphan before it reaches anything else.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@greptile-apps

greptile-apps Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This cleanup appears safe to merge.

Summary

Removes the unused system.reboot-boot-menu entry from all 49 non-English menu catalogs and its matching hashes from the translation manifest.

  • Localized menus no longer carry the removed reboot-to-boot-menu label.

Reviews (1) · Last reviewed commit: "Merge quattro into fix/OM45-104" · Reviewed by Greptile

@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review ready Good to merge labels Oct 22, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed at f637bf6, nothing to change.

What was checked, on a disposable worker built from the Omarchy ISO:

  • The orphan is real. On quattro (087f73d) the full bash test/shell.d/i18n-test.sh fails at da/menu.json with system.reboot-boot-menu: not in the English catalog, and 49 catalogs plus 49 manifest hashes carry the key. With this change reverted the same failure comes back. On this head both counts are zero, and the full check moves on to the translations that are still missing, which this pull request does not claim to fix.
  • Nothing reads the key any more: Remove the Reboot to Boot Menu menu item #15795 removed it from en/menu.json and omarchy-menu.jsonc, and no file under bin/, shell/ or scripts/ names it.
  • The removal is exactly what apply_prune in scripts/i18n-sync.py would write once the sync's translate job runs again: only that key, menu order kept, same formatting. So it does not conflict with Run Sync translations' translate job when there is nothing to extract #15549 or Run the translate job when nothing needed extracting #15778, which fix the skipped job rather than its output.
  • ./test/cli and I18N_STRUCTURAL=1 bash test/shell.d/i18n-test.sh pass on this head.

Second opinion from Codex Medium and muse-spark-1.3 (thinking high): both found nothing. Codex confirmed the 50 files match the sync script's serializer byte for byte and that the branch merges cleanly onto current quattro. They agreed with the review above, and their independence is not guaranteed.

This now waits on the maintainer.

@omarchybot omarchybot removed ready Good to merge verified Omarchy Triage has verified that this issue is ready for final review labels Oct 26, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Looked at this again because it stopped merging cleanly into quattro. The conflict is because quattro already made the same change.

The translation sync in #16574 (d52d57c, merged 2026-10-25) deleted the same system.reboot-boot-menu block from all 49 menu.json catalogs, along with its 49 translation-manifest.json hashes. At the current quattro tip (f2b8378), the key no longer appears anywhere in the tree. Every line this pull request removes is already gone there, and it changes nothing else. GitHub flags a conflict only because #16574 also edited the lines around those blocks. Resolving it by keeping this branch's files would throw away translations added since then, so there is nothing worth porting.

I checked this by comparing this branch's diff against quattro with git. Nothing was run on a worker this time, because no code is left to test. The second opinion, Codex Medium and muse-wonder via pi at thinking high, read both diffs and agreed that nothing in this pull request still needs doing. Its independence from my reasoning is not guaranteed.

@mrjamesmyers, thank you: you found the orphan key that broke the full i18n check, and it is fixed on quattro now. I've left this open for the maintainer, with the recommendation that it be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants