global-functions: $HumanReadableNum: indicate binary base...

... and update scripts to match the change.
This commit is contained in:
Christian Hesse 2024-04-07 21:11:03 +02:00
parent 36cf4d028b
commit 3015743b19
4 changed files with 11 additions and 7 deletions

View file

@ -71,7 +71,7 @@
message=("Uploaded backup for " . $Identity . " to cloud.\n\n" . \
[ $DeviceInfo ] . "\n\n" . \
[ $FormatLine "Name" ($Cloud->"name") ] . "\n" . \
[ $FormatLine "Size" ([ $HumanReadableNum ($Cloud->"size") 1024 ] . "iB") ] . "\n" . \
[ $FormatLine "Size" ([ $HumanReadableNum ($Cloud->"size") 1024 ] . "B") ] . "\n" . \
[ $FormatLine "Download key" ($Cloud->"secret-download-key") ]); silent=true });
} else={
$SendNotification2 ({ origin=$ScriptName; \