bugGNU gettext - Bugs: bug #52159, msgfmt don't correctly build...

 
 

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

bug #52159: msgfmt don't correctly build description field in appdata.xml files

Submitter:  Asterix <asterix86>
Submitted:  Tue 03 Oct 2017 02:53:55 PM UTC
   
 
Category:  XML Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sun 01 Dec 2024 04:32:36 PM UTC, comment #3: 

The fix is contained in gettext 0.23.

Bruno Haible <haible>
Group administrator
Sun 06 Oct 2024 07:47:47 AM UTC, comment #2: 


> msgfmt doesn't implement the "merge" operation of itstool, but only the "join" operation


Indeed. But outside the GNOME context, the "join" operation of itstool is often more useful than tha "merge" operation. Therefore, I've implemented the equivalent in msgfmt, through https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=7d975b67084a329a68484d23e51819b1501f6d7f .

Bruno Haible <haible>
Group administrator
Wed 04 Oct 2017 05:21:33 AM UTC, comment #1: 

I would suggest to keep this under XML, because it is basically about that msgfmt doesn't implement the "merge" operation of itstool, but only the "join" operation:
http://itstool.org/documentation/basic-usage.html

Daiki Ueno <ueno>
Group administrator
Tue 03 Oct 2017 02:53:55 PM UTC, original submission:  

For an initial description field like that:

  <description>
    <p>paragraph1
    </p>
    <p>paragraph2
    </p>
  </description>

The result file generated by msgfmt is like that:

  <description>
    <p>paragraph1
    </p>
    <p xml:lang="fr">para1</p>
    <p>paragraph2
    </p>
    <p xml:lang="fr">para2</p>
  </description>

But as described here:
https://www.freedesktop.org/software/appstream/docs/chap-CollectionData.html#tag-ct-description
description should be translated "as a whole".

Asterix <asterix86>

 

(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 ueno (Posted a comment)
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by asterix86 (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.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-12-01 haible StatusFixed Fix Released
    2024-10-06 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed
    2017-10-04 haible CategoryAppData XML
    2017-10-03 haible CategoryXML AppData

    Back to the top

    Powered by Savane 3.14-cbb1.
    Corresponding source code