diff options
Diffstat (limited to 'modules/nickserv/ns_group.cpp')
-rw-r--r-- | modules/nickserv/ns_group.cpp | 100 |
1 files changed, 57 insertions, 43 deletions
diff --git a/modules/nickserv/ns_group.cpp b/modules/nickserv/ns_group.cpp index 18521bf0c..e1cd7e46f 100644 --- a/modules/nickserv/ns_group.cpp +++ b/modules/nickserv/ns_group.cpp @@ -207,32 +207,34 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("This command makes your nickname join the \037target\037 nickname's\n" - "group. \037password\037 is the password of the target nickname.\n" - " \n" - "Joining a group will allow you to share your configuration,\n" - "memos, and channel privileges with all the nicknames in the\n" - "group, and much more!\n" - " \n" - "A group exists as long as it is useful. This means that even\n" - "if a nick of the group is dropped, you won't lose the\n" - "shared things described above, as long as there is at\n" - "least one nick remaining in the group.\n" - " \n" - "You may be able to use this command even if you have not registered\n" - "your nick yet. If your nick is already registered, you'll\n" - "need to identify yourself before using this command.\n" - " \n" - "It is recommended to use this command with a non-registered\n" - "nick because it will be registered automatically when\n" - "using this command. You may use it with a registered nick (to\n" - "change your group) only if your network administrators allowed\n" - "it.\n" - " \n" - "You can only be in one group at a time. Group merging is\n" - "not possible.\n" - " \n" - "\037Note\037: all the nicknames of a group have the same password.")); + source.Reply(_( + "This command makes your nickname join the \037target\037 nickname's " + "group. \037password\037 is the password of the target nickname. " + "\n\n" + "Joining a group will allow you to share your configuration, " + "memos, and channel privileges with all the nicknames in the " + "group, and much more!" + "\n\n" + "A group exists as long as it is useful. This means that even " + "if a nick of the group is dropped, you won't lose the " + "shared things described above, as long as there is at " + "least one nick remaining in the group." + "\n\n" + "You may be able to use this command even if you have not registered " + "your nick yet. If your nick is already registered, you'll " + "need to identify yourself before using this command. " + "\n\n" + "It is recommended to use this command with a non-registered " + "nick because it will be registered automatically when " + "using this command. You may use it with a registered nick (to " + "change your group) only if your network administrators allowed " + "it." + "\n\n" + "You can only be in one group at a time. Group merging is " + "not possible. " + "\n\n" + "\037Note\037: all the nicknames of a group have the same password." + )); return true; } }; @@ -292,11 +294,13 @@ public: { this->SendSyntax(source); source.Reply(" "); - source.Reply(_("This command ungroups your nick, or if given, the specified nick,\n" - "from the group it is in. The ungrouped nick keeps its registration\n" - "time, password, email, greet, language, and url. Everything else\n" - "is reset. You may not ungroup yourself if there is only one nick in\n" - "your group.")); + source.Reply(_( + "This command ungroups your nick, or if given, the specified nick, " + "from the group it is in. The ungrouped nick keeps its registration " + "time, password, email, greet, language, and url. Everything else " + "is reset. You may not ungroup yourself if there is only one nick in " + "your group." + )); return true; } }; @@ -369,19 +373,29 @@ public: bool OnHelp(CommandSource &source, const Anope::string &subcommand) override { if (source.IsServicesOper()) - source.Reply(_("Syntax: \002%s [\037nickname\037]\002\n" - " \n" - "Without a parameter, lists all nicknames that are in\n" - "your group.\n" - " \n" - "With a parameter, lists all nicknames that are in the\n" - "group of the given nick.\n" - "Specifying a nick is limited to \002Services Operators\002."), - source.command.c_str()); + { + source.Reply(_( + "Syntax: \002%s [\037nickname\037]\002" + "\n\n" + "Without a parameter, lists all nicknames that are in " + "your group." + "\n\n" + "With a parameter, lists all nicknames that are in the " + "group of the given nick." + "\n\n" + "Specifying a nick is limited to \002Services Operators\002." + ), + source.command.c_str()); + } else - source.Reply(_("Syntax: \002%s\002\n" - " \n" - "Lists all nicks in your group."), source.command.c_str()); + { + source.Reply(_( + "Syntax: \002%s\002" + "\n\n" + "Lists all nicks in your group." + ), + source.command.c_str()); + } return true; } |