Skip to content

fix(i18n): route print progress strings through i18next#282

Open
art804 wants to merge 1 commit into
OpenAEC-Foundation:mainfrom
nz-rubix:up/fix-print-progress-i18n
Open

fix(i18n): route print progress strings through i18next#282
art804 wants to merge 1 commit into
OpenAEC-Foundation:mainfrom
nz-rubix:up/fix-print-progress-i18n

Conversation

@art804

@art804 art804 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The print job's progress toasts and error messages were hardcoded Dutch, so
non-Dutch users see Dutch text while printing (e.g. "Afdrukken voorbereiden…",
"Afdrukken mislukt: …").

Moved all the print-progress strings to dialogs:print.progress keys with en
and nl translations (the Dutch originals are preserved verbatim as the nl
values). Other languages fall back to English until translated. The three
placeholders — page render progress, copy N of M, and the error message — use
i18next interpolation.

No behavioural change beyond the displayed language; print-job.js calls the
same progress functions, now with translated strings.

The print job's progress toasts and error messages were hardcoded
Dutch, bypassing the translation system - non-Dutch users saw Dutch
text while printing. Move all seven strings to dialogs:print.progress
keys with en and nl translations (other languages fall back to en).
@art804 art804 requested a review from mojtabakarimi as a code owner July 14, 2026 05:34
@art804 art804 closed this Jul 14, 2026
@art804 art804 reopened this Jul 14, 2026
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.

1 participant