Browse Source

feat: 修改翻译

pull/102/head
zhengkunwang223 2 years ago committed by zhengkunwang223
parent
commit
0e4f8f138f
  1. 200
      frontend/src/lang/modules/en.ts
  2. 18
      frontend/src/views/website/ssl/renew/index.vue

200
frontend/src/lang/modules/en.ts

@ -615,59 +615,61 @@ export default {
file: {
dir: 'folder',
upload: 'Upload',
download: 'Download',
download: 'download',
fileName: 'file name',
search: 'find',
search: 'Find',
mode: 'permission',
owner: 'owner',
file: 'file',
remoteFile: 'remote download',
share: 'Share',
sync: 'Data synchronization',
sync: 'data synchronization',
size: 'size',
updateTime: 'Modification time',
open: 'open',
rename: 'rename',
role: 'authority',
info: 'Properties',
updateTime: 'modification time',
open: 'Open',
rename: 'Rename',
role: 'permission',
info: 'attribute',
linkFile: 'soft link file',
terminal: 'terminal',
shareList: 'Share List',
zip: 'compress',
user: 'User',
shareList: 'Share list',
zip: 'compressed',
user: 'user',
group: 'user group',
path: 'path',
public: 'public',
setRole: 'Set permissions',
link: 'Whether to link',
rRole: 'read',
link: 'whether to link',
rRole: 'Read',
wRole: 'Write',
xRole: 'executable',
name: 'name',
compress: 'compress',
deCompress: 'Decompress',
compress: 'compression',
deCompress: 'Decompression',
compressType: 'compression format',
compressDst: 'compression path',
replace: 'Overwrite existing file',
compressSuccess: 'Compression successful',
replace: 'Overwrite existing files',
compressSuccess: 'Compressed successfully',
deCompressSuccess: 'Decompression succeeded',
deCompressDst: 'Decompression path',
linkType: 'Link type',
linkType: 'Link Type',
softLink: 'soft link',
hardLink: 'hard link',
linkPath: 'Link path',
linkPath: 'Link Path',
selectFile: 'Select file',
downloadSuccess: 'Download successful',
downloadUrl: 'download URL',
downloadStart: 'Download started!',
moveStart: 'Move start',
downloadSuccess: 'Download succeeded',
downloadUrl: 'Download URL',
downloadStart: 'Download start!',
moveStart: 'Move successfully',
move: 'Move',
copy: 'Cpoy',
calculate: 'Calculate',
canNotDeCompress: 'Can not DeCompress this File',
uploadSuccess: 'Upload Success!',
downloadProcess: 'Download Process',
copy: 'Copy',
calculate: 'calculate',
canNotDeCompress: 'Cannot decompress this file',
uploadSuccess: 'Upload successful!',
downloadProcess: 'Download progress',
downloading: 'Downloading...',
infoDetail: 'File Properties',
type: 'Type',
},
setting: {
all: 'All',
@ -774,7 +776,7 @@ export default {
description: 'Description',
delete: 'delete',
deleteWarn:
'Delete operation will delete all data and backup together, this operation cannot be rolled back, continue?',
'The delete operation will delete all data and backups together. This operation cannot be rolled back. Do you want to continue? ',
syncSuccess: 'Sync successfully',
canUpdate: 'can be upgraded',
backup: 'Backup',
@ -791,10 +793,20 @@ export default {
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',
deleteHelper: '{0} has been associated with the following resources and cannot be deleted',
checkTitle: 'Prompt',
website: 'website',
database: 'database',
defaultConfig: 'default configuration',
defaultConfigHelper: 'It has been restored to the default configuration, it will take effect after saving',
forceDelete: 'force delete',
forceDeleteHelper:
'Forced deletion will ignore errors generated during the deletion process and eventually delete metadata',
deleteBackup: 'Delete backup',
deleteBackupHelper: 'Delete application backup at the same time',
noService: 'No {0}',
toInstall: 'to install',
param: 'parameter configuration',
},
website: {
website: 'website',
@ -802,11 +814,11 @@ export default {
otherDomains: 'other domain names',
type: 'Type',
static: 'Static website',
deployment: 'reverse proxy',
deployment: 'One-key deployment',
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',
alias: 'Code Name',
remark: 'remark',
group: 'group',
groupSetting: 'Group Management',
@ -834,7 +846,7 @@ export default {
currentSSL: 'current certificate',
dnsAccount: 'DNS Account',
applySSL: 'Certificate Application',
SSLList: 'Certificate list',
SSLList: 'Certificate List',
createDnsAccount: 'DNS Account',
aliyun: 'Aliyun DNS',
manual: 'Manual parsing',
@ -847,7 +859,7 @@ export default {
provider: 'Verification method',
dnsCommon: 'Manual resolution',
expireDate: 'Expiration time',
brand: 'brand',
brand: 'issuer',
deploySSL: 'Deployment',
deploySSLHelper: 'Are you sure to deploy the certificate? ',
ssl: 'certificate',
@ -860,10 +872,10 @@ export default {
aliasHelper: 'The code name is the folder name of the website directory',
lastBackupAt: 'last backup time',
null: 'none',
nginxConfig: 'Nginx Configuration',
nginxConfig: 'Nginx configuration',
websiteConfig: 'Website Settings',
basic: 'Basic',
source: 'source text',
source: 'configuration file',
security: 'Security',
backup: 'Backup',
log: 'log',
@ -874,6 +886,84 @@ export default {
default: 'Default',
deleteHelper: 'Related application status is abnormal, please check',
toApp: 'Go to the installed list',
cycle: 'cycle',
frequency: 'frequency',
ccHelper:
'Accumulatively request the same URL more than {1} times within {0} seconds, trigger CC defense, block this IP',
seconds: 'seconds',
count: 'times',
mustSave: 'The modification needs to be saved to take effect',
fileExt: 'file extension',
fileExtBlock: 'file extension blacklist',
value: 'value',
enable: 'open',
proxyAddress: 'proxy address',
proxyHelper: 'Example: http://127.0.0.1:8080',
forceDelete: 'force delete',
forceDeleteHelper:
'Forced deletion will ignore errors generated during the deletion process and eventually delete metadata',
deleteAppHelper: 'Delete associated applications and application backups at the same time',
deleteBackupHelper: 'Also delete website backup',
deleteConfirmHelper:
'The delete operation cannot be rolled back, please enter <span style="color:red"> "{0}" </span> to delete',
staticPath: 'Corresponding main directory:',
limit: 'limit scheme',
blog: 'Forum/Blog',
imageSite: 'picture site',
downloadSite: 'download site',
shopSite: 'Mall',
doorSite: 'Portal',
qiteSite: 'Enterprise',
videoSite: 'Video',
errLog: 'error log',
accessLog: 'website log',
stopHelper:
'After stopping the site, it will not be able to access normally, and the user will display the stop page of the current site when visiting. Do you want to continue? ',
startHelper:
'After enabling the site, users can access the content of the site normally, do you want to continue? ',
sitePath: 'Website directory',
siteAlias: 'Site code name',
primaryPath: 'main directory',
folderTitle: 'The main directory of the website mainly contains four folders',
wafFolder: 'Firewall Rules',
indexFolder: 'Static website root directory',
logFoler: 'website log',
sslFolder: 'Website certificate',
enableOrNot: 'whether to enable',
oldSSL: 'Select an existing certificate',
manualSSL: 'manually import certificate',
select: 'Select',
selectSSL: 'Select Certificate',
privateKey: 'Key (KEY)',
certificate: 'Certificate (PEM format)',
HTTPConfig: 'HTTP Options',
HTTPSOnly: 'Disable HTTP',
HTTPToHTTPS: 'Access HTTP automatically jumps to HTTPS',
HTTPAlso: 'HTTP can be accessed directly',
sslConfig: 'SSL options',
disbaleHTTTPS: 'Disable HTTPS',
disbaleHTTTPSHelper: 'Disabling HTTPS will delete the certificate related configuration, whether to continue',
SSLHelper:
'Note: Do not use SSL certificates for illegal websites \n If HTTPS access cannot be used after opening, please check whether the security group has correctly released port 443',
SSLConfig: 'Certificate Settings',
SSLProConfig: 'SSL protocol settings',
supportProtocol: 'Supported protocol version',
encryptionAlgorithm: 'encryption algorithm',
notSecurity: '(not safe)',
encryptHelper:
"Let's Encrypt has a frequency limit for issuing certificates, but it is sufficient to meet normal needs. Too frequent operations will cause issuance failure. For specific restrictions, please see <a target='_blank' href='https://letsencrypt.org/zh-cn/docs /rate-limits/'>official document</a> ",
ipValue: 'IP value',
ext: 'file extension',
wafInputHelper: 'Input data by line, one line',
data: 'data',
ever: 'permanent',
nextYear: 'One year later',
allGroup: 'All groups',
noLog: 'There are currently no logs...',
defaultServer: 'default site',
noDefaulServer: 'Not set',
defaultServerHelper:
'After setting the default site, all unbound domain names and IPs are directed to the default site\n which can effectively prevent malicious analysis',
},
nginx: {
serverNamesHashBucketSizeHelper: 'The hash table size of the server name',
@ -890,6 +980,42 @@ export default {
reading: 'Number of requests (Reading)',
writing: 'Number of Responses (Writing)',
waiting: 'resident process (Waiting)',
status: 'load status',
status: 'current status',
nginxConfig: 'OpenResty settings',
configResource: 'Configuration modification',
saveAndReload: 'save and reload',
},
ssl: {
provider: 'Type',
manualCreate: 'manually created',
acmeAccount: 'Acme Account',
resolveDomain: 'Resolve domain name',
err: 'Error',
value: 'record value',
type: 'Type',
dnsResolveHelper: 'Please go to the DNS resolution service provider to add the following resolution records:',
detail: 'Details',
msg: 'Certificate Information',
ssl: 'certificate',
key: 'private key',
startDate: 'effective time',
organization: 'issuing organization',
renewConfirm: 'Are you sure to renew? ',
autoRenew: 'Automatic renewal',
autoRenewHelper: 'Automatic renewal 7 days from the expiration time',
renewSuccess: 'Renewal succeeded',
renewWebsite:
'This certificate has been associated with the following websites, and the renewal will be applied to these websites simultaneously',
},
firewall: {
ccDeny: 'CC Protection',
ipWhiteList: 'IP Whitelist',
ipBlockList: 'IP blacklist',
fileExtBlockList: 'File extension blacklist',
urlWhiteList: 'URL whitelist',
urlBlockList: 'URL blacklist',
argsCheck: 'GET parameter check',
postCheck: 'POST parameter verification',
cookieBlockList: 'Cookie Blacklist',
},
};

18
frontend/src/views/website/ssl/renew/index.vue

@ -8,16 +8,18 @@
:before-close="handleClose"
>
<div style="text-align: center">
<span>{{ $t('ssl.renewWebsite') }}</span>
<div>
<br />
<span v-if="websites.length > 0">
<span v-for="(website, index) in websites" :key="index">
<el-tag>{{ website.primaryDomain }}</el-tag>
<div v-if="websites.length > 0">
<span>{{ $t('ssl.renewWebsite') }}</span>
<div>
<br />
<span>
<span v-for="(website, index) in websites" :key="index">
<el-tag>{{ website.primaryDomain }}</el-tag>
</span>
</span>
</span>
</div>
<br />
</div>
<br />
<span>{{ $t('ssl.renewConfirm') }}</span>
</div>
<template #footer>

Loading…
Cancel
Save