[kbd] [PATCH] dumpkeys: avoid translating empty string

Rafael Fontenelle <[email protected]> Thu, 4 Jun 2020 10:12:33 -0300
Newsgroups dev.linux.lists.kbd
Message-ID <[email protected]>
Empty string marked for translation receives the header fields
of translation files, which is not the output desired in the case
---
 src/dumpkeys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dumpkeys.c b/src/dumpkeys.c
index 9395db9..abd32bd 100644
--- a/src/dumpkeys.c
+++ b/src/dumpkeys.c
@@ -110,7 +110,7 @@ int main(int argc, char *argv[])
 		{ "-n, --numeric",          _("display keytable in hexadecimal notation.") },
 		{ "-f, --full-table",       _("don't use short-hand notations, one row per keycode.") },
 		{ "-1, --separate-lines",   _("one line per (modifier,keycode) pair.") },
-		{ "-S, --shape={2|4|8|16}", _("") },
+		{ "-S, --shape={2|4|8|16}", "" },
 		{ "-t, --funcs-only",       _("display only the function key strings.") },
 		{ "-k, --keys-only",        _("display only key bindings.") },
 		{ "-d, --compose-only",     _("display only compose key combinations.") },
-- 
2.27.0