1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-18 15:59:16 +08:00

feat(website): Translate Chinese Parts of Website Default Files (#7213)

This commit is contained in:
zhengkunwang 2024-11-30 19:42:51 +08:00 committed by GitHub
parent 8453e60609
commit 00701a3999
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 23 deletions

View File

@ -1,13 +1,13 @@
additionalProperties:
key: #应用的 key ,仅限英文,用于在 Linux 创建文件夹
name: #应用名称
key: # The application's key, limited to English, used to create a folder in Linux
name: # Application name
tags:
- Tool #应用标签,可以有多个,请参照下方的标签列表
shortDescZh: #应用中文描述不要超过30个字
shortDescEn: #应用英文描述
type: tool #应用类型,区别于应用分类,只能有一个,请参照下方的类型列表
crossVersionUpdate: #是否可以跨大版本升级
limit: #应用安装数量限制0 代表无限制
website: #官网地址
github: #github 地址
document: #文档地址
- Tool # Application tags, multiple tags are allowed. Refer to the tag list below
shortDescZh: # Application description in Chinese, no more than 30 characters
shortDescEn: # Application description in English
type: tool # Application type, different from application category, only one is allowed. Refer to the type list below
crossVersionUpdate: # Whether cross-major-version upgrades are supported
limit: # Application installation limit, 0 means no limit
website: # Official website address
github: # GitHub address
document: # Documentation address

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex,nofollow" />
<title>恭喜站点创建成功</title>
<title>Congratulations! The site has been successfully created!</title>
<style>
.container {
width: 60%;
@ -28,8 +28,8 @@
</head>
<body>
<div class="container">
<h1>恭喜, 站点创建成功</h1>
<h3>这是默认index.html本页面由系统自动生成</h3>
<h1>Congratulations, the site has been successfully created!</h1>
<h3>This is the default index.html, and this page is automatically generated by the system.</h3>
</div>
</body>
</html>

View File

@ -2,19 +2,16 @@
error_reporting(E_ALL);
ini_set('display_errors', 1);
echo '<h1 style="text-align: center;">欢迎使用 PHP</h1>';
echo '<h2>版本信息</h2>';
echo '<h1 style="text-align: center;">Welcome to PHP!</h1>';
echo '<h2>Version Information</h2>';
echo '<ul>';
echo '<li>PHP版本', PHP_VERSION, '</li>';
echo '<li>PHP Version', PHP_VERSION, '</li>';
echo '</ul>';
echo '<h2>已安装扩展</h2>';
echo '<h2>Installed Extensions</h2>';
printExtensions();
/**
* 获取已安装扩展列表
*/
function printExtensions()
{
echo '<ol>';

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>抱歉站点已暂停</title>
<title>Sorry, the site has been suspended</title>
<style>
html,body,div,h1,*{margin:0;padding:0;}
body{
@ -27,7 +27,7 @@
<body>
<div class="box">
<h1>抱歉该站点已经被管理员停止运行请联系管理员了解详情</h1>
<h1>Sorry! This site has been deactivated by the administrator. Please contact the administrator for more details!</h1>
</div>
</body>
</html>