Merge pull request #1 from r0manas-dev/patch-1

pmt: fix bad English translations
This commit is contained in:
2024-07-10 01:47:07 +03:00
committed by GitHub

View File

@@ -25,45 +25,45 @@ extern "C" {
#include <pmt.h> #include <pmt.h>
struct pmt_langdb_general en = { struct pmt_langdb_general en = {
.lang_by_s = "YZBruh", .lang_by_s = "YZBruh & r0manas",
.language = "English", .language = "English",
.lang_prefix = "en", .lang_prefix = "en",
.not_logical = "This device does not have logical partitions!", .not_logical = "This device does not have logical partitions!",
.not_file = "is a not file.", .not_file = "is not a file.",
.not_dir = "is a not directory.", .not_dir = "is not a directory.",
.not_in_dev = "You're going through my wave? There's nothing about this /dev. Use force mode if you don't want this error.", .not_in_dev = "Nothing found in /dev. Use force mode to avoid this error.",
.not_open = "Could not open", .not_open = "Couldn't open",
.not_block = "The specified partition is not the block. I mean, it's not actually an episode (disc). I'm sure it needs to applaud those mistakes.", .not_block = "The specified partition is not recognized as a block device.",
.not_read = "Couldn't read", .not_read = "Couldn't read",
.not_write = "Couldn't write", .not_write = "Couldn't write",
.not_gen = "Couldn't generate", .not_gen = "Couldn't generate",
.no_root = "Root access could not be detected! Please run this binary with root.", .no_root = "Root access could not be detected! Please run this with root permissions.",
.no_target = "No target (backup, flash or format).", .no_target = "No target specified (backup, flash, or format).",
.expected_backup_arg = "Expected backup argument 2 (1 of them are not mandatory), retrieved", .expected_backup_arg = "Expected backup argument 2 (1 of them are not mandatory), retrieved",
.expected_flash_arg = "Expected flash argument 2, retrieved", .expected_flash_arg = "Expected flash argument 2, retrieved",
.expected_format_arg = "Expected format argument 2, retrieved", .expected_format_arg = "Expected format argument 2, retrieved",
.missing_operand = "missing operand", .missing_operand = "Missing operand",
.multiple_wiewers = "Multiple viewers cannot be used at the same line.", .multiple_wiewers = "Multiple viewers can't be used on the same line.",
.common_symbol_rule = "When entering the attached argument of an option, an argument of another option type cannot be used. In short, the rule is: there can be no '-' at the beginning of the attached argument.", .common_symbol_rule = "When specifying arguments for an option, ensure they do not begin with '-'. Each argument must correspond correctly to its respective option."
.req_part_name = "Required partition name.", .req_part_name = "Partition name required.",
.part_not_found = "Partition not found!", .part_not_found = "Partition not found!",
.unsupported_fs = "Formatter: unsupported filesystem", .unsupported_fs = "Formatter: unsupported filesystem",
.cannot_stat = "Cannot stat", .cannot_stat = "Can't retrieve file status",
.ffile_more_part = "Size of the file to flash more than the partition size.", .ffile_more_part = "Flash file size exceeds partition capacity."
.cannot_get_bsz = "The partition block size could not be obtained!", .cannot_get_bsz = "Failed to retrieve partition block size."
.format_fail = "Formatting failed! There may be a chance that something has been damaged!", .format_fail = "Formatting failed! There is a possibility of data damage."
.logical_warn = "Device using logical partition type.", .logical_warn = "This device uses logical partitions.",
.ab_warn = "Device using A/B partition style.", .ab_warn = "This device uses A/B partition style.",
.out_not_spec = "The output file name was not specified. The output file name will be", .out_not_spec = "Output file name not specified. Using default name:",
.please_rerun = "Please re run", .please_rerun = "Please rerun the command.",
.part_disk_sz = "Disk size of the partition", .part_disk_sz = "Partition disk size",
.flash_file_sz = "Size of flash file", .flash_file_sz = "Flash file size",
.part_disk_sz_fail = "Failed to get target partition disk size", .part_disk_sz_fail = "Failed to retrieve partition disk size.",
.flash_file_sz_fail = "Failed to get flash file size.", .flash_file_sz_fail = "Failed to retrieve flash file size.",
.list_of_dir = "List of dir", .list_of_dir = "Directory listing",
.see_license = "See licenses with -L argument.", .see_license = "View licenses using the -L argument."
.success_backup = "Success. Output", .success_backup = "Backup successful. Output:",
.success_flash = "Success.", .success_flash = "Flash successful.",
.warn = "WARNING", .warn = "WARNING",
.fatal = "FATAL ERROR", .fatal = "FATAL ERROR",
.switching_lang = "Switching language...", .switching_lang = "Switching language...",