summaryrefslogtreecommitdiff
path: root/src
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 /src
parent9fcb022d5e819eaff5cbb71e204ceeff4ca090f0 (diff)
Fix some messages not being marked as translatable.
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}