diff --git a/module/testcase/control.php b/module/testcase/control.php index e1cde7c7ee..0c133879eb 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1,4 +1,4 @@ - ? webhook->list = 'Hook List'; $lang->webhook->api = 'API'; $lang->webhook->entry = 'Entry'; $lang->webhook->log = 'Log'; +$lang->webhook->bind = '绑定用户'; $lang->webhook->assigned = 'AssignedTo'; $lang->webhook->setting = 'Settings'; @@ -34,12 +35,23 @@ $lang->webhook->data = 'Data'; $lang->webhook->result = 'Result'; $lang->webhook->typeList[''] = ''; -$lang->webhook->typeList['dingding'] = 'Dingding'; +$lang->webhook->typeList['dingding'] = '钉钉群通知机器人'; +$lang->webhook->typeList['dingapi'] = '钉钉工作消息通知'; +$lang->webhook->typeList['weixin'] = '企业微信'; $lang->webhook->typeList['default'] = 'Others'; $lang->webhook->sendTypeList['sync'] = 'Synchronous'; $lang->webhook->sendTypeList['async'] = 'Asynchronous'; +$lang->webhook->dingAgentId = '钉钉AgentId'; +$lang->webhook->dingAppKey = '钉钉AppKey'; +$lang->webhook->dingAppSecret = '钉钉AppSecret'; +$lang->webhook->dingUserid = '钉钉Userid'; +$lang->webhook->dingBindStatus = '钉钉绑定状态'; + +$lang->webhook->dingBindStatusList['0'] = '未绑定'; +$lang->webhook->dingBindStatusList['1'] = '已绑定'; + $lang->webhook->paramsList['objectType'] = 'Object Type'; $lang->webhook->paramsList['objectID'] = 'Object ID'; $lang->webhook->paramsList['product'] = "{$lang->productCommon}"; @@ -56,6 +68,7 @@ $lang->webhook->trimWords = ''; $lang->webhook->note = new stdClass(); $lang->webhook->note->async = 'If the sending type is asynchronous, you have to go to Admin-System to turn on the cron.'; +$lang->webhook->note->bind = '只有钉钉工作通知类型才需要绑定用户。'; $lang->webhook->note->product = "All actions will trigger the hook if {$lang->productCommon} is empty, or only actions of selected {$lang->productCommon} will trigger it."; $lang->webhook->note->project = "All actions will trigger the hook if {$lang->projectCommon} is empty, or only actions of selected {$lang->projectCommon} will trigger it.";