From 09dd10e192ee4a776fd80c49a8a5002efcbdc9f6 Mon Sep 17 00:00:00 2001 From: reneeteng Date: Wed, 11 Aug 2021 15:52:35 +0800 Subject: [PATCH] * Optimize lang files. --- db/zentao.sql | 2 +- module/common/lang/en.php | 12 ++++++------ module/doc/lang/en.php | 4 ++-- module/testtask/lang/en.php | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/db/zentao.sql b/db/zentao.sql index ab4f9f3beb..e0559023f3 100644 --- a/db/zentao.sql +++ b/db/zentao.sql @@ -1342,7 +1342,7 @@ INSERT INTO `zt_group` (`id`, `name`, `role`, `desc`) VALUES (10, 'OTHERS', 'others', 'for others.'), (11, 'guest', 'guest', 'For guest'), (12, 'LIMITED', 'limited', 'For limited user'), -(13, '项目管理员', 'projectAdmin', '项目管理员可以维护项目的权限'); +(13, 'Project Admin', 'projectAdmin', 'Project Admins manage project privileges'); INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES (1,'action','editComment'), diff --git a/module/common/lang/en.php b/module/common/lang/en.php index ac1f213127..1c4ef73d06 100644 --- a/module/common/lang/en.php +++ b/module/common/lang/en.php @@ -35,8 +35,8 @@ $lang->help = 'Help'; $lang->aboutZenTao = 'About'; $lang->profile = 'Profile'; $lang->changePassword = 'Password'; -$lang->unfoldMenu = 'Unfold Menu'; -$lang->collapseMenu = 'Collapse Menu'; +$lang->unfoldMenu = 'Unfold'; +$lang->collapseMenu = 'Collapse'; $lang->preference = 'Preference'; $lang->runInfo = "
Time %s MS, Memory %s KB, Query %s.
"; $lang->agreement = "I have read and agreed to the terms and conditions of Z PUBLIC LICENSE 1.2 . Without authorization, I should not remove, hide or cover any logos/links of ZenTao."; @@ -85,8 +85,8 @@ $lang->importSuccess = 'Saved'; $lang->fail = 'Fail'; $lang->addFiles = 'Added Files'; $lang->files = 'Files '; -$lang->pasteText = 'Multi-lines Paste'; -$lang->uploadImages = 'Multi-images Upload'; +$lang->pasteText = 'Multi-line Paste'; +$lang->uploadImages = 'Multi-image Upload'; $lang->timeout = 'Timeout. Check your newtwork connections, or try it again!'; $lang->repairTable = 'Database table might be damaged. Run phpmyadmin or myisamchk to fix it.'; $lang->duplicate = '%s has the same title as a file existed.'; @@ -143,7 +143,7 @@ $lang->admin->common = 'Admin'; $lang->task->common = 'Task'; $lang->bug->common = 'Bug'; $lang->testcase->common = 'Testcase'; -$lang->testtask->common = 'Testtask'; +$lang->testtask->common = 'Request'; $lang->score->common = 'Score'; $lang->build->common = 'Build'; $lang->testreport->common = 'Report'; @@ -184,7 +184,7 @@ $lang->track = 'Track'; $lang->settings = 'Settings'; $lang->overview = 'Overview'; $lang->module = 'Module'; -$lang->priv = 'Priv Group'; +$lang->priv = 'Privilege'; $lang->design = 'Design'; $lang->other = 'Other'; $lang->estimation = 'Estimation'; diff --git a/module/doc/lang/en.php b/module/doc/lang/en.php index 95b90e6c8e..bf61576e3c 100644 --- a/module/doc/lang/en.php +++ b/module/doc/lang/en.php @@ -98,7 +98,7 @@ $lang->doc->libName = 'Document Library'; $lang->doc->libType = 'Category'; $lang->doc->custom = 'Custom Document Library'; $lang->doc->customAB = 'Custom Doc Lib'; -$lang->doc->createLib = 'Create Document Library'; +$lang->doc->createLib = 'Document Library'; $lang->doc->allLibs = 'Library List'; $lang->doc->objectLibs = "{$lang->productCommon}/{$lang->executionCommon} Libraries"; $lang->doc->showFiles = 'Attachments'; @@ -108,7 +108,7 @@ $lang->doc->fixedMenu = 'Fix to Menu'; $lang->doc->removeMenu = 'Remove from Menu'; $lang->doc->search = 'Search'; $lang->doc->allCollections = 'All Collections'; -$lang->doc->keywordsTips = 'Please use commas to separate multiple keywords.'; +$lang->doc->keywordsTips = 'Please use commas to separate keywords.'; global $config; /* Query condition list. */ diff --git a/module/testtask/lang/en.php b/module/testtask/lang/en.php index 3c73baa53d..35c39caae2 100644 --- a/module/testtask/lang/en.php +++ b/module/testtask/lang/en.php @@ -48,12 +48,12 @@ $lang->testtask->allTasks = 'All Requests'; $lang->testtask->collapseAll = 'Collapse'; $lang->testtask->expandAll = 'Expand'; -$lang->testtask->viewAction = "View Testtask"; +$lang->testtask->viewAction = "View Request"; $lang->testtask->casesAction = 'View Case'; -$lang->testtask->activateAction = "Activate Testtask"; -$lang->testtask->blockAction = "Block Testtask"; -$lang->testtask->closeAction = "Close Testtask"; -$lang->testtask->startAction = "Start Testtask"; +$lang->testtask->activateAction = "Activate Request"; +$lang->testtask->blockAction = "Block Request"; +$lang->testtask->closeAction = "Close Request"; +$lang->testtask->startAction = "Start Request"; $lang->testtask->resultsAction = "Case Result"; $lang->testtask->reportAction = 'Report'; @@ -203,7 +203,7 @@ $lang->testtask->unitTag['lastWeek'] = 'Last week'; $lang->testtask->unitTag['thisMonth'] = 'This month'; $lang->testtask->unitTag['lastMonth'] = 'Last month'; -$lang->testtask->typeList['integrate'] = 'Integrate'; +$lang->testtask->typeList['integrate'] = 'Integration'; $lang->testtask->typeList['system'] = 'System'; $lang->testtask->typeList['acceptance'] = 'Acceptance'; $lang->testtask->typeList['performance'] = 'Performance';