summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-09-26 13:26:02 +0100
committerSadie Powell <sadie@witchery.services>2024-09-26 13:26:02 +0100
commit546f65c38ede046f453293a2c9646d91a51efedd (patch)
tree8e2537301f3ae1ab382d7218f97a036cc6ff35a8
parent9fcb022d5e819eaff5cbb71e204ceeff4ca090f0 (diff)
Fix some messages not being marked as translatable.
-rw-r--r--language/anope.en_US.po16
-rw-r--r--src/users.cpp8
2 files changed, 18 insertions, 6 deletions
diff --git a/language/anope.en_US.po b/language/anope.en_US.po
index ad23e1e3e..4832f572e 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-08-18 03:16+0100\n"
-"PO-Revision-Date: 2024-08-18 03:17+0100\n"
+"POT-Creation-Date: 2024-09-26 13:24+0100\n"
+"PO-Revision-Date: 2024-09-26 13:25+0100\n"
"Last-Translator: Sadie Powell <sadie@witchery.services>\n"
"Language-Team: English\n"
"Language: en_US\n"
@@ -2957,6 +2957,14 @@ msgstr ""
"become the new founder, but if the access list is empty, the\n"
"channel will be dropped."
+#, c-format
+msgid "Changing your usermodes to %s"
+msgstr "Changing your usermodes to %s"
+
+#, c-format
+msgid "Changing your vhost to %s"
+msgstr "Changing your vhost to %s"
+
msgid "Channel"
msgstr "Channel"
@@ -8494,6 +8502,10 @@ msgstr "You may not change the email of other Services Operators."
msgid "You may not change the password of other Services Operators."
msgstr "You may not change the password of other Services Operators."
+#, c-format
+msgid "You may not drop %s as it is the display nick for the account."
+msgstr "You may not drop %s as it is the display nick for the account."
+
msgid "You may not drop other Services Operators' nicknames."
msgstr "You may not drop other Services Operators' nicknames."
diff --git a/src/users.cpp b/src/users.cpp
index da4772727..070007648 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -383,11 +383,11 @@ void User::Identify(NickAlias *na)
IRCD->SendOper(this);
this->SetModes(NULL, this->nc->o->ot->modes);
- this->SendMessage(NULL, "Changing your usermodes to \002%s\002", this->nc->o->ot->modes.c_str());
+ this->SendMessage(NULL, _("Changing your usermodes to \002%s\002"), this->nc->o->ot->modes.c_str());
}
if (IRCD->CanSetVHost && !this->nc->o->vhost.empty())
{
- this->SendMessage(NULL, "Changing your vhost to \002%s\002", this->nc->o->vhost.c_str());
+ this->SendMessage(NULL, _("Changing your vhost to \002%s\002"), this->nc->o->vhost.c_str());
this->SetDisplayedHost(this->nc->o->vhost);
IRCD->SendVHost(this, "", this->nc->o->vhost);
}
@@ -554,11 +554,11 @@ void User::SetModeInternal(const MessageSource &source, UserMode *um, const Anop
IRCD->SendOper(this);
this->SetModes(NULL, this->nc->o->ot->modes);
- this->SendMessage(NULL, "Changing your usermodes to \002%s\002", this->nc->o->ot->modes.c_str());
+ this->SendMessage(NULL, _("Changing your usermodes to \002%s\002"), this->nc->o->ot->modes.c_str());
}
if (IRCD->CanSetVHost && !this->nc->o->vhost.empty())
{
- this->SendMessage(NULL, "Changing your vhost to \002%s\002", this->nc->o->vhost.c_str());
+ this->SendMessage(NULL, _("Changing your vhost to \002%s\002"), this->nc->o->vhost.c_str());
this->SetDisplayedHost(this->nc->o->vhost);
IRCD->SendVHost(this, "", this->nc->o->vhost);
}