From 1fb8a624f97909796e52909eef6ad221f188d525 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 19 Nov 2024 17:00:19 +0000 Subject: Make an untranslated string translatable. --- 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 c13ce4fa5..91aa2fc7e 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::ToString(bi->GetChannelCount()) + " channel(s)"; + info[_("Used on")] = Anope::printf(Language::Translate(source.nc, N_("1 channel", "%u channels")), bi->GetChannelCount()); FOREACH_MOD(OnBotInfo, (source, bi, ci, info)); -- cgit