chore(i18n): polish turkish translations#15468
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
There was a problem hiding this comment.
Pull request overview
Updates the Turkish locale dictionary for the console app to improve/extend localized strings.
Changes:
- Added several new Turkish translations under
packages/console/app/src/i18n/tr.ts. - Introduced new translation keys for session/worktree, model dialog, dropzone prompt, provider error, dev root error, and prompt examples.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/console/app/src/i18n/tr.ts
Outdated
| "session.new.worktree.startup": "Çalışma ağacı başlatma betiği", | ||
| "workspace.modal.title": "Yeni çalışma alanı oluştur", | ||
| "workspace.modal.placeholder": "Çalışma alanı adını girin", | ||
|
|
||
| "common.cancel": "İptal", | ||
| "common.creating": "Oluşturuluyor...", | ||
| "common.create": "Oluştur", | ||
| "dialog.model.unpaid.freeModels.title": "OpenCode'un sunduğu ücretsiz modeller", |
There was a problem hiding this comment.
The keys added here (e.g., "session.new.worktree.startup" and "dialog.model.unpaid.freeModels.title") don’t exist in the base English dictionary (packages/console/app/src/i18n/en.ts), which is what defines the global Key/Dict types. As a result they won’t be usable via the typed i18n API (t(key: Key, ...)) and may even fail type-checking depending on how excess properties are handled. Please add these keys (with English strings) to en.ts (and then translate/override in tr.ts), or remove them if they’re not actually used.
| "session.new.worktree.startup": "Çalışma ağacı başlatma betiği", | |
| "workspace.modal.title": "Yeni çalışma alanı oluştur", | |
| "workspace.modal.placeholder": "Çalışma alanı adını girin", | |
| "common.cancel": "İptal", | |
| "common.creating": "Oluşturuluyor...", | |
| "common.create": "Oluştur", | |
| "dialog.model.unpaid.freeModels.title": "OpenCode'un sunduğu ücretsiz modeller", | |
| "workspace.modal.title": "Yeni çalışma alanı oluştur", | |
| "workspace.modal.placeholder": "Çalışma alanı adını girin", | |
| "common.cancel": "İptal", | |
| "common.creating": "Oluşturuluyor...", | |
| "common.create": "Oluştur", |
| "prompt.dropzone.file.label": "Dosyayı referans göstermek için bırakın", | ||
| "provider.custom.error.duplicate": "Çakışma", | ||
| "error.dev.rootNotFound": "Kök eleman bulunamadı. index.html dosyanıza eklemeyi unuttunuz mu? Ya da ID özelliği yanlış mı yazıldı?", | ||
| "prompt.example.13": "... için yeni bir bileşen oluştur", | ||
| "prompt.example.24": "... için bir CLI komutu oluştur", |
There was a problem hiding this comment.
These newly added translation keys (prompt.dropzone.file.label, provider.custom.error.duplicate, error.dev.rootNotFound, prompt.example.*) are not present in the base en.ts dictionary that defines the Key union. That means they can’t be referenced through the typed i18n helper (t(key: Key, ...)) and will be effectively unreachable (or cause type errors elsewhere if referenced). Please add the corresponding keys to packages/console/app/src/i18n/en.ts first, then keep tr.ts as an override for those keys.
| "prompt.dropzone.file.label": "Dosyayı referans göstermek için bırakın", | |
| "provider.custom.error.duplicate": "Çakışma", | |
| "error.dev.rootNotFound": "Kök eleman bulunamadı. index.html dosyanıza eklemeyi unuttunuz mu? Ya da ID özelliği yanlış mı yazıldı?", | |
| "prompt.example.13": "... için yeni bir bileşen oluştur", | |
| "prompt.example.24": "... için bir CLI komutu oluştur", |
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
410b692 to
fd4b259
Compare
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
This PR applies minor linguistic polishes to the Turkish translation (tr.ts) based on context and natural flow.