diff --git a/locale/rvthtool_1337.ts b/locale/rvthtool_1337.ts
index 82809fd..31bf97d 100644
--- a/locale/rvthtool_1337.ts
+++ b/locale/rvthtool_1337.ts
@@ -794,8 +794,8 @@ d3f4ul7 15 n0n3, wh1ch r3741n5 7h3 0r161n4l k3y.
- NDEV headers for GCN are currently not supported.
- nd3v h34d3r5 f0r 6cn 4r3 curr3n7ly n07 5upp0r73d.
+ NDEV headers for GCN are currently not supported
+ nd3v h34d3r5 f0r 6cn 4r3 curr3n7ly n07 5upp0r73d
diff --git a/locale/rvthtool_de.ts b/locale/rvthtool_de.ts
index a8ba724..1c36f3c 100644
--- a/locale/rvthtool_de.ts
+++ b/locale/rvthtool_de.ts
@@ -794,7 +794,7 @@ Standard ist keine, der den Originalschlüssel beibehält.
- NDEV headers for GCN are currently not supported.
+ NDEV headers for GCN are currently not supported
diff --git a/locale/rvthtool_en.ts b/locale/rvthtool_en.ts
index 861aad9..a741e84 100644
--- a/locale/rvthtool_en.ts
+++ b/locale/rvthtool_en.ts
@@ -793,8 +793,8 @@ Default is None, which retains the original key.
- NDEV headers for GCN are currently not supported.
- NDEV headers for GCN are currently not supported.
+ NDEV headers for GCN are currently not supported
+ NDEV headers for GCN are currently not supported
diff --git a/locale/rvthtool_es.ts b/locale/rvthtool_es.ts
index b7e8df3..87cd020 100644
--- a/locale/rvthtool_es.ts
+++ b/locale/rvthtool_es.ts
@@ -793,7 +793,7 @@ Default is None, which retains the original key.
- NDEV headers for GCN are currently not supported.
+ NDEV headers for GCN are currently not supported
diff --git a/src/librvth/rvth_error.c b/src/librvth/rvth_error.c
index d03cc80..2d8be72 100644
--- a/src/librvth/rvth_error.c
+++ b/src/librvth/rvth_error.c
@@ -90,7 +90,7 @@ const char *rvth_error(int err)
// NDEV option
// tr: RVTH_ERROR_NDEV_GCN_NOT_SUPPORTED
- QT_TRANSLATE_NOOP("RvtH|Error", "NDEV headers for GCN are currently not supported."),
+ QT_TRANSLATE_NOOP("RvtH|Error", "NDEV headers for GCN are currently not supported"),
};
static_assert(ARRAY_SIZE(errtbl) == RVTH_ERROR_MAX, "Missing error descriptions!");
diff --git a/src/librvth/rvth_error.h b/src/librvth/rvth_error.h
index 0e5211d..460f58d 100644
--- a/src/librvth/rvth_error.h
+++ b/src/librvth/rvth_error.h
@@ -15,36 +15,36 @@ extern "C" {
typedef enum {
RVTH_ERROR_SUCCESS = 0,
- RVTH_ERROR_UNRECOGNIZED_FILE = 1, // Unrecognized file format.
- RVTH_ERROR_NHCD_TABLE_MAGIC = 2, // NHCD bank table has the wrong magic.
- RVTH_ERROR_NO_BANKS = 3, // No banks.
- RVTH_ERROR_BANK_UNKNOWN = 4, // Selected bank has an unknown status.
- RVTH_ERROR_BANK_EMPTY = 5, // Selected bank is empty.
- RVTH_ERROR_BANK_DL_2 = 6, // Selected bank is the second bank of a DL image.
- RVTH_ERROR_NOT_A_DEVICE = 7, // Attempting to write to an RVT-H disk image.
- RVTH_ERROR_BANK_IS_DELETED = 8, // Attempting to delete a bank that's already deleted.
- RVTH_ERROR_BANK_NOT_DELETED = 9, // Attempting to undelete a bank that isn't deleted.
- RVTH_ERROR_NOT_HDD_IMAGE = 10, // Attempting to modify the bank table of a non-HDD image.
- RVTH_ERROR_NO_GAME_PARTITION = 11, // Game partition was not found in a Wii image.
- RVTH_ERROR_INVALID_BANK_COUNT = 12, // `bank_count` field is invalid.
- RVTH_ERROR_IS_HDD_IMAGE = 13, // Operation cannot be performed on devices or HDD images.
- RVTH_ERROR_IMAGE_TOO_BIG = 14, // Source image does not fit in an RVT-H bank.
- RVTH_ERROR_BANK_NOT_EMPTY_OR_DELETED = 15, // Destination bank is not empty or deleted.
- RVTH_ERROR_NOT_WII_IMAGE = 16, // Wii-specific operation was requested on a non-Wii image.
- RVTH_ERROR_IS_UNENCRYPTED = 17, // Image is unencrypted.
- RVTH_ERROR_IS_ENCRYPTED = 18, // Image is encrypted.
- RVTH_ERROR_PARTITION_TABLE_CORRUPTED = 19, // Wii partition table is corrupted.
- RVTH_ERROR_PARTITION_HEADER_CORRUPTED = 20, // At least one Wii partition header is corrupted.
- RVTH_ERROR_ISSUER_UNKNOWN = 21, // Certificate has an unknown issuer.
+ RVTH_ERROR_UNRECOGNIZED_FILE = 1, // Unrecognized file format
+ RVTH_ERROR_NHCD_TABLE_MAGIC = 2, // NHCD bank table has the wrong magic
+ RVTH_ERROR_NO_BANKS = 3, // No banks
+ RVTH_ERROR_BANK_UNKNOWN = 4, // Selected bank has an unknown status
+ RVTH_ERROR_BANK_EMPTY = 5, // Selected bank is empty
+ RVTH_ERROR_BANK_DL_2 = 6, // Selected bank is the second bank of a DL image
+ RVTH_ERROR_NOT_A_DEVICE = 7, // Attempting to write to an RVT-H disk image
+ RVTH_ERROR_BANK_IS_DELETED = 8, // Attempting to delete a bank that's already deleted
+ RVTH_ERROR_BANK_NOT_DELETED = 9, // Attempting to undelete a bank that isn't deleted
+ RVTH_ERROR_NOT_HDD_IMAGE = 10, // Attempting to modify the bank table of a non-HDD image
+ RVTH_ERROR_NO_GAME_PARTITION = 11, // Game partition was not found in a Wii image
+ RVTH_ERROR_INVALID_BANK_COUNT = 12, // `bank_count` field is invalid
+ RVTH_ERROR_IS_HDD_IMAGE = 13, // Operation cannot be performed on devices or HDD images
+ RVTH_ERROR_IMAGE_TOO_BIG = 14, // Source image does not fit in an RVT-H bank
+ RVTH_ERROR_BANK_NOT_EMPTY_OR_DELETED = 15, // Destination bank is not empty or deleted
+ RVTH_ERROR_NOT_WII_IMAGE = 16, // Wii-specific operation was requested on a non-Wii image
+ RVTH_ERROR_IS_UNENCRYPTED = 17, // Image is unencrypted
+ RVTH_ERROR_IS_ENCRYPTED = 18, // Image is encrypted
+ RVTH_ERROR_PARTITION_TABLE_CORRUPTED = 19, // Wii partition table is corrupted
+ RVTH_ERROR_PARTITION_HEADER_CORRUPTED = 20, // At least one Wii partition header is corrupted
+ RVTH_ERROR_ISSUER_UNKNOWN = 21, // Certificate has an unknown issuer
// 'import' command: Dual-Layer errors.
- RVTH_ERROR_IMPORT_DL_EXT_NO_BANK1 = 22, // Extended Bank Table: Cannot use Bank 1 for a Dual-Layer image.
- RVTH_ERROR_IMPORT_DL_LAST_BANK = 23, // Cannot use the last bank for a Dual-Layer image.
- RVTH_ERROR_BANK2DL_NOT_EMPTY_OR_DELETED = 24, // The second bank for the Dual-Layer image is not empty or deleted.
- RVTH_ERROR_IMPORT_DL_NOT_CONTIGUOUS = 25, // The two banks are not contiguous.
+ RVTH_ERROR_IMPORT_DL_EXT_NO_BANK1 = 22, // Extended Bank Table: Cannot use Bank 1 for a Dual-Layer image
+ RVTH_ERROR_IMPORT_DL_LAST_BANK = 23, // Cannot use the last bank for a Dual-Layer image
+ RVTH_ERROR_BANK2DL_NOT_EMPTY_OR_DELETED = 24, // The second bank for the Dual-Layer image is not empty or deleted
+ RVTH_ERROR_IMPORT_DL_NOT_CONTIGUOUS = 25, // The two banks are not contiguous
// NDEV option.
- RVTH_ERROR_NDEV_GCN_NOT_SUPPORTED = 26, // NDEV headers for GCN are currently unsupported.
+ RVTH_ERROR_NDEV_GCN_NOT_SUPPORTED = 26, // NDEV headers for GCN are currently not supported
RVTH_ERROR_MAX
} RvtH_Errors;