diff --git a/src/components/TheTopCornerMenu.vue b/src/components/TheTopCornerMenu.vue index 5658603e..8f60e62c 100644 --- a/src/components/TheTopCornerMenu.vue +++ b/src/components/TheTopCornerMenu.vue @@ -195,7 +195,10 @@ export default class TheTopCornerMenu extends Mixins(BaseMixin) { const functionNameUppercase = functionName.trim().charAt(0).toUpperCase() + functionName.trim().slice(1) this.dialogConfirmation.title = this.$t('App.TopCornerMenu.ConfirmationDialog.Title.' + functionNameUppercase)+'' - this.dialogConfirmation.description = this.$t('App.TopCornerMenu.ConfirmationDialog.Description.' + functionNameUppercase)+'' + + if (serviceName === 'klipper' && action === 'Stop') this.dialogConfirmation.description = this.$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperStop')+'' + else this.dialogConfirmation.description = this.$t('App.TopCornerMenu.ConfirmationDialog.Description.' + functionNameUppercase)+'' + this.dialogConfirmation.actionButtonText = this.$t('App.TopCornerMenu.' + action.charAt(0).toUpperCase() + action.slice(1))+'' this.dialogConfirmation.show = true } else executableFunction(serviceName) diff --git a/src/locales/en.json b/src/locales/en.json index 9041dc24..db209263 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -34,6 +34,7 @@ "HostShutdown": "Host shutdown" }, "Description": { + "KlipperStop": "If you stop Klipper now, the current print will fail.", "KlipperRestart": "If you restart Klipper now, the current print will fail.", "KlipperFirmwareRestart": "If you restart the Klipper firmware now, the current print will fail.", "ServiceStart": "If you start this service now, you are very likely risking a failure of your ongoing print job.",