From ce362854a39c35249f8d2c7bcf27e3d5f9aa9980 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 16 Apr 2025 00:04:30 +0100 Subject: Update as many messages as possible for automatic line wrapping. --- modules/operserv/os_news.cpp | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'modules/operserv/os_news.cpp') diff --git a/modules/operserv/os_news.cpp b/modules/operserv/os_news.cpp index e5b6b057c..37eeef1c1 100644 --- a/modules/operserv/os_news.cpp +++ b/modules/operserv/os_news.cpp @@ -319,12 +319,14 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("Edits or displays the list of logon news messages. When a\n" - "user connects to the network, these messages will be sent\n" - "to them. However, no more than \002%d\002 messages will be\n" - "sent in order to avoid flooding the user. If there are\n" - "more news messages, only the most recent will be sent."), - Config->GetModule(this->owner).Get("newscount", "3")); + source.Reply(_( + "Edits or displays the list of logon news messages. When a " + "user connects to the network, these messages will be sent " + "to them. However, no more than \002%d\002 messages will be " + "sent in order to avoid flooding the user. If there are " + "more news messages, only the most recent will be sent." + ), + Config->GetModule(this->owner).Get("newscount", "3")); return true; } }; @@ -347,12 +349,14 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("Edits or displays the list of oper news messages. When a\n" - "user opers up (with the /OPER command), these messages will\n" - "be sent to them. However, no more than \002%d\002 messages will\n" - "be sent in order to avoid flooding the user. If there are\n" - "more news messages, only the most recent will be sent."), - Config->GetModule(this->owner).Get("newscount", "3")); + source.Reply(_( + "Edits or displays the list of oper news messages. When a " + "user opers up (with the /OPER command), these messages will " + "be sent to them. However, no more than \002%d\002 messages will " + "be sent in order to avoid flooding the user. If there are " + "more news messages, only the most recent will be sent." + ), + Config->GetModule(this->owner).Get("newscount", "3")); return true; } }; @@ -375,9 +379,11 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("Edits or displays the list of random news messages. When a\n" - "user connects to the network, one (and only one) of the\n" - "random news will be randomly chosen and sent to them.")); + source.Reply(_( + "Edits or displays the list of random news messages. When a " + "user connects to the network, one (and only one) of the " + "random news will be randomly chosen and sent to them." + )); return true; } }; -- cgit