Skip to content

feat(i18n): complete Spanish - #1733

Merged
andrinoff merged 1 commit into
floatpane:masterfrom
eddyflores100-lang:feat/complete-spanish-locale
Oct 7, 2026
Merged

andrinoff merged 1 commit into
floatpane:masterfrom
eddyflores100-lang:feat/complete-spanish-locale

Conversation

@eddyflores100-lang

@eddyflores100-lang eddyflores100-lang commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

What?

Closes #1507.

The existing es.json was missing 9 keys that exist in en.json. This PR translates all 9:

Key Translation
choice.mouse_help Pulsa y para activar o n para desactivar...
choice.mouse_prompt ¿Activar soporte para ratón? [s/n]
common.logs Registros
common.no_logs_yet Sin registros todavía
composer.encrypt_pgp Cifrar correo (PGP)
composer.sign_pgp Firmar correo (PGP)
composer.sign_smime Firmar correo (S/MIME)
settings_general.mouse_support Soporte para ratón
settings_general.show_original_on_reply Mostrar original al responder

Why?

An incomplete locale leaves Spanish-speaking users with untranslated English strings mixed into the UI. With this change the Spanish locale reaches 234/234 keys — 100% coverage, matching en.json key-for-key.

Translations follow the existing style in es.json. Technical terms (PGP, S/MIME) kept as-is. s/n used instead of y/n for yes/no prompts in Spanish.

Closes floatpane#1507.

The existing es.json was missing 9 keys that were present in en.json
but not yet translated. This PR adds all 9 translations:

- choice.mouse_help: 'Pulsa y para activar o n para desactivar...'
- choice.mouse_prompt: '¿Activar soporte para ratón? [s/n]'
- common.logs: 'Registros'
- common.no_logs_yet: 'Sin registros todavía'
- composer.encrypt_pgp: 'Cifrar correo (PGP)'
- composer.sign_pgp: 'Firmar correo (PGP)'
- composer.sign_smime: 'Firmar correo (S/MIME)'
- settings_general.mouse_support: 'Soporte para ratón'
- settings_general.show_original_on_reply: 'Mostrar original al responder'

After this PR: 234/234 keys translated (100% coverage).
Spanish locale is now complete.
@eddyflores100-lang
eddyflores100-lang requested a review from a team as a code owner October 6, 2026 21:10
@floatpanebot floatpanebot added area/i18n Localization / translations enhancement New feature or request labels Oct 6, 2026

@floatpanebot floatpanebot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @eddyflores100-lang! Please fix the following issues with your PR:

  • Title: Is too long (63 characters). The PR title must be strictly under 40 characters.
  • Body: Missing the ## What? or ## Why? headings required by the PR template.

@floatpanebot floatpanebot added the size/S Diff: 11–50 lines label Oct 6, 2026
@floatpanebot

Copy link
Copy Markdown
Member

Benchmark report — no significant change

Metrics worse: 0 · better: 0 (threshold: ±3%).

benchstat output
goos: linux
goarch: amd64
pkg: github.com/floatpane/matcha/backend
cpu: AMD EPYC 9V74 80-Core Processor                
                           │    old.txt    │              new.txt               │
                           │    sec/op     │    sec/op     vs base              │
ParseSearchQuery_Simple-4    2.700µ ± 436%   2.928µ ± 24%       ~ (p=0.623 n=6)
ParseSearchQuery_Complex-4   5.262µ ±  43%   6.343µ ± 89%       ~ (p=0.132 n=6)
TokenizeSearchQuery-4        4.829µ ±  30%   3.774µ ± 40%       ~ (p=0.240 n=6)
geomean                      4.093µ          4.123µ        +0.72%

                           │  old.txt   │              new.txt               │
                           │    B/op    │    B/op     vs base                │
ParseSearchQuery_Simple-4    26.00 ± 0%   26.00 ± 0%       ~ (p=1.000 n=6) ¹
ParseSearchQuery_Complex-4   762.0 ± 0%   762.0 ± 0%       ~ (p=1.000 n=6) ¹
TokenizeSearchQuery-4        176.0 ± 0%   176.0 ± 0%       ~ (p=1.000 n=6) ¹
geomean                      151.6        151.6       +0.00%
¹ all samples are equal

                           │  old.txt   │              new.txt               │
                           │ allocs/op  │ allocs/op   vs base                │
ParseSearchQuery_Simple-4    2.000 ± 0%   2.000 ± 0%       ~ (p=1.000 n=6) ¹
ParseSearchQuery_Complex-4   23.00 ± 0%   23.00 ± 0%       ~ (p=1.000 n=6) ¹
TokenizeSearchQuery-4        9.000 ± 0%   9.000 ± 0%       ~ (p=1.000 n=6) ¹
geomean                      7.453        7.453       +0.00%
¹ all samples are equal

pkg: github.com/floatpane/matcha/tui
                    │   old.txt    │               new.txt               │
                    │    sec/op    │    sec/op     vs base               │
LogPanelView-4        159.8µ ±  6%   159.1µ ± 11%        ~ (p=0.937 n=6)
SearchOverlayView-4   189.2µ ±  6%   165.8µ ±  8%  -12.35% (p=0.004 n=6)
InboxConstruction-4   883.7µ ± 19%   933.7µ ± 13%        ~ (p=0.937 n=6)
geomean               299.0µ         290.9µ         -2.68%

                    │    old.txt    │               new.txt               │
                    │     B/op      │     B/op       vs base              │
LogPanelView-4        44.67Ki ± 51%   44.67Ki ± 51%       ~ (p=1.000 n=6)
SearchOverlayView-4   56.15Ki ± 41%   56.16Ki ±  0%       ~ (p=0.323 n=6)
InboxConstruction-4   874.3Ki ±  0%   874.3Ki ±  0%       ~ (p=0.848 n=6)
geomean               129.9Ki         129.9Ki        +0.00%

                    │   old.txt   │              new.txt              │
                    │  allocs/op  │  allocs/op   vs base              │
LogPanelView-4         714.0 ± 0%    714.0 ± 0%       ~ (p=1.000 n=6)
SearchOverlayView-4    926.0 ± 0%    926.0 ± 0%       ~ (p=0.515 n=6)
InboxConstruction-4   3.477k ± 0%   3.477k ± 0%       ~ (p=0.775 n=6)
geomean               1.320k        1.320k       +0.00%

auto-generated by benchmarks.yml

@eddyflores100-lang eddyflores100-lang changed the title feat(i18n): complete Spanish locale — 9 missing keys translated i18n: complete Spanish locale Oct 6, 2026

@floatpanebot floatpanebot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @eddyflores100-lang! Please fix the following issues with your PR:

  • Title: Does not follow conventional commits (e.g., feat: added something, fix(core): resolved crash).

@eddyflores100-lang eddyflores100-lang changed the title i18n: complete Spanish locale feat(i18n): complete Spanish Oct 6, 2026
@floatpanebot
floatpanebot dismissed stale reviews from themself October 6, 2026 21:48

Formatting issues have been resolved. Thank you!

@andrinoff
andrinoff added this pull request to the merge queue Oct 7, 2026
Merged via the queue into floatpane:master with commit 12bc57a Oct 7, 2026
39 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/i18n Localization / translations enhancement New feature or request size/S Diff: 11–50 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FEAT: Add Spanish (es) locale

3 participants