From 0d9ecd24ba9d9877d0752d1c0605588cf818ed13 Mon Sep 17 00:00:00 2001 From: Wan Qi Chen <495709+wa0x6e@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:06:16 +0700 Subject: [PATCH] fix: improve space deletion confirmation message --- src/locales/default.json | 2 +- src/views/SpaceSettings.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/default.json b/src/locales/default.json index 3f3407a75c4..60dfe411a07 100644 --- a/src/locales/default.json +++ b/src/locales/default.json @@ -372,7 +372,7 @@ "settings": { "header": "Settings", "confirmLeaveMessage": " Do you really want to leave? You have unsaved changes that will be lost.", - "confirmDeleteSpace": " Do you really want to delete this space? This action cannot be undone and you will not be able to create a new space with the same ENS domain name.", + "confirmDeleteSpace": " Do you really want to delete this space? This action cannot be undone and you will not be able to use {name} again to create another space.", "validationErrorsMessage": "Please fix the following fields before saving:", "confirmInputDeleteSpace": "Enter {space} to continue:", "noticeSavedTitle": "Settings saved", diff --git a/src/views/SpaceSettings.vue b/src/views/SpaceSettings.vue index 9521113da18..84d22d9fffb 100644 --- a/src/views/SpaceSettings.vue +++ b/src/views/SpaceSettings.vue @@ -410,7 +410,7 @@ onBeforeRouteLeave(async () => { @confirm="handleDelete" > - {{ $t('settings.confirmDeleteSpace') }} + {{ $t('settings.confirmDeleteSpace', { name: space.id }) }}