From 3b3584714c0bc266e82686c52df59f607a3997ea Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Fri, 14 Jul 2023 15:18:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E5=86=85=E5=AE=B9=20(#1669)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 17 ++++++++++------- frontend/src/views/container/repo/index.vue | 2 +- frontend/src/views/cronjob/index.vue | 4 ++-- frontend/src/views/host/ssh/ssh/index.vue | 2 +- frontend/src/views/host/ssh/ssh/port/index.vue | 6 +++--- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index b221ed056..db0b463cd 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -356,7 +356,7 @@ const message = { threadCacheHitHelper: 'If it is too low, increase thread_cache_size', indexHit: 'Index hit', indexHitHelper: 'If it is too low, increase key_buffer_size', - innodbIndexHit: 'Innodb 索引命中率', + innodbIndexHit: 'Innodb index hit rate', innodbIndexHitHelper: 'If it is too low, increase innodb_buffer_pool_size', cacheHit: 'Querying the Cache Hit', cacheHitHelper: 'If it is too low, increase query_cache_size', @@ -444,7 +444,8 @@ const message = { localIP: 'Local IP', }, container: { - createContainer: 'Create container', + create: 'Create container', + edit: 'Edit container', updateContaienrHelper: 'Container editing requires rebuilding the container. Any data that has not been persisted will be lost. Do you want to continue?', containerList: 'Container list', @@ -650,13 +651,13 @@ const message = { startIn: ' to start', }, cronjob: { - cronTask: 'Task', + cronTask: 'Cronjob', changeStatus: 'Change status', disableMsg: 'Stopping the scheduled task will result in the task no longer automatically executing. Do you want to continue?', enableMsg: 'Enabling the scheduled task will allow the task to automatically execute on a regular basis. Do you want to continue?', - taskType: 'Task type', + taskType: 'Cronjob type', record: 'Records', shell: 'Shell script', containerCheckBox: 'In container (no need to enter the container command)', @@ -674,7 +675,7 @@ const message = { syncDate: 'Synchronization time ', releaseMemory: 'Free memory', curl: 'Access URL', - taskName: 'Task name', + taskName: 'Cronjob name', cronSpec: 'Lifecycle', cronSpecHelper: 'Enter the correct execution period', cleanHelper: @@ -711,7 +712,7 @@ const message = { sunday: 'Sunday', shellContent: 'Script content', errRecord: 'Incorrect logging', - errHandle: 'Task execution failure', + errHandle: 'Cronjob execution failure', noRecord: 'The execution did not generate any logs', cleanData: 'Clean data', cleanDataHelper: 'Delete the backup file generated during this task.', @@ -1018,7 +1019,7 @@ const message = { entranceInputHelper: 'When the security entry is set to blank, the security entry is cancelled.', randomGenerate: 'Random', expirationTime: 'Expiration Time', - unSetting: 'Not Set', + unSetting: 'Unset', noneSetting: 'Set the expiration time for the panel password. After the expiration, you need to reset the password', expirationHelper: 'If the password expiration time is [0] days, the password expiration function is disabled', @@ -1500,6 +1501,8 @@ const message = { acmeHelper: 'Acme account is used to apply for free certificates', }, firewall: { + create: 'Create rule', + edit: 'Edit rule', notSupport: 'No system firewall detected (firewalld or ufw). Please refer to the official documentation for installation.', ccDeny: 'CC Protection', diff --git a/frontend/src/views/container/repo/index.vue b/frontend/src/views/container/repo/index.vue index 6dc1702df..4fd2ca16f 100644 --- a/frontend/src/views/container/repo/index.vue +++ b/frontend/src/views/container/repo/index.vue @@ -66,7 +66,7 @@ fix :formatter="dateFormat" /> - + diff --git a/frontend/src/views/cronjob/index.vue b/frontend/src/views/cronjob/index.vue index bc87a633c..a7d425d18 100644 --- a/frontend/src/views/cronjob/index.vue +++ b/frontend/src/views/cronjob/index.vue @@ -80,7 +80,7 @@
- +