refactor: 通知配置页面国际化
This commit is contained in:
parent
ce04184774
commit
dc457c754c
|
@ -11,9 +11,11 @@
|
||||||
<el-collapse-item name="2">
|
<el-collapse-item name="2">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<span style="width: 200px">
|
<span style="width: 200px">
|
||||||
测试跟踪任务通知
|
{{ $t('organization.message.track') }}
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
{{ $t('organization.message.notice_count') }}: <span class="primary-text">{{ trackNoticeSize }}</span>
|
||||||
</span>
|
</span>
|
||||||
<span>通知数: <span style="color: #783887;">{{ trackNoticeSize }}</span></span>
|
|
||||||
</template>
|
</template>
|
||||||
<track-home-notification @noticeSize="getNoticeSize" :receiver-options="reviewReceiverOptions"
|
<track-home-notification @noticeSize="getNoticeSize" :receiver-options="reviewReceiverOptions"
|
||||||
:receive-type-options="receiveTypeOptions"/>
|
:receive-type-options="receiveTypeOptions"/>
|
||||||
|
@ -31,9 +33,11 @@
|
||||||
<el-collapse-item name="3">
|
<el-collapse-item name="3">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<span style="width: 200px">
|
<span style="width: 200px">
|
||||||
接口测试任务通知
|
{{ $t('organization.message.api') }}
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
{{ $t('organization.message.notice_count') }}: <span class="primary-text">{{ apiNoticeSize }}</span>
|
||||||
</span>
|
</span>
|
||||||
<span>通知数: <span style="color: #783887;">{{ apiNoticeSize }}</span></span>
|
|
||||||
</template>
|
</template>
|
||||||
<api-home-notification @noticeSize="getNoticeSize" :receiver-options="reviewReceiverOptions"
|
<api-home-notification @noticeSize="getNoticeSize" :receiver-options="reviewReceiverOptions"
|
||||||
:receive-type-options="receiveTypeOptions"/>
|
:receive-type-options="receiveTypeOptions"/>
|
||||||
|
@ -47,9 +51,11 @@
|
||||||
<el-collapse-item name="4">
|
<el-collapse-item name="4">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<span style="width: 200px">
|
<span style="width: 200px">
|
||||||
性能测试任务通知
|
{{ $t('organization.message.performance') }}
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
|
{{ $t('organization.message.notice_count') }}: <span class="primary-text">{{ performanceNoticeSize }}</span>
|
||||||
</span>
|
</span>
|
||||||
<span>通知数: <span style="color: #783887;">{{ performanceNoticeSize }}</span></span>
|
|
||||||
</template>
|
</template>
|
||||||
<performance-test-notification @noticeSize="getNoticeSize" :receiver-options="reviewReceiverOptions"
|
<performance-test-notification @noticeSize="getNoticeSize" :receiver-options="reviewReceiverOptions"
|
||||||
:receive-type-options="receiveTypeOptions"/>
|
:receive-type-options="receiveTypeOptions"/>
|
||||||
|
@ -59,7 +65,9 @@
|
||||||
<el-collapse-item name="1">
|
<el-collapse-item name="1">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<span style="width: 200px">{{ $t('organization.message.jenkins_task_notification') }}</span>
|
<span style="width: 200px">{{ $t('organization.message.jenkins_task_notification') }}</span>
|
||||||
<span>通知数: <span style="color: #783887;">{{ jenkinsNoticeSize }}</span></span>
|
<span>
|
||||||
|
{{ $t('organization.message.notice_count') }}: <span class="primary-text">{{ jenkinsNoticeSize }}</span>
|
||||||
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<jenkins-notification @noticeSize="getNoticeSize" :jenkins-receiver-options="jenkinsReceiverOptions"
|
<jenkins-notification @noticeSize="getNoticeSize" :jenkins-receiver-options="jenkinsReceiverOptions"
|
||||||
:receive-type-options="receiveTypeOptions"/>
|
:receive-type-options="receiveTypeOptions"/>
|
||||||
|
@ -205,4 +213,8 @@ export default {
|
||||||
height: calc(100vh - 200px);
|
height: calc(100vh - 200px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.primary-text {
|
||||||
|
color: #783887;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>接口自动化</h5>
|
<h5>{{ $t('i18n.automation') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>接口定义</h5>
|
<h5>{{ $t('i18n.definition') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>首页</h5>
|
<h5>{{ $t('i18n.home') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>测试报告</h5>
|
<h5>{{ $t('i18n.report') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h3>{{ $t('organization.message.jenkins_task_notification') }}</h3>
|
<h3>{{ $t('organization.message.jenkins_task_notification') }}</h3>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>报告</h5>
|
<h5>{{ $t('i18n.report') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>测试</h5>
|
<h5>{{ $t('commons.performance') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>{{ $t('test_track.issue.issue') }}</h5>
|
<h5>{{ $t('test_track.issue.issue') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>测试用例</h5>
|
<h5>{{$t('test_track.case.test_case')}}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>{{ $t('test_track.plan.test_plan') }}</h5>
|
<h5>{{ $t('test_track.plan.test_plan') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>{{ $t('test_track.review.test_review') }}</h5>
|
<h5>{{ $t('test_track.review.test_review') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>首页</h5>
|
<h5>{{ $t('i18n.home') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="10">
|
<el-col :span="24">
|
||||||
<h5>报告</h5>
|
<h5>{{ $t('i18n.report') }}</h5>
|
||||||
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
<el-button icon="el-icon-circle-plus-outline" plain size="mini" @click="handleAddTaskModel"
|
||||||
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
v-permission="['ORGANIZATION_MESSAGE:READ+EDIT']">
|
||||||
{{ $t('organization.message.create_new_notification') }}
|
{{ $t('organization.message.create_new_notification') }}
|
||||||
|
|
|
@ -393,7 +393,11 @@ export default {
|
||||||
'3. When selecting the receiver, it must be the person included in the group you created. The mobile phone number of the receiver is required and it is the mobile phone number used by the nailing enterprise',
|
'3. When selecting the receiver, it must be the person included in the group you created. The mobile phone number of the receiver is required and it is the mobile phone number used by the nailing enterprise',
|
||||||
message: 'Event, receiver and receiving method are required\n',
|
message: 'Event, receiver and receiving method are required\n',
|
||||||
message_webhook: 'Webhook is required when the receiving mode is nail or enterprise robot or lark',
|
message_webhook: 'Webhook is required when the receiving mode is nail or enterprise robot or lark',
|
||||||
template: "Template"
|
template: "Template",
|
||||||
|
track: 'Track notification',
|
||||||
|
api: 'Api notification',
|
||||||
|
performance: 'Performance notification',
|
||||||
|
notice_count: 'Number',
|
||||||
},
|
},
|
||||||
integration: {
|
integration: {
|
||||||
select_defect_platform: 'Please select the defect management platform to be integrated:',
|
select_defect_platform: 'Please select the defect management platform to be integrated:',
|
||||||
|
@ -434,12 +438,12 @@ export default {
|
||||||
azure_storytype: 'Azure story type',
|
azure_storytype: 'Azure story type',
|
||||||
input_azure_issuetype: 'Please enter the issue type',
|
input_azure_issuetype: 'Please enter the issue type',
|
||||||
input_azure_storytype: 'Please enter the story type',
|
input_azure_storytype: 'Please enter the story type',
|
||||||
azure_pat:'PersonalAccessTokens',
|
azure_pat: 'PersonalAccessTokens',
|
||||||
azure_devops_url:'Azure Devops url',
|
azure_devops_url: 'Azure Devops url',
|
||||||
azure_organization_id:'Azure Organization ID',
|
azure_organization_id: 'Azure Organization ID',
|
||||||
input_azure_pat:'Please enter Personal Access Token',
|
input_azure_pat: 'Please enter Personal Access Token',
|
||||||
input_azure_url:'Please enter Azure Devops Url',
|
input_azure_url: 'Please enter Azure Devops Url',
|
||||||
input_azure_id:'Please enter Azure Organization ID',
|
input_azure_id: 'Please enter Azure Organization ID',
|
||||||
use_tip_azure: 'Azure Devops URL+PersonalAccessTokens(User Settings-Personal Access Tokens-New Token)',
|
use_tip_azure: 'Azure Devops URL+PersonalAccessTokens(User Settings-Personal Access Tokens-New Token)',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -514,7 +518,7 @@ export default {
|
||||||
select_project: 'please select project',
|
select_project: 'please select project',
|
||||||
select_group: 'please select group',
|
select_group: 'please select group',
|
||||||
add_user_group_batch: 'Batch Add User Group',
|
add_user_group_batch: 'Batch Add User Group',
|
||||||
add_project_batch : 'Batch Add User To Project',
|
add_project_batch: 'Batch Add User To Project',
|
||||||
add_project_batch_tip: 'Add a read-only user group for members by default (system)',
|
add_project_batch_tip: 'Add a read-only user group for members by default (system)',
|
||||||
},
|
},
|
||||||
group: {
|
group: {
|
||||||
|
@ -699,11 +703,11 @@ export default {
|
||||||
csv_has_header: 'Contains Title',
|
csv_has_header: 'Contains Title',
|
||||||
csv_split: 'CSV Split',
|
csv_split: 'CSV Split',
|
||||||
on_sample_error: 'After a Sampler error',
|
on_sample_error: 'After a Sampler error',
|
||||||
continue:'Continue',
|
continue: 'Continue',
|
||||||
startnextloop:'Start the next loop',
|
startnextloop: 'Start the next loop',
|
||||||
stopthread:'Stop thread',
|
stopthread: 'Stop thread',
|
||||||
stoptest:'Stop test',
|
stoptest: 'Stop test',
|
||||||
stoptestnow:'Stop the test immediately',
|
stoptestnow: 'Stop the test immediately',
|
||||||
report: {
|
report: {
|
||||||
diff: "Compare",
|
diff: "Compare",
|
||||||
set_default: 'Set to Default',
|
set_default: 'Set to Default',
|
||||||
|
@ -834,8 +838,8 @@ export default {
|
||||||
batch_delete: "Batch deletion",
|
batch_delete: "Batch deletion",
|
||||||
delete_confirm: "Confirm deletion",
|
delete_confirm: "Confirm deletion",
|
||||||
batch_to_performance_confirm: "Confirm Batch Create Performance Test",
|
batch_to_performance_confirm: "Confirm Batch Create Performance Test",
|
||||||
batch_copy_confirm:"Confirm batch copy",
|
batch_copy_confirm: "Confirm batch copy",
|
||||||
batch_copy_end:"Batch Copy Over",
|
batch_copy_end: "Batch Copy Over",
|
||||||
delete_case_confirm: "Confirm case deletion",
|
delete_case_confirm: "Confirm case deletion",
|
||||||
delete_confirm_step: "Confirm deletion step",
|
delete_confirm_step: "Confirm deletion step",
|
||||||
assertions_rule: "Assertion rule",
|
assertions_rule: "Assertion rule",
|
||||||
|
|
|
@ -396,7 +396,11 @@ export default {
|
||||||
' 3.选择接收人时必须是你所建的群里包含的人,接收人手机号为必填项且为钉钉企业所使用的手机号',
|
' 3.选择接收人时必须是你所建的群里包含的人,接收人手机号为必填项且为钉钉企业所使用的手机号',
|
||||||
message: '事件,接收人,接收方式为必填项',
|
message: '事件,接收人,接收方式为必填项',
|
||||||
message_webhook: '接收方式为钉钉和企业机器人,飞书时,webhook为必填项',
|
message_webhook: '接收方式为钉钉和企业机器人,飞书时,webhook为必填项',
|
||||||
template: "模版"
|
template: "模版",
|
||||||
|
track: '测试跟踪任务通知',
|
||||||
|
api: '接口测试任务通知',
|
||||||
|
performance: '性能测试任务通知',
|
||||||
|
notice_count: '通知数',
|
||||||
},
|
},
|
||||||
integration: {
|
integration: {
|
||||||
select_defect_platform: '请选择要集成的缺陷管理平台:',
|
select_defect_platform: '请选择要集成的缺陷管理平台:',
|
||||||
|
|
|
@ -395,7 +395,11 @@ export default {
|
||||||
' 3.選擇接收人時必須是你所建的群裏包含的人,接收人手機號為必填項且為釘釘企業所使用的手機號',
|
' 3.選擇接收人時必須是你所建的群裏包含的人,接收人手機號為必填項且為釘釘企業所使用的手機號',
|
||||||
message: '事件,接收人,接收方式為必填項',
|
message: '事件,接收人,接收方式為必填項',
|
||||||
message_webhook: '接收方式為釘釘和企業機器人,飛書時,webhook為必填項',
|
message_webhook: '接收方式為釘釘和企業機器人,飛書時,webhook為必填項',
|
||||||
template: "模版"
|
template: "模版",
|
||||||
|
track: '測試跟踪任務通知',
|
||||||
|
api: '接口測試任務通知',
|
||||||
|
performance: '性能測試任務通知',
|
||||||
|
notice_count: '通知數',
|
||||||
},
|
},
|
||||||
integration: {
|
integration: {
|
||||||
select_defect_platform: '請選擇要集成的缺陷管理平臺:',
|
select_defect_platform: '請選擇要集成的缺陷管理平臺:',
|
||||||
|
|
Loading…
Reference in New Issue