mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-28 19:14:13 +08:00
feat: Updated partial translations. (#7905)
This commit is contained in:
parent
4da557fada
commit
b6dcf33114
@ -86,7 +86,7 @@ func (n NginxService) GetStatus() (response.NginxStatus, error) {
|
|||||||
url = fmt.Sprintf("http://127.0.0.1:%v/nginx_status", httpPort)
|
url = fmt.Sprintf("http://127.0.0.1:%v/nginx_status", httpPort)
|
||||||
}
|
}
|
||||||
res, err := http.Get(url)
|
res, err := http.Get(url)
|
||||||
if err != nil {
|
if err != nil || res.StatusCode > 300 {
|
||||||
return response.NginxStatus{}, err
|
return response.NginxStatus{}, err
|
||||||
}
|
}
|
||||||
defer res.Body.Close()
|
defer res.Body.Close()
|
||||||
|
@ -294,6 +294,7 @@ const message = {
|
|||||||
executing: 'Executing',
|
executing: 'Executing',
|
||||||
installerr: 'Installation failed',
|
installerr: 'Installation failed',
|
||||||
applyerror: 'Apply failed',
|
applyerror: 'Apply failed',
|
||||||
|
interrupt: 'Interrupted',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: 'Second',
|
second: 'Second',
|
||||||
@ -337,7 +338,8 @@ const message = {
|
|||||||
process: 'Process',
|
process: 'Process',
|
||||||
network: 'Network',
|
network: 'Network',
|
||||||
supervisor: 'Supervisor',
|
supervisor: 'Supervisor',
|
||||||
name: 'Tamper Proof',
|
tamper: 'Tamper-proof',
|
||||||
|
app: 'Application',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
recommend: 'recommend',
|
recommend: 'recommend',
|
||||||
|
@ -288,6 +288,7 @@ const message = {
|
|||||||
executing: '実行中',
|
executing: '実行中',
|
||||||
installerr: 'インストールに失敗しました',
|
installerr: 'インストールに失敗しました',
|
||||||
applyerror: '適用に失敗しました',
|
applyerror: '適用に失敗しました',
|
||||||
|
interrupt: '中断',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: '2番目|2番目|秒',
|
second: '2番目|2番目|秒',
|
||||||
@ -332,7 +333,8 @@ const message = {
|
|||||||
process: 'プロセス|プロセス',
|
process: 'プロセス|プロセス',
|
||||||
network: 'ネットワーク|ネットワーク',
|
network: 'ネットワーク|ネットワーク',
|
||||||
supervisor: '監督者',
|
supervisor: '監督者',
|
||||||
name: '改ざん',
|
tamper: '改ざん防止',
|
||||||
|
app: 'アプリケーション',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
restart_1panel: 'パネルを再起動します',
|
restart_1panel: 'パネルを再起動します',
|
||||||
|
@ -289,6 +289,7 @@ const message = {
|
|||||||
executing: '실행 중',
|
executing: '실행 중',
|
||||||
installerr: '설치 실패',
|
installerr: '설치 실패',
|
||||||
applyerror: '적용 실패',
|
applyerror: '적용 실패',
|
||||||
|
interrupt: '중단됨',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: '초 | 초 | 초',
|
second: '초 | 초 | 초',
|
||||||
@ -333,7 +334,8 @@ const message = {
|
|||||||
process: '프로세스 | 프로세스들',
|
process: '프로세스 | 프로세스들',
|
||||||
network: '네트워크 | 네트워크들',
|
network: '네트워크 | 네트워크들',
|
||||||
supervisor: '슈퍼바이저',
|
supervisor: '슈퍼바이저',
|
||||||
name: '변조 방지',
|
tamper: '변조 방지',
|
||||||
|
app: '애플리케이션',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
restart_1panel: '패널 재시작',
|
restart_1panel: '패널 재시작',
|
||||||
|
@ -295,6 +295,7 @@ const message = {
|
|||||||
executing: 'Melaksanakan',
|
executing: 'Melaksanakan',
|
||||||
installerr: 'Pemasangan gagal',
|
installerr: 'Pemasangan gagal',
|
||||||
applyerror: 'Permohonan gagal',
|
applyerror: 'Permohonan gagal',
|
||||||
|
interrupt: 'Dihentikan',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: 'saat | saat | saat',
|
second: 'saat | saat | saat',
|
||||||
@ -339,7 +340,8 @@ const message = {
|
|||||||
process: 'Process | Processes',
|
process: 'Process | Processes',
|
||||||
network: 'Network | Networks',
|
network: 'Network | Networks',
|
||||||
supervisor: 'Supervisor',
|
supervisor: 'Supervisor',
|
||||||
name: 'Tamper Proof',
|
tamper: 'Bukti Pengubahsuaian',
|
||||||
|
app: 'Aplikasi',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
restart_1panel: 'Mulakan semula panel',
|
restart_1panel: 'Mulakan semula panel',
|
||||||
|
@ -293,6 +293,7 @@ const message = {
|
|||||||
executing: 'Executando',
|
executing: 'Executando',
|
||||||
installerr: 'Falha na instalação',
|
installerr: 'Falha na instalação',
|
||||||
applyerror: 'Falha na aplicação',
|
applyerror: 'Falha na aplicação',
|
||||||
|
interrupt: 'Interrompido',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: 'segundo | segundos | segundos',
|
second: 'segundo | segundos | segundos',
|
||||||
@ -337,7 +338,8 @@ const message = {
|
|||||||
process: 'Processo | Processos',
|
process: 'Processo | Processos',
|
||||||
network: 'Rede | Redes',
|
network: 'Rede | Redes',
|
||||||
supervisor: 'Supervisor',
|
supervisor: 'Supervisor',
|
||||||
name: 'Imunidade contra Modificação',
|
tamper: 'À prova de violação',
|
||||||
|
app: 'Aplicativo',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
restart_1panel: 'Reiniciar painel',
|
restart_1panel: 'Reiniciar painel',
|
||||||
|
@ -289,6 +289,7 @@ const message = {
|
|||||||
executing: 'Выполнение',
|
executing: 'Выполнение',
|
||||||
installerr: 'Ошибка установки',
|
installerr: 'Ошибка установки',
|
||||||
applyerror: 'Ошибка применения',
|
applyerror: 'Ошибка применения',
|
||||||
|
interrupt: 'Прервано',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: ' секунда | секунда | секунд',
|
second: ' секунда | секунда | секунд',
|
||||||
@ -333,7 +334,8 @@ const message = {
|
|||||||
process: 'Процесс | Процессы',
|
process: 'Процесс | Процессы',
|
||||||
network: 'Сеть | Сети',
|
network: 'Сеть | Сети',
|
||||||
supervisor: 'Супервизор',
|
supervisor: 'Супервизор',
|
||||||
name: 'Защита от подмены',
|
tamper: 'Защита от несанкционированного доступа',
|
||||||
|
app: 'Приложение',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
restart_1panel: 'Перезапустить панель',
|
restart_1panel: 'Перезапустить панель',
|
||||||
|
@ -288,6 +288,7 @@ const message = {
|
|||||||
executing: '執行中',
|
executing: '執行中',
|
||||||
installerr: '安裝失敗',
|
installerr: '安裝失敗',
|
||||||
applyerror: '申請失敗',
|
applyerror: '申請失敗',
|
||||||
|
interrupt: '中斷',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: '秒',
|
second: '秒',
|
||||||
@ -331,6 +332,7 @@ const message = {
|
|||||||
network: '網絡',
|
network: '網絡',
|
||||||
supervisor: '進程守護',
|
supervisor: '進程守護',
|
||||||
tamper: '防篡改',
|
tamper: '防篡改',
|
||||||
|
app: '應用',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
recommend: '推薦',
|
recommend: '推薦',
|
||||||
|
@ -286,6 +286,7 @@ const message = {
|
|||||||
executing: '执行中',
|
executing: '执行中',
|
||||||
installerr: '安装失败',
|
installerr: '安装失败',
|
||||||
applyerror: '申请失败',
|
applyerror: '申请失败',
|
||||||
|
interrupt: '中断',
|
||||||
},
|
},
|
||||||
units: {
|
units: {
|
||||||
second: '秒',
|
second: '秒',
|
||||||
@ -329,6 +330,7 @@ const message = {
|
|||||||
network: '网络',
|
network: '网络',
|
||||||
supervisor: '进程守护',
|
supervisor: '进程守护',
|
||||||
tamper: '防篡改',
|
tamper: '防篡改',
|
||||||
|
app: '应用',
|
||||||
},
|
},
|
||||||
home: {
|
home: {
|
||||||
recommend: '推荐',
|
recommend: '推荐',
|
||||||
|
@ -636,7 +636,6 @@ export function emptyLineFilter(str: string, spilt: string) {
|
|||||||
return results.join(spilt);
|
return results.join(spilt);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 文件类型映射
|
|
||||||
let fileTypes = {
|
let fileTypes = {
|
||||||
image: ['.jpg', '.jpeg', '.png', '.bmp', '.gif', '.tiff', '.ico', '.svg', '.webp'],
|
image: ['.jpg', '.jpeg', '.png', '.bmp', '.gif', '.tiff', '.ico', '.svg', '.webp'],
|
||||||
compress: ['.zip', '.rar', '.gz', '.war', '.tgz', '.7z', '.tar.gz', '.tar', '.bz2', '.xz', '.tar.bz2', '.tar.xz'],
|
compress: ['.zip', '.rar', '.gz', '.war', '.tgz', '.7z', '.tar.gz', '.tar', '.bz2', '.xz', '.tar.bz2', '.tar.xz'],
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<el-input v-model.trim="req.name"></el-input>
|
<el-input v-model.trim="req.name"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('app.version')" prop="version">
|
<el-form-item :label="$t('app.version')" prop="version">
|
||||||
<el-select v-model="req.version" @change="getAppDetail(req.version)">
|
<el-select v-model="req.version" @change="getDetail(req.version)">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(version, index) in appVersions"
|
v-for="(version, index) in appVersions"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<el-row>
|
<el-row>
|
||||||
<el-col :xs="24" :sm="20" :md="15" :lg="12" :xl="12">
|
<el-col :xs="24" :sm="20" :md="15" :lg="12" :xl="12">
|
||||||
<el-form-item :label="$t('app.defaultWebDomain')" prop="defaultDomain">
|
<el-form-item :label="$t('app.defaultWebDomain')" prop="defaultDomain">
|
||||||
<el-input v-model="config.defaultDomain">
|
<el-input v-model="config.defaultDomain" disabled>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<el-select v-model="protocol" placeholder="Select" class="p-w-100" disabled>
|
<el-select v-model="protocol" placeholder="Select" class="p-w-100" disabled>
|
||||||
<el-option label="HTTP" value="http://" />
|
<el-option label="HTTP" value="http://" />
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="status"
|
prop="status"
|
||||||
column-key="status"
|
column-key="status"
|
||||||
:label="$t(commons.table.status)"
|
:label="$t('commons.table.status')"
|
||||||
:filters="[
|
:filters="[
|
||||||
{ text: 'LISTEN', value: 'LISTEN' },
|
{ text: 'LISTEN', value: 'LISTEN' },
|
||||||
{ text: 'ESTABLISHED', value: 'ESTABLISHED' },
|
{ text: 'ESTABLISHED', value: 'ESTABLISHED' },
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="p-w-400">
|
<div class="p-w-400">
|
||||||
<el-descriptions border :column="1">
|
<el-descriptions border :column="1">
|
||||||
<div v-for="(resource, index) of data" :key="index">
|
<div v-for="(resource, index) of data" :key="index">
|
||||||
<el-descriptions-item :label="$t('website.' + resource.type)">{{ resource.name }}</el-descriptions-item>
|
<el-descriptions-item :label="$t('menu.' + resource.type)">{{ resource.name }}</el-descriptions-item>
|
||||||
</div>
|
</div>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-form
|
<el-form
|
||||||
|
Loading…
x
Reference in New Issue
Block a user