Skip to content

Add German localization to Maple Work - #1529

Merged
AnthonyRonning merged 3 commits into
masterfrom
feat/agent-german
Nov 10, 2026
Merged

AnthonyRonning merged 3 commits into
masterfrom
feat/agent-german

Conversation

@w3irdrobot

@w3irdrobot w3irdrobot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Adds Deutsch to Maple Work's language selector, with immediate switching and saved preferences. The complete German catalog covers settings, chat, recovery, permission prompts, native menus, integrations, and browser sign-in completion; regional German OS locales resolve to the shared de catalog.

Includes German macOS permission descriptions and translation revision tracking. Commands, confirmation words, user content, and machine identifiers retain their existing values.

Validation passed on Linux in the pinned Nix environment: just translations-reviewed de, full just ci (formatting, all lint configurations, workspace tests/builds, and headless tests), root just lane repo, and python3 apps/maple-agent/scripts/test_macos_localization.py. Native macOS/Windows visual and permission-dialog checks have not been performed.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@AnthonyRonning

Copy link
Copy Markdown
Contributor

Have you visually inspected this for overflow ?

@w3irdrobot

Copy link
Copy Markdown
Contributor Author

Not yet. Glanced at it to make sure this initial pass actually switched the language. Ran a different model against it to find mistakes and corrected a couple. Loading it up now to check for overflow.

@AnthonyRonning
AnthonyRonning marked this pull request as draft November 9, 2026 21:35
@w3irdrobot
w3irdrobot marked this pull request as ready for review November 9, 2026 22:28
@w3irdrobot

Copy link
Copy Markdown
Contributor Author

@AnthonyRonning lgtm. this is the worst of it and it appears to be only one line longer than the english version. i spot checked some of the grammar into kagi translate and it seemed right. weirdly, i can't highlight and copy any of the text but i imagine that's on purpose?

image

@AnthonyRonning AnthonyRonning left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably needs a rebase after some of the settings merged in. ping me once that's done. i believe we have CICD rules that enforce that we have translation parity any time english versions change. So we can merge this in as soon as it's fresh and green.

w3irdrobot and others added 3 commits November 10, 2026 13:10
Fix usage reset labels that broke with relative values, number
agreement in agent and queue counts, mistranslations of "browse",
and several terminology choices.

Co-Authored-By: Claude <[email protected]>
@w3irdrobot

Copy link
Copy Markdown
Contributor Author

@AnthonyRonning rebased onto master and updated the German catalog for the new settings and other English changes. Full local just ci and repository checks passed. Ready for another look.

@AnthonyRonning
AnthonyRonning merged commit 3a05b9a into master Nov 10, 2026
23 checks passed
@AnthonyRonning
AnthonyRonning deleted the feat/agent-german branch November 10, 2026 18:25
AnthonyRonning added a commit that referenced this pull request Nov 11, 2026
Master gained the German catalog (#1529) after this branch was cut, and
every shipped catalog must hold the same keys.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
AnthonyRonning added a commit that referenced this pull request Nov 11, 2026
…anners neutral (#1510)

* feat(agent): dock the out-of-usage notice in the composer and make status banners neutral

Running out of usage put a solid coral card with white text into the
transcript. widgets::banner painted 13 other errors and warnings the
same way; in dark, white on status_error is 2.97:1 and on status_warning
2.14:1, under the 4.5:1 body text needs.

- When a task's latest turn ended out of usage, a panel docked inside
  the composer offers Billing until another turn starts. The transcript
  keeps a one-line "Out of usage" marker of the turn.
- widgets::banner takes a Tone (error, warning, info) and draws a
  neutral card with the tone's icon on a tinted tile. All 18 call sites
  move; the Shortcuts reset confirmation's Reset is a secondary pill.
- Tokens bg_composer_tray, bg_inverse(_hover), on_inverse and
  accent_ink, held by the contrast test; widgets::inverse_button; Lucide
  gauge, triangle-alert, info and arrow-right.
- Strings chat-usage-limit-title and chat-usage-limit-body (en, es).
  USAGE_LIMIT_MESSAGE and stored timeline text are unchanged.

* refactor(agent): one inverted pill, default_button, for the composer panel and Reset

The out-of-usage panel's Open Billing and the Shortcuts Reset now use
widgets::default_button with the bg_default_button tokens, held to 7:1
at rest, hover and press, instead of a second inverted pill
(inverse_button, bg_inverse, on_inverse). The Settings regroup adds the
same pill, so the two branches share one definition.

The out-of-usage test also covers a refusal that arrives live and a
history window paged back from the end. docs/brand.md scopes its rule
to banners: primary_button and danger_button keep their labels until
the buttons' follow-up.

* fix(agent): shipcheck fixes for the composer panel and banners

- The composer panel also stays hidden while live rows sit past the
  loaded window (pages.live_has_more), not only when paged back.
- Light accent_ink is Maple 800: the panel's gauge reads 3.83:1 on its
  coral tile, and the contrast test now holds that pair to 3:1.
- Shortcut notices carry their own tone: applied and cancelled are
  info, rejected keys and navigation hints are warnings, failures are
  errors, instead of one warning tone for every outcome.
- The transcript marker shows the row's own title key, so its text
  matches its accessible name; Reset, Cancel and the unsaved-work lines
  are exposed through gpui::text!.
- The out-of-usage test covers a labelled refusal arriving live, an
  active run, a message in flight, live rows past the window and a
  history page, and checks the marker row stays.
- docs/brand.md: the composer panel leaves the field editable, and the
  light status_warning value matches theme.rs.

* Agent: add German for the out-of-usage notice

Master gained the German catalog (#1529) after this branch was cut, and
every shipped catalog must hold the same keys.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

---------

Co-authored-by: Anthony Ronning <[email protected]>
Co-authored-by: Claude Fable 5.2 <[email protected]>
AnthonyRonning added a commit that referenced this pull request Nov 11, 2026
Master gained the German catalog (#1529) after this branch was cut, and
every shipped catalog must hold the same keys.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
AnthonyRonning added a commit that referenced this pull request Nov 11, 2026
* feat(agent): show extra credits in the Settings menu and composer

The plan card reads the extra credit balance from the billing status it
already loads. The Settings menu shows it under the plan, and the plan bar
goes quiet once credits cover a used-up allowance. While tasks run on
credits, a chip by the send button shows the balance with the reset date on
hover. Credits retire the composer's out-of-usage panel, since they pay for
the next turn. The chat reads the plan again when the window comes back or
Settings closes, at most every 30 seconds.

* fix(agent): shipcheck fixes for the credits chip and panel rule

The out-of-usage panel stands down only while the billing reading says
extra credits extend a used-up plan, and a refusal that arrives while that
is already so keeps it: the credits did not pay. The plan reads 100% only
once it is used up. Plan replies carry a generation so an older one cannot
overwrite a newer one, and a failed read lets the next return ask again.
The chip's tooltip and label no longer put "Tomorrow" or "Monthly" inside
a sentence, and its label says what the tooltip does.

* fix(agent): the credit chip's hover shows only the balance and the reset date

* fix(agent): remove extra credits from chat input

* Agent: add German for extra credits in the Settings menu

Master gained the German catalog (#1529) after this branch was cut, and
every shipped catalog must hold the same keys.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

---------

Co-authored-by: marks <[email protected]>
Co-authored-by: Anthony Ronning <[email protected]>
Co-authored-by: Claude Fable 5.2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants