Update l10n test: check .po files for placeholders mismatch#3169
Update l10n test: check .po files for placeholders mismatch#3169arkid15r merged 2 commits intovacanza:devfrom
Conversation
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughAdds placeholder validation to the localization test suite. The test now verifies that msgid and msgstr entries in PO files contain identical counts of placeholders matching the pattern Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (5)📓 Common learnings📚 Learning: 2025-11-08T05:36:32.788ZApplied to files:
📚 Learning: 2025-08-26T21:24:41.827ZApplied to files:
📚 Learning: 2025-05-09T18:34:33.990ZApplied to files:
📚 Learning: 2025-09-26T13:44:12.652ZApplied to files:
🪛 Ruff (0.14.10)tests/test_l10n.py88-88: Use a regular Replace (PT009) ⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (3)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3169 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 306 306
Lines 18264 18264
Branches 2330 2330
=========================================
Hits 18264 18264 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



Proposed change
Update l10n test: check .po files for placeholders mismatch.
(I missed
%shere).Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.