From e465c7635deccd5fb27d919ee805eb1a5662f66e Mon Sep 17 00:00:00 2001 From: dingguodong Date: Fri, 16 Jul 2021 09:04:49 +0800 Subject: [PATCH] * Correct code to meet devel standard after CR. --- module/bug/config.php | 12 ++++++------ module/story/lang/de.php | 2 ++ module/story/lang/fr.php | 2 ++ module/story/lang/vi.php | 2 ++ module/story/lang/zh-cn.php | 2 +- module/story/lang/zh-tw.php | 2 ++ module/story/view/create.html.php | 15 +++++++-------- 7 files changed, 22 insertions(+), 15 deletions(-) diff --git a/module/bug/config.php b/module/bug/config.php index bc508859ab..434a2e1f85 100644 --- a/module/bug/config.php +++ b/module/bug/config.php @@ -1,12 +1,12 @@ bug = new stdClass(); -$config->bug->batchCreate = 10; -$config->bug->longlife = 7; -$config->bug->removeFields= 'objectTypeList,productList,executionList,gitlabID,gitlabProjectID'; +$config->bug->batchCreate = 10; +$config->bug->longlife = 7; +$config->bug->removeFields = 'objectTypeList,productList,executionList,gitlabID,gitlabProjectID'; -$config->bug->create = new stdclass(); -$config->bug->edit = new stdclass(); -$config->bug->resolve = new stdclass(); +$config->bug->create = new stdclass(); +$config->bug->edit = new stdclass(); +$config->bug->resolve = new stdclass(); $config->bug->create->requiredFields = 'title,openedBuild'; $config->bug->edit->requiredFields = $config->bug->create->requiredFields; $config->bug->resolve->requiredFields = 'resolution'; diff --git a/module/story/lang/de.php b/module/story/lang/de.php index 348c408596..ff31a4166c 100644 --- a/module/story/lang/de.php +++ b/module/story/lang/de.php @@ -405,3 +405,5 @@ $lang->story->categoryList['safe'] = 'Safe'; $lang->story->categoryList['experience'] = 'Experience'; $lang->story->categoryList['improve'] = 'Improve'; $lang->story->categoryList['other'] = 'Other'; + +$lang->story->sync2Gitlab = 'Mit Gitlab synchronisieren'; diff --git a/module/story/lang/fr.php b/module/story/lang/fr.php index 3fd4837161..26a9310c6b 100644 --- a/module/story/lang/fr.php +++ b/module/story/lang/fr.php @@ -405,3 +405,5 @@ $lang->story->categoryList['safe'] = 'Safe'; $lang->story->categoryList['experience'] = 'Experience'; $lang->story->categoryList['improve'] = 'Improve'; $lang->story->categoryList['other'] = 'Other'; + +$lang->story->sync2Gitlab = 'Synchroniser avec Gitlab'; diff --git a/module/story/lang/vi.php b/module/story/lang/vi.php index bc789c88cd..cee36f339a 100644 --- a/module/story/lang/vi.php +++ b/module/story/lang/vi.php @@ -405,3 +405,5 @@ $lang->story->categoryList['safe'] = 'Safe'; $lang->story->categoryList['experience'] = 'Experience'; $lang->story->categoryList['improve'] = 'Improve'; $lang->story->categoryList['other'] = 'Other'; + +$lang->story->sync2Gitlab = 'Đồng bộ hóa với Gitlab'; diff --git a/module/story/lang/zh-cn.php b/module/story/lang/zh-cn.php index faefd42ec8..34a42e9a8c 100644 --- a/module/story/lang/zh-cn.php +++ b/module/story/lang/zh-cn.php @@ -407,4 +407,4 @@ $lang->story->categoryList['experience'] = '体验'; $lang->story->categoryList['improve'] = '改进'; $lang->story->categoryList['other'] = '其他'; -$lang->story->sync2Gitlab = '同步到Gitlab'; +$lang->story->sync2Gitlab = '同步到Gitlab'; diff --git a/module/story/lang/zh-tw.php b/module/story/lang/zh-tw.php index 9adabeb2c2..7317fdc535 100644 --- a/module/story/lang/zh-tw.php +++ b/module/story/lang/zh-tw.php @@ -405,3 +405,5 @@ $lang->story->categoryList['safe'] = '安全'; $lang->story->categoryList['experience'] = '體驗'; $lang->story->categoryList['improve'] = '改進'; $lang->story->categoryList['other'] = '其他'; + +$lang->story->sync2Gitlab = '同步到Gitlab'; diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index be4f97590f..d35fd709bc 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -252,14 +252,13 @@ - - - story->sync2Gitlab;?> - - - - - + + + story->sync2Gitlab;?> + + + +