* Optimize code.

This commit is contained in:
wangyuting
2024-04-23 16:48:56 +08:00
parent 0d9865ebfd
commit b893b816d4
10 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ $lang->custom->story->fields['reviewRules'] = 'Review Rules';
$lang->custom->story->fields['reviewResultList'] = 'Review Result';
$lang->custom->story->fields['review'] = 'Need Review';
unset($lang->custom->execution->fields['required']);
$lang->custom->execution = new stdclass();
$lang->custom->system = array('required');
+1 -1
View File
@@ -19,6 +19,6 @@ $lang->custom->story->fields['reviewRules'] = 'Review Rules';
$lang->custom->story->fields['reviewResultList'] = 'Review Result';
$lang->custom->story->fields['review'] = 'Need Review';
unset($lang->custom->execution->fields['required']);
$lang->custom->execution = new stdclass();
$lang->custom->system = array('required');
+1 -1
View File
@@ -19,6 +19,6 @@ $lang->custom->story->fields['reviewRules'] = 'Review Rules';
$lang->custom->story->fields['reviewResultList'] = 'Review Result';
$lang->custom->story->fields['review'] = 'Need Review';
unset($lang->custom->execution->fields['required']);
$lang->custom->execution = new stdclass();
$lang->custom->system = array('required');
@@ -19,6 +19,6 @@ $lang->custom->story->fields['reviewRules'] = '评审规则';
$lang->custom->story->fields['reviewResultList'] = '评审结果';
$lang->custom->story->fields['review'] = '评审流程';
unset($lang->custom->execution->fields['required']);
$lang->custom->execution = new stdclass();
$lang->custom->system = array('required');
+1
View File
@@ -63,6 +63,7 @@ $lang->custom->setPercent = "Enable or Disable {$lang->stage->percent}
$lang->custom->beginAndEndDate = 'Begin & End';
$lang->custom->beginAndEndDateRange = 'The Range Of Begin & End';
$lang->custom->limitTaskDateAction = 'Set start and end date required';
$lang->custom->closedSetting = 'Close Setting';
$lang->custom->unitList['efficiency'] = 'Working Hours/';
$lang->custom->unitList['manhour'] = 'Man-hour/';
+1
View File
@@ -63,6 +63,7 @@ $lang->custom->setPercent = "Enable or Disable {$lang->stage->percent}
$lang->custom->beginAndEndDate = 'Begin & End';
$lang->custom->beginAndEndDateRange = 'The Range Of Begin & End';
$lang->custom->limitTaskDateAction = 'Set start and end date required';
$lang->custom->closedSetting = 'Close Setting';
$lang->custom->unitList['efficiency'] = 'Working Hours/';
$lang->custom->unitList['manhour'] = 'Man-hour/';
+1
View File
@@ -63,6 +63,7 @@ $lang->custom->setPercent = "Enable or Disable {$lang->stage->percent}
$lang->custom->beginAndEndDate = 'Begin & End';
$lang->custom->beginAndEndDateRange = 'The Range Of Begin & End';
$lang->custom->limitTaskDateAction = 'Set start and end date required';
$lang->custom->closedSetting = 'Close Setting';
$lang->custom->unitList['efficiency'] = 'Working Hours/';
$lang->custom->unitList['manhour'] = 'Man-hour/';
+1
View File
@@ -47,6 +47,7 @@ $lang->custom->reviewRule = 'Review Rules';
$lang->custom->switch = "Switch";
$lang->custom->oneUnit = "One {$lang->hourCommon}";
$lang->custom->convertRelationTitle = "Please firstly set the conversion factor from {$lang->hourCommon} to %s";
$lang->custom->closedSetting = 'Close Setting';
$lang->custom->execution = 'Execution';
$lang->custom->defaultProgram = 'Default program';
+1
View File
@@ -63,6 +63,7 @@ $lang->custom->setPercent = "是否启用{$lang->stage->percent}";
$lang->custom->beginAndEndDate = '起止日期';
$lang->custom->beginAndEndDateRange = '起止日期范围';
$lang->custom->limitTaskDateAction = '设置起止日期必填';
$lang->custom->closedSetting = '关闭设置';
$lang->custom->unitList['efficiency'] = '工时/';
$lang->custom->unitList['manhour'] = '人时/';
+1 -1
View File
@@ -25,7 +25,7 @@ div
span
(
setClass('text-md font-bold'),
$lang->custom->$module->fields[$module]
$lang->custom->closedSetting
),
formGroup
(