Replace intltool with gettext tools
The build now requires gettext v0.19.7 or above. Removed obsolete files: * gramps.applications * gramps.keys * gramps.mime Created ITS rules for holidays.xml and tips.xml files. Included ITS files for shared-mime-info from a gettext v0.20.2 installation.
This commit is contained in:
6
po/its/holidays.its
Normal file
6
po/its/holidays.its
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||
<its:translateRule selector="//country/@name" translate="yes"/>
|
||||
<its:translateRule selector="//country[@name='Jewish Holidays']/date/@name"
|
||||
translate="yes"/>
|
||||
</its:rules>
|
4
po/its/holidays.loc
Normal file
4
po/its/holidays.loc
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<locatingRules>
|
||||
<locatingRule name="Holidays" pattern="holidays.xml" target="holidays.its"/>
|
||||
</locatingRules>
|
9
po/its/shared-mime-info.its
Normal file
9
po/its/shared-mime-info.its
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
|
||||
xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
|
||||
xmlns:mi="http://www.freedesktop.org/standards/shared-mime-info"
|
||||
version="2.0">
|
||||
<its:translateRule translate="yes" selector="//mi:comment"/>
|
||||
<its:translateRule translate="no" selector="//mi:expanded-acronym"/>
|
||||
<its:translateRule translate="no" selector="//mi:acronym"/>
|
||||
</its:rules>
|
6
po/its/shared-mime-info.loc
Normal file
6
po/its/shared-mime-info.loc
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<locatingRules>
|
||||
<locatingRule name="shared-mime-info" pattern="*.xml">
|
||||
<documentRule localName="mime-info" target="shared-mime-info.its"/>
|
||||
</locatingRule>
|
||||
</locatingRules>
|
5
po/its/tips.its
Normal file
5
po/its/tips.its
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
|
||||
<its:withinTextRule selector="//tip/*" withinText="yes"/>
|
||||
<its:translateRule selector="//tip" translate="yes"/>
|
||||
</its:rules>
|
4
po/its/tips.loc
Normal file
4
po/its/tips.loc
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<locatingRules>
|
||||
<locatingRule name="Tips" pattern="tips.xml" target="tips.its"/>
|
||||
</locatingRules>
|
Reference in New Issue
Block a user