Repository navigation
chore(i18n): sync translations from Crowdin - #919
codeswhat-crowdin-sync[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Closing this. It isn't a translation problem, it's the sync reverting work. Against the current Cause is #804. Turning off Fixed in #920: Same PR translates the 11 keys properly in all 16 locales and flips Next scheduled sync will recreate this branch without the README churn. |
Korean picks a particle by whether the preceding syllable ends in a consonant or a vowel. Drydock reads 드라이독, which ends in ㄱ, so it takes 이/은/을/과/으로 and never 가/는/를/와/로. CodeRabbit caught `Drydock가` in the actionPolicyTooltip string added by the previous commit; two more were already in the catalog beside it, in updateStatus.summary.notify and in configView, both from Crowdin. Every other Drydock in ko already used the consonant forms, so these three were the outliers. Nothing flagged them, which is the same shape as the gap this branch is about: key-parity compares structure, placeholder-parity compares braces, and no-raw-text only looks for English leaking into templates. The new korean-particles gate reads every ko namespace and fails on a vowel-form particle attached to a name whose Korean reading ends in a consonant, with the offending line and the correction. It is deliberately keyed on a short list rather than applied to every proper noun, because Docker reads 도커 and is vowel-final, so `Docker가` is correct and a blanket rule would flag it. The two Crowdin-stored strings may come back on a sync: re-uploading a corrected translation adds a candidate alongside the stored one instead of replacing it, the same behaviour that produced #919 on the READMEs. The gate is what makes that loud instead of silent.
…ey gaps (#920) * fix(i18n): stop Crowdin reverting the translated READMEs, close the key gaps Two failures with the same root: the sync was trusted to fill in what the repo had not translated, and what it actually fills in is verbatim English. README.md was registered as a Crowdin source, so every sync round-tripped the six hand-translated READMEs through the project. Turning off content segmentation in #804 to fix an earlier corruption renumbered every segment, which orphaned the stored translations from the strings they belonged to, and Crowdin exports source text for anything it cannot match. The next sync opened as PR #919 deleting 1392 lines of translated README across all six files, caught only because readme-translations.test.ts failed 30 assertions. Crowdin no longer maps README.md: those files are hand-authored in-repo and asserted phrase by phrase at every cut, nobody translates them in Crowdin, and the mapping only ever produced a PR that undid the work. The workflow's push trigger drops README.md for the same reason, and the assertion in crowdin-workflow.test.ts is inverted so re-adding the mapping fails CI. The eleven action-policy keys are the other half. The Auto/Manual/Blocked badge and its three state tooltips, on both the update-status panel and the per-trigger rows, were added to the English catalog only in #761, so they rendered in English for every non-English user from that release on. Now translated in all 16 locales, matching each file's existing terminology rather than a general rule, with the dd.action.* label names left literal. key-parity.spec.ts used to tolerate a key present in en and absent from a locale, on the documented grounds that "Crowdin fills after push". It does not, and a gap filled with English is worse than an open one because it reads as a finished translation to every later check. That direction now fails, with the offending locale/namespace/key listed. The cost is that a PR adding a UI string has to translate it in the same change, which is the intended trade. * fix(i18n): use the consonant-form Korean particle after Drydock Korean picks a particle by whether the preceding syllable ends in a consonant or a vowel. Drydock reads 드라이독, which ends in ㄱ, so it takes 이/은/을/과/으로 and never 가/는/를/와/로. CodeRabbit caught `Drydock가` in the actionPolicyTooltip string added by the previous commit; two more were already in the catalog beside it, in updateStatus.summary.notify and in configView, both from Crowdin. Every other Drydock in ko already used the consonant forms, so these three were the outliers. Nothing flagged them, which is the same shape as the gap this branch is about: key-parity compares structure, placeholder-parity compares braces, and no-raw-text only looks for English leaking into templates. The new korean-particles gate reads every ko namespace and fails on a vowel-form particle attached to a name whose Korean reading ends in a consonant, with the offending line and the correction. It is deliberately keyed on a short list rather than applied to every proper noun, because Docker reads 도커 and is vowel-final, so `Docker가` is correct and a blanket rule would flag it. The two Crowdin-stored strings may come back on a sync: re-uploading a corrected translation adds a candidate alongside the stored one instead of replacing it, the same behaviour that produced #919 on the READMEs. The gate is what makes that loud instead of silent.
Automated sync from Crowdin. Review wording, then merge.