From 6b3537cf6ab7ca255e06dda4334350dfeefd3488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A1=D1=83=D1=85=D0=BE=D0=B2?= Date: Wed, 2 Sep 2020 18:10:54 +0600 Subject: [PATCH] Splitting strings for easier translation... to stay within the 192 byte limit --- src/control.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/control.cpp b/src/control.cpp index 470051b..b4fac22 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -351,7 +351,9 @@ int BotControl::cmdNode () { int status = (this->*item.handler) (); if (status == BotCommandResult::BadFormat) { - msg ("Incorrect usage of \"%s %s %s\" command. Correct usage is:\n\n\t%s\n\nPlease use correct format.", m_args[root], m_args[alias], item.name, item.format); + msg ("Incorrect usage of \"%s %s %s\" command. Correct usage is:", m_args[root], m_args[alias], item.name); + msg ("\n\t%s\n", item.format); + msg ("Please use correct format."); } } else { @@ -1632,7 +1634,9 @@ bool BotControl::executeCommands () { break; case BotCommandResult::BadFormat: - msg ("Incorrect usage of \"%s %s\" command. Correct usage is:\n\n\t%s\n\nPlease type \"%s help %s\" to get more information.", prefix, cmd, item.format, prefix, cmd); + msg ("Incorrect usage of \"%s %s\" command. Correct usage is:", prefix, cmd); + msg ("\n\t%s\n", item.format); + msg ("Please type \"%s help %s\" to get more information.", prefix, cmd); break; }