From ebea7289572dde1cb0b87118e4be4f5718256941 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 25 Nov 2024 01:19:41 +0000 Subject: Fix pluralising languages which use the same plural for 0 as 1. --- modules/botserv/bs_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/botserv') diff --git a/modules/botserv/bs_info.cpp b/modules/botserv/bs_info.cpp index 91aa2fc7e..325825a8e 100644 --- a/modules/botserv/bs_info.cpp +++ b/modules/botserv/bs_info.cpp @@ -55,7 +55,7 @@ public: info[_("Real name")] = bi->realname; info[_("Created")] = Anope::strftime(bi->created, source.GetAccount()); info[_("Options")] = bi->oper_only ? _("Private") : _("None"); - info[_("Used on")] = Anope::printf(Language::Translate(source.nc, N_("1 channel", "%u channels")), bi->GetChannelCount()); + info[_("Used on")] = Anope::printf(Language::Translate(source.nc, N_("%u channel", "%u channels")), bi->GetChannelCount()); FOREACH_MOD(OnBotInfo, (source, bi, ci, info)); -- cgit