bugGNU gettext - Bugs: bug #45305, Add support for AppData...

 
 

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

bug #45305: Add support for AppData specifications

Submitter:  Philip Withnall <drbob>
Submitted:  Thu 11 Jun 2015 06:16:08 PM UTC
 
Category:  AppData Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  ueno
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

( Jump to the original submission )

Fri 13 May 2016 02:55:25 AM UTC, comment #10: 

Closing this, as the fix shipped in 0.19.7.

Daiki Ueno <ueno>
Project Administrator
Wed 07 Oct 2015 05:37:15 AM UTC, comment #9: 

In wip/ueno/its2 branch, I implemented the merge functionality in msgfmt as --xml option, which can be used just like msgfmt --desktop:
https://git.gnome.org/browse/gnome-characters/tree/data/Makefile.am?h=wip/dueno/gettext#n28

Daiki Ueno <ueno>
Project Administrator
Fri 02 Oct 2015 08:29:39 AM UTC, comment #8: 

> ...and particularly have not had a chance to check that message merging after extraction and translation works correctly


I just realized that it is not very useful without a command to merge translations back to .appdata.xml, like .desktop.

We could add a new command, say msgexpand, implemented on top of the recent ITS work.  Maybe *.desktop handling should also be moved there.

Daiki Ueno <ueno>
Project Administrator
Fri 21 Aug 2015 07:48:37 AM UTC, comment #7: 
Daiki Ueno <ueno>
Project Administrator
Wed 29 Jul 2015 11:11:05 AM UTC, comment #6: 

> Do you want me to adjust and merge it, or are you willing to do that by yourself?


I won’t have time to do that for the next three weeks, so if you find time for it, please do so. Sorry.

Philip Withnall <drbob>
Project Member
Fri 24 Jul 2015 06:49:59 AM UTC, comment #5: 

Yes, sorry for the delay.  The patch looks fine except minor issues (extract_context seems to be unused, and please wrap lines before operators).  Do you want me to adjust and merge it, or are you willing to do that by yourself?  I have just added you to the group.

Daiki Ueno <ueno>
Project Administrator
Tue 21 Jul 2015 03:34:31 PM UTC, comment #4: 

The FSF copyright assignment paperwork has now been sorted, so I think we can go ahead with this patch?

Philip Withnall <drbob>
Project Member
Wed 24 Jun 2015 02:13:43 PM UTC, comment #3: 

(Stalled on sorting out the FSF copyright assignment paperwork and getting the relevant paperwork from my employer, Collabora, on whose time this was done.)

Philip Withnall <drbob>
Project Member
Fri 12 Jun 2015 07:35:48 AM UTC, comment #2: 

I am OK with copyright assignment to the FSF. The copyright headers in the new x-appdata.[ch] files already attribute it to the FSF.

Philip Withnall <drbob>
Project Member
Fri 12 Jun 2015 04:32:22 AM UTC, comment #1: 

Thanks for the patch.  It looks good to me, while I would like to merge itstool features to xgettext in the long run, so external tools (appstream here) could provide and maintain extraction rules by themselves.

By the way, as gettext is an FSF-copyrighted package, we would need a copyright assignment to apply the patch.  Is this still something you are interested in pursuing?  If so, let me know off-list.

Daiki Ueno <ueno>
Project Administrator
Thu 11 Jun 2015 06:16:08 PM UTC, original submission:  

Patch coming which adds support for the AppData specification to xgettext.

http://people.freedesktop.org/~hughsient/appdata/

Note that this should still be considered a bit of a work in progress, as I haven’t been able to test it extensively, and particularly have not had a chance to check that message merging after extraction and translation works correctly.

git branch here: https://git.collabora.com/cgit/user/pwith/gettext.git/log/?h=wip/pwithnall/appdata

Philip Withnall <drbob>
Project Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34206:  0001-xgettext-Add-support-for-AppData-XML-files.patch added by drbob (23KiB - text/x-patch - xgettext: Add support for AppData XML files)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by drbob (Submitted the item)
  • -email is unavailable- added by drbob
  •  

    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.

    Only logged-in users can vote.

     

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-27 haible CategoryNone AppData
        Assigned toNone ueno
    2016-05-13 ueno StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2015-10-02 ueno StatusFixed In Progress
        Open/ClosedClosed Open
    2015-08-21 ueno StatusNone Fixed
        Open/ClosedOpen Closed
    2015-06-11 drbob Attached File- Added 0001-xgettext-Add-support-for-AppData-XML-files.patch, #34206
        Carbon-Copy- Added -email is unavailable-

    Back to the top


    Powered by Savane 3.9