Linux console tools development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: Linux console tools development discussion <kbd@lists.altlinux.org>
Subject: Re: [kbd] [PATCH] dumpkeys: avoid translating empty string
Date: Mon, 8 Jun 2020 12:49:27 +0200
Message-ID: <20200608104927.scpcjnoxa65dlnt3@comp-core-i7-2640m-0182e6> (raw)
In-Reply-To: <20200604131233.386721-1-rafaelff@gnome.org>

On Thu, Jun 04, 2020 at 10:12:33AM -0300, Rafael Fontenelle wrote:
> 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

Applied, thanks!

-- 
Rgrds, legion



      reply	other threads:[~2020-06-08 10:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-04 13:12 Rafael Fontenelle
2020-06-08 10:49 ` Alexey Gladkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200608104927.scpcjnoxa65dlnt3@comp-core-i7-2640m-0182e6 \
    --to=gladkov.alexey@gmail.com \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git