]> saetta.ns0.it Git - libgdaex/commitdiff
Added specification files for gettext. db_to_gettext
authorAndrea Zagli <andrea.zagli@email.it>
Sun, 24 Jan 2016 10:46:44 +0000 (11:46 +0100)
committerAndrea Zagli <andrea.zagli@email.it>
Sun, 24 Jan 2016 10:46:44 +0000 (11:46 +0100)
data/gdaex2gettext/gdaex2gettext.its [new file with mode: 0644]
data/gdaex2gettext/gdaex2gettext.loc [new file with mode: 0644]

diff --git a/data/gdaex2gettext/gdaex2gettext.its b/data/gdaex2gettext/gdaex2gettext.its
new file mode 100644 (file)
index 0000000..6f1af9e
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+       <its:translateRule selector="/gda_array" translate="no"/>
+       <its:translateRule selector="//gda_array_field" translate="no"/>
+       <its:translateRule selector="//gda_array_data" translate="no"/>
+       <its:translateRule selector="//gda_array_row" translate="no"/>
+       <its:translateRule selector="//gda_value" translate="yes"/>
+</its:rules>
diff --git a/data/gdaex2gettext/gdaex2gettext.loc b/data/gdaex2gettext/gdaex2gettext.loc
new file mode 100644 (file)
index 0000000..35fb996
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<locatingRules>
+       <locatingRule name="GdaEx2Gettext" pattern="*.xml">
+               <documentRule localName="gdaex2gettext" target="gdaex2gettext.its"/>
+       </locatingRule>
+       <locatingRule name="GdaEx2Gettext" pattern="*.gdaexxml" target="gdaex2gettext.its"/>
+</locatingRules>