From f2b66278aa4dae89533510f59216510fa1bec2f5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 12 Jun 2024 17:53:15 +0100 Subject: [PATCH] Fix a string that should be marked as translatable in ns_info. --- language/anope.en_US.po | 8 ++++++-- modules/nickserv/ns_info.cpp | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/language/anope.en_US.po b/language/anope.en_US.po index b270e0165..072a2d74f 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Anope\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-05-11 17:38+0100\n" -"PO-Revision-Date: 2024-05-11 17:39+0100\n" +"POT-Creation-Date: 2024-06-12 17:52+0100\n" +"PO-Revision-Date: 2024-06-12 17:53+0100\n" "Last-Translator: Sadie Powell \n" "Language-Team: English\n" "Language: en_US\n" @@ -8092,6 +8092,10 @@ msgstr "Used to manage the list of privileged users" msgid "Used to modify the channel status of you or other users" msgstr "Used to modify the channel status of you or other users" +#, c-format +msgid "User %s isn't currently logged in to an account." +msgstr "User %s isn't currently logged in to an account." + msgid "User has been banned from the channel" msgstr "User has been banned from the channel" diff --git a/modules/nickserv/ns_info.cpp b/modules/nickserv/ns_info.cpp index fb43aacd0..e74e9442a 100644 --- a/modules/nickserv/ns_info.cpp +++ b/modules/nickserv/ns_info.cpp @@ -42,7 +42,7 @@ public: } if (!u->AccountNick()) { - source.Reply("User \002%s\002 isn't currently logged in to an account.", nick.c_str()); + source.Reply(_("User \002%s\002 isn't currently logged in to an account."), nick.c_str()); return; } nick = u->AccountNick()->nick;