mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:18:58 +01:00
Improve UI
This commit is contained in:
parent
b0c4d3562f
commit
5a14961692
@ -150,7 +150,7 @@
|
|||||||
|
|
||||||
"dl.php_powered_by_madelineproto": "Telegram file download server (up to 4GB), powered by <a href=\"https://docs.madelineproto.xyz\" target=\"_blank\">MadelineProto</a>!<br>Click <a href=\"https://docs.madelineproto.xyz/docs/FILES.html#getting-a-download-link\" target=\"_blank\">here</a> for more info on how to setup your very own Telegram file download server!",
|
"dl.php_powered_by_madelineproto": "Telegram file download server (up to 4GB), powered by <a href=\"https://docs.madelineproto.xyz\" target=\"_blank\">MadelineProto</a>!<br>Click <a href=\"https://docs.madelineproto.xyz/docs/FILES.html#getting-a-download-link\" target=\"_blank\">here</a> 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.",
|
"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.",
|
||||||
|
|
||||||
|
@ -166,10 +166,9 @@ final class ResponseInfo
|
|||||||
$body .= '<p>Could not use selected range.</p>';
|
$body .= '<p>Could not use selected range.</p>';
|
||||||
}
|
}
|
||||||
if ($this->code === HttpStatus::BAD_GATEWAY) {
|
if ($this->code === HttpStatus::BAD_GATEWAY) {
|
||||||
$body .= '<small>'.Lang::$current_lang["dl.php_check_logs_make_sure_session_running"].'</small>';
|
$body .= "<h2 style='color:red;'>".Lang::$current_lang["dl.php_check_logs_make_sure_session_running"].'</h2>';
|
||||||
} else {
|
|
||||||
$body .= '<small>'.Lang::$current_lang["dl.php_powered_by_madelineproto"].'</small>';
|
|
||||||
}
|
}
|
||||||
|
$body .= '<small>'.Lang::$current_lang["dl.php_powered_by_madelineproto"].'</small>';
|
||||||
$body .= '</body></html>';
|
$body .= '</body></html>';
|
||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user