summaryrefslogtreecommitdiff
path: root/modules/hostserv
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-16 00:04:30 +0100
committerSadie Powell <sadie@witchery.services>2025-04-16 00:04:30 +0100
commitce362854a39c35249f8d2c7bcf27e3d5f9aa9980 (patch)
tree6d4012d9579c2d56055d621768122cf5f3b658ba /modules/hostserv
parenta883b616a1360ba74254661cbd39280404d1753a (diff)
Update as many messages as possible for automatic line wrapping.
Diffstat (limited to 'modules/hostserv')
-rw-r--r--modules/hostserv/hs_del.cpp6
-rw-r--r--modules/hostserv/hs_group.cpp8
-rw-r--r--modules/hostserv/hs_list.cpp16
-rw-r--r--modules/hostserv/hs_off.cpp8
-rw-r--r--modules/hostserv/hs_on.cpp8
-rw-r--r--modules/hostserv/hs_request.cpp8
-rw-r--r--modules/hostserv/hs_set.cpp25
7 files changed, 46 insertions, 33 deletions
diff --git a/modules/hostserv/hs_del.cpp b/modules/hostserv/hs_del.cpp
index 357f4f8e3..7ce67dbbe 100644
--- a/modules/hostserv/hs_del.cpp
+++ b/modules/hostserv/hs_del.cpp
@@ -46,8 +46,7 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Deletes the vhost assigned to the given nick from the\n"
- "database."));
+ source.Reply(_("Deletes the vhost assigned to the given nick from the database."));
return true;
}
};
@@ -92,8 +91,7 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Deletes the vhost for all nicks in the same group as\n"
- "that of the given nick."));
+ source.Reply(_("Deletes the vhost for all nicks in the same group as that of the given nick."));
return true;
}
};
diff --git a/modules/hostserv/hs_group.cpp b/modules/hostserv/hs_group.cpp
index bf7b5ddca..183956b72 100644
--- a/modules/hostserv/hs_group.cpp
+++ b/modules/hostserv/hs_group.cpp
@@ -67,9 +67,11 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("This command allows users to set the vhost of their\n"
- "CURRENT nick to be the vhost for all nicks in the same\n"
- "group."));
+ source.Reply(_(
+ "This command allows users to set the vhost of their "
+ "CURRENT nick to be the vhost for all nicks in the same "
+ "group."
+ ));
return true;
}
};
diff --git a/modules/hostserv/hs_list.cpp b/modules/hostserv/hs_list.cpp
index 174f4baf1..3ff6fe39d 100644
--- a/modules/hostserv/hs_list.cpp
+++ b/modules/hostserv/hs_list.cpp
@@ -123,13 +123,15 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("This command lists registered vhosts to the operator.\n"
- "If a \037key\037 is specified, only entries whose nick or vhost match\n"
- "the pattern given in \037key\037 are displayed e.g. Rob* for all\n"
- "entries beginning with \"Rob\"\n"
- "If a \037#X-Y\037 style is used, only entries between the range of \002X\002\n"
- "and \002Y\002 will be displayed, e.g. \002#1-3\002 will display the first 3\n"
- "nick/vhost entries."));
+ source.Reply(_(
+ "This command lists registered vhosts to the operator. "
+ "If a \037key\037 is specified, only entries whose nick or vhost match "
+ "the pattern given in \037key\037 are displayed e.g. Rob* for all "
+ "entries beginning with \"Rob\". "
+ "If a \037#X-Y\037 style is used, only entries between the range of \002X\002 "
+ "and \002Y\002 will be displayed, e.g. \002#1-3\002 will display the first 3 "
+ "nick/vhost entries."
+ ));
return true;
}
};
diff --git a/modules/hostserv/hs_off.cpp b/modules/hostserv/hs_off.cpp
index 534640ca3..a5528d4c7 100644
--- a/modules/hostserv/hs_off.cpp
+++ b/modules/hostserv/hs_off.cpp
@@ -47,9 +47,11 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Deactivates the vhost currently assigned to the nick in use.\n"
- "When you use this command any user who performs a /whois\n"
- "on you will see your real host/IP address."));
+ source.Reply(_(
+ "Deactivates the vhost currently assigned to the nick in use. "
+ "When you use this command any user who performs a /whois "
+ "on you will see your real host/IP address."
+ ));
return true;
}
};
diff --git a/modules/hostserv/hs_on.cpp b/modules/hostserv/hs_on.cpp
index dbd675333..33a077f32 100644
--- a/modules/hostserv/hs_on.cpp
+++ b/modules/hostserv/hs_on.cpp
@@ -50,9 +50,11 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Activates the vhost currently assigned to the nick in use.\n"
- "When you use this command any user who performs a /whois\n"
- "on you will see the vhost instead of your real host/IP address."));
+ source.Reply(_(
+ "Activates the vhost currently assigned to the nick in use. "
+ "When you use this command any user who performs a /whois "
+ "on you will see the vhost instead of your real host/IP address."
+ ));
return true;
}
};
diff --git a/modules/hostserv/hs_request.cpp b/modules/hostserv/hs_request.cpp
index 65c92ea9b..12252e62f 100644
--- a/modules/hostserv/hs_request.cpp
+++ b/modules/hostserv/hs_request.cpp
@@ -189,9 +189,11 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Request the given vhost to be activated for your nick by the\n"
- "network administrators. Please be patient while your request\n"
- "is being considered."));
+ source.Reply(_(
+ "Request the given vhost to be activated for your nick by the "
+ "network administrators. Please be patient while your request "
+ "is being considered."
+ ));
return true;
}
};
diff --git a/modules/hostserv/hs_set.cpp b/modules/hostserv/hs_set.cpp
index 740646a9c..1de34b5a3 100644
--- a/modules/hostserv/hs_set.cpp
+++ b/modules/hostserv/hs_set.cpp
@@ -94,10 +94,12 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Sets the vhost for the given nick to that of the given\n"
- "hostmask. If your IRCD supports vidents, then using\n"
- "SET <nick> <ident>@<hostmask> set idents for users as\n"
- "well as vhosts."));
+ source.Reply(_(
+ "Sets the vhost for the given nick to that of the given "
+ "hostmask. If your IRCD supports vidents, then using "
+ "SET <nick> <ident>@<hostmask> set idents for users as "
+ "well as vhosts."
+ ));
return true;
}
};
@@ -198,12 +200,15 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Sets the vhost for all nicks in the same group as that\n"
- "of the given nick. If your IRCD supports vidents, then\n"
- "using SETALL <nick> <ident>@<hostmask> will set idents\n"
- "for users as well as vhosts.\n"
- "* NOTE, this will not update the vhost for any nicks\n"
- "added to the group after this command was used."));
+ source.Reply(_(
+ "Sets the vhost for all nicks in the same group as that "
+ "of the given nick. If your IRCD supports vidents, then "
+ "using SETALL <nick> <ident>@<hostmask> will set idents "
+ "for users as well as vhosts."
+ "\n\n"
+ "* NOTE, this will not update the vhost for any nicks "
+ "added to the group after this command was used."
+ ));
return true;
}
};