Commit 082a67dc authored by Ville Skyttä's avatar Ville Skyttä
Browse files

Use text/vnd.trolltech.linguist for Qt Linguist files, add magic and test case.

parent cc899965
......@@ -2097,10 +2097,14 @@ command to generate the output files.
<generic-icon name="package-x-generic"/>
<glob pattern="*.lhz"/>
</mime-type>
<mime-type type="application/x-linguist">
<mime-type type="text/vnd.trolltech.linguist">
<_comment>message catalog</_comment>
<sub-class-of type="application/xml"/>
<magic>
<match type="string" value="&lt;TS" offset="0:256"/>
</magic>
<glob pattern="*.ts"/>
<alias type="application/x-linguist"/>
</mime-type>
<mime-type type="application/x-lyx">
<_comment>LyX document</_comment>
......
<!DOCTYPE TS><TS>
<context>
<name>QPushButton</name>
<message>
<source>Hello world!</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
......@@ -206,6 +206,8 @@ ISOcyr1.ent application/xml-external-parsed-entity ox
# Copied from http://www.metalinker.org/samples/abiword-setup-2.4.6.exe.metalink
test.metalink application/metalink+xml
test.mml application/mathml+xml ox
# Copied from http://doc.trolltech.com/4.4/linguist-hellotr.html
linguist.ts text/vnd.trolltech.linguist
# Archives
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=14909
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment