style: 增加一些翻译

pull/64/head
zhengkunwang223 2022-12-05 11:43:00 +08:00 committed by zhengkunwang223
parent 61ba926ccd
commit 096cc7bf61
3 changed files with 145 additions and 25 deletions

View File

@ -8,13 +8,13 @@
<el-tag effect="dark" type="success">{{ data.app }}</el-tag> <el-tag effect="dark" type="success">{{ data.app }}</el-tag>
</div> </div>
</el-col> </el-col>
<el-col :lg="4" :xl="2"> <el-col :lg="3" :xl="2">
<div> <div>
{{ $t('app.version') }}: {{ $t('app.version') }}:
<el-tag type="info">{{ data.version }}</el-tag> <el-tag type="info">{{ data.version }}</el-tag>
</div> </div>
</el-col> </el-col>
<el-col :lg="4" :xl="2"> <el-col :lg="3" :xl="2">
<div> <div>
{{ $t('commons.table.status') }}: {{ $t('commons.table.status') }}:
<el-tag type="info"> <el-tag type="info">
@ -22,7 +22,7 @@
</el-tag> </el-tag>
</div> </div>
</el-col> </el-col>
<el-col :lg="8" :xl="4"> <el-col :lg="5" :xl="4">
<div> <div>
{{ $t('website.lastBackupAt') }}: {{ $t('website.lastBackupAt') }}:
<el-tag v-if="data.lastBackupAt != ''" type="info">{{ data.lastBackupAt }}</el-tag> <el-tag v-if="data.lastBackupAt != ''" type="info">{{ data.lastBackupAt }}</el-tag>

View File

@ -130,6 +130,16 @@ export default {
changePassword: 'Change Password', changePassword: 'Change Password',
logout: 'Logout', logout: 'Logout',
}, },
status: {
running: 'running',
stopped: 'stopped',
error: 'error',
created: 'created',
restarting: 'restarting',
removing: 'removing',
paused: 'paused',
exited: 'exited',
},
}, },
menu: { menu: {
home: 'Overview', home: 'Overview',
@ -707,37 +717,142 @@ export default {
description: '1Panel, A modern open source Linux panel.', description: '1Panel, A modern open source Linux panel.',
}, },
app: { app: {
app: 'Application',
installName: 'installation name',
installed: 'installed', installed: 'installed',
all: 'all', all: 'all',
version: 'version', version: 'version',
detail: 'detail', detail: 'Details',
install: 'install', install: 'Install',
author: 'author', author: 'Author',
source: 'source', source: 'source',
sync: 'sync', sync: 'synchronous',
supportUpType: '.tar.gz files are supported only', appName: 'Application Name',
zipFormat:
'.tar.gz compressed package structure: test.tar.gz compressed package must contain the website.json file',
appName: 'App Name',
status: 'status', status: 'status',
container: 'Container', container: 'container',
restart: 'Restart', restart: 'restart',
up: 'Start', up: 'start',
down: 'Stop', down: 'stop',
name: 'Name', name: 'name',
description: 'Description', description: 'Description',
delete: 'Delete', delete: 'delete',
deleteWarn: deleteWarn:
'Delete the operation data and delete the operation data. This operation cannot be rolled back. Do you want to continue?', 'Delete operation will delete all data and backup together, this operation cannot be rolled back, continue?',
canUpdate: 'CanUpdate', syncSuccess: 'Sync successfully',
canUpdate: 'can be upgraded',
backup: 'Backup', backup: 'Backup',
backupName: 'Filename', backupName: 'file name',
backupPath: 'Filepath', backupPath: 'file path',
backupdate: 'Backup Date', backupdate: 'Backup time',
restore: 'Restore', restore: 'Restore',
restoreWarn: restoreWarn:
'The rollback operation will restart the application and replace the data. This operation cannot be rolled back. Do you want to continue?', 'The restore operation will restart the application and replace the data. This operation cannot be rolled back. Do you want to continue?',
update: 'Update', update: 'upgrade',
versioneSelect: 'Please Select version', versioneSelect: 'Please select a version',
operatorHelper: 'Operation {0} will be performed on the selected application, continue? ',
checkInstalledWarn: '{0} is not detected, please enter the app store and click to install!',
gotoInstalled: 'Go to install',
search: 'Search',
limitHelper: 'The application has already been installed, does not support repeated installation',
deleteHelper: 'The application has been associated with the following resources and cannot be deleted',
checkTitle: 'Prompt',
website: 'website',
database: 'database',
},
website: {
website: 'website',
primaryDomain: 'primary domain name',
otherDomains: 'other domain names',
type: 'Type',
static: 'Static website',
deployment: 'reverse proxy',
supportUpType: 'Only support tar.gz files',
zipFormat: 'tar.gz compressed package structure: test.tar.gz compressed package must contain website.json file',
proxy: 'reverse proxy',
alias: 'Codename',
remark: 'remark',
group: 'group',
groupSetting: 'Group Management',
app: 'Application',
appNew: 'New application',
appInstalled: 'Installed application',
create: 'Create a website',
delete: 'Delete website',
deleteApp: 'Delete application',
deleteBackup: 'Delete backup',
domain: 'domain name',
domainHelper: 'One domain name per line, support * and IP address, support domain name: port',
port: 'port',
addDomain: 'Add domain name',
domainConfig: 'domain name settings',
defaultDoc: 'default document',
perserver: 'concurrency limit',
perserverHelper: 'Limit the maximum concurrency of the current site',
perip: 'Single IP limit',
peripHelper: 'Limit the maximum number of concurrent access to a single IP',
rate: 'flow limit',
rateHelper: 'Limit the flow of each request (unit: KB)',
limtHelper: 'Enable flow control',
other: 'other',
currentSSL: 'current certificate',
dnsAccount: 'DNS Account',
applySSL: 'Certificate Application',
SSLList: 'Certificate list',
createDnsAccount: 'DNS Account',
aliyun: 'Aliyun DNS',
manual: 'Manual parsing',
key: 'Key',
check: 'View',
acmeAccountManage: 'Acme Account Management',
email: 'Email',
addAccount: 'Add new account',
acmeAccount: 'Acme Account',
provider: 'Verification method',
dnsCommon: 'Manual resolution',
expireDate: 'Expiration time',
brand: 'brand',
deploySSL: 'Deployment',
deploySSLHelper: 'Are you sure to deploy the certificate? ',
ssl: 'certificate',
dnsAccountManage: 'DNS account management',
renewSSL: 'Renew',
renewHelper: 'Are you sure to renew the certificate? ',
renewSuccess: 'Renew Certificate',
config: 'Configuration',
enableHTTPS: 'Enable HTTPS',
aliasHelper: 'The code name is the folder name of the website directory',
lastBackupAt: 'last backup time',
null: 'none',
nginxConfig: 'Nginx Configuration',
websiteConfig: 'Website Settings',
basic: 'Basic',
source: 'source text',
security: 'Security',
backup: 'Backup',
log: 'log',
nginxPer: 'performance adjustment',
neverExpire: 'never expire',
protocol: 'protocol',
setDefault: 'Set as default',
default: 'Default',
deleteHelper: 'Related application status is abnormal, please check',
toApp: 'Go to the installed list',
},
nginx: {
serverNamesHashBucketSizeHelper: 'The hash table size of the server name',
clientHeaderBufferSizeHelper: 'The header buffer size requested by the client',
clientMaxBodySizeHelper: 'Maximum upload file',
keepaliveTimeoutHelper: 'Connection timeout',
gzipMinLengthHelper: 'minimum compressed file',
gzipCompLevelHelper: 'compression rate',
gzipHelper: 'Whether to enable compressed transmission',
connections: 'Active connections',
accepts: 'Total connections (accepts)',
handled: 'Total number of handshakes (handled)',
requests: 'Total number of handshakes (requests)',
reading: 'Number of requests (Reading)',
writing: 'Number of Responses (Writing)',
waiting: 'resident process (Waiting)',
status: 'load status',
}, },
}; };

View File

@ -134,6 +134,11 @@ export default {
running: '', running: '',
stopped: '', stopped: '',
error: '', error: '',
created: '',
restarting: '',
removing: '',
paused: '',
exited: '',
}, },
}, },
menu: { menu: {