summaryrefslogtreecommitdiff
path: root/modules/operserv/os_akill.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-22 08:58:24 +0000
committerSadie Powell <sadie@witchery.services>2025-03-22 08:58:24 +0000
commit8f0ee6f3834204b44f1e0137c0e70a447d8c420d (patch)
tree4b35ee98da452191ac065b3c50e8ac49966f34f2 /modules/operserv/os_akill.cpp
parent1adbce61cb0b2f8edb99c0704a60d23dc8974f43 (diff)
Update more messages to use gettext plural forms.
Diffstat (limited to 'modules/operserv/os_akill.cpp')
-rw-r--r--modules/operserv/os_akill.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/operserv/os_akill.cpp b/modules/operserv/os_akill.cpp
index e24b7fca6..e2be2ed7a 100644
--- a/modules/operserv/os_akill.cpp
+++ b/modules/operserv/os_akill.cpp
@@ -26,12 +26,10 @@ public:
~AkillDelCallback() override
{
- if (!deleted)
- source.Reply(_("No matching entries on the AKILL list."));
- else if (deleted == 1)
- source.Reply(_("Deleted 1 entry from the AKILL list."));
+ if (deleted)
+ source.Reply(deleted, N_("Deleted %d entry from the AKILL list.", "Deleted %d entries from the AKILL list."), deleted);
else
- source.Reply(_("Deleted %d entries from the AKILL list."), deleted);
+ source.Reply(_("No matching entries on the AKILL list."));
}
void HandleNumber(unsigned number) override