Repository navigation
Conversation
The dashboard's texts were hard-coded in English, so it stayed English when the host set ShellOptions.Language or the user picked a language in the shell. Like ConfigWay and MonitorWay, it now takes the language from Way.Shell: - i18n/translations.ts with en and pl, useI18n() reading the shell's language - the data grid's own texts (pagination, no rows) from MUI X plPL - relative times through dayjs' Polish locale, dates in the dashboard's language - e2e: the dashboard follows the shell's language switch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The dashboard's texts were hard-coded in English. ConfigWay and MonitorWay follow the language of Way.Shell (
ShellOptions.Languageor the user's choice in the shell), so in an app with several Ways the RunWay dashboard was the only English part of a Polish panel.What
i18n/translations.tswithenandpl, anduseI18n()reading the shell's language — the same pattern as ConfigWay and MonitorWay.plPL; they live ini18n/dataGrid.ts, imported only by the tables, so the dashboard's first load does not grow.Pulpit.Checks
npm run buildanddotnet buildof RunWay.Dashboard pass.npm run lint: the same 14 problems as onmain, none new.FailingJob, which reaches Failed only after the default retries (0, 10, 60, 600 s) on a fresh database — timing, not this change.🤖 Generated with Claude Code