Update header and sidebar labels - #5
Merged
Merged
Conversation
gersmann
pushed a commit
to gersmann/codex-monitor-web
that referenced
this pull request
Mar 10, 2026
…name Update header and sidebar labels
waliean
pushed a commit
to waliean/CodexMonitor
that referenced
this pull request
Aug 8, 2026
…language; Trans diff placeholder
- P1: module-level `const { t } = i18n` destructuring in
usageLabels.ts, homeFormatters.ts, homeUsageViewModel.ts and
ComposerAttachments.tsx dropped the i18next instance binding, so the
first t(...) call at render time threw instead of producing the usage
cards. All four now use `i18n.t.bind(i18n)` (still evaluated per call,
so language switches apply).
- Home usage card "Updated" suffix is now the localized
home:updatedLabel key instead of a hardcoded English prefix.
- src-tauri: the macOS tray rebuild paths (recent threads update and
session usage update) and the about-window title path now resolve the
persisted language through i18n::resolve_ui_language, matching the
startup menu/tray behavior instead of passing the raw (possibly empty)
saved value to t_rs.
- SettingsGitSection: the Trans for settings:git_commit_message_prompt_help
now passes values={{ diff: "{diff}" }} so the literal {diff} placeholder
is rendered again instead of being swallowed as a missing interpolation.
- docs/i18n-glossary.md: decision Dimillian#5 rewritten to describe the current
state (Rust menu/tray/about-title localized via t_rs with host-locale
fallback), removing the stale "not in Phase 1 scope" note.
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.
Update the main header to a single-line project/branch display and remove the branch pill. Rename the sidebar section to Projects and adjust header layout styles to keep the title bar compact.