diff --git a/langs/en.json b/langs/en.json index 245e37d2e..bc5ede1e7 100644 --- a/langs/en.json +++ b/langs/en.json @@ -150,7 +150,7 @@ "dl.php_powered_by_madelineproto": "Telegram file download server (up to 4GB), powered by MadelineProto!
Click here for more info on how to setup your very own Telegram file download server!", - "dl.php_check_logs_make_sure_session_running": "The EventHandler bot or the IPC server is offline, please check logs and make sure it is running!", + "dl.php_check_logs_make_sure_session_running": "Either the associated MadelineProto EventHandler bot or the MadelineProto IPC server are offline, please check logs and make sure at least one of them is running!", "account_banned": "!!!!!!! WARNING !!!!!!!\nTelegram's flood prevention system suspended this account.\nTo continue, manual verification is required.\nSend an email to recover@telegram.org, asking to unban the phone number %s, and shortly describe what will you do with this phone number.\nThen login again.\nIf you intentionally deleted this account, ignore this message.", diff --git a/src/MTProtoTools/ResponseInfo.php b/src/MTProtoTools/ResponseInfo.php index 63f867a4d..c8ffd0bf7 100644 --- a/src/MTProtoTools/ResponseInfo.php +++ b/src/MTProtoTools/ResponseInfo.php @@ -166,10 +166,9 @@ final class ResponseInfo $body .= '

Could not use selected range.

'; } if ($this->code === HttpStatus::BAD_GATEWAY) { - $body .= ''.Lang::$current_lang["dl.php_check_logs_make_sure_session_running"].''; - } else { - $body .= ''.Lang::$current_lang["dl.php_powered_by_madelineproto"].''; + $body .= "

".Lang::$current_lang["dl.php_check_logs_make_sure_session_running"].'

'; } + $body .= ''.Lang::$current_lang["dl.php_powered_by_madelineproto"].''; $body .= ''; return $body; }