Skip to content

Add Spanish interface language, and make ribbon overflow visible - #129

Merged
echelon merged 4 commits into
storytold:mainfrom
GeronimoCastano:spanish-interface
Oct 10, 2026
Merged

echelon merged 4 commits into
storytold:mainfrom
GeronimoCastano:spanish-interface

Conversation

@GeronimoCastano

Copy link
Copy Markdown
Contributor

Summary

  • Adds Spanish (es) to File ▸ Options ▸ Interface language. Spanish system locales pick it up automatically.
  • Neutral Spanish: tú for sentences, infinitives for commands, sentence case. Written from the English meaning. No Microsoft Word localisation was consulted or copied.
  • When a ribbon tab is wider than the window, its edges show ‹ and › chevrons that scroll the row. The scrollbar was hidden before, so groups past the edge were clipped with no sign they existed. Spanish labels make Review and Home overflow at 1440 pt.

Review

Translations reviewed by a native Spanish speaker.

Testing

  • cargo test --workspace passes.
  • cargo xtask assets, layers, and wasm pass.
  • rustfmt --check is clean on the changed files.
  • Rendered the Spanish UI headlessly (Inicio, Insertar, Disposición, Revisar). Clicking › and ‹ scrolls the ribbon both ways.

Known gaps

  • Style gallery names (Normal, Heading 1, Title…) still show in English. They come from the document's style definitions, not the catalog.
  • The chevron tooltips show in English in other languages until translated.
  • cargo xtask ci fails at clippy on main with Rust 1.95 (xtask/src/layers.rs, crates/formats, crates/layout). This PR doesn't change those files.

GeronimoCastano and others added 4 commits October 9, 2026 18:34
Adds a Spanish catalog beside the Chinese and Japanese ones and registers
it in LANGUAGES, so it appears in File ▸ Options ▸ Interface language and
follows Spanish system locales (es-ES, es-MX, es-419 …).

Neutral Spanish: tú for sentences, infinitives for commands, sentence case.
Written from the English meaning; no Microsoft Word localisation was
consulted or copied. Covers the 771 keys of the existing catalogs, plus the
two ribbon-edge tooltips added in the next commit.

The bundled-catalog and every-command-translated tests pass.
The ribbon scrolls horizontally, but its scrollbar is hidden, so groups that
run past the window edge were clipped with no sign they existed. Spanish
labels make the Review and Home tabs wider than the window at 1440 pt.

Overflowing rows now show ‹ and › chevrons at the edges. Clicking one scrolls
the row by 160 pt; the chevron disappears at each end. The tooltips are in
the Spanish catalog and show in English in other languages until translated.
# Conflicts:
#	README.md
#	crates/ui-egui/src/i18n/mod.rs
… every catalog

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@echelon
echelon merged commit 7d592ce into storytold:main Oct 10, 2026
@echelon

echelon commented Oct 10, 2026

Copy link
Copy Markdown
Member

Merged — thank you for the contribution, @GeronimoCastano! 🎉 I merged main into your branch: Brazilian Portuguese landed just before, so the language list now has six entries; I added Spanish rows for four strings that landed on main meanwhile (Apply Styles, the dark page option and the link-scheme message), and translations of your “Scroll ribbon left/right” labels to the other catalogs. Your ‹ › edge cues were preferred over another ribbon-overflow approach because they scroll both ways.

If you haven't already, come join us on Discord: https://discord.gg/artcraft — we'd love to have you there.

echelon added a commit to chiranjeevi-max/wordcraft that referenced this pull request Oct 10, 2026
…b badges on main's tab strip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
echelon added a commit that referenced this pull request Oct 10, 2026
* UI polish: keytips, mini-toolbar, ribbon overflow, macOS typography

Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com>

* Address review: fix ribbon overflow activation, macOS Alt, token colors, cleanup

Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com>

* Contributors: credit chiranjeevi-max in the About window

Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com>

* Ribbon overflow: keep main's ‹ › edge cues (#129); keytip tab badges on main's tab strip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: Chiranjeevi U <244287281+chiranjeevi-max@users.noreply.github.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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