Skip to content

Commit

Permalink
chore: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghe-fit2cloud committed Feb 19, 2024
1 parent b896a5b commit 3035bb2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/app-status/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<span class="warn" v-if="key === 'openresty' && (httpPort != 80 || httpsPort != 443)">
<el-alert class="helper" type="error" :closable="false">
{{ $t('website.openrestryHelper', [httpPort, httpsPort]) }}
{{ $t('website.openrestyHelper', [httpPort, httpsPort]) }}
</el-alert>
</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ const message = {
changeVersion: 'Switch version',
retainConfig: 'Whether to keep php-fpm.conf and php.ini files',
runDirHelper2: 'Please ensure that the secondary running directory is under the index directory',
openrestryHelper:
openrestyHelper:
'OpenResty default HTTP port: {0} HTTPS port: {1}, which may affect website domain name access and HTTPS forced redirect',
primaryDomainHelper: 'Support domain name: port',
acmeAccountType: 'Account Type',
Expand Down Expand Up @@ -2033,7 +2033,7 @@ const message = {
versionHelper: 'PHP version, e.g. v8.0',
buildHelper:
'The more extensions you select, the more CPU will be occupied during the image making process, so avoid selecting all extensions,If there is no extension you want, you can manually enter it and select it',
openrestryWarn: 'PHP needs to be upgraded to OpenResty to version 1.21.4.1 or later to use',
openrestyWarn: 'PHP needs to be upgraded to OpenResty to version 1.21.4.1 or later to use',
toupgrade: 'To Upgrade',
edit: 'Edit runtime',
extendHelper:
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ const message = {
changeVersion: '切換版本',
retainConfig: '是否保留 php-fpm.conf php.ini 文件',
runDirHelper2: '請確保二級運行目錄位於 index 目錄下',
openrestryHelper: 'OpenResty 默認 HTTP 端口:{0} HTTPS 端口:{1},可能影響網站域名訪問和 HTTPS 強制跳轉',
openrestyHelper: 'OpenResty 默認 HTTP 端口:{0} HTTPS 端口:{1},可能影響網站域名訪問和 HTTPS 強制跳轉',
primaryDomainHelper: '支援網域:port',
acmeAccountType: '賬號類型',
keyType: '密鑰演算法',
Expand Down Expand Up @@ -1901,7 +1901,7 @@ const message = {
version: '版',
versionHelper: 'PHP的版本, v8.0',
buildHelper: '選擇的擴展越多製作鏡像過程中占用 CPU 越多請盡量避免選擇全部擴展',
openrestryWarn: 'PHP 需要升級 OpenResty 1.21.4.1 版本以上才能使用',
openrestyWarn: 'PHP 需要升級 OpenResty 1.21.4.1 版本以上才能使用',
toupgrade: '去升級',
edit: '編輯運行環境',
extendHelper: '列表中不存在的擴展可以手動輸入之後選擇:輸入 sockets然後在下拉列表中選擇第一個',
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ const message = {
changeVersion: '切换版本',
retainConfig: '是否保留 php-fpm.conf php.ini 文件',
runDirHelper2: '请确保二级运行目录位于 index 目录下',
openrestryHelper: 'OpenResty 默认 HTTP 端口:{0} HTTPS 端口 :{1},可能影响网站域名访问和 HTTPS 强制跳转',
openrestyHelper: 'OpenResty 默认 HTTP 端口:{0} HTTPS 端口 :{1},可能影响网站域名访问和 HTTPS 强制跳转',
primaryDomainHelper: '支持域名:端口',
acmeAccountType: '账号类型',
keyType: '密钥算法',
Expand Down Expand Up @@ -1901,7 +1901,7 @@ const message = {
version: '版',
versionHelper: 'PHP的版本, v8.0',
buildHelper: '选择的扩展越多制作镜像过程中占用 CPU 越多请尽量避免选择全部扩展',
openrestryWarn: 'PHP 需要升级 OpenResty 1.21.4.1 版本以上才能使用',
openrestyWarn: 'PHP 需要升级 OpenResty 1.21.4.1 版本以上才能使用',
toupgrade: '去升级',
edit: '编辑运行环境',
extendHelper: '列表中不存在的扩展可以手动输入之后选择:输入 sockets然后在下拉列表中选择第一个,',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/website/website/create/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
<Check ref="preCheckRef"></Check>
<el-card width="30%" v-if="!versionExist" class="mask-prompt">
<span>
{{ $t('runtime.openrestryWarn') }}
{{ $t('runtime.openrestyWarn') }}
</span>
</el-card>
</el-drawer>
Expand Down

0 comments on commit 3035bb2

Please sign in to comment.