Skip to content

chore(i18n): polish turkish translations#15468

Closed
vaur94 wants to merge 1 commit intoanomalyco:devfrom
vaur94:chore/tr-translation-polish
Closed

chore(i18n): polish turkish translations#15468
vaur94 wants to merge 1 commit intoanomalyco:devfrom
vaur94:chore/tr-translation-polish

Conversation

@vaur94
Copy link
Copy Markdown
Contributor

@vaur94 vaur94 commented Feb 28, 2026

This PR applies minor linguistic polishes to the Turkish translation (tr.ts) based on context and natural flow.

Copilot AI review requested due to automatic review settings February 28, 2026 14:41
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Feb 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +50 to +57
"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",
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
"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",

Copilot uses AI. Check for mistakes.
Comment on lines +80 to +84
"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",
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
"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",

Copilot uses AI. Check for mistakes.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@vaur94 vaur94 force-pushed the chore/tr-translation-polish branch from 410b692 to fd4b259 Compare February 28, 2026 16:33
@github-actions
Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Feb 28, 2026
@github-actions github-actions bot closed this Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants