[librvth] rvth_error.c: Remove the '.' from the RVTH_ERROR_NDEV_GCN_NOT_SUPPORTED message.

FIXME: rvth_error.h's message comments don't all match rvth_error.c.

[locale] Update for these changes.
This commit is contained in:
David Korth 2025-05-30 19:47:38 -04:00
parent 5e7233cb89
commit c215903bde
6 changed files with 33 additions and 33 deletions

View File

@ -794,8 +794,8 @@ d3f4ul7 15 n0n3, wh1ch r3741n5 7h3 0r161n4l k3y.</translation>
</message>
<message>
<location filename="../src/librvth/rvth_error.c" line="93"/>
<source>NDEV headers for GCN are currently not supported.</source>
<translation>nd3v h34d3r5 f0r 6cn 4r3 curr3n7ly n07 5upp0r73d.</translation>
<source>NDEV headers for GCN are currently not supported</source>
<translation>nd3v h34d3r5 f0r 6cn 4r3 curr3n7ly n07 5upp0r73d</translation>
</message>
</context>
<context>

View File

@ -794,7 +794,7 @@ Standard ist keine, der den Originalschlüssel beibehält.</translation>
</message>
<message>
<location filename="../src/librvth/rvth_error.c" line="93"/>
<source>NDEV headers for GCN are currently not supported.</source>
<source>NDEV headers for GCN are currently not supported</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -793,8 +793,8 @@ Default is None, which retains the original key.</source>
</message>
<message>
<location filename="../src/librvth/rvth_error.c" line="93"/>
<source>NDEV headers for GCN are currently not supported.</source>
<translation>NDEV headers for GCN are currently not supported.</translation>
<source>NDEV headers for GCN are currently not supported</source>
<translation>NDEV headers for GCN are currently not supported</translation>
</message>
</context>
<context>

View File

@ -793,7 +793,7 @@ Default is None, which retains the original key.</source>
</message>
<message>
<location filename="../src/librvth/rvth_error.c" line="93"/>
<source>NDEV headers for GCN are currently not supported.</source>
<source>NDEV headers for GCN are currently not supported</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -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!");

View File

@ -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;