Skip to content

Commit

Permalink
feat: Shorter messages (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Jan 22, 2024
1 parent 4f524c4 commit 0dea507
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 0dea507

Please sign in to comment.