From db6b59a70c53926cf66258a26307c843fc1408e7 Mon Sep 17 00:00:00 2001 From: Chenjianyu Date: Thu, 10 Aug 2023 09:09:26 +0800 Subject: [PATCH] * fix a form schema type. --- module/ai/lang/en.php | 36 ++++++++++++++++++------------------ module/ai/lang/zh-cn.php | 36 ++++++++++++++++++------------------ 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/module/ai/lang/en.php b/module/ai/lang/en.php index 21574d5b78..b8659e8b8c 100644 --- a/module/ai/lang/en.php +++ b/module/ai/lang/en.php @@ -731,24 +731,24 @@ $lang->ai->formSchema['programplan']['create']->properties->stages->title = 'Pla $lang->ai->formSchema['programplan']['create']->properties->stages->items = new stdclass(); $lang->ai->formSchema['programplan']['create']->properties->stages->items->type = 'object'; $lang->ai->formSchema['programplan']['create']->properties->stages->items->properties = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->description = 'Name of stage'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->description = 'Attribute of stage'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other'); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = 'Is milestone?'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->format = 'date'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = 'Begin date of stage'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->format = 'date'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = 'End date of stage'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->names = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->names->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->names->description = 'Name of stage'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes->description = 'Attribute of stage'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other'); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = 'Is milestone?'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->format = 'date'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = 'Begin date of stage'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->format = 'date'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = 'End date of stage'; $lang->ai->formSchema['programplan']['create']->required = array('stages'); $lang->ai->promptMenu = new stdclass(); diff --git a/module/ai/lang/zh-cn.php b/module/ai/lang/zh-cn.php index 022c399266..b10a8b6238 100644 --- a/module/ai/lang/zh-cn.php +++ b/module/ai/lang/zh-cn.php @@ -730,24 +730,24 @@ $lang->ai->formSchema['programplan']['create']->properties->stages->title = '阶 $lang->ai->formSchema['programplan']['create']->properties->stages->items = new stdclass(); $lang->ai->formSchema['programplan']['create']->properties->stages->items->type = 'object'; $lang->ai->formSchema['programplan']['create']->properties->stages->items->properties = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass(); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->name->description = '阶段名称'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->description = '阶段类型'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attribute->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other'); -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = '是否为里程碑'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->format = 'date'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = '阶段开始时间'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'string'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->format = 'date'; -$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = '阶段结束时间'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->names = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end = new stdclass(); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->names->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->names->description = '阶段名称'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes->description = '阶段类型'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->attributes->enum = array('request', 'design', 'dev', 'qa', 'release', 'review', 'other'); +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->type = 'boolean'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->milestone->description = '是否为里程碑'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->format = 'date'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->begin->description = '阶段开始时间'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->type = 'string'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->format = 'date'; +$lang->ai->formSchema['programplan']['create']->properties->stages->items->properties->end->description = '阶段结束时间'; $lang->ai->formSchema['programplan']['create']->required = array('stages'); $lang->ai->promptMenu = new stdclass();