Settings: use _n() instead of __() for numerical updates#491
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #491 +/- ##
=============================================
+ Coverage 68.50% 69.06% +0.55%
Complexity 957 957
=============================================
Files 60 60
Lines 4861 4512 -349
=============================================
- Hits 3330 3116 -214
+ Misses 1531 1396 -135
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What?
Closes
Use
_n()for translations with numerical values to be able to translate to languages like Russian, where singular/plural isn't used like in English.Why?
How?
Use of AI Tools
AI assistance: Yes
Tool(s): Cursor
Testing Instructions
Snackbar notices continue work

Screenshots or screencast
No difference in visuals.
Changelog Entry