feat: Shorter messages (#373)

This commit is contained in:
Kroese 2024-01-23 00:10:41 +01:00 committed by GitHub
parent 9daec8e73c
commit 110e46401c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,8 +116,8 @@ createDisk() {
fi fi
fi fi
MSG="Creating a $DISK_TYPE $DISK_DESC image in $DISK_FMT format with a size of $DISK_SPACE..." html "Creating a $DISK_DESC image..."
info "$MSG" && html "$MSG" 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)" local FAIL="Could not create a $DISK_TYPE $DISK_FMT $DISK_DESC image of $DISK_SPACE ($DISK_FILE)"
@ -270,8 +270,8 @@ convertDisk() {
fi fi
fi fi
MSG="Converting $DISK_DESC to $DST_FMT, please wait until completed..." html "Converting $DISK_DESC to $DST_FMT..."
info "$MSG" && html "$MSG" info "Converting $DISK_DESC to $DST_FMT, please wait until completed..."
local CONV_FLAGS="-p" local CONV_FLAGS="-p"
local DISK_PARAM="$DISK_ALLOC" local DISK_PARAM="$DISK_ALLOC"
@ -310,8 +310,8 @@ convertDisk() {
fi fi
fi fi
MSG="Conversion of $DISK_DESC to $DST_FMT completed succesfully!" html "Conversion of $DISK_DESC completed..."
info "$MSG" && html "$MSG" info "Conversion of $DISK_DESC to $DST_FMT completed succesfully!"
return 0 return 0
} }