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

Submitted by:  Philip Withnall <drbob>
Submitted on:  Thu 11 Jun 2015 06:16:08 PM UTC  
 
Category: AppDataSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Daiki Ueno <ueno>
Open/Closed: Closed

(Jump to the original submission 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 AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
Fri 21 Aug 2015 07:48:37 AM UTC, comment #7:

Merged as:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=55f8e0c9

Daiki Ueno <ueno>
Project AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
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

 

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
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by ueno (Posted a comment)
  • -unavailable- added by drbob (Submitted the item)
  • -unavailable- added by drbob
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:04:37 PM UTChaibleCategoryNone=>AppData
      Assigned toNone=>ueno
    Fri 13 May 2016 02:55:25 AM UTCuenoStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Fri 02 Oct 2015 08:29:39 AM UTCuenoStatusFixed=>In Progress
      Open/ClosedClosed=>Open
    Fri 21 Aug 2015 07:48:37 AM UTCuenoStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 11 Jun 2015 06:16:08 PM UTCdrbobAttached File-=>Added 0001-xgettext-Add-support-for-AppData-XML-files.patch, #34206
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1