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

View File

@ -130,6 +130,16 @@ export default {
changePassword: 'Change Password',
logout: 'Logout',
},
status: {
running: 'running',
stopped: 'stopped',
error: 'error',
created: 'created',
restarting: 'restarting',
removing: 'removing',
paused: 'paused',
exited: 'exited',
},
},
menu: {
home: 'Overview',
@ -707,37 +717,142 @@ export default {
description: '1Panel, A modern open source Linux panel.',
},
app: {
app: 'Application',
installName: 'installation name',
installed: 'installed',
all: 'all',
version: 'version',
detail: 'detail',
install: 'install',
author: 'author',
detail: 'Details',
install: 'Install',
author: 'Author',
source: 'source',
sync: 'sync',
supportUpType: '.tar.gz files are supported only',
zipFormat:
'.tar.gz compressed package structure: test.tar.gz compressed package must contain the website.json file',
appName: 'App Name',
sync: 'synchronous',
appName: 'Application Name',
status: 'status',
container: 'Container',
restart: 'Restart',
up: 'Start',
down: 'Stop',
name: 'Name',
container: 'container',
restart: 'restart',
up: 'start',
down: 'stop',
name: 'name',
description: 'Description',
delete: 'Delete',
delete: 'delete',
deleteWarn:
'Delete the operation data and delete the operation data. This operation cannot be rolled back. Do you want to continue?',
canUpdate: 'CanUpdate',
'Delete operation will delete all data and backup together, this operation cannot be rolled back, continue?',
syncSuccess: 'Sync successfully',
canUpdate: 'can be upgraded',
backup: 'Backup',
backupName: 'Filename',
backupPath: 'Filepath',
backupdate: 'Backup Date',
backupName: 'file name',
backupPath: 'file path',
backupdate: 'Backup time',
restore: 'Restore',
restoreWarn:
'The rollback operation will restart the application and replace the data. This operation cannot be rolled back. Do you want to continue?',
update: 'Update',
versioneSelect: 'Please Select version',
'The restore operation will restart the application and replace the data. This operation cannot be rolled back. Do you want to continue?',
update: 'upgrade',
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: '',
stopped: '',
error: '',
created: '',
restarting: '',
removing: '',
paused: '',
exited: '',
},
},
menu: {