Repository navigation
fix(web): make tr locale capitalisation consistent for expanded labels - #19273
Conversation
Turkish often needs two words where English has one. The locale renders
that in sentence case 77 times — "Rename" -> "Yeniden adlandır",
"Metadata" -> "Meta veri", "Homepage" -> "Ana sayfa" — and in title case
9 times. This brings those 9 in line.
The clearest case is the header, where every other entry is sentence
case ("Log out" -> "Çıkış yap", "Sign in" -> "Giriş yap", "User
settings" -> "Kullanıcı ayarları") while "Home" alone read "Ana Sayfa".
The file also contained both "Ana Sayfa" and "Ana sayfa" for what is
the same page.
The data-source fields had the same split inside one group: "Host",
"Port" and "Username" were already "Ana bilgisayar", "Bağlantı
noktası" and "Kullanıcı adı", but "Workspace", "Prefix", "Mailboxes"
and "Authentication" were title case. Multi-word English labels in that
group keep title case, since the source has it.
Left as they are: "API-Version" -> "API Sürümü", which pairs with the
"API Version" field next to it, and "Calculator" -> "Hesap Makinesi",
which is a tool name.
No key was added or removed and no placeholder changed.
Signed-off-by: Baki Burak Öğün <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Turkish locale updates nine translation values. The changes lowercase the second word in compound labels and confirmation texts across the header, settings, and dataflow parser sections. ChangesTurkish locale translations
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This updates Turkish UI labels and confirmation text to consistent sentence case without changing application behavior or localization keys. No merge-blocking risk remains. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
infiniflow#19273) Align 9 title-case Turkish UI labels to sentence case (matching 77 existing strings). Follow-up to infiniflow#19009. Signed-off-by: Baki Burak Öğün <[email protected]>
Summary
Turkish frequently needs two words where English has one, and the
trlocale is inconsistent about how it capitalises them. It uses sentence case 77 times and title case 9 times for exactly the same situation. This aligns those 9 with the majority. 9 strings, one file.The header
Every entry in
translation.headeris sentence case except one:logoutregistersigninsettinghomeAna sayfaThe file already contains
Ana sayfaelsewhere, forHomepage— so the same page was written two different ways.The data-source fields
The same split appears inside a single group. Three fields were already sentence case:
dataSourceFieldHostdataSourceFieldPortdataSourceFieldUsernameFour of their neighbours were not, and now match:
dataSourceFieldWorkspaceÇalışma alanıdataSourceOptionWorkspaceÇalışma alanıdataSourceFieldPrefixÖn ekdataSourceFieldPrefixOptionalÖn ek (isteğe bağlı)dataSourceFieldMailboxesPosta kutularıdataSourceFieldAuthenticationKimlik doğrulamaMulti-word English labels in that group keep title case, because the source has it —
Access TokenstaysErişim Token'ı,Workspace IDstaysÇalışma Alanı Kimliği.And two confirm buttons
unlinkPipelineModalConfirmTextandunlinkSourceModalConfirmTextreadBağlantıyı Kes. Verb phrases elsewhere in the locale are sentence case —Yeniden adlandır,İçe aktar,Devam et— so both are nowBağlantıyı kes.Left alone on purpose
API-Version→API Sürümü, which sits next to theAPI Versionfield rendered the same way.Calculator→Hesap Makinesi, which is a tool name rather than a UI label.No key was added or removed, no placeholder changed, and the file's CRLF line endings are preserved. This is a follow-up to #19009.