diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-11-25 01:19:41 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-11-25 01:20:03 +0000 |
| commit | ebea7289572dde1cb0b87118e4be4f5718256941 (patch) | |
| tree | d6e10995d50d6cf0bc8854e68528c37b1fa6331b /modules/botserv | |
| parent | 233a5bf4cd71207e30430d076baf2e0aa0112f56 (diff) | |
Fix pluralising languages which use the same plural for 0 as 1.
Diffstat (limited to 'modules/botserv')
| -rw-r--r-- | modules/botserv/bs_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
