bugGNU gettext - Bugs: bug #51177, msgfmt: Adding custom Desktop...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #51177: msgfmt: Adding custom Desktop keywords skips default keywords

Submitter:  Felix Riemann <friemann>
Submitted:  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

Sun 04 Jun 2017 12:51:20 PM UTC, original submission:  

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

Felix Riemann <friemann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by piotrdrag
  • -email is unavailable- added by friemann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-19 piotrdrag Carbon-Copy- Added piotrdrag

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code