Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: localization (#6549)

ecmadaod5c65cac2378
diff --git a/frontend/src/components/ProjectWebhookForm.vue b/frontend/src/components/ProjectWebhookForm.vue
index 6c25763b96..bdcf4e13e5 100644
--- a/frontend/src/components/ProjectWebhookForm.vue
+++ b/frontend/src/components/ProjectWebhookForm.vue
@@ -237,8 +237,11 @@
v-if="!create && allowEdit"
:style="'DELETE'"
:button-text="$t('project.webhook.deletion.btn-text')"
- :ok-text="'Delete'"
- :confirm-title="`Delete webhook '${webhook.title}' and all its execution history?`"
+ :ok-text="$t('common.delete')"
+ :confirm-title="
+ $t('project.webhook.deletion.confirm-title', { title: webhook.title })
+ "
+ :confirm-description="$t('common.cannot-undo-this-action')"
:require-confirm="true"
@confirm="deleteWebhook"
/>
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 16e2b780ce..b82bec702b 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1405,7 +1405,8 @@
"view-doc": "View {destination}'s doc"
},
"deletion": {
- "btn-text": "Delete this webhook"
+ "btn-text": "Delete this webhook",
+ "confirm-title": "Delete webhook '{title}' and all its execution history?"
},
"activity-item": {
"issue-creation": {
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index f605bc6856..23587afad3 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1399,7 +1399,8 @@
"view-doc": "Ver documentación de {destination}"
},
"deletion": {
- "btn-text": "Eliminar este webhook"
+ "btn-text": "Eliminar este webhook",
+ "confirm-title": "¿Eliminar el '{title}' del webhook y todo su historial de ejecución?"
},
"activity-item": {
"issue-creation": {
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 1ffe490b85..b460ed0691 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1401,7 +1401,8 @@
"view-doc": "{destination} 的官方文档"
},
"deletion": {
- "btn-text": "删除这个 webhook"
+ "btn-text": "删除这个 webhook",
+ "confirm-title": "删除 webhook '{title}' 以及所有的执行历史?"
},
"activity-item": {
"issue-creation": {