* add my module data source.

This commit is contained in:
Chenjianyu
2023-07-20 15:12:34 +08:00
parent 399bc08717
commit 155a180b4f
3 changed files with 26 additions and 0 deletions
+2
View File
@@ -41,6 +41,8 @@ $config->ai->testPrompt = new stdclass();
$config->ai->testPrompt->requiredFields = 'name,module,source,purpose,targetForm';
$config->ai->dataSource = array();
$config->ai->dataSource['my']['efforts'] = array('date', 'work', 'account', 'consumed', 'left', 'objectID', 'product', 'project', 'execution');
$config->ai->dataSource['product']['product'] = array('name', 'desc');
$config->ai->dataSource['product']['modules'] = array('name', 'modules');
+12
View File
@@ -118,6 +118,7 @@ $lang->ai->moduleDisableTip = 'Module is automatically selected based on selecte
/* Data source definition. */
$lang->ai->dataSource = array();
$lang->ai->dataSource['my']['common'] = 'My';
$lang->ai->dataSource['product']['common'] = 'Product';
$lang->ai->dataSource['story']['common'] = 'Story';
$lang->ai->dataSource['execution']['common'] = 'Execution';
@@ -129,6 +130,17 @@ $lang->ai->dataSource['case']['common'] = 'Test Case';
$lang->ai->dataSource['bug']['common'] = 'Bug';
$lang->ai->dataSource['doc']['common'] = 'Document';
$lang->ai->dataSource['my']['efforts']['common'] = 'Efforts';
$lang->ai->dataSource['my']['efforts']['date'] = 'Date';
$lang->ai->dataSource['my']['efforts']['work'] = 'Work';
$lang->ai->dataSource['my']['efforts']['account'] = 'Account';
$lang->ai->dataSource['my']['efforts']['consumed'] = 'Consumed';
$lang->ai->dataSource['my']['efforts']['left'] = 'Left';
$lang->ai->dataSource['my']['efforts']['objectID'] = 'Object';
$lang->ai->dataSource['my']['efforts']['product'] = 'Product';
$lang->ai->dataSource['my']['efforts']['project'] = 'Project';
$lang->ai->dataSource['my']['efforts']['execution'] = 'Execution';
$lang->ai->dataSource['product']['product']['common'] = 'Product';
$lang->ai->dataSource['product']['product']['name'] = 'Product Name';
$lang->ai->dataSource['product']['product']['desc'] = 'Description';
+12
View File
@@ -119,6 +119,7 @@ $lang->ai->moduleDisableTip = '系统根据所选对象自动关联分组';
/* Data source definition. */
$lang->ai->dataSource = array();
$lang->ai->dataSource['my']['common'] = '地盘';
$lang->ai->dataSource['product']['common'] = '产品';
$lang->ai->dataSource['story']['common'] = '需求';
$lang->ai->dataSource['execution']['common'] = '执行';
@@ -130,6 +131,17 @@ $lang->ai->dataSource['case']['common'] = '用例';
$lang->ai->dataSource['bug']['common'] = 'Bug';
$lang->ai->dataSource['doc']['common'] = '文档';
$lang->ai->dataSource['my']['efforts']['common'] = '日志列表';
$lang->ai->dataSource['my']['efforts']['date'] = '日期';
$lang->ai->dataSource['my']['efforts']['work'] = '工作内容';
$lang->ai->dataSource['my']['efforts']['account'] = '记录人';
$lang->ai->dataSource['my']['efforts']['consumed'] = '耗时';
$lang->ai->dataSource['my']['efforts']['left'] = '剩余';
$lang->ai->dataSource['my']['efforts']['objectID'] = '对象';
$lang->ai->dataSource['my']['efforts']['product'] = '产品';
$lang->ai->dataSource['my']['efforts']['project'] = '项目';
$lang->ai->dataSource['my']['efforts']['execution'] = '执行';
$lang->ai->dataSource['product']['product']['common'] = '产品';
$lang->ai->dataSource['product']['product']['name'] = '产品名称';
$lang->ai->dataSource['product']['product']['desc'] = '产品描述';