Skip to content

Translations update from Hosted Weblate#1440

Merged
annejan merged 4 commits into
IJHack:mainfrom
weblate:weblate-qtpass-qtpass
May 9, 2026
Merged

Translations update from Hosted Weblate#1440
annejan merged 4 commits into
IJHack:mainfrom
weblate:weblate-qtpass-qtpass

Conversation

@weblate
Copy link
Copy Markdown
Contributor

@weblate weblate commented May 9, 2026

Translations update from Hosted Weblate for QtPass/QtPass.

Current translation status:

Weblate translation status

Summary by CodeRabbit

  • Documentation
    • Completed translations for SSH authentication socket configuration in Galician, Polish, Ukrainian, and Simplified Chinese. Previously unfinished translations now display complete text, improving language support across the application.

Review Change Stack

大王叫我来巡山 and others added 4 commits May 9, 2026 21:20
Currently translated at 100.0% (307 of 307 strings)

Translation: QtPass/QtPass
Translate-URL: https://hosted.weblate.org/projects/qtpass/qtpass/zh_Hans/
Currently translated at 100.0% (307 of 307 strings)

Translation: QtPass/QtPass
Translate-URL: https://hosted.weblate.org/projects/qtpass/qtpass/gl/
Currently translated at 100.0% (307 of 307 strings)

Translation: QtPass/QtPass
Translate-URL: https://hosted.weblate.org/projects/qtpass/qtpass/pl/
Currently translated at 100.0% (307 of 307 strings)

Translation: QtPass/QtPass
Translate-URL: https://hosted.weblate.org/projects/qtpass/qtpass/uk/
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 9, 2026

📝 Walkthrough

Walkthrough

Translations for the SSH_AUTH_SOCK override configuration setting are completed across four languages: Galician, Polish, Ukrainian, and Simplified Chinese. Previously unfinished placeholder text is replaced with full translations of the label, description, and auto-probe help note.

Changes

SSH_AUTH_SOCK Override Localization Completion

Layer / File(s) Summary
SSH_AUTH_SOCK Override Translations
localization/localization_gl.ts, localization/localization_pl.ts, localization/localization_uk.ts, localization/localization_zh_CN.ts
SSH_AUTH_SOCK override label, optional path description, and "(auto-probe via gpgconf)" hint are translated and finalized across Galician, Polish, Ukrainian, and Simplified Chinese localization files, removing unfinished markers.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • IJHack/QtPass#1438: Introduces the SSH_AUTH_SOCK auto-probe and override feature that this PR localizes into additional languages.
  • IJHack/QtPass#1439: Updates the ConfigDialog UI strings for SSH_AUTH_SOCK override that are being translated in this PR.

Suggested labels

size:M

Suggested reviewers

  • nogeenhenk

Poem

🐰 A rabbit hops through tongues both old and new,
Galician, Polish, Ukrainian too,
Chinese whispers join the SSH song,
Where SOCK_AUTH finds its translations strong,
No more unfinished, now complete and true! 🌍

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Translations update from Hosted Weblate' accurately describes the main change: this PR contains translation updates for four locales (Galician, Polish, Ukrainian, and Simplified Chinese) imported from Weblate.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@localization/localization_zh_CN.ts`:
- Around line 149-159: Replace the incorrect translation "绕过" with a correct
term like "覆盖" or "覆写" for the UI entries that correspond to the source strings
"SSH_AUTH_SOCK override:" (shown as "SSH_AUTH_SOCK 绕过:"), "Optional path to
override SSH_AUTH_SOCK. Leave empty to auto-probe via gpgconf (issue `#543`)." and
the related short label "(auto-probe via gpgconf)"; update the translations in
localization_zh_CN.ts so they read e.g. "SSH_AUTH_SOCK 覆盖:" and "覆盖
SSH_AUTH_SOCK 的可选路径。留空通过 gpgconf 自动探测 (issue `#543`)。" while keeping the short
label as "(通过 gpgconf 自动探测)". Ensure both occurrences referencing SSH_AUTH_SOCK
use the same corrected term.
🪄 Autofix (Beta)

❌ Autofix failed (check again to retry)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 981c33a0-49fe-44e7-b956-773af6a54064

📥 Commits

Reviewing files that changed from the base of the PR and between 4ec1e0f and f47cfbf.

