From: Dmitry V. Levin Date: Sat, 12 Dec 2020 01:27:37 +0000 (+0300) Subject: src: fix spelling typos in argp help text and error diagnostics X-Git-Tag: elfutils-0.183~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=adbf4bafc2398e90a90a4e98b4ce2e05614c617b;p=thirdparty%2Felfutils.git src: fix spelling typos in argp help text and error diagnostics Since all these help text strings are marked for translation, apply the fixes to translation strings as well, this helps to avoid translations becoming fuzzy. lenght -> length occured -> occurred endianess -> endianness reversable -> reversible Signed-off-by: Dmitry V. Levin --- diff --git a/po/ChangeLog b/po/ChangeLog index af3fe34e7..43c1d5d25 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2020-12-12 Dmitry V. Levin + + * *.po (msgid): Fix spelling typos. + 2020-10-31 Mark Wielaard * *.po: Update for 0.182. diff --git a/po/de.po b/po/de.po index 066929715..5c39ee92a 100644 --- a/po/de.po +++ b/po/de.po @@ -5784,7 +5784,7 @@ msgid "" "Program exits with return code 0 if all frames were shown without any " "errors. If some frames were shown, but there were some non-fatal errors, " "possibly causing an incomplete backtrace, the program exits with return code " -"1. If no frames could be shown, or a fatal error occured the program exits " +"1. If no frames could be shown, or a fatal error occurred the program exits " "with return code 2. If the program was invoked with bad or missing " "arguments it will exit with return code 64." msgstr "" @@ -5808,7 +5808,7 @@ msgstr "" #: src/strings.c:69 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" @@ -5887,14 +5887,14 @@ msgstr "" msgid "" "Resolve all trivial relocations between debug sections if the removed " "sections are placed in a debug file (only relevant for ET_REL files, " -"operation is not reversable, needs -f)" +"operation is not reversible, needs -f)" msgstr "" #: src/strip.c:87 msgid "" "Similar to --reloc-debug-sections, but resolve all trivial relocations " "between debug sections in place. No other stripping is performed (operation " -"is not reversable, incompatible with -f, -g, --remove-comment and --remove-" +"is not reversible, incompatible with -f, -g, --remove-comment and --remove-" "section)" msgstr "" diff --git a/po/es.po b/po/es.po index 36c9513ad..63cb96ee6 100644 --- a/po/es.po +++ b/po/es.po @@ -6332,7 +6332,7 @@ msgid "" "Program exits with return code 0 if all frames were shown without any " "errors. If some frames were shown, but there were some non-fatal errors, " "possibly causing an incomplete backtrace, the program exits with return code " -"1. If no frames could be shown, or a fatal error occured the program exits " +"1. If no frames could be shown, or a fatal error occurred the program exits " "with return code 2. If the program was invoked with bad or missing " "arguments it will exit with return code 64." msgstr "" @@ -6356,7 +6356,7 @@ msgstr "Sólo secuencias NUL-terminated de caracteres MIN-LEN o más se imprimen #: src/strings.c:69 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" "Seleccionar tamaño de caracter y Endianess: s = 7-bit, S = 8-bit, {b,l} = 16-" @@ -6437,14 +6437,14 @@ msgstr "Copiar marcas de tiempo modificadas/acceso a la salida" msgid "" "Resolve all trivial relocations between debug sections if the removed " "sections are placed in a debug file (only relevant for ET_REL files, " -"operation is not reversable, needs -f)" +"operation is not reversible, needs -f)" msgstr "" #: src/strip.c:87 msgid "" "Similar to --reloc-debug-sections, but resolve all trivial relocations " "between debug sections in place. No other stripping is performed (operation " -"is not reversable, incompatible with -f, -g, --remove-comment and --remove-" +"is not reversible, incompatible with -f, -g, --remove-comment and --remove-" "section)" msgstr "" diff --git a/po/fr.po b/po/fr.po index 1a7a3f879..a281c6fa1 100644 --- a/po/fr.po +++ b/po/fr.po @@ -5164,7 +5164,7 @@ msgstr "" #: src/strings.c:74 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" diff --git a/po/it.po b/po/it.po index 61e8ae03b..4c6db1a20 100644 --- a/po/it.po +++ b/po/it.po @@ -5165,7 +5165,7 @@ msgstr "" #: src/strings.c:74 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" diff --git a/po/ja.po b/po/ja.po index 3c22d37a3..6cc1988d5 100644 --- a/po/ja.po +++ b/po/ja.po @@ -6052,7 +6052,7 @@ msgid "" "Program exits with return code 0 if all frames were shown without any " "errors. If some frames were shown, but there were some non-fatal errors, " "possibly causing an incomplete backtrace, the program exits with return code " -"1. If no frames could be shown, or a fatal error occured the program exits " +"1. If no frames could be shown, or a fatal error occurred the program exits " "with return code 2. If the program was invoked with bad or missing " "arguments it will exit with return code 64." msgstr "" @@ -6076,7 +6076,7 @@ msgstr "" #: src/strings.c:69 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" @@ -6155,14 +6155,14 @@ msgstr "修正/アクセスタイムスタンプを出力へ複写する" msgid "" "Resolve all trivial relocations between debug sections if the removed " "sections are placed in a debug file (only relevant for ET_REL files, " -"operation is not reversable, needs -f)" +"operation is not reversible, needs -f)" msgstr "" #: src/strip.c:87 msgid "" "Similar to --reloc-debug-sections, but resolve all trivial relocations " "between debug sections in place. No other stripping is performed (operation " -"is not reversable, incompatible with -f, -g, --remove-comment and --remove-" +"is not reversible, incompatible with -f, -g, --remove-comment and --remove-" "section)" msgstr "" diff --git a/po/nl.po b/po/nl.po index ff3e5d5fc..82b89937b 100644 --- a/po/nl.po +++ b/po/nl.po @@ -5165,7 +5165,7 @@ msgstr "" #: src/strings.c:74 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" diff --git a/po/pl.po b/po/pl.po index 2cdc58ec2..05ce2148d 100644 --- a/po/pl.po +++ b/po/pl.po @@ -6303,7 +6303,7 @@ msgid "" "Program exits with return code 0 if all frames were shown without any " "errors. If some frames were shown, but there were some non-fatal errors, " "possibly causing an incomplete backtrace, the program exits with return code " -"1. If no frames could be shown, or a fatal error occured the program exits " +"1. If no frames could be shown, or a fatal error occurred the program exits " "with return code 2. If the program was invoked with bad or missing " "arguments it will exit with return code 64." msgstr "" @@ -6338,7 +6338,7 @@ msgstr "" #: src/strings.c:69 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" "Wybór rozmiaru i kolejności znaków: s = 7 bitów, S = 8 bitów, {b,l} = 16 " @@ -6419,7 +6419,7 @@ msgstr "Kopiuje czasy modyfikacji/dostępu do wyjścia" msgid "" "Resolve all trivial relocations between debug sections if the removed " "sections are placed in a debug file (only relevant for ET_REL files, " -"operation is not reversable, needs -f)" +"operation is not reversible, needs -f)" msgstr "" "Rozwiązuje wszystkie proste relokacje między sekcjami debugowania, jeśli " "usunięte sekcje zostały umieszczone w pliku debugowania (ma znaczenie tylko " @@ -6429,7 +6429,7 @@ msgstr "" msgid "" "Similar to --reloc-debug-sections, but resolve all trivial relocations " "between debug sections in place. No other stripping is performed (operation " -"is not reversable, incompatible with -f, -g, --remove-comment and --remove-" +"is not reversible, incompatible with -f, -g, --remove-comment and --remove-" "section)" msgstr "" diff --git a/po/ru.po b/po/ru.po index 99505d64a..cd419aade 100644 --- a/po/ru.po +++ b/po/ru.po @@ -5164,7 +5164,7 @@ msgstr "" #: src/strings.c:74 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" diff --git a/po/uk.po b/po/uk.po index 1f183a018..616ca9c97 100644 --- a/po/uk.po +++ b/po/uk.po @@ -6338,7 +6338,7 @@ msgid "" "Program exits with return code 0 if all frames were shown without any " "errors. If some frames were shown, but there were some non-fatal errors, " "possibly causing an incomplete backtrace, the program exits with return code " -"1. If no frames could be shown, or a fatal error occured the program exits " +"1. If no frames could be shown, or a fatal error occurred the program exits " "with return code 2. If the program was invoked with bad or missing " "arguments it will exit with return code 64." msgstr "" @@ -6373,7 +6373,7 @@ msgstr "" #: src/strings.c:69 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" "Визначення розмірності та порядку бітів символів: s = 7-бітові, S = 8-" @@ -6454,7 +6454,7 @@ msgstr "Скопіювати часові позначки зміни/досту msgid "" "Resolve all trivial relocations between debug sections if the removed " "sections are placed in a debug file (only relevant for ET_REL files, " -"operation is not reversable, needs -f)" +"operation is not reversible, needs -f)" msgstr "" "Розв’язати всі очевидні пересування між діагностичними розділами, якщо " "вилучені розділи було розташовано у діагностичному файлі (стосується лише " @@ -6464,7 +6464,7 @@ msgstr "" msgid "" "Similar to --reloc-debug-sections, but resolve all trivial relocations " "between debug sections in place. No other stripping is performed (operation " -"is not reversable, incompatible with -f, -g, --remove-comment and --remove-" +"is not reversible, incompatible with -f, -g, --remove-comment and --remove-" "section)" msgstr "" "Подібний до --reloc-debug-sections, або усі тривіальні переміщення між " diff --git a/po/zh_CN.po b/po/zh_CN.po index 0c6ec564e..7b937ef39 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -5165,7 +5165,7 @@ msgstr "" #: src/strings.c:74 msgid "" -"Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " +"Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, " "{B,L} = 32-bit" msgstr "" diff --git a/src/ChangeLog b/src/ChangeLog index 668b18b0f..0349f5c7d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2020-12-12 Dmitry V. Levin + + * readelf.c (print_debug_addr_section): Fix spelling typo in error + diagnostics. + * strip.c (options): Fix spelling typos in argp help text. + * strings.c (options): Likewise. + * stack.c (options): Likewise. + 2020-11-01 Érico N. Rolim * unstrip.c (make_directories): Use ACCESSPERMS for mkdir. diff --git a/src/readelf.c b/src/readelf.c index f6d13afaa..183e69724 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -5251,7 +5251,7 @@ print_debug_addr_section (Dwfl_Module *dwflmod __attribute__ ((unused)), { error (0, 0, "Warning: Couldn't calculate .debug_addr " - " unit lenght at %" PRIx64, off); + " unit length at %" PRIx64, off); next_unitp = readendp; } } diff --git a/src/stack.c b/src/stack.c index 2ec7c972f..534aa93c4 100644 --- a/src/stack.c +++ b/src/stack.c @@ -688,7 +688,7 @@ Program exits with return code 0 if all frames were shown without \ any errors. If some frames were shown, but there were some non-fatal \ errors, possibly causing an incomplete backtrace, the program exits \ with return code 1. If no frames could be shown, or a fatal error \ -occured the program exits with return code 2. If the program was \ +occurred the program exits with return code 2. If the program was \ invoked with bad or missing arguments it will exit with return code 64.") }; diff --git a/src/strings.c b/src/strings.c index ef40d5ec0..8e259211c 100644 --- a/src/strings.c +++ b/src/strings.c @@ -67,7 +67,7 @@ static const struct argp_option options[] = { "bytes", 'n', "MIN-LEN", 0, N_("Only NUL-terminated sequences of MIN-LEN characters or more are printed"), 0 }, { "encoding", 'e', "SELECTOR", 0, N_("\ -Select character size and endianess: s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit"), +Select character size and endianness: s = 7-bit, S = 8-bit, {b,l} = 16-bit, {B,L} = 32-bit"), 0}, { "print-file-name", 'f', NULL, 0, N_("Print name of the file before each string."), 0 }, diff --git a/src/strip.c b/src/strip.c index 48792a70c..9dbdf5d9a 100644 --- a/src/strip.c +++ b/src/strip.c @@ -82,9 +82,9 @@ static const struct argp_option options[] = { "preserve-dates", 'p', NULL, 0, N_("Copy modified/access timestamps to the output"), 0 }, { "reloc-debug-sections", OPT_RELOC_DEBUG, NULL, 0, - N_("Resolve all trivial relocations between debug sections if the removed sections are placed in a debug file (only relevant for ET_REL files, operation is not reversable, needs -f)"), 0 }, + N_("Resolve all trivial relocations between debug sections if the removed sections are placed in a debug file (only relevant for ET_REL files, operation is not reversible, needs -f)"), 0 }, { "reloc-debug-sections-only", OPT_RELOC_DEBUG_ONLY, NULL, 0, - N_("Similar to --reloc-debug-sections, but resolve all trivial relocations between debug sections in place. No other stripping is performed (operation is not reversable, incompatible with -f, -g, --remove-comment and --remove-section)"), 0 }, + N_("Similar to --reloc-debug-sections, but resolve all trivial relocations between debug sections in place. No other stripping is performed (operation is not reversible, incompatible with -f, -g, --remove-comment and --remove-section)"), 0 }, { "remove-comment", OPT_REMOVE_COMMENT, NULL, 0, N_("Remove .comment section"), 0 }, { "remove-section", 'R', "SECTION", 0, N_("Remove the named section. SECTION is an extended wildcard pattern. May be given more than once. Only non-allocated sections can be removed."), 0 },