diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-22 08:58:24 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-22 08:58:24 +0000 |
commit | 8f0ee6f3834204b44f1e0137c0e70a447d8c420d (patch) | |
tree | 4b35ee98da452191ac065b3c50e8ac49966f34f2 /modules/chanserv/cs_access.cpp | |
parent | 1adbce61cb0b2f8edb99c0704a60d23dc8974f43 (diff) |
Update more messages to use gettext plural forms.
Diffstat (limited to 'modules/chanserv/cs_access.cpp')
-rw-r--r-- | modules/chanserv/cs_access.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/chanserv/cs_access.cpp b/modules/chanserv/cs_access.cpp index 5f13f56df..cf7ad90f4 100644 --- a/modules/chanserv/cs_access.cpp +++ b/modules/chanserv/cs_access.cpp @@ -284,11 +284,7 @@ class CommandCSAccess final else { Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, c, ci) << "to delete " << Nicks; - - if (deleted == 1) - source.Reply(_("Deleted 1 entry from %s access list."), ci->name.c_str()); - else - source.Reply(_("Deleted %d entries from %s access list."), deleted, ci->name.c_str()); + source.Reply(deleted, N_("Deleted %d entry from %s access list.", "Deleted %d entries from %s access list."), deleted, ci->name.c_str()); } } |