Skip to content

Commit 00701a3

Browse files
feat(website): Translate Chinese Parts of Website Default Files (#7213)
1 parent 8453e60 commit 00701a3

File tree

4 files changed

+20
-23
lines changed

4 files changed

+20
-23
lines changed

Diff for: cmd/server/app/app_config.yml

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

Diff for: cmd/server/nginx_conf/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="robots" content="noindex,nofollow" />
6-
<title>恭喜,站点创建成功!</title>
6+
<title>Congratulations! The site has been successfully created!</title>
77
<style>
88
.container {
99
width: 60%;
@@ -28,8 +28,8 @@
2828
</head>
2929
<body>
3030
<div class="container">
31-
<h1>恭喜, 站点创建成功!</h1>
32-
<h3>这是默认index.html,本页面由系统自动生成</h3>
31+
<h1>Congratulations, the site has been successfully created!</h1>
32+
<h3>This is the default index.html, and this page is automatically generated by the system.</h3>
3333
</div>
3434
</body>
3535
</html>

Diff for: cmd/server/nginx_conf/index.php

+4-7
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@
22
error_reporting(E_ALL);
33
ini_set('display_errors', 1);
44

5-
echo '<h1 style="text-align: center;">欢迎使用 PHP</h1>';
6-
echo '<h2>版本信息</h2>';
5+
echo '<h1 style="text-align: center;">Welcome to PHP!</h1>';
6+
echo '<h2>Version Information</h2>';
77

88
echo '<ul>';
9-
echo '<li>PHP版本', PHP_VERSION, '</li>';
9+
echo '<li>PHP Version', PHP_VERSION, '</li>';
1010
echo '</ul>';
1111

12-
echo '<h2>已安装扩展</h2>';
12+
echo '<h2>Installed Extensions</h2>';
1313
printExtensions();
1414

15-
/**
16-
* 获取已安装扩展列表
17-
*/
1815
function printExtensions()
1916
{
2017
echo '<ol>';

Diff for: cmd/server/nginx_conf/stop.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>抱歉,站点已暂停</title>
5+
<title>Sorry, the site has been suspended</title>
66
<style>
77
html,body,div,h1,*{margin:0;padding:0;}
88
body{
@@ -27,7 +27,7 @@
2727

2828
<body>
2929
<div class="box">
30-
<h1>抱歉!该站点已经被管理员停止运行,请联系管理员了解详情!</h1>
30+
<h1>Sorry! This site has been deactivated by the administrator. Please contact the administrator for more details!</h1>
3131
</div>
3232
</body>
3333
</html>

0 commit comments

Comments
 (0)