Implemented
0
i18n: use tc() plurals instead of "(s)" in subscriber count messages
Source: knadh/listmonk#3355 · opened by @Julia-IO
Is your feature request related to a problem? Please describe. While testing an i18n linter I'm building, I ran it on listmonk and it flagged a few strings that use "(s)" for plurals: • subscribers.confirmBlocklist: "Blocklist {num} subscriber(s)?" • subscribers.confirmDelete: "Delete {num} subscriber(s)?" • subscribers.confirmExport: "Export {num} subscriber(s)?" • subscribers.subscribersDeleted: "{num} subscriber(s) deleted" "(s)" can't be translated properly into languages with more than two plural forms (Polish, Russian, Arabic, etc.), so translators have to pick one form for every count. Describe the solution you'd like listmonk already has plural support (i18n.tc() with "one | other" values, e.g. dashboard.orphanSubs), so these could switch from i18n.ts(...) to i18n.tc(key, num, { num }) in subscribers.js and bounces.js, with values like: "subscribers.confirm…
No pledges yet. Be the first to back this.
Comments
Similar requests
Allow opting out of name fallback logic during subscriber import
0 votes · 0 comments
Susbcription form - Separate fields for first name and last name - additional attributes or fields
2 votes · 0 comments
Support ongoing “Welcome” campaigns that stay active for new subscribers
3 votes · 0 comments
Campaign Analytics: Show Individual Click Tracking (Who Clicked, When, and Which URL)
0 votes · 0 comments
Allow subscribers to individually opt out of tracking pixels via their preferences
6 votes · 0 comments
No comments yet.