Repository navigation
refactor(i18n): drop the Turkish UI language - #1081
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Summary
Merge Risk: ⚪ Minimal · up to
|
|
Totally understandable — data beats hope. Thanks for merging it while it lasted and for the kind words. Good luck with the project! 🙏 |
# Conflicts: # src/lib/i18n.tr.ts
…chema (#1123) The Turkish UI language was removed in #1081, and `sanitizeSettings` loads a stored `"tr"` as `"system"`, so no snapshot can carry it. No release has sent a settings snapshot yet (#866 is in no `v*` tag), so dropping the value refuses nothing a shipped sender sends. - `shared/telemetry.ts`: `language` no longer accepts `"tr"` (type and validator). - `telemetry/worker.test.ts`: the Worker refuses a snapshot with `language: "tr"`. Every other setting is already reported (#1105), so the snapshot needs nothing else. **Before the next release:** `shared/telemetry.ts` is a Worker source, so redeploy the Worker and record it (`bun scripts/release-guards.ts --worker-deployed`, commit `telemetry/deployed.json`), per telemetry/README.md#deploy. The release guard fails until then. No changelog fragment: nothing a user sees changes. Tested: `bun run typecheck`; `HERDR_TEST_MODE=unit bun test` on telemetry/worker, src/lib/settings, src/lib/api, server/telemetry and scripts/release-guards tests (101 pass).
Conflicts: keep main's side and put back this PR's own lines (the omo /model row and search-box sentence in the guide, the prompt/filter proxy route, the Search models strings). The Turkish strings file goes, as main dropped Turkish (devswha#1081). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UZtgywVP3Jr6PBKBJpiHYN
Change
The UI languages are English, Korean, Japanese and Simplified Chinese. Turkish (added in #815 three days ago) is removed with its README.
t("…")string (i18n.test.tsfails otherwise) and every release summary (release-summaries.json), so each one is a recurring cost. CONTRIBUTING now says new UI language PRs are not taken.trin Settings loads assystem(sanitizeSettingsalready falls back for an unknown value; a new test pins it).SUMMARY_LANGUAGESdropstr, and thetrentries are removed fromrelease-summaries.json(other languages unchanged, same JSON formatting).shared/telemetry.tskeepstrin its language enum (narrowing it would need a Worker redeploy); dictation'str-TRspeech language stays, since that is the browser's speech recognition, not UI text; the Turkish keyboard-layout notes inshortcuts.tsstay.Validation
bun run check fast: generated types, typecheck, build, unit tests all pass.tr-TRbrowser withlanguage: "tr"stored renders<html lang="en-US">with the select on System; atr-TRbrowser on System renders English; ako-KRbrowser still renders Korean; no page errors.