diff options
author | Sadie Powell <sadie@witchery.services> | 2025-04-16 00:04:30 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-04-16 00:04:30 +0100 |
commit | ce362854a39c35249f8d2c7bcf27e3d5f9aa9980 (patch) | |
tree | 6d4012d9579c2d56055d621768122cf5f3b658ba /modules/greet.cpp | |
parent | a883b616a1360ba74254661cbd39280404d1753a (diff) |
Update as many messages as possible for automatic line wrapping.
Diffstat (limited to 'modules/greet.cpp')
-rw-r--r-- | modules/greet.cpp | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/modules/greet.cpp b/modules/greet.cpp index 9f620d9cb..b76b352fc 100644 --- a/modules/greet.cpp +++ b/modules/greet.cpp @@ -67,12 +67,14 @@ public: bool OnHelp(CommandSource &source, const Anope::string &) override { this->SendSyntax(source); - source.Reply(_(" \n" - "Enables or disables \002greet\002 mode on a channel.\n" - "When it is enabled, the bot will display greet\n" - "messages of users joining the channel, provided\n" - "they have enough access to the channel.")); - return true; + source.Reply(" "); + source.Reply(_( + "Enables or disables \002greet\002 mode on a channel. " + "When it is enabled, the bot will display greet " + "messages of users joining the channel, provided " + "they have enough access to the channel." + )); + return true; } }; @@ -130,10 +132,12 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("Makes the given message the greet of your nickname, that\n" - "will be displayed when joining a channel that has GREET\n" - "option enabled, provided that you have the necessary\n" - "access on it.")); + source.Reply(_( + "Makes the given message the greet of your nickname, that " + "will be displayed when joining a channel that has GREET " + "option enabled, provided that you have the necessary " + "access on it." + )); return true; } }; @@ -157,10 +161,12 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("Makes the given message the greet of the nickname, that\n" - "will be displayed when joining a channel that has GREET\n" - "option enabled, provided that the user has the necessary\n" - "access on it.")); + source.Reply(_( + "Makes the given message the greet of the nickname, that " + "will be displayed when joining a channel that has GREET " + "option enabled, provided that the user has the necessary " + "access on it." + )); return true; } }; |