summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-11-22 15:22:23 +0000
committerSadie Powell <sadie@witchery.services>2024-11-22 15:22:23 +0000
commitc3055e1cfa112c7deecc434ce01b928fd8736c70 (patch)
tree623b3aca08009949178c7457555994a0de00254f /modules
parenta27be92e4b406e4bee8a0d56bda00eae335c80a5 (diff)
Add a plural form overload of SendMessage.
Diffstat (limited to 'modules')
-rw-r--r--modules/memoserv/memoserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/memoserv/memoserv.cpp b/modules/memoserv/memoserv.cpp
index c6d927460..4b005eaf5 100644
--- a/modules/memoserv/memoserv.cpp
+++ b/modules/memoserv/memoserv.cpp
@@ -139,7 +139,7 @@ public:
if (nc->memos.GetMemo(i)->unread)
++newcnt;
if (newcnt > 0)
- u->SendMessage(MemoServ, newcnt == 1 ? _("You have 1 new memo.") : _("You have %d new memos."), newcnt);
+ u->SendMessage(MemoServ, newcnt, N_("You have 1 new memo.", "You have %d new memos."), newcnt);
if (nc->memos.memomax > 0 && nc->memos.memos->size() >= static_cast<unsigned>(nc->memos.memomax))
{
if (nc->memos.memos->size() > static_cast<unsigned>(nc->memos.memomax))