src: fix spelling typos in argp help text and error diagnostics
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 12 Dec 2020 01:27:37 +0000 (04:27 +0300)
committerMark Wielaard <mark@klomp.org>
Sat, 12 Dec 2020 13:59:17 +0000 (14:59 +0100)
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 <ldv@altlinux.org>
16 files changed:
po/ChangeLog
po/de.po
po/es.po
po/fr.po
po/it.po
po/ja.po
po/nl.po
po/pl.po
po/ru.po
po/uk.po
po/zh_CN.po
src/ChangeLog
src/readelf.c
src/stack.c
src/strings.c
src/strip.c

index af3fe34..43c1d5d 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * *.po (msgid): Fix spelling typos.
+
 2020-10-31  Mark Wielaard  <mark@klomp.org>
 
        * *.po: Update for 0.182.
index 0669297..5c39ee9 100644 (file)
--- 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 ""
 
index 36c9513..63cb96e 100644 (file)
--- 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 ""
 
index 1a7a3f8..a281c6f 100644 (file)
--- 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 ""
 
index 61e8ae0..4c6db1a 100644 (file)
--- 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 ""
 
index 3c22d37..6cc1988 100644 (file)
--- 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 ""
 
index ff3e5d5..82b8993 100644 (file)
--- 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 ""
 
index 2cdc58e..05ce214 100644 (file)
--- 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 ""
 
index 99505d6..cd419aa 100644 (file)
--- 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 ""
 
index 1f183a0..616ca9c 100644 (file)
--- 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, або усі тривіальні переміщення між "
index 0c6ec56..7b937ef 100644 (file)
@@ -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 ""
 
index 668b18b..0349f5c 100644 (file)
@@ -1,3 +1,11 @@
+2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * 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  <erico.erc@gmail.com>
 
        * unstrip.c (make_directories): Use ACCESSPERMS for mkdir.
index f6d13af..183e697 100644 (file)
@@ -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;
                    }
                }
index 2ec7c97..534aa93 100644 (file)
@@ -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.")
     };
 
index ef40d5e..8e25921 100644 (file)
@@ -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 },
index 48792a7..9dbdf5d 100644 (file)
@@ -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 },