feat: Shorter messages (#588)

This commit is contained in:
Kroese 2024-01-23 00:15:11 +01:00 committed by GitHub
parent 4f524c47d8
commit 0dea507d85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,8 +112,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)"
@ -266,8 +266,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"
@ -306,8 +306,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
} }