diff --git a/dashboard/public/translation/en.json b/dashboard/public/translation/en.json index 02761dd96..a05a00961 100644 --- a/dashboard/public/translation/en.json +++ b/dashboard/public/translation/en.json @@ -927,7 +927,8 @@ "username": "Username", "usernameNotSet": "Not set", "configureAction": "Configure Registry", - "serverNotSet": "Not set" + "serverNotSet": "Not set", + "deleteQuestion": "Really delete this registry?" }, "privateDockerRegistryDialog": { "title": "Private Registry Configuration", diff --git a/dashboard/src/components/PrivateRegistry.vue b/dashboard/src/components/PrivateRegistry.vue index 0d78ee8ee..72320a0f8 100644 --- a/dashboard/src/components/PrivateRegistry.vue +++ b/dashboard/src/components/PrivateRegistry.vue @@ -39,7 +39,7 @@ function onEditOrAdd(registry = null) { async function onRemove(registry) { const yes = await inputDialog.value.confirm({ - message: 'Really delete this registry?', + message: t('settings.privateDockerRegistry.deleteQuestion'), confirmStyle: 'danger', confirmLabel: t('main.dialog.delete'), rejectLabel: t('main.dialog.cancel')