Skip to content

i18n: translate 'instance' in the SQL Server address hint (bn, lo) - #3379

Merged
giswqs merged 3 commits into
mainfrom
i18n/instance-wording
Nov 29, 2026
Merged

giswqs merged 3 commits into
mainfrom
i18n/instance-wording

Conversation

@giswqs

@giswqs giswqs commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #3372, from its review: the Bengali and Lao values of Server or server\instance left the English word "instance" untranslated, unlike the rest of those catalogs. They now read সার্ভার বা সার্ভার\ইনস্ট্যান্স (bn) and ເຊີບເວີ ຫຼື ເຊີບເວີ\ອິນສະແຕນ (lo). Vietnamese keeps "instance", as its other SQL Server strings do. Catalog data only; native-speaker corrections welcome.

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 2

  • crates/ui-egui/src/i18n/bn.tsv is excluded by !**/*.tsv
  • crates/ui-egui/src/i18n/lo.tsv is excluded by !**/*.tsv

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 763ba1c7-16ff-498f-b459-4ba3d8fa3312

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

Comment thread crates/ui-egui/src/i18n/vi.tsv Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Code review

Scope: PR #3379 changes three one-line catalog values in crates/ui-egui/src/i18n/{bn,lo,vi}.tsv. The key Server or server\\instance still matches its source literal in connectionui.rs:604. The \\ escaping matches the other locales, and the new values follow the same pattern.

Bugs

None found. The key is unchanged, so the lookup is unaffected, and no code changes.

Security

None found.

Performance

None found.

Quality

  • vi.tsv:3921, Vietnamese "phiên bản" (low-medium confidence). It usually means "version", so Máy chủ hoặc máy chủ\phiên bản can read as "server or server version" rather than a named SQL Server instance. The same file uses "thực thể" for "instance" on line 3. The PR asks for native-speaker review, so I left the wording to them.
  • Consistency (not raised as a finding). Other "instance" strings in these three catalogs, such as lines 3 and 3343 and 4687 in bn.tsv, lo.tsv and vi.tsv, are still untranslated or use the same transliteration. This PR is scoped to one hint, so I did not flag them.

AGENTS.md

None found. The change is catalog data only, so no command, cancel, memory, layer, or wasm rule applies. It does not add or remove a command id, so the command-surface snapshot is unaffected.

Checked and left alone

  • Prior review threads: none on this PR, so nothing was skipped as already raised.
  • Twins: the diff touches no reader, overlay tool, add or open command, or wasm32 branch, so none apply.

Change size

Compared against main (merge base d849249 to PR head 9dd0457).

Files changed Added Modified Removed Renamed Size before Size after Total change
3 0 3 0 0 1.52 MB 1.52 MB +45 B
Path Before After Change
crates/ui-egui/src/i18n/bn.tsv 558.0 KB 558.0 KB +25 B
crates/ui-egui/src/i18n/lo.tsv 605.9 KB 605.9 KB +16 B
crates/ui-egui/src/i18n/vi.tsv 394.9 KB 394.9 KB +4 B

@giswqs giswqs changed the title i18n: translate 'instance' in the SQL Server address hint (bn, vi, lo) i18n: translate 'instance' in the SQL Server address hint (bn, lo) Nov 29, 2026
Comment thread crates/ui-egui/src/i18n/bn.tsv Resolved
Comment thread crates/ui-egui/src/i18n/lo.tsv Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Code review

Scope: 2 catalog files (bn.tsv, lo.tsv), one line each. No code changes.

Bugs

None found. The key and the translated value keep the \\ escape that every other locale uses. i18n/mod.rs::unescape turns \\ into \, so the lookup key matches the Rust literal tl!("Server or server\\instance") in connectionui.rs:604. The catalog parser tests will still parse both rows.

Security

None found.

Performance

None found.