📒 Files selected for processing (4)
  • localization/localization_gl.ts
  • localization/localization_pl.ts
  • localization/localization_uk.ts
  • localization/localization_zh_CN.ts

Comment on lines +149 to +159
<translation>SSH_AUTH_SOCK 绕过:</translation>
</message>
<message>
<location filename="../src/configdialog.ui" line="891"/>
<source>Optional path to override SSH_AUTH_SOCK. Leave empty to auto-probe via gpgconf (issue #543).</source>
<translation type="unfinished"></translation>
<translation>绕过 SSH_AUTH_SOCK 的可选路径。留空通过 gpgconf 自动探测 (issue #543)。</translation>
</message>
<message>
<location filename="../src/configdialog.ui" line="898"/>
<source>(auto-probe via gpgconf)</source>
<translation type="unfinished"></translation>
<translation>(通过 gpgconf 自动探测)</translation>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use “覆盖/覆写” instead of “绕过” for “override”.

On Line 149 and Line 154, translating “override” as “绕过” changes meaning to “bypass.” This UI option is a configuration override, not a bypass, so the current wording is misleading.

🛠️ Suggested translation fix
-        <translation>SSH_AUTH_SOCK 绕过:</translation>
+        <translation>SSH_AUTH_SOCK 覆盖:</translation>

-        <translation>绕过 SSH_AUTH_SOCK 的可选路径。留空通过 gpgconf 自动探测 (issue `#543`)。</translation>
+        <translation>用于覆盖 SSH_AUTH_SOCK 的可选路径。留空则通过 gpgconf 自动探测(issue `#543`)。</translation>

As per coding guidelines, “Fix translation bugs directly in .ts files for placeholder mismatches, broken HTML tags, and mixed-script artifacts.”

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<translation>SSH_AUTH_SOCK 绕过:</translation>
</message>
<message>
<location filename="../src/configdialog.ui" line="891"/>
<source>Optional path to override SSH_AUTH_SOCK. Leave empty to auto-probe via gpgconf (issue #543).</source>
<translation type="unfinished"></translation>
<translation>绕过 SSH_AUTH_SOCK 的可选路径。留空通过 gpgconf 自动探测 (issue #543)</translation>
</message>
<message>
<location filename="../src/configdialog.ui" line="898"/>
<source>(auto-probe via gpgconf)</source>
<translation type="unfinished"></translation>
<translation>(通过 gpgconf 自动探测)</translation>
<translation>SSH_AUTH_SOCK 覆盖:</translation>
</message>
<message>
<location filename="../src/configdialog.ui" line="891"/>
<source>Optional path to override SSH_AUTH_SOCK. Leave empty to auto-probe via gpgconf (issue `#543`).</source>
<translation>用于覆盖 SSH_AUTH_SOCK 的可选路径。留空则通过 gpgconf 自动探测(issue `#543`)。</translation>
</message>
<message>
<location filename="../src/configdialog.ui" line="898"/>
<source>(auto-probe via gpgconf)</source>
<translation>(通过 gpgconf 自动探测)</translation>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@localization/localization_zh_CN.ts` around lines 149 - 159, Replace the
incorrect translation "绕过" with a correct term like "覆盖" or "覆写" for the UI
entries that correspond to the source strings "SSH_AUTH_SOCK override:" (shown
as "SSH_AUTH_SOCK 绕过:"), "Optional path to override SSH_AUTH_SOCK. Leave empty
to auto-probe via gpgconf (issue `#543`)." and the related short label
"(auto-probe via gpgconf)"; update the translations in localization_zh_CN.ts so
they read e.g. "SSH_AUTH_SOCK 覆盖:" and "覆盖 SSH_AUTH_SOCK 的可选路径。留空通过 gpgconf 自动探测
(issue `#543`)。" while keeping the short label as "(通过 gpgconf 自动探测)". Ensure both
occurrences referencing SSH_AUTH_SOCK use the same corrected term.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 9, 2026

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

An unexpected error occurred while generating fixes: Not Found - https://docs.github.com/rest/git/refs#get-a-reference

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 9, 2026

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

An unexpected error occurred while generating fixes: Not Found - https://docs.github.com/rest/git/refs#get-a-reference

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.

3 participants