diff --git a/src/components/dialogs/TheScrewsTiltAdjustDialog.vue b/src/components/dialogs/TheScrewsTiltAdjustDialog.vue index e3e75441..caeaa9d8 100644 --- a/src/components/dialogs/TheScrewsTiltAdjustDialog.vue +++ b/src/components/dialogs/TheScrewsTiltAdjustDialog.vue @@ -1,7 +1,7 @@ - + + + {{ $t('ScrewsTiltAdjust.Retry') }} + {{ $t('ScrewsTiltAdjust.Accept') }} @@ -79,5 +82,11 @@ export default class TheScrewsTiltAdjustDialog extends Mixins(BaseMixin, Control clearScrewsTiltAdjust() { this.$store.dispatch('printer/clearScrewsTiltAdjust') } + + async retryScrewsTiltAdjust() { + await this.$store.dispatch('printer/clearScrewsTiltAdjust') + + this.doSend('SCREWS_TILT_CALCULATE') + } } diff --git a/src/locales/de.json b/src/locales/de.json index d3c4153a..0cb6b751 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1101,7 +1101,8 @@ "Accept": "akzeptieren", "Base": "Basis", "ErrorText": "Ein Fehler ist beim Abtasten aufgetreten.", - "Headline": "Neigungsverstellung" + "Headline": "Neigungsverstellung", + "Retry": "wiederholen" }, "Timelapse": { "AllFiles": "Alle", diff --git a/src/locales/en.json b/src/locales/en.json index adedbda5..e07c66cc 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1101,7 +1101,8 @@ "Accept": "accept", "Base": "Base", "ErrorText": "Something went wrong during the probing process.", - "Headline": "Screws tilt adjust" + "Headline": "Screws tilt adjust", + "Retry": "retry" }, "Timelapse": { "AllFiles": "All",