diff --git a/lib/bitlk/bitlk.c b/lib/bitlk/bitlk.c index 40ab2541..b88f7e19 100644 --- a/lib/bitlk/bitlk.c +++ b/lib/bitlk/bitlk.c @@ -426,13 +426,13 @@ int BITLK_read_sb(struct crypt_device *cd, struct bitlk_metadata *params) /* read and check the BitLocker signature */ if (read_lseek_blockwise(devfd, device_block_size(cd, device), device_alignment(device), &sig, sizeof(sig), 0) != sizeof(sig)) { - log_err(cd, _("Failed to read bitlocker signature from %s."), device_path(device)); + log_err(cd, _("Failed to read BitLocker signature from %s."), device_path(device)); r = -EINVAL; goto out; } if (memcmp(sig.boot_code, BITLK_BOOTCODE_V1, sizeof(sig.boot_code)) == 0) { - log_err(cd, _("BitLocker version from Windows Vista is currently not supported")); + log_err(cd, _("BitLocker version from Windows Vista is currently not supported.")); r = -ENOTSUP; goto out; } else if (memcmp(sig.boot_code, BITLK_BOOTCODE_V2, sizeof(sig.boot_code)) == 0) @@ -518,7 +518,7 @@ int BITLK_read_sb(struct crypt_device *cd, struct bitlk_metadata *params) params->cipher_mode = "xts-plain64"; break; default: - log_err (cd, _("Unknown or unsupported encryption")); + log_err(cd, _("Unknown or unsupported encryption.")); params->key_size = 0; params->cipher = NULL; params->cipher_mode = NULL; @@ -957,7 +957,7 @@ int BITLK_activate(struct crypt_device *cd, while (next_vmk) { if (next_vmk->protection == BITLK_PROTECTION_CLEAR_KEY) { crypt_free_volume_key(open_fvek_key); - log_err(cd, _("Activation of partially decrypted BitLocker devices is not supported.")); + log_err(cd, _("Activation of partially decrypted BitLocker device is not supported.")); return -ENOTSUP; } next_vmk = next_vmk->next; @@ -1025,7 +1025,7 @@ int BITLK_activate(struct crypt_device *cd, break; if (num_segments == 10) { - log_err(cd, "Failed to calculate number of dm-crypt segments for open."); + log_dbg(cd, "Failed to calculate number of dm-crypt segments for open."); r = -EINVAL; goto out; } diff --git a/po/POTFILES.in b/po/POTFILES.in index 0c813613..8c1f2b71 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -22,6 +22,7 @@ lib/luks1/keyencryption.c lib/luks1/keymanage.c lib/loopaes/loopaes.c lib/tcrypt/tcrypt.c +lib/bitlk/bitlk.c lib/verity/verity.c lib/verity/verity_hash.c lib/verity/verity_fec.c