i18n: add Urdu (ur) translation skeleton#1355
Conversation
Pakistan's official, RTL, ~230M speakers. Bootstrapped via the skeleton + qmake6/lupdate workflow documented in the qtpass-localization skill. The file contains all 304 source strings as type="unfinished" (302 empty + 2 numerusform plural skeletons), ready for Weblate translators to claim. Uses the language-only 'ur' code (no country suffix) so Qt's locale fallback covers all regional variants. Mirrors the recent fa skeleton (#1335) and ar_MA -> ar / single-variant rename PRs (#1328, #1350). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new Urdu Qt translation resource file ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@localization/localization_ur.ts`:
- Around line 9-1639: The localization file localization_ur.ts contains numerous
empty <translation> elements for many message contexts (e.g., ConfigDialog,
MainWindow, QtPass, Pass, ImitatePass, UsersDialog); populate each empty
<translation> with a best-effort Urdu translation while leaving
type="unfinished" intact so Weblate can refine later. Edit the <translation>
content for each <message> (refer to message source strings like "Settings",
"Search Password", "Export Public Key", "Encryption failed: GPG key has
expired.", etc.) without altering the <source> text, XML structure, or
attributes; ensure UTF-8 encoding and that special characters are properly
escaped. Keep translations concise, match punctuation/format placeholders (e.g.,
%1, %n, <strong>) exactly, and run an XML/TS validation after edits to
avoid breaking the file.
🪄 Autofix (Beta)
✅ Autofix completed
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: ASSERTIVE
Plan: Pro
Run ID: 655c9091-8413-4911-a16d-eba01b8ce7e3
📒 Files selected for processing (2)
localization/localization_ur.tssrc/src.pro
|
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Fixes Applied SuccessfullyFixed 1 file(s) based on 1 unresolved review comment. Files modified:
Commit: The changes have been pushed to the Time taken: |
Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Summary
Urdu (
ur) — Pakistan's official, RTL, ~230M speakers. Currently no QtPass coverage.Bootstrapped via the skeleton +
qmake6/lupdateworkflow documented in theqtpass-localizationskill. The file contains all 304 source strings astype="unfinished"(302 empty + 2<numerusform>plural skeletons), ready for Weblate translators to claim.Uses the language-only
urcode (no country suffix) so Qt's locale fallback covers all regional variants. Mirrors #1335 (faskeleton) and #1350 (single-variant rename batch).Test plan
make distclean && qmake6picks up the new file:Updating 'localization/localization_ur.ts'... Found 304 source text(s).<TS version="2.1" language="ur">correct.type="unfinished"(302 empty + 2 numerusform).Related
This was originally part of #1349 (6 languages bundled together). Splitting into 6 individual PRs to make autofix-bot review tractable per locale. Drafted while #1351 (
bn) lands first.Summary by CodeRabbit