From 3aa386b5a4e5e306f55b6bf21ab76ec1dfe2ae84 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 6 Aug 2021 13:45:06 +0200 Subject: [PATCH] change icon and message for heightmap error message Signed-off-by: Stefan Dej --- src/locales/en.json | 2 +- src/pages/Heightmap.vue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 21e9dec5..1432e5ee 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -155,7 +155,7 @@ }, "Heightmap": { "Heightmap": "Heightmap", - "ErrorKlipperNotRunning": "Heightmap is only available when Klipper is running. Please check the state of Klipper.", + "ErrorKlipperNotReady": "Klipper not ready. Heightmap disabled.", "NoProfile": "No profile available", "TitleHomeAll": "Home all", "Clear": "clear", diff --git a/src/pages/Heightmap.vue b/src/pages/Heightmap.vue index 6770d676..e51b78b2 100644 --- a/src/pages/Heightmap.vue +++ b/src/pages/Heightmap.vue @@ -127,9 +127,8 @@ elevation="2" class="mx-auto mt-6" max-width="500" - > - {{ $t("Heightmap.ErrorKlipperNotRunning") }} - + icon="mdi-lock-outline" + >{{ $t('Heightmap.ErrorKlipperNotReady') }}