summaryrefslogtreecommitdiff
path: root/its
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-28 09:57:28 +0800
committerraveit65 <[email protected]>2019-11-03 18:39:41 +0100
commit0ccbb561412f76b1f7551e26dcc0a3f9c4a283a9 (patch)
tree06b9b78d787a65ac3c743b4dae48c06943e29901 /its
parent29c2c0a875ead3b90d11bd18f1895d69ff77600c (diff)
downloadlibmateweather-0ccbb561412f76b1f7551e26dcc0a3f9c4a283a9.tar.bz2
libmateweather-0ccbb561412f76b1f7551e26dcc0a3f9c4a283a9.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'its')
-rw-r--r--its/locations.its7
-rw-r--r--its/locations.loc6
2 files changed, 13 insertions, 0 deletions
diff --git a/its/locations.its b/its/locations.its
new file mode 100644
index 0000000..6e0b6c4
--- /dev/null
+++ b/its/locations.its
@@ -0,0 +1,7 @@
+<?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"
+ version="2.0">
+<its:translateRule selector="//mateweather" translate="no"/>
+ <its:translateRule selector="//mateweather//region//name" translate="yes"/>
+</its:rules>
diff --git a/its/locations.loc b/its/locations.loc
new file mode 100644
index 0000000..7245919
--- /dev/null
+++ b/its/locations.loc
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<locatingRules>
+ <locatingRule name="MateWeather" pattern="*.xml">
+ <documentRule localName="mateweather" target="locations.its"/>
+ </locatingRule>
+</locatingRules>