mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 22:14:39 +01:00
One more string
This commit is contained in:
parent
1ce9ecf770
commit
d6f2daddba
@ -5,6 +5,7 @@
|
||||
"mmapErrorPart2": "To fix, run the following command as root: %s",
|
||||
"mmapErrorPart3": "To persist the change across reboots: %s",
|
||||
"mmapErrorPart4": "On Windows and WSL, increasing the size of the pagefile might help; please switch to native Linux if the issue persists.",
|
||||
"botAlreadyRunning": "The bot is already running!",
|
||||
"extensionRequired": "MadelineProto requires the %s extension to run. %s",
|
||||
"extensionRequiredInstallWithApt": "Try running sudo apt-get install %s.",
|
||||
"extensionRequiredInstallWithCustomInstructions": "Follow the instructions at %s to install it.",
|
||||
|
@ -241,7 +241,7 @@ final class API extends AbstractAPI
|
||||
try {
|
||||
if (!isset($_GET['MadelineSelfRestart']) && (($this->hasEventHandler()) || !($this->isIpcWorker()))) {
|
||||
$this->wrapper->logger('Restarting to full instance: the bot is already running!');
|
||||
Tools::closeConnection($this->getWebMessage('The bot is already running!'));
|
||||
Tools::closeConnection($this->getWebMessage(Lang::$current_lang['botAlreadyRunning']));
|
||||
return false;
|
||||
}
|
||||
$this->wrapper->logger('Restarting to full instance: stopping IPC server...');
|
||||
|
Loading…
Reference in New Issue
Block a user