1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 10:53:14 +02:00

Make an untranslated string translatable.

This commit is contained in:
Sadie Powell
2024-11-19 17:00:19 +00:00
parent b4b51d4828
commit 1fb8a624f9
2 changed files with 10 additions and 4 deletions
+9 -3
View File
@@ -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"
@@ -1429,6 +1429,12 @@ msgstr ""
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"
@@ -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"
+1 -1
View File
@@ -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));