Add Chinese translation for runtime checking
This commit is contained in:
parent
6aebb483a1
commit
27c7a77f04
@ -398,7 +398,10 @@ if (! function_exists('runtime_check')) {
|
||||
{
|
||||
foreach ($requirements['extensions'] as $extension) {
|
||||
if (!extension_loaded($extension)) {
|
||||
exit("[Error] You have not installed the $extension extension");
|
||||
exit(
|
||||
"[Error] You have not installed the $extension extension <br>".
|
||||
"[错误] 你尚未安装 $extension 扩展!安装方法请自行搜索,蟹蟹。"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,10 @@
|
||||
|
||||
// check PHP version
|
||||
if (version_compare(PHP_VERSION, '5.5.9', '<')) {
|
||||
exit('[Error] Blessing Skin Server needs PHP version >= 5.5.9, you are now using '.PHP_VERSION);
|
||||
exit(
|
||||
'[Error] Blessing Skin Server needs PHP version >= 5.5.9, you are now using '.PHP_VERSION.'<br>'.
|
||||
'[错误] 你的 PHP 版本过低('.PHP_VERSION.'),Blessing Skin Server 要求至少为 5.5.9'
|
||||
);
|
||||
}
|
||||
|
||||
require __DIR__.'/bootstrap/autoload.php';
|
||||
|
Loading…
Reference in New Issue
Block a user