Quality

  • bn.tsv:3921, lo.tsv:3921 (medium-high confidence): the PR body says the rest of these catalogs leave "instance" untranslated, unlike this hint. That is the reverse of what the files show. In both files, the other SQL Server strings keep the English word (bn and lo lines 3343 and 4687). This hint now transliterates it, so it differs from its neighbours. The vi change in 3b5b001 was made for the same reason. In lo, the layer-instance message on line 3 does transliterate, so the catalog is mixed on this word. Either keep the English term to match the SQL Server strings or explain why this sense differs. Native-speaker wording is still welcome. This is a wording and consistency point, so it can wait for the release quality pass. Both inline comments are posted.

AGENTS.md

None found. Catalog-only change, so the translatable-text, layering, wasm, command-surface and quality-gate rules don't apply. The PR is not on the list that needs cargo xtask schema or a fixture.

Prior reviews

One earlier thread (the vi.tsv wording at line 3921) is outdated and resolved by the author's reply in 3b5b001. The vi file is not in this diff, so I did not re-raise it. I left 1 earlier concern alone because it was already raised and answered.

Checked

  • The \\ escape in the key and the value, against i18n/mod.rs::unescape and every other locale's row (all use \\).
  • The English key against its Rust call site in connectionui.rs:604.
  • Other "instance" strings in bn.tsv and lo.tsv, for consistency.
  • The catalog tests in i18n/tests.rs that parse every catalog.

Change size

Compared: the whole PR against main (merge base d849249 to PR head 3b5b001).

Measure Value
Files changed 2 (0 added, 2 modified, 0 removed, 0 renamed)
Size before 1.14 MB
Size after 1.14 MB
Total size change +41 B
Path Before After Change
crates/ui-egui/src/i18n/bn.tsv 558.0 KB 558.0 KB +25 B
crates/ui-egui/src/i18n/lo.tsv 605.9 KB 605.9 KB +16 B

@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

📖 Docs preview

Item Value
Preview https://preview.rustgis.app/pr-3379/
Web app https://preview.rustgis.app/pr-3379/app/
Commit aaaed00

GitHub Pages takes a minute or two to publish a new commit.

The two other instance strings kept the English word; bn's also left
Server and Options in English.
@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs: None found.

Security: None found.

Performance: None found.

Quality: None new. Two earlier threads on bn.tsv and lo.tsv line 3921 asked to keep "instance" in English. The author answered in aaaed00, and the diff now matches that answer. The three SQL Server instance strings in each file use the same term, and I did not re-raise the point. The third thread, on vi.tsv, is outdated and not part of this diff. Three earlier concerns in total were left alone because they were already raised and answered.

AGENTS.md: None found. The change edits existing catalog values only, which the translation rules allow. It touches no code, so the surface, test and layering gates do not apply.

What I checked:

  • Each changed row keeps its tab-separated key and value. The key is unchanged, so the lookup still resolves.
  • The escaped server\\instance in the key and value is preserved on both sides, and no {placeholder} changed.
  • "Server" and "Options" in the rewritten bn line 3343 match the catalog's own rows (সার্ভার, বিকল্প). The lo line matches its rows (ເຊີບເວີ, ຕົວເລືອກ).
  • Across bn and lo, no SQL Server "instance" string is left in English. The layer-instance message at bn line 3 still says "instance" in English, but that is a different sense, so I did not raise it.

Confidence in "no new findings" is high. These are translation-data edits only, and I did not check the wording itself, which the PR asks native speakers to review.

Change size

Compared with the base branch, the whole PR against main (merge base d849249 to PR head aaaed00).

Measure Value
Files changed 2 (0 added, 2 modified, 0 removed, 0 renamed)
Size before 1.14 MB
Size after 1.14 MB
Total size change +196 B
Path Before After Change
crates/ui-egui/src/i18n/bn.tsv 558.0 KB 558.2 KB +132 B
crates/ui-egui/src/i18n/lo.tsv 606.1 KB 606.1 KB +64 B

@giswqs
giswqs added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit fcfd3cb Nov 29, 2026
30 checks passed
@giswqs
giswqs deleted the i18n/instance-wording branch November 29, 2026 21:22
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.

1 participant