]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
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 af3fe34e74f7a513b7263e9d8f3af0d91a12e945..43c1d5d25de8c58842f4cd9927fab137a6c1cecc 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 066929715af0f950bd9f0d8a2e675cbef7862587..5c39ee92a1d72914450d55195cfdb3d7cb509d4a 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 36c9513adc58531d04de67595c71062d0236f580..63cb96ee613d25759bcc6de989563cbfbed79c6b 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 1a7a3f879b9e9a658e8fb2cba58d3626d50038bd..a281c6fa1228d4965604475b6b0b796691cac19d 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 61e8ae03b41b4fd1f788c236b7ae5c6e1baaca9c..4c6db1a202a35775af1604f991f96e913fa2d9d6 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 3c22d37a394874c60f4c91c499dac919d6837cf8..6cc1988d5ce148693d5d3848d073a75707709bb6 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 ff3e5d5fce7dc52a1d1583e99dde0c73ce930297..82b89937b7f82fdbd5f89db6d60226a14d6a43e9 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 2cdc58ec209f5cdf474308cbc26d5cb118f099cb..05ce2148d9ceb771f9079fde8b6754d62a78f9e5 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 99505d64a50a4959cf35e9a3e32f828dfffe1d6c..cd419aadee4b267172e41eea0f54f418cdd74495 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 1f183a018f727d2ae798b99f563085ed639f7f27..616ca9c971566a25f101e901e34be89e79d2c1ea 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 0c6ec564ef69b0c5f4e201a7dd9aba2d6de491fa..7b937ef39e98829037c07d92a163ac1ac6ae701c 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 668b18b0f350594494f5408717281e6adf17d9c9..0349f5c7d99852adb3e800421ead5d6e44c88e0f 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 f6d13afaababd033981abd94667f1c7087ee75e8..183e69724e6f119193347b73ea74fd3a7753c430 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 2ec7c972f7dd92dbea87a78f28d7541d70aa6abd..534aa93c433551896b67b65845ab4891fd175066 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 ef40d5ec03cefdcbbfa6ea14810848c86556a0ea..8e259211cc6bc67904acb982abce5451a8bcf2bb 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 48792a70c80c8b085202aa3bd56e7f20c6fc33ae..9dbdf5d9a7510741cec868258b5806e0bf4b35f8 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 },