diff --git a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicy.vue b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicy.vue index 303f98575d..e8f73d8d32 100644 --- a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicy.vue +++ b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicy.vue @@ -11,6 +11,8 @@ import { PButton, PSelectDropdown, PHeadingLayout, + PBadge, + PI, } from '@cloudforet/mirinae'; import type { MenuItem } from '@cloudforet/mirinae/types/controls/context-menu/type'; import { iso8601Formatter } from '@cloudforet/utils'; @@ -26,8 +28,14 @@ import { useUserStore } from '@/store/user/user-store'; import ErrorHandler from '@/common/composables/error/errorHandler'; import { useQueryTags } from '@/common/composables/query-tags'; +import { green } from '@/styles/colors'; + +import ServiceDetailTabsSettingsEscalationPolicyDeleteModal + from '@/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyDeleteModal.vue'; import ServiceDetailTabsSettingsEscalationPolicyFormModal from '@/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyFormModal.vue'; +import ServiceDetailTabsSettingsEscalationPolicyStateModal + from '@/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyStateModal.vue'; import { ESCALATION_POLICY_MANAGEMENT_TABLE_FIELDS, ESCALATION_POLICY_MANAGEMENT_TABLE_HANDLER, } from '@/services/alert-manager-v2/constants/escalation-policy-table-constant'; @@ -43,12 +51,13 @@ const tableState = reactive({ actionMenu: computed(() => ([ { type: 'item', - name: 'use', + name: 'STATE', label: _i18n.t('ALERT_MANAGER.ESCALATION_POLICY.IN_USE'), + disabled: state.selectedItem?.escalation_policy_id === storeState.defaultEscalationPolicyId, }, { type: 'item', - name: 'delete', + name: 'DELETE', label: _i18n.t('ALERT_MANAGER.DELETE'), }, ])), @@ -56,6 +65,7 @@ const tableState = reactive({ }); const storeState = reactive({ serviceId: computed(() => serviceDetailPageState.serviceInfo.service_id), + defaultEscalationPolicyId: computed(() => serviceDetailPageState.serviceInfo.escalation_policy_id), timezone: computed(() => userState.timezone || ''), }); const state = reactive({ @@ -80,13 +90,10 @@ const getConnectChannelCount = (rules: EscalationPolicyRulesType[]) => { const uniqueChannels = new Set(allChannels); return uniqueChannels.size; }; -const handleClickCreateButton = (type: EscalationPolicyModalType) => { +const handleActionModal = (type: EscalationPolicyModalType) => { modalState.visible = true; modalState.type = type; }; -const handleSelectDropdownItem = (name) => { - console.log('TODO: handleSelectDropdownItem', name); -}; const handleChangeToolbox = async (options: any = {}) => { if (options.queryTags !== undefined) queryTagHelper.setQueryTags(options.queryTags); if (options.pageStart !== undefined) escalationPolicyListApiQueryHelper.setPageStart(options.pageStart); @@ -99,6 +106,10 @@ const handleExportExcel = () => { const handleSelectTableRow = (selectedItems: number[]) => { state.selectIndex = selectedItems[0]; }; +const handleCloseModal = () => { + handleChangeToolbox(); + state.selectIndex = undefined; +}; const fetchEscalationPolicyList = async () => { state.loading = true; @@ -139,7 +150,7 @@ watch(() => storeState.serviceId, (id) => { :total-count="state.totalCount" :items="state.items" :fields="tableState.fields" - :select-index="state.selectIndex" + :select-index="[state.selectIndex]" :query-tags="queryTags" :key-item-sets="ESCALATION_POLICY_MANAGEMENT_TABLE_HANDLER.keyItemSets" :value-handler-map="ESCALATION_POLICY_MANAGEMENT_TABLE_HANDLER.valueHandlerMap" @@ -161,14 +172,15 @@ watch(() => storeState.serviceId, (id) => { {{ $t('ALERT_MANAGER.ESCALATION_POLICY.SET_POLICY') }} {{ $t('ALERT_MANAGER.CREATE') }} @@ -177,14 +189,32 @@ watch(() => storeState.serviceId, (id) => { + - +
+ + + +
diff --git a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyDeleteModal.vue b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyDeleteModal.vue new file mode 100644 index 0000000000..989a220f00 --- /dev/null +++ b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyDeleteModal.vue @@ -0,0 +1,70 @@ + + + diff --git a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyForm.vue b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyForm.vue index d0dce964b6..cd383ff635 100644 --- a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyForm.vue +++ b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyForm.vue @@ -1,4 +1,6 @@ @@ -82,12 +65,10 @@ const handleUpdateRepeatCount = (_repeatCount: number) => { height="1.25rem" /> - + (), { selectedIds: undefined, }); -const emit = defineEmits<{(event: 'update:selected-ids', value: SelectedUserDropdownIdsType[]): void; +const emit = defineEmits<{(event: 'update:selected-ids', value: string[]): void; }>(); const allReferenceStore = useAllReferenceStore(); @@ -68,7 +64,6 @@ const state = reactive({ loading: false, serviceChannelList: [] as DropdownItem[], userGroupChannelList: [] as DropdownItem[], - userChannelList: [] as DropdownItem[], dropdownCategories: computed(() => { const result: DropdownCategoriesType[] = []; if (state.serviceChannelList.length > 0) { @@ -83,12 +78,6 @@ const state = reactive({ title: i18n.t('ALERT_MANAGER.ESCALATION_POLICY.USER_GROUP') as string, }); } - if (state.userChannelList.length > 0) { - result.push({ - key: 'user_channel', - title: i18n.t('ALERT_MANAGER.ESCALATION_POLICY.USER') as string, - }); - } return result; }), selectedItems: [] as SelectDropdownMenuItem[], @@ -105,7 +94,6 @@ const menuItemsHandler = (): AutocompleteHandler => async (keyword: string, page ]; if (c.key === 'service_channel') items.push(...state.serviceChannelList); else if (c.key === 'user_group_channel') items.push(...state.userGroupChannelList); - else items.push(...state.userChannelList); const _slicedItems = filterItems(items); _slicedItems.unshift(); @@ -123,7 +111,6 @@ const menuItemsHandler = (): AutocompleteHandler => async (keyword: string, page const items: DropdownItem[] = []; if (c.key === 'service_channel') items.push(...state.serviceChannelList); else if (c.key === 'user_group_channel') items.push(...state.userGroupChannelList); - else items.push(...state.userChannelList); const _slicedItems = filterItems(items); if (i !== resultIndex) return { results: [], title: c.title }; return { @@ -133,24 +120,24 @@ const menuItemsHandler = (): AutocompleteHandler => async (keyword: string, page }); }; -const currentUserIds = computed(() => state.selectedItems.map((item) => ({ value: item.name, type: checkUserGroup(item.name) ? 'USER_GROUP' : 'USER' }))); +const currentChannelIds = computed(() => state.selectedItems.map((item) => item.name)); const handleUpdateSelectedUserItems = (selectedUsers: SelectDropdownMenuItem[]) => { if (isEqual(selectedUsers, state.selectedItems)) return; // prevent unnecessary update - state.selectedItems = selectedUsers; // it updates currentUserId and currentUserIds automatically - if (isEqual(currentUserIds.value, props.selectedIds)) return; // prevent unnecessary update - emit('update:selected-ids', currentUserIds.value); + state.selectedItems = selectedUsers; // it updates currentChannelIds automatically + if (isEqual(currentChannelIds.value, props.selectedIds)) return; // prevent unnecessary update + emit('update:selected-ids', currentChannelIds.value); }; const handleTagDelete = (idx: number) => { state.selectedItems.splice(idx, 1); - emit('update:selected-ids', currentUserIds.value); + emit('update:selected-ids', currentChannelIds.value); }; -const initMultipleType = (_userIds?: SelectedUserDropdownIdsType[]) => { - if (!Array.isArray(_userIds)) throw new Error('userIds should be an array'); - if (!isEqual(currentUserIds.value, _userIds)) { - state.selectedItems = _userIds.map((userId) => ({ - name: userId.value, - label: storeState.userReferenceMap[userId.value]?.label ?? userId.value, +const initMultipleType = (_channelIds?: string[]) => { + if (!Array.isArray(_channelIds)) return; + if (!isEqual(currentChannelIds.value, _channelIds)) { + state.selectedItems = _channelIds.map((channelId) => ({ + name: channelId, + label: storeState.userReferenceMap[channelId]?.label ?? channelId, })); } }; @@ -172,7 +159,7 @@ const fetchServiceChannelList = async () => { }; const fetchUserGroupChannelList = async () => { try { - const { results } = await SpaceConnector.clientV2.alertManager.userGroupChnnel.list>(); + const { results } = await SpaceConnector.clientV2.alertManager.userGroupChannel.list>(); state.userGroupChannelList = (results || []).map((item) => ({ name: item.channel_id, label: item.name, @@ -182,28 +169,15 @@ const fetchUserGroupChannelList = async () => { state.userGroupChannelList = []; } }; -const fetchUserChannelList = async () => { - try { - const { results } = await SpaceConnector.clientV2.alertManager.userChnnel.list>(); - state.userChannelList = (results || []).map((item) => ({ - name: item.channel_id, - label: item.name, - })).sort((a, b) => a.label.localeCompare(b.label)); - } catch (e) { - ErrorHandler.handleError(e, true); - state.userChannelList = []; - } -}; watch(() => storeState.serviceId, async (serviceId) => { if (!serviceId) return; await fetchServiceChannelList(); await fetchUserGroupChannelList(); - await fetchUserChannelList(); }, { immediate: true }); -watch(() => props.selectedIds, (newUserIds) => { - if (isEqual(currentUserIds.value, newUserIds)) return; // prevent infinite loop - initMultipleType(newUserIds); +watch(() => props.selectedIds, (newChannelId) => { + if (isEqual(currentChannelIds.value, newChannelId)) return; // prevent infinite loop + initMultipleType(newChannelId); }, { immediate: true }); diff --git a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyFormModal.vue b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyFormModal.vue index 431e8dbd94..928618fa8a 100644 --- a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyFormModal.vue +++ b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyFormModal.vue @@ -1,18 +1,23 @@ - + diff --git a/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyStateModal.vue b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyStateModal.vue new file mode 100644 index 0000000000..cc8b6ac48d --- /dev/null +++ b/apps/web/src/services/alert-manager-v2/components/ServiceDetailTabsSettingsEscalationPolicyStateModal.vue @@ -0,0 +1,128 @@ + + + + + + diff --git a/apps/web/src/services/alert-manager-v2/components/WebhookCreateTypeSelector.vue b/apps/web/src/services/alert-manager-v2/components/WebhookCreateTypeSelector.vue index 84a05beac0..965e502da0 100644 --- a/apps/web/src/services/alert-manager-v2/components/WebhookCreateTypeSelector.vue +++ b/apps/web/src/services/alert-manager-v2/components/WebhookCreateTypeSelector.vue @@ -42,7 +42,6 @@ const getListWebhookType = async () => { const repositoryId = await getRepositoryID(); const { results } = await SpaceConnector.clientV2.repository.plugin.list>({ repository_id: repositoryId, - // TODO: Change to 'alert-manager.Webhook' after the plugin is created resource_type: 'monitoring.Webhook', }); state.webhookTypeList = results ?? []; diff --git a/apps/web/src/services/alert-manager-v2/types/alert-manager-type.ts b/apps/web/src/services/alert-manager-v2/types/alert-manager-type.ts index 3207cfb687..bb8895de12 100644 --- a/apps/web/src/services/alert-manager-v2/types/alert-manager-type.ts +++ b/apps/web/src/services/alert-manager-v2/types/alert-manager-type.ts @@ -58,4 +58,4 @@ export type EscalationPolicyRadioType = { label: TranslateResult, name: AlertStateType }; -export type EscalationPolicyModalType = 'CREATE' | 'SET'; +export type EscalationPolicyModalType = 'CREATE' | 'UPDATE' | 'STATE' | 'DELETE'; diff --git a/apps/web/src/services/iam/components/AppManagementStatusModal.vue b/apps/web/src/services/iam/components/AppManagementStatusModal.vue index 8a34a326a7..7f97fdecb6 100644 --- a/apps/web/src/services/iam/components/AppManagementStatusModal.vue +++ b/apps/web/src/services/iam/components/AppManagementStatusModal.vue @@ -138,7 +138,7 @@ const checkModalConfirm = async () => { :header-title="appPageState.modal.title" :theme-color="appPageState.modal.themeColor" :loading="appPageState.modal.loading" - modal-size="md" + size="md" class="app-management-status-modal" @confirm="checkModalConfirm" @cancel="handleClose" diff --git a/apps/web/src/services/iam/components/RoleStateUpdateModal.vue b/apps/web/src/services/iam/components/RoleStateUpdateModal.vue index d4520db5de..57b50618e9 100644 --- a/apps/web/src/services/iam/components/RoleStateUpdateModal.vue +++ b/apps/web/src/services/iam/components/RoleStateUpdateModal.vue @@ -100,7 +100,7 @@ const handleConfirm = async () => { :header-title="state.modalStyle.title" :theme-color="state.modalStyle.theme" :loading="state.loading" - modal-size="md" + size="md" :enable-scroll="true" class="role-state-modal" @confirm="handleConfirm" diff --git a/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementOnlyRemoveWorkspaceGroupTypeModal.vue b/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementOnlyRemoveWorkspaceGroupTypeModal.vue index 29a539a862..10c8d0a895 100644 --- a/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementOnlyRemoveWorkspaceGroupTypeModal.vue +++ b/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementOnlyRemoveWorkspaceGroupTypeModal.vue @@ -57,7 +57,7 @@ const handleClose = () => { :theme-color="userPageState.modal.themeColor" :loading="state.loading" hide-footer-confirm-button - modal-size="md" + size="md" @cancel="handleClose" @close="handleClose" > diff --git a/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementRemoveMixedTypeModal.vue b/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementRemoveMixedTypeModal.vue index f599366123..0841ad8062 100644 --- a/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementRemoveMixedTypeModal.vue +++ b/apps/web/src/services/iam/components/UserManagementRemoveModal/UserManagementRemoveMixedTypeModal.vue @@ -61,7 +61,7 @@ const handleSwitchModal = () => { :theme-color="userPageState.modal.themeColor" :loading="state.loading" disabled - modal-size="md" + size="md" @cancel="handleClose" @close="handleClose" > diff --git a/apps/web/src/services/iam/components/UserManagementStatusModal.vue b/apps/web/src/services/iam/components/UserManagementStatusModal.vue index 9e286a2487..6220d0cd44 100644 --- a/apps/web/src/services/iam/components/UserManagementStatusModal.vue +++ b/apps/web/src/services/iam/components/UserManagementStatusModal.vue @@ -149,7 +149,7 @@ const disableUser = async (userId?: string): Promise => { :header-title="userPageState.modal.title" :theme-color="userPageState.modal.themeColor" :loading="state.loading" - modal-size="md" + size="md" @confirm="checkModalConfirm" @close="handleClose" @cancel="handleClose" diff --git a/packages/language-pack/console-translation-2.8.babel b/packages/language-pack/console-translation-2.8.babel index 4c6ea926da..89153393d5 100644 --- a/packages/language-pack/console-translation-2.8.babel +++ b/packages/language-pack/console-translation-2.8.babel @@ -28,15 +28,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -52,15 +52,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -73,15 +73,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -94,15 +94,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -115,15 +115,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -136,15 +136,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -157,15 +157,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -178,15 +178,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -241,15 +241,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -262,15 +262,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -283,15 +283,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -325,15 +325,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -367,15 +367,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -388,15 +388,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -409,15 +409,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -430,15 +430,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -472,15 +472,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -493,15 +493,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -556,15 +556,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -577,15 +577,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -598,15 +598,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -619,15 +619,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -640,15 +640,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -682,15 +682,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -703,15 +703,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -745,15 +745,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -766,15 +766,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -850,15 +850,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -871,104 +871,104 @@ en-US - false + true ja-JP - false + true ko-KR - false + true RESOURCE - false - - - - - - en-US - false - - - ja-JP - false - - - ko-KR - false - - - - - RESPONDER - false - - - - - - en-US - false - - - ja-JP - false - - - ko-KR - false - - - - - RULE - false - - - - - - en-US - false - - - ja-JP - false - - - ko-KR - false - - - - - SAVE_CHANGES - false - - - - - - en-US - false - - - ja-JP - false - - - ko-KR - false - - - - - SERVICE + false + + + + + + en-US + true + + + ja-JP + true + + + ko-KR + true + + + + + RESPONDER + false + + + + + + en-US + true + + + ja-JP + true + + + ko-KR + true + + + + + RULE + false + + + + + + en-US + true + + + ja-JP + true + + + ko-KR + true + + + + + SAVE_CHANGES + false + + + + + + en-US + true + + + ja-JP + true + + + ko-KR + true + + + + + SERVICE false @@ -997,15 +997,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1018,15 +1018,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1039,15 +1039,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1060,15 +1060,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1102,15 +1102,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1123,15 +1123,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1186,15 +1186,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1209,15 +1209,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1230,15 +1230,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1251,15 +1251,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1272,15 +1272,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1293,15 +1293,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1314,15 +1314,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1335,15 +1335,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1356,15 +1356,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1377,15 +1377,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1398,15 +1398,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1419,15 +1419,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1461,27 +1461,6 @@ - - - en-US - false - - - ja-JP - false - - - ko-KR - false - - - - - CREATE_MODAL_TITLE - false - - - en-US @@ -1506,15 +1485,15 @@ en-US - true + false ja-JP - true + false ko-KR - true + false @@ -1527,15 +1506,15 @@ en-US - true + false ja-JP - true + false ko-KR - true + false @@ -1590,15 +1569,15 @@ en-US - true + false ja-JP - true + false ko-KR - true + false @@ -1611,15 +1590,15 @@ en-US - true + false ja-JP - true + false ko-KR - true + false @@ -1645,28 +1624,7 @@ - NAME_INVALID_TEXT - false - - - - - - en-US - true - - - ja-JP - true - - - ko-KR - true - - - - - NOTIFICATION_CHANNEL_PLACEHOLDER + MODAL_CREATE_TITLE false @@ -1687,7 +1645,7 @@ - REPEAT + MODAL_DELETE_BUTTON false @@ -1695,20 +1653,20 @@ en-US - true + false ja-JP - true + false ko-KR - true + false - REPEAT_DESC + MODAL_DELETE_TITLE false @@ -1729,7 +1687,7 @@ - SET_MODAL_TITLE + MODAL_SET_TITLE false @@ -1750,7 +1708,7 @@ - SET_POLICY + MODAL_STATE_TITLE false @@ -1771,7 +1729,7 @@ - STEP + NAME_INVALID_TEXT false @@ -1792,7 +1750,70 @@ - TITLE + NOTIFICATION_CHANNEL_PLACEHOLDER + false + + + + + + en-US + false + + + ja-JP + false + + + ko-KR + false + + + + + REPEAT + false + + + + + + en-US + false + + + ja-JP + false + + + ko-KR + false + + + + + REPEAT_DESC + false + + + + + + en-US + false + + + ja-JP + false + + + ko-KR + false + + + + + SET_POLICY false @@ -1812,6 +1833,48 @@ + + STEP + false + + + + + + en-US + true + + + ja-JP + true + + + ko-KR + true + + + + + TITLE + false + + + + + + en-US + true + + + ja-JP + true + + + ko-KR + true + + + USER false @@ -1910,15 +1973,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1957,15 +2020,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1978,15 +2041,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -1999,15 +2062,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2041,15 +2104,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2062,15 +2125,15 @@ en-US - true + false ja-JP - true + false ko-KR - true + false @@ -2146,15 +2209,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2167,15 +2230,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2188,15 +2251,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2209,15 +2272,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2251,15 +2314,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2272,15 +2335,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2293,15 +2356,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2419,15 +2482,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2440,15 +2503,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2482,15 +2545,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2613,15 +2676,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2634,15 +2697,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2655,15 +2718,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2739,15 +2802,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2760,15 +2823,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2802,15 +2865,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2844,15 +2907,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2886,15 +2949,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -2907,15 +2970,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3012,15 +3075,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3033,15 +3096,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3201,15 +3264,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3222,15 +3285,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3264,15 +3327,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3348,15 +3411,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3392,15 +3455,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3413,15 +3476,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3434,15 +3497,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3479,15 +3542,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3500,15 +3563,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3521,15 +3584,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3542,15 +3605,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3563,15 +3626,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3584,15 +3647,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3605,15 +3668,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3626,15 +3689,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3668,15 +3731,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3689,15 +3752,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3710,15 +3773,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3731,15 +3794,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3756,15 +3819,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3777,15 +3840,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3798,15 +3861,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3819,15 +3882,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3840,15 +3903,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3861,15 +3924,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3882,15 +3945,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3903,15 +3966,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -3924,15 +3987,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -7115,15 +7178,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -7220,15 +7283,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -55450,15 +55513,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -55513,15 +55576,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -55534,15 +55597,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -75115,15 +75178,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true @@ -75178,15 +75241,15 @@ en-US - false + true ja-JP - false + true ko-KR - false + true diff --git a/packages/language-pack/en.json b/packages/language-pack/en.json index 2631b9afb3..3cce104ff5 100644 --- a/packages/language-pack/en.json +++ b/packages/language-pack/en.json @@ -72,7 +72,6 @@ "ESCALATION_POLICY": { "ADD_RULE": "Add Rule", "CHANNEL": "Channel", - "CREATE_MODAL_TITLE": "Create Escalation Policy", "ESCALATES_AFTER": "Next step runs in {minute} minutes.", "ESCALATION_RULES_HELP_TEXT": "At least one rule must be set. (Up to 5)", "GO_SET_NOTIFICATION": "Go set Notifications", @@ -80,11 +79,15 @@ "LABEL_ESCALATION_RULES": "Escalation Rules", "LABEL_FINISH_CONDITION": "Finish Condition", "LABEL_NAME": "Name", + "MODAL_CREATE_TITLE": "Create Escalation Policy", + "MODAL_DELETE_BUTTON": "Delete this escalation policy", + "MODAL_DELETE_TITLE": "Are you sure you want to Delete Escalation Policy?", + "MODAL_SET_TITLE": "Set Escalation Policy", + "MODAL_STATE_TITLE": "Are you sure you want to change the escalation policy in use?", "NAME_INVALID_TEXT": "The maximum length of a name is 40 characters.", "NOTIFICATION_CHANNEL_PLACEHOLDER": "Select Notification Channel", "REPEAT": "REPEAT", "REPEAT_DESC": "Apply to all steps above", - "SET_MODAL_TITLE": "Set Escalation Policy", "SET_POLICY": "Set Escalation Rules", "STEP": "Step {step}", "TITLE": "Escalation Policy", diff --git a/packages/language-pack/ja.json b/packages/language-pack/ja.json index 739b86c179..d4b3ad98f4 100644 --- a/packages/language-pack/ja.json +++ b/packages/language-pack/ja.json @@ -72,7 +72,6 @@ "ESCALATION_POLICY": { "ADD_RULE": "ルールを追加", "CHANNEL": "チャンネル名", - "CREATE_MODAL_TITLE": "エスカレーションポリシー作成", "ESCALATES_AFTER": "{minute}分後に次のステップを実行", "ESCALATION_RULES_HELP_TEXT": "少なくとも1以上のルールが必要です。(最大5)", "GO_SET_NOTIFICATION": "", @@ -80,11 +79,15 @@ "LABEL_ESCALATION_RULES": "エスカレーションルール", "LABEL_FINISH_CONDITION": "終了条件", "LABEL_NAME": "名前", + "MODAL_CREATE_TITLE": "エスカレーションポリシー作成", + "MODAL_DELETE_BUTTON": "", + "MODAL_DELETE_TITLE": "", + "MODAL_SET_TITLE": "", + "MODAL_STATE_TITLE": "", "NAME_INVALID_TEXT": "名前の最大長さは40文字です。", "NOTIFICATION_CHANNEL_PLACEHOLDER": "", "REPEAT": "繰り返す", "REPEAT_DESC": "", - "SET_MODAL_TITLE": "", "SET_POLICY": "", "STEP": "ステップ {step}", "TITLE": "エスカレーションポリシー", diff --git a/packages/language-pack/ko.json b/packages/language-pack/ko.json index e4d7daec6d..b33f4c1619 100644 --- a/packages/language-pack/ko.json +++ b/packages/language-pack/ko.json @@ -72,7 +72,6 @@ "ESCALATION_POLICY": { "ADD_RULE": "규칙 추가", "CHANNEL": "채널", - "CREATE_MODAL_TITLE": "에스컬레이션 정책 생성", "ESCALATES_AFTER": "{minute}분 후 다음 단계 실행", "ESCALATION_RULES_HELP_TEXT": "최소 1개 이상의 규칙이 있어야 합니다. (5개 까지)", "GO_SET_NOTIFICATION": "", @@ -80,11 +79,15 @@ "LABEL_ESCALATION_RULES": "에스컬레이션 규칙", "LABEL_FINISH_CONDITION": "종료 조건(상태)", "LABEL_NAME": "이름", + "MODAL_CREATE_TITLE": "에스컬레이션 정책 생성", + "MODAL_DELETE_BUTTON": "", + "MODAL_DELETE_TITLE": "", + "MODAL_SET_TITLE": "", + "MODAL_STATE_TITLE": "", "NAME_INVALID_TEXT": "40글자 미만으로 입력해주세요.", "NOTIFICATION_CHANNEL_PLACEHOLDER": "", "REPEAT": "반복", "REPEAT_DESC": "", - "SET_MODAL_TITLE": "", "SET_POLICY": "", "STEP": "단계 {step}", "TITLE": "에스컬레이션 정책",