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 | |
parent | b4b51d48285278125d5c32a4e429e2c66c15d78e (diff) |
Make an untranslated string translatable.
-rw-r--r-- | language/anope.en_US.po | 12 | ||||
-rw-r--r-- | modules/botserv/bs_info.cpp | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/language/anope.en_US.po b/language/anope.en_US.po index 7708cb2d2..4123c76b5 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Anope\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-13 11:56+0000\n" +"POT-Creation-Date: 2024-11-19 16:54+0000\n" "PO-Revision-Date: 2024-11-13 02:45+0000\n" "Last-Translator: Sadie Powell <sadie@witchery.services>\n" "Language-Team: English\n" @@ -1430,6 +1430,12 @@ msgid ". %s is still online." msgstr "" #, c-format +msgid "1 channel" +msgid_plural "%u channels" +msgstr[0] "" +msgstr[1] "" + +#, c-format msgid "1 day" msgid_plural "%lld days" msgstr[0] "" @@ -5282,10 +5288,10 @@ msgstr "" msgid "Set how services make bans on the channel" msgstr "" -msgid "Set options related to memos" +msgid "Set nickname options and information" msgstr "" -msgid "Set options, including kill protection" +msgid "Set options related to memos" msgstr "" msgid "Set the channel as permanent" 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)); |