From 2db5db0795668bab2aa157cef6fc712927b3ab26 Mon Sep 17 00:00:00 2001 From: liwenrui Date: Tue, 11 Jul 2023 16:56:43 +0800 Subject: [PATCH] * show status on ai prompt buttons. --- module/ai/lang/de.php | 3 +++ module/ai/lang/en.php | 3 +++ module/ai/lang/fr.php | 3 +++ module/ai/lang/zh-cn.php | 3 +++ module/ai/view/promptmenu.html.php | 6 +++--- 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/module/ai/lang/de.php b/module/ai/lang/de.php index 55076cee2a..9a282f19e4 100644 --- a/module/ai/lang/de.php +++ b/module/ai/lang/de.php @@ -290,3 +290,6 @@ $lang->ai->formSchema['story']['change']->properties->spec->description = 'Des $lang->ai->formSchema['story']['change']->properties->verify->type = 'string'; $lang->ai->formSchema['story']['change']->properties->verify->description = 'Acceptance criteria of the story'; $lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify'); + +$lang->ai->promptMenu = new stdclass(); +$lang->ai->promptMenu->dropdownTitle = 'AI'; diff --git a/module/ai/lang/en.php b/module/ai/lang/en.php index eeba25b0a1..d05936f276 100644 --- a/module/ai/lang/en.php +++ b/module/ai/lang/en.php @@ -296,3 +296,6 @@ $lang->ai->formSchema['story']['change']->properties->spec->description = 'Des $lang->ai->formSchema['story']['change']->properties->verify->type = 'string'; $lang->ai->formSchema['story']['change']->properties->verify->description = 'Acceptance criteria of the story'; $lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify'); + +$lang->ai->promptMenu = new stdclass(); +$lang->ai->promptMenu->dropdownTitle = 'AI'; diff --git a/module/ai/lang/fr.php b/module/ai/lang/fr.php index 5b224ef29c..3fad7abc6f 100644 --- a/module/ai/lang/fr.php +++ b/module/ai/lang/fr.php @@ -290,3 +290,6 @@ $lang->ai->formSchema['story']['change']->properties->spec->description = 'Des $lang->ai->formSchema['story']['change']->properties->verify->type = 'string'; $lang->ai->formSchema['story']['change']->properties->verify->description = 'Acceptance criteria of the story'; $lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify'); + +$lang->ai->promptMenu = new stdclass(); +$lang->ai->promptMenu->dropdownTitle = 'AI'; diff --git a/module/ai/lang/zh-cn.php b/module/ai/lang/zh-cn.php index cfe0c9d2cf..e2b1242571 100644 --- a/module/ai/lang/zh-cn.php +++ b/module/ai/lang/zh-cn.php @@ -296,3 +296,6 @@ $lang->ai->formSchema['story']['change']->properties->spec->description = '需 $lang->ai->formSchema['story']['change']->properties->verify->type = 'string'; $lang->ai->formSchema['story']['change']->properties->verify->description = '需求的验收标准'; $lang->ai->formSchema['story']['change']->required = array('title', 'spec', 'verify'); + +$lang->ai->promptMenu = new stdclass(); +$lang->ai->promptMenu->dropdownTitle = 'AI'; diff --git a/module/ai/view/promptmenu.html.php b/module/ai/view/promptmenu.html.php index 6719eb82eb..79177ebaff 100644 --- a/module/ai/view/promptmenu.html.php +++ b/module/ai/view/promptmenu.html.php @@ -28,14 +28,14 @@ $html = ''; if(count($prompts) > 1) { - $html .= '