public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] src: fix spelling typos in argp help text and error diagnostics
@ 2020-12-12  1:27 Dmitry V. Levin
  2020-12-12 14:20 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2020-12-12  1:27 UTC (permalink / raw)
  To: elfutils-devel

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>
---
 po/ChangeLog  | 4 ++++
 po/de.po      | 8 ++++----
 po/es.po      | 8 ++++----
 po/fr.po      | 2 +-
 po/it.po      | 2 +-
 po/ja.po      | 8 ++++----
 po/nl.po      | 2 +-
 po/pl.po      | 8 ++++----
 po/ru.po      | 2 +-
 po/uk.po      | 8 ++++----
 po/zh_CN.po   | 2 +-
 src/ChangeLog | 8 ++++++++
 src/readelf.c | 2 +-
 src/stack.c   | 2 +-
 src/strings.c | 2 +-
 src/strip.c   | 4 ++--
 16 files changed, 42 insertions(+), 30 deletions(-)

diff --git a/po/ChangeLog b/po/ChangeLog
index af3fe34e..43c1d5d2 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -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.
diff --git a/po/de.po b/po/de.po
index 06692971..5c39ee92 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 36c9513a..63cb96ee 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 1a7a3f87..a281c6fa 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 61e8ae03..4c6db1a2 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 3c22d37a..6cc1988d 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 ff3e5d5f..82b89937 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 2cdc58ec..05ce2148 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 99505d64..cd419aad 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 1f183a01..616ca9c9 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 0c6ec564..7b937ef3 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 668b18b0..0349f5c7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/readelf.c b/src/readelf.c
index f6d13afa..183e6972 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 2ec7c972..534aa93c 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 ef40d5ec..8e259211 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 48792a70..9dbdf5d9 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 },
-- 
ldv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] src: fix spelling typos in argp help text and error diagnostics
  2020-12-12  1:27 [PATCH] src: fix spelling typos in argp help text and error diagnostics Dmitry V. Levin
@ 2020-12-12 14:20 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2020-12-12 14:20 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: elfutils-devel

On Sat, Dec 12, 2020 at 04:27:37AM +0300, Dmitry V. Levin wrote:
> 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

Thanks. Pushed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-12 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-12  1:27 [PATCH] src: fix spelling typos in argp help text and error diagnostics Dmitry V. Levin
2020-12-12 14:20 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).