diff --git a/frontend/src/features/admin/automation/RuleList.vue b/frontend/src/features/admin/automation/RuleList.vue index 5445fd6e..aa5441d4 100644 --- a/frontend/src/features/admin/automation/RuleList.vue +++ b/frontend/src/features/admin/automation/RuleList.vue @@ -46,7 +46,7 @@ {{ $t('globals.messages.deletionConfirmation', { - name: t('globals.terms.automationRule').toLowerCase() + name: $t('globals.terms.automationRule').toLowerCase() }) }} diff --git a/frontend/src/features/admin/oidc/dataTableDropdown.vue b/frontend/src/features/admin/oidc/dataTableDropdown.vue index 21ad7a86..05668d15 100644 --- a/frontend/src/features/admin/oidc/dataTableDropdown.vue +++ b/frontend/src/features/admin/oidc/dataTableDropdown.vue @@ -23,7 +23,7 @@ {{ $t('globals.messages.areYouAbsolutelySure') }} - {{ $t('globals.messages.deletionConfirmation', { name: t('globals.terms.sso') }) }} + {{ $t('globals.messages.deletionConfirmation', { name: $t('globals.terms.sso') }) }} diff --git a/frontend/src/features/admin/status/dataTableDropdown.vue b/frontend/src/features/admin/status/dataTableDropdown.vue index a9e03acc..5f2cf9a5 100644 --- a/frontend/src/features/admin/status/dataTableDropdown.vue +++ b/frontend/src/features/admin/status/dataTableDropdown.vue @@ -51,7 +51,11 @@ {{ $t('globals.messages.areYouAbsolutelySure') }} - {{ $t('admin.status.deleteConfirmation') }} + {{ + $t('globals.messages.deletionConfirmation', { + name: $t('globals.terms.status').toLowerCase() + }) + }} diff --git a/frontend/src/features/admin/tags/dataTableDropdown.vue b/frontend/src/features/admin/tags/dataTableDropdown.vue index bac9c075..7d403c85 100644 --- a/frontend/src/features/admin/tags/dataTableDropdown.vue +++ b/frontend/src/features/admin/tags/dataTableDropdown.vue @@ -42,11 +42,7 @@ {{ t('globals.messages.areYouAbsolutelySure') }} - {{ - t('globals.messages.deletionConfirmation', { - name: t('globals.terms.tag').toLowerCase() - }) - }} + {{ $t('admin.tags.deleteConfirmation') }} @@ -118,7 +114,7 @@ const form = useForm({ const onSubmit = form.handleSubmit(async (values) => { await api.updateTag(props.tag.id, values) emitter.emit(EMITTER_EVENTS.SHOW_TOAST, { - description: t('globals.messages.updatedSuccessfully', { name: t('globals.terms.tag') }), + description: t('globals.messages.updatedSuccessfully', { name: t('globals.terms.tag') }) }) dialogOpen.value = false emitRefreshTagsList() diff --git a/frontend/src/features/admin/templates/dataTableDropdown.vue b/frontend/src/features/admin/templates/dataTableDropdown.vue index 6244670a..419bec4f 100644 --- a/frontend/src/features/admin/templates/dataTableDropdown.vue +++ b/frontend/src/features/admin/templates/dataTableDropdown.vue @@ -26,7 +26,7 @@ {{ $t('globals.messages.deletionConfirmation', { - name: t('globals.terms.template').toLowerCase() + name: $t('globals.terms.template').toLowerCase() }) }} diff --git a/frontend/src/views/admin/tags/TagsView.vue b/frontend/src/views/admin/tags/TagsView.vue index d8ad280e..7cee3c61 100644 --- a/frontend/src/views/admin/tags/TagsView.vue +++ b/frontend/src/views/admin/tags/TagsView.vue @@ -109,7 +109,7 @@ const onSubmit = form.handleSubmit(async (values) => { dialogOpen.value = false getTags() emitter.emit(EMITTER_EVENTS.SHOW_TOAST, { - description: t('globals.messages.createdSuccessfully', { name: t('globals.terms.tag').toLowerCase() }), + description: t('globals.messages.createdSuccessfully', { name: t('globals.terms.tag') }), }) } catch (error) { emitter.emit(EMITTER_EVENTS.SHOW_TOAST, { diff --git a/i18n/en.json b/i18n/en.json index 87d8f222..f5fa1119 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -519,7 +519,7 @@ "admin.customAttributes.regex.description": "Regex to validate the value of this custom attribute. Leave empty to skip validation.", "admin.customAttributes.regexHint.description": "Regex pattern hint.", "admin.customAttributes.keyNotAllowed": "The provided key is not allowed as it conflicts with default attributes. Please use a different key.", - "admin.status.deleteConfirmation": "Are you sure you want to delete this status? This will also remove it from all conversations", + "admin.tags.deleteConfirmation": "Are you sure you want to delete this tag? This will also remove it from all conversations", "command.typeCmdOrSearch": "Type a command or search...", "command.noCommandAvailable": "No command available", "command.selectAMacro": "Select a macro to view details",