feat(i18n): implement strict pluralization for bulk action notifications

Removes generic '(s)' syntax from backend responses. Adds proper _one and _other pluralization keys to all 16 locales with native grammar translations, resolving 0-count edge cases.

Fixes #3602
This commit is contained in:
harsh-aghara committed 2026-05-02 14:28:15 +05:30
1 parent 1b0b17b589
commit 657a35e948
18 files changed
+256 -57

No files matched your search

+12 -1
View File
@@ -422,10 +422,21 @@
"openSite": "Open site",
"pause": "Pause",
"resume": "Resume",
"bulkSelected": "{{count}} Monitor(s) selected",
"bulkSelected_one": "{{count}} monitor selected",
"bulkSelected_other": "{{count}} monitors selected",
"selectAll": "Select all monitors",
"selectMonitor": "Select {{name}}"
},
"bulkPause": {
"alreadyPaused_one": "The selected monitor is already paused",
"alreadyPaused_other": "All selected monitors are already paused",
"alreadyRunning_one": "The selected monitor is already running",
"alreadyRunning_other": "All selected monitors are already running",
"paused_one": "{{count}} monitor paused",
"paused_other": "{{count}} monitors paused",
"resumed_one": "{{count}} monitor resumed",
"resumed_other": "{{count}} monitors resumed"
},
"statBoxes": {
"activeFor": "Active for",
"certificateExpiry": "Certificate expiry",