#437 Please create an AppData file for MediaInfo

More_attribute
open
nobody
None
5
2014-05-27
2014-05-27
Richard Hughes
No

Please consider writing and installing an AppData file with the application description and some screenshots, else MediaInfo looks really bad in the GNOME and KDE Software Centers. We'd love to showcase more applications, but without the extra data file we can't. See http://people.freedesktop.org/~hughsient/appdata/ for details; thanks!

Richard

Discussion

  • Not something long to add.

    Question:
    I don't use intltool.
    What should be the form of localized xml?

    In the .desktop file, I use to have:
    Comment=Supplies technical and tag information about a video or audio file
    Comment[fr]=fournit des informations techniques et les tags à propos de vos fichiers video et audio

    I see I should do:

     <description>
      <p>
       Supplies technical and tag information about a video or audio file
      </p>
     </description>
    

    How do I add the french translation?

     
  • Richard Hughes
    Richard Hughes
    2014-05-27

    You can add it like this:

    <p xml:lang="nb">foo bar baz</p>
    

    Thanks!

     
  • Sorry, I need an example in order to be sure I create something correct and no need to change it later. The complete description has ul/li HTML tags, is OK if I provide this description?

    1)

     <description>
      <p xml:lang="en">
       line1 in English
      </p>
      <p xml:lang="fr">
       line1 in French.
      </p>
      <ul>
       <li xml:lang="en">li in English</li>
       <li xml:lang="fr">li in French</li>
      </ul>
     </description>
    

    or must I do more something like:

    2)

     <description>
      <div xml:lang="en">
       <p>
        line1 in English
       </p>
       <ul>
        <li>li in English</li>
       </ul>
      </div>
      <div xml:lang="fr">
       <p>
        line1 in French.
       </p>
       <ul>
        <li>li in French</li>
       </ul>
      </div>
     </description>
    

    (both are valid XML/HTML, but support depends of the tool parsing the XML, so I prefer to ask first, I don't see a way to preview the result).

     
  • Richard Hughes
    Richard Hughes
    2014-05-27

    1) looks perfect -- the parser does not understand div anyway. Thanks!