Skip to content

i18n: translate pipeline version and parser settings strings in tr-TR - #21819

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
bakiburakogun:fix/tr-sync-pipeline-versions
Nov 1, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
bakiburakogun:fix/tr-sync-pipeline-versions

Conversation

@bakiburakogun

@bakiburakogun bakiburakogun commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #21496. 42 keys in en.ts had no Turkish value, five strings no longer matched their rewritten English, and one renamed key still said canvas. 48 strings, one file.

New keys (42)

  • pipeline versions and aliases (flow.version.*, 16), plus flow.saveDraft
  • applying parser settings to existing files, and messages for a pipeline or parser that's no longer available (6)
  • capturing model inputs in test runs (6), plus flow.testRunError
  • SearchApi in chat settings (2) and the MinerU API token field (3)
  • common.removeThem, setting.credentialClearToRemove, setting.moreActions, message.deleteIncomplete, flow.linebreak, flow.jsonUploadCategoryMismatch, flow.createCompilationOperator

Outdated strings (5)

Renamed key

flow.canvasCategory became flow.agentCategory (Agent category) but kept Kanvas kategorisi. It's Ajan kategorisi now.

Terminology

I reused what the file already has:

  • pipeline is hat, parser is ayrıştırıcı, re-parse is yeniden ayrıştır
  • Version is Sürüm, like the rest of flow.version.*
  • Test run is Test çalıştırması, Line break is Satır sonu
  • Compilation operator is Derleme operatörü, Model providers is Model sağlayıcıları
  • the SearchApi hint follows Brave, Exa and Linkup: web arama sonuçları dataset alımını tamamlar
  • the MinerU token follows API Token'ı and (isteğe bağlı) from the PaddleOCR and AI Studio fields
  • “Evet” and “Hayır” in the parser dialog match common.yes and common.no

alias (takma ad) and draft (taslak) are new to the file. canvas stays tuval in flow.version.deleteAgentConfirmContent, the one string where the English still says it.

Checks

oxfmt --check src/locales/tr.ts passes with web/.oxfmtrc.json, the file parses, every key in en.ts has a Turkish value, no key was removed, every {{placeholder}} matches its source, and new keys follow en.ts order. Besides the six strings above, no existing value changed.

42 keys in en.ts had no Turkish value: pipeline versions and aliases, applying parser settings to existing files, model input capture for test runs, the SearchApi option and the MinerU API token. Five strings whose English was rewritten are retranslated, and flow.agentCategory no longer says canvas.
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e254b2ee-307d-4653-ab20-b94c4a71cfdf
Commits

Reviewing files that changed from the base of the PR and between 12d9a38 and 144a6d7.

Files selected for processing: 1
  • web/src/locales/tr.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The Turkish locale adds and updates translations for parser and pipeline settings, model configuration, agent test-run diagnostics, and other interface messages. No application logic changes are shown.

Changes: Turkish locale updates

Layer / File(s) Summary
Parser and pipeline translations
web/src/locales/tr.ts
Adds messages for unavailable parser or pipeline versions, applying parser settings to existing files, and managing pipeline versions.
Model and provider translations
web/src/locales/tr.ts
Adds or revises translations for single-model Chat, decision-model guidance, SearchApi, saved credentials, and MinerU API tokens.
Agent and interface messages
web/src/locales/tr.ts
Adds test-run diagnostics and interface warnings and labels. Revises retrieval-template hints and the agent category label.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related PRs

Suggested reviewers: wangq8, yannnnnnny

Merge Risk: Minimal · up to 144a6

The locale-only changes have no remaining actionable merge risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names a Turkish locale i18n update for pipeline version and parser settings strings, which matches the changeset. It is specific and fits the main change. It omits the other changed areas (c…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The author describes a Turkish locale update (tr.ts) that adds 42 missing translation keys, revises 5 outdated strings, and renames flow.canvasCategory to flow.agentCategory with its Turkish value cor…
Full details: Title check

Explanation

The title names a Turkish locale i18n update for pipeline version and parser settings strings, which matches the changeset. It is specific and fits the main change. It omits the other changed areas (chat settings, MinerU token, test-run diagnostics), but it names the primary change. The title is 69 characters, which is slightly longer than ideal but still readable.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Full details: Description check

Explanation

The author describes a Turkish locale update (tr.ts) that adds 42 missing translation keys, revises 5 outdated strings, and renames flow.canvasCategory to flow.agentCategory with its Turkish value corrected. It explains the background (follow-up to #21496), lists the new and changed keys, gives terminology decisions, and reports the checks run (oxfmt, parse check, placeholder and key-order checks). The description does not follow the repository template headings exactly, since it has a '### Summary' heading and no separate sections, but the Summary section covers the purpose and background the template asks for. The description is complete and specific.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

A rabbit checks the words at dawn
Turkish labels hop neatly on
Pipeline versions find their name
Chat and parser join the frame
Test-run notes are tucked away
The rabbit nibbles, pleased today

@JinHai-CN
JinHai-CN merged commit 4b520c2 into infiniflow:main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants