From 8f0ee6f3834204b44f1e0137c0e70a447d8c420d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 22 Mar 2025 08:58:24 +0000 Subject: Update more messages to use gettext plural forms. --- modules/operserv/os_akill.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/operserv/os_akill.cpp') 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 -- cgit