Resolve (untested): 8221-improve-german-translation#8256
Resolve (untested): 8221-improve-german-translation#8256Schwachinformatiker wants to merge 6 commits into
Conversation
…d german. First shy commit.
Review: PR #8256 - DRAFT: 8221-improve-german-translationSummaryThis PR improves the German (de-DE) locale and fixes a hardcoded English string in the interface settings component. It addresses issue #8221. Changes Analyzed
Issues Found
VerdictThe code changes are correct and well-scoped. The i18n fix in Recommendation: fix needed Action items:
|
…re are some translations still missing.
| "errorInvalidType": "Ungültiger Typ '{{type}}' für Server '{{serverName}}'. Typ muss 'stdio', 'http' oder 'sse' sein", | ||
| "save": "Speichern" | ||
| "save": "Speichern", | ||
| "transportType": "Transport Methode" |
There was a problem hiding this comment.
Not sure if this is really a meaningful translation...
… into 8221-improve-german-translation
|
I cannot test my changes because |
Follow-up Review (new commits since Jun 3)Two new commits since my last review:
What ChangedThe PR now touches 17 files: 8 German locale files, matching English locale files for new keys, 8 component files converting hardcoded strings to Issues Found1. German typo in 2. Compound noun in 3. PR not marked as GitHub Draft: Cairo Build IssueRegarding the
Recommendation: improve neededThe translation work is high quality overall. Fix the two typos above and resolve the local testing before requesting merge. Once tested and the typos are corrected, this should be ready. |
|
@qnixsynapse I cannot make |
Review: PR #8256 — Resolve (untested): 8221-improve-german-translationReviewing commit: OverviewThis PR extends and improves the German (de-DE) translation, adds missing English source keys to match, and converts several hardcoded English strings in component files to Critical Issues (build-breaking)1. Syntax error in The reasoning tooltip assignment uses const tooltipText =
reasoningValue === 'on'
? {t('common:reasoningForced')} // <-- SyntaxError
: reasoningValue === 'off'
? {t('common:reasoningDisabled')} // <-- SyntaxError
: {t('common:reasoningAuto')} // <-- SyntaxErrorFix: Remove the curly braces — these are JS ternary expressions, not JSX interpolations: const tooltipText =
reasoningValue === 'on'
? t('common:reasoningForced')
: reasoningValue === 'off'
? t('common:reasoningDisabled')
: t('common:reasoningAuto')2. Syntax error in Same issue — bare ) : (
{t('settings:localApiServer.serverStatusStopped')}
)This is inside a Fix: Remove the braces: ) : (
t('settings:localApiServer.serverStatusStopped')
)
Minor Issues3. 4. German translation nits (non-blocking):
5. Consistency: The English source file What Looks Good
TestingThe author explicitly notes this is untested due to build environment issues. Given the two syntax errors identified above, a build would indeed fail. After fixing those, manual verification of the German locale in-app would be needed. Recommendationfix needed — The two syntax errors in |
Describe Your Changes
This PR improves the translation in German as well as extends the translation.
It also replaces hard coded English text so it can be translated.
This PR is untested due to
make devdoes have problems on my computer (It complains about missing libraries but they are installed on my system).Fixes Issues
Self Checklist
Added relevant comments, esp in complex areasCreated issues for follow-up changes or refactoring needed