From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LIu3RcTwQh5+rsXCJY7ALMk7+QNiAdhw8u96aMF+gV0=; b=c0e3D8eDRg5QKKwHkATfGJTDhkt7M/JPXdCaOYkmwmZed1IWjg5MxA9hwiNYVoKvfI 6D/B8mIhKbwPX5P6qOjoFbUqlOMCW02GxWpB+kn8vpTSEGYmz4umQKiqRl0MVAfPMRmw 36W4QJNHsXgP8utsLAlVZJ9ga7GXa9f21kza+Z4O2M/NnccAotxMXppFH+JXjlRiho0n WtIt45BPW+SjTVLlNVJYuLA0KimSrlSBuAHDv5ALjbX77hLdfUeW7JAHP3kXEu6ncSor QS+MXFpmAp8eYf3LunJEd1M16ckAytZCTgHtaXQjtz1leL9Abrtu44NEMlptGqVkEQLB XbZw== X-Gm-Message-State: AOAM530StpkSz8AGGfg8t2lLMp0QneB/ZuLIqK1uCUQsIVlQtyrSOjc0 MuCiqatZIh9cfzquWWhYtKn6GF7Q52O149W7 X-Google-Smtp-Source: ABdhPJws9Yq6IA1VIe82j+HKjOw/NSO7DCGnrdUuCC00XMwBMj/Eiivb9Z5Ht23lxWGGKgkU8cDDlQ== X-Received: by 2002:a37:8505:: with SMTP id h5mr4520575qkd.354.1591276361762; Thu, 04 Jun 2020 06:12:41 -0700 (PDT) From: Rafael Fontenelle To: kbd@lists.altlinux.org Date: Thu, 4 Jun 2020 10:12:33 -0300 Message-Id: <20200604131233.386721-1-rafaelff@gnome.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [kbd] [PATCH] dumpkeys: avoid translating empty string X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 13:12:44 -0000 Archived-At: List-Archive: 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