From c48d14e8c4e622cb198ab9758c5fa551e12c5dfc Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 23 Jan 2024 00:15:01 +0100 Subject: [PATCH] feat: Shorter messages --- src/disk.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/disk.sh b/src/disk.sh index 94273521..02f2a90a 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -112,8 +112,8 @@ createDisk() { fi fi - MSG="Creating a $DISK_TYPE $DISK_DESC image in $DISK_FMT format with a size of $DISK_SPACE..." - info "$MSG" && html "$MSG" + html "Creating a $DISK_DESC image..." + info "Creating a $DISK_TYPE $DISK_DESC image in $DISK_FMT format with a size of $DISK_SPACE..." local FAIL="Could not create a $DISK_TYPE $DISK_FMT $DISK_DESC image of $DISK_SPACE ($DISK_FILE)" @@ -266,8 +266,8 @@ convertDisk() { fi fi - MSG="Converting $DISK_DESC to $DST_FMT, please wait until completed..." - info "$MSG" && html "$MSG" + html "Converting $DISK_DESC to $DST_FMT..." + info "Converting $DISK_DESC to $DST_FMT, please wait until completed..." local CONV_FLAGS="-p" local DISK_PARAM="$DISK_ALLOC" @@ -306,8 +306,8 @@ convertDisk() { fi fi - MSG="Conversion of $DISK_DESC to $DST_FMT completed succesfully!" - info "$MSG" && html "$MSG" + html "Conversion of $DISK_DESC completed..." + info "Conversion of $DISK_DESC to $DST_FMT completed succesfully!" return 0 }