feat(消息管理): add message template

This commit is contained in:
guoyuqi 2023-10-08 10:09:16 +08:00 committed by f2c-ci-robot[bot]
parent 8a1b297da4
commit 81975d1a8f
5 changed files with 12 additions and 0 deletions

View File

@ -166,6 +166,7 @@ message.bug_task_update=${OPERATOR}更新了缺陷:${title}
message.bug_task_delete=${OPERATOR}删除了缺陷:${title}
message.bug_task_comment=${OPERATOR}评论了你的缺陷:${title}
message.bug_task_at_comment=${OPERATOR}评论了缺陷:${title} 并@了你
message.bug_task_reply_comment=${OPERATOR}在缺陷 ${title} 回复了你的评论
message.bug_sync_task_execute_completed=${OPERATOR}同步了${total}条缺陷
message.bug_schedule_task_execute_completed=${OPERATOR}通过定时任务同步了${total}条缺陷
message.functional_case_task_create=${OPERATOR}创建了功能用例:${name}
@ -173,6 +174,7 @@ message.functional_case_task_update=${OPERATOR}更新了功能用例:${name}
message.functional_case_task_delete=${OPERATOR}删除了功能用例:${name}
message.functional_case_task_comment=${OPERATOR}评论了你的功能用例:${name}
message.functional_case_task_at_comment=${OPERATOR}评论了功能用例:${name} 并@了你
message.functional_case_task_reply_comment=${OPERATOR}在用例 ${name} 回复了你的评论
message.case_review_task_create=${OPERATOR}创建了用例评审:${name}
message.case_review_task_update=${OPERATOR}更新了用例评审:${name}
message.case_review_task_delete=${OPERATOR}删除了用例评审:${name}

View File

@ -200,6 +200,7 @@ message.bug_task_update=${OPERATOR}updated a bug: ${title}
message.bug_task_delete=${OPERATOR}deleted a bug: ${title}
message.bug_task_comment=${OPERATOR}commented on your bug: ${title}
message.bug_task_at_comment=${OPERATOR}commented on the bug: ${title} and @you
message.bug_task_reply_comment=${OPERATOR} in defect ${title} replied to your comment
message.bug_sync_task_execute_completed=${OPERATOR}synchronized ${total} bugs
message.bug_schedule_task_execute_completed=${OPERATOR}synchronized ${total} bugs through scheduled tasks
message.functional_case_task_create=${OPERATOR}created the functional case: ${name}
@ -207,6 +208,7 @@ message.functional_case_task_update=${OPERATOR}updated the functional case: ${na
message.functional_case_task_delete=${OPERATOR}deleted the functional case: ${name}
message.functional_case_task_comment=${OPERATOR}commented on your functional case: ${name}
message.functional_case_task_at_comment=${OPERATOR}commented on functional case: ${name} and @you
message.functional_case_task_reply_comment=${OPERATOR} in use case ${name} replied to your comment
message.case_review_task_create=${OPERATOR}created the case review: ${name}
message.case_review_task_update=${OPERATOR}updated the case review: ${name}
message.case_review_task_delete=${OPERATOR}deleted the case review: ${name}

View File

@ -200,6 +200,7 @@ message.bug_task_update=${OPERATOR}更新了缺陷:${title}
message.bug_task_delete=${OPERATOR}删除了缺陷:${title}
message.bug_task_comment=${OPERATOR}评论了你的缺陷:${title}
message.bug_task_at_comment=${OPERATOR}评论了缺陷:${title} 并@了你
message.bug_task_reply_comment=${OPERATOR}在缺陷 ${title} 回复了你的评论
message.bug_sync_task_execute_completed=${OPERATOR}同步了${total}条缺陷
message.bug_schedule_task_execute_completed=${OPERATOR}通过定时任务同步了${total}条缺陷
message.functional_case_task_create=${OPERATOR}创建了功能用例:${name}
@ -207,6 +208,7 @@ message.functional_case_task_update=${OPERATOR}更新了功能用例:${name}
message.functional_case_task_delete=${OPERATOR}删除了功能用例:${name}
message.functional_case_task_comment=${OPERATOR}评论了你的功能用例:${name}
message.functional_case_task_at_comment=${OPERATOR}评论了功能用例:${name} 并@了你
message.functional_case_task_reply_comment=${OPERATOR}在用例 ${name} 回复了你的评论
message.case_review_task_create=${OPERATOR}创建了用例评审:${name}
message.case_review_task_update=${OPERATOR}更新了用例评审:${name}
message.case_review_task_delete=${OPERATOR}删除了用例评审:${name}

View File

@ -200,6 +200,7 @@ message.bug_task_update=${OPERATOR}更新了缺陷:${title}
message.bug_task_delete=${OPERATOR}删除了缺陷:${title}
message.bug_task_comment=${OPERATOR}評論了你的缺陷:${title}
message.bug_task_at_comment=${OPERATOR}評論了缺陷:${title} 並@了你
message.bug_task_reply_comment=${OPERATOR}在缺陷 ${title} 回覆了你的評論
message.bug_sync_task_execute_completed=${OPERATOR}同步了${total}条缺陷
message.bug_schedule_task_execute_completed=${OPERATOR}透過定時任務同步了${total}条缺陷
message.functional_case_task_create=${OPERATOR}創建了功能用例:${name}
@ -207,6 +208,7 @@ message.functional_case_task_update=${OPERATOR}更新了功能用例:${name}
message.functional_case_task_delete=${OPERATOR}删除了功能用例:${name}
message.functional_case_task_comment=${OPERATOR}評論了你的功能用例:${name}
message.functional_case_task_at_comment=${OPERATOR}評論了功能用例:${name} 並@了你
message.functional_case_task_reply_comment=${OPERATOR}在用例 ${name} 回覆了你的評論
message.case_review_task_create=${OPERATOR}創建了用例評審:${name}
message.case_review_task_update=${OPERATOR}更新了用例評審:${name}
message.case_review_task_delete=${OPERATOR}删除了用例評審:${name}

View File

@ -189,6 +189,8 @@ public interface NoticeConstants {
String BUG_TASK_COMMENT = "BUG_TASK_COMMENT";//${OPERATOR}评论了你的缺陷:${title}
@Schema(description = "message.bug_task_at_comment")
String BUG_TASK_AT_COMMENT = "BUG_TASK_AT_COMMENT";//${OPERATOR}评论了缺陷:${title} @了你
@Schema(description = "message.bug_task_reply_comment")
String BUG_TASK_REPLY_COMMENT = "BUG_TASK_REPLY_COMMENT";//${OPERATOR}在缺陷${title} 回复了你的评论
@Schema(description = "message.bug_sync_task_execute_completed")
String BUG_SYNC_TASK_EXECUTE_COMPLETED = "BUG_SYNC_TASK_EXECUTE_COMPLETED";//${OPERATOR}同步了${total}条缺陷
@Schema(description = "message.bug_schedule_task_execute_completed")
@ -204,6 +206,8 @@ public interface NoticeConstants {
String FUNCTIONAL_CASE_TASK_COMMENT = "FUNCTIONAL_CASE_TASK_COMMENT";//${OPERATOR}评论了你的功能用例:${name}
@Schema(description = "message.functional_case_task_at_comment")
String FUNCTIONAL_CASE_TASK_AT_COMMENT = "FUNCTIONAL_CASE_TASK_AT_COMMENT";//${OPERATOR}评论了功能用例:${name} @了你
@Schema(description = "message.functional_case_task_reply_comment")
String FUNCTIONAL_CASE_TASK_REPLY_COMMENT = "FUNCTIONAL_CASE_TASK_REPLY_COMMENT";//${OPERATOR}在用例${name} 回复了你的评论
@Schema(description = "message.case_review_task_create")
String CASE_REVIEW_TASK_CREATE = "CASE_REVIEW_TASK_CREATE"; // ${OPERATOR}创建了用例评审:${name}