codeburn/mac/Sources/CodeBurnMenubar
ozymandiashh e8ae6cb9c4 feat(menubar): translate the strings the two new menubar features added
and #1286's Copilot host fix all shipped user-facing copy that bypasses the
catalog — neither of the first two PRs' diffs contains a single `L(` call. In a
zh-Hans build those strings render in English.

Sweeping mac/Sources the way the original extraction did brings 18 new keys,
and retires 2 that main reworded (the Copilot help paragraph gained the
GitHub Enterprise Cloud host rule; the connection detail now names the host
that answered rather than hardcoding api.github.com). 533 keys become 551.

Routed here:

- Second row: the Settings toggle, the metric picker and its four option
  names, the help paragraph, and the row text itself — today's cost, today's
  tokens, and the quota row with and without a provider label. The reset
  countdown reuses the popover's own `%lldd %lldh` / `%lldh %lldm` / `%lldm`
  keys rather than minting a second set, so the two countdowns cannot
  disagree in a translated build.
- Capacity Dock glance: the switch hint and the named VoiceOver action.
- Copilot: the reworded help paragraph and the host-aware connection detail.

Kept verbatim, per the rules in the catalog header: provider, model and plan
names; `tok`; the `%.2f` amount and its currency symbol; and the window label
the gauge reports, which is provider data and doubles as the matching needle
in CapacityDockGlanceWindow — translating the generic fallback alone would
make one VoiceOver sentence half-Chinese depending on the provider selected.

Also localizes CodexUsage's credit-limit labels. Those are not new, they were
missed by the original extraction and the guard test in the next commit finds
them; leaving them would mean shipping a test that fails on main.

Verified with a standalone swiftc harness over both tables (`swift test`
cannot run on this host): key parity, no blank values, en identity, and
argument/literal-percent specifier parity, plus the new rows formatting
correctly in both locales.
2026-09-12 15:22:47 -07:00
..
Data feat(menubar): translate the strings the two new menubar features added 2026-09-12 15:22:47 -07:00
Resources feat(menubar): translate the strings the two new menubar features added 2026-09-12 15:22:47 -07:00
Security feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
Theme feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
Views feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
AppStore.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
AppVersion.swift Normalize menubar version display 2026-05-11 11:21:39 -07:00
CapacityDockController.swift feat(mac): tell the user when a quota reset came early 2026-09-12 14:58:42 -07:00
CapacityDockMotion.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CapacityDockPlacement.swift fix(menubar): keep Capacity Dock hover alive after app deactivation (#1170) 2026-08-29 18:42:27 +02:00
CapacityDockPointerUpdateCoalescer.swift Fix Capacity Dock pointer coalescing and dismissal 2026-09-01 16:51:00 +05:30
CodeBurnApp.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
CurrencyState.swift perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
Localization.swift feat(menubar): add Simplified Chinese (zh-Hans) localization 2026-09-12 15:21:49 -07:00
MenubarScope.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
MenubarSecondRow.swift feat(menubar): translate the strings the two new menubar features added 2026-09-12 15:22:47 -07:00
ProviderIcon.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
QuotaRefreshDecision.swift fix(mac): keep dock quota fresh when the payload tick is skipped 2026-09-12 03:47:46 -07:00
RefreshCadence.swift menubar: skip unchanged background refreshes, 120s AC idle cadence, utility QoS for tick spawns (#703) (#704) 2026-07-16 15:11:25 -07:00
SessionCountLabel.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
StatusItemContextMenuPolicy.swift test(mac): lock status-item context menu policy (#802) 2026-07-24 19:27:25 +07:00
StatusItemPlacementPolicy.swift fix(menubar): recover parked status item (#1161) 2026-08-28 13:20:48 -07:00