diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-19 17:00:19 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-19 17:00:19 +0000 |
commit | 1fb8a624f97909796e52909eef6ad221f188d525 (patch) | |
tree | e7cba76e87634b0cf63ce5226dfba9c37e7b41da /modules | |
parent | b4b51d48285278125d5c32a4e429e2c66c15d78e (diff) |
Make an untranslated string translatable.
Diffstat (limited to 'modules')
-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 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)); |