[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #51177] msgfmt: Adding custom Desktop keywords skips
From: |
Felix Riemann |
Subject: |
[bug-gettext] [bug #51177] msgfmt: Adding custom Desktop keywords skips default keywords |
Date: |
Sun, 4 Jun 2017 08:51:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
URL:
<http://savannah.gnu.org/bugs/?51177>
Summary: msgfmt: Adding custom Desktop keywords skips default
keywords
Project: GNU gettext
Submitted by: friemann
Submitted on: Sun 04 Jun 2017 12:51:20 PM UTC
Category: Desktop
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I am trying to translate a Desktop-like file. The format of the file is
identical to a standard Desktop file it just uses additional keywords.
Extracting the untranslated strings from the non-standard keywords works fine
with xgettext by adding an additional keyword param, like
'--keyword=Description'.
However, when I try to to the same with msgfmt (msgfmt --desktop
--keyword=Description ...) only the Description keyword will be translated
while standard keywords like Name are not. Removing the keyword parameter will
translate the standard keywords but (obviously) not the new ones.
This contradicts how xgettext works. Also the manual indicates that it should
work the same:
https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html#Desktop-Entry-mode-operations
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51177>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gettext] [bug #51177] msgfmt: Adding custom Desktop keywords skips default keywords,
Felix Riemann <=