1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 17:56:38 +02:00

Fix some messages not being marked as translatable.

This commit is contained in:
Sadie Powell
2024-09-26 13:26:02 +01:00
parent 9fcb022d5e
commit 546f65c38e
2 changed files with 18 additions and 6 deletions
+4 -4
View File
@@ -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);
}