From bb123bb3e8719d012884d144d326e5e8c8c15786 Mon Sep 17 00:00:00 2001 From: Meteor0id <34976212+Meteor0id@users.noreply.github.com> Date: Sat, 2 Nov 2019 01:06:02 +0100 Subject: Start following IEEE 1541 agreed naming of bytes (#532) * Start following IEEE 1541 agreed naming of bytes This standard exists to prevent any confusion about the actual number of bytes. It has been agreed on by experts and is being used more widespead these day. Let's start properly naming the number of bytes, which is absolutely important in disk encryption software. * Update LanguageStrings.cpp * Update UserInterface.cpp * kibibyte instead of kilobyte * kibibyte instead of kilobyte * MiB instead of MB * undo accidental deletions Odd indeed that two random lines were deleted in a previous commit. Probably happened when using a keyboard shortcut while editing the file. This fixes the issue. * Mb to Mib --- src/Main/LanguageStrings.cpp | 2 +- src/Main/UserInterface.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Main') diff --git a/src/Main/LanguageStrings.cpp b/src/Main/LanguageStrings.cpp index 93f9823b..efc1bfe5 100644 --- a/src/Main/LanguageStrings.cpp +++ b/src/Main/LanguageStrings.cpp @@ -75,7 +75,7 @@ namespace VeraCrypt Map["CHECKING_FS"] = _("Checking the file system on the VeraCrypt volume mounted as {0}..."); Map["REPAIRING_FS"] = _("Attempting to repair the file system on the VeraCrypt volume mounted as {0}..."); Map["UNMOUNT_LOCK_FAILED"] = _("Volume \"{0}\" contains files or folders being used by applications or system.\n\nForce dismount?"); - Map["VOLUME_SIZE_HELP"] = _("Please specify the size of the container to create. Note that the minimum possible size of a volume is 292 KB."); + Map["VOLUME_SIZE_HELP"] = _("Please specify the size of the container to create. Note that the minimum possible size of a volume is 292 KiB."); Map["ENCRYPTION_MODE_NOT_SUPPORTED_BY_KERNEL"] = _("The volume you have mounted uses a mode of operation that is not supported by the Linux kernel. You may experience slow performance when using this volume. To achieve full performance, you should move the data from this volume to a new volume created by VeraCrypt 5.0 or later."); } diff --git a/src/Main/UserInterface.cpp b/src/Main/UserInterface.cpp index 39390104..ebad35da 100644 --- a/src/Main/UserInterface.cpp +++ b/src/Main/UserInterface.cpp @@ -1265,7 +1265,7 @@ namespace VeraCrypt "--size=SIZE[K|M|G|T]\n" " Use specified size when creating a new volume. If no suffix is indicated,\n" " then SIZE is interpreted in bytes. Suffixes K, M, G or T can be used to\n" - " indicate a value in KB, MB, GB or TB respectively.\n" + " indicate a value in KiB, MiB, GiB or TiB respectively.\n" "\n" "-t, --text\n" " Use text user interface. Graphical user interface is used by default if\n" -- cgit v1.2.3