From 546f65c38ede046f453293a2c9646d91a51efedd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 26 Sep 2024 13:26:02 +0100 Subject: Fix some messages not being marked as translatable. --- src/users.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); } -- cgit