[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63455] msgfmt -k/--keyword issues in --desktop mode
From: |
Daniel |
Subject: |
[bug #63455] msgfmt -k/--keyword issues in --desktop mode |
Date: |
Thu, 1 Dec 2022 09:27:06 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63455>
Summary: msgfmt -k/--keyword issues in --desktop mode
Project: GNU gettext
Submitter: pdaniel
Submitted: Thu 01 Dec 2022 02:27:04 PM UTC
Category: Programmer tools
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 01 Dec 2022 02:27:04 PM UTC By: Daniel <pdaniel>
I'm using gettext 0.21. msgfmt works correctly in --desktop mode, e.g.:
msgfmt --desktop --template=(input .desktop file) -d (path to po directory
with LINGUAS) -o (output .desktop file)
Now I want to add -k/--keyword to match my xgettext invocation, where I added
"-k -kComment" to disable the default keywords (Name, GenericName, Comment,
Keywords) and only enable extraction of "Comment".
But there are several issues:
* Adding -k (with or without an argument) gives "unknown option -- k".
* --keyword without an argument doesn't work. For example, if I put it between
--desktop and --template, the error is "--desktop requires a "--template
template" specification" (it seems like it treads --template=... as an
argument).
--keyword with an argument works correctly (including --keyword="" that seems
to have the effect of --keyword without an argument).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63455>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63455] msgfmt -k/--keyword issues in --desktop mode,
Daniel <=