summaryrefslogtreecommitdiff
path: root/its
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-08 18:20:53 +0800
committerraveit65 <[email protected]>2019-05-10 10:55:29 +0200
commitb343e7dd32af083bdb0e7e2bb0989ca267a8f5ff (patch)
tree642d4bf92f806d2d3f2da8bf40157342e52c06ac /its
parentaba0d15a199f18f1e700a5c36b95c5504efdce27 (diff)
downloadmate-backgrounds-b343e7dd32af083bdb0e7e2bb0989ca267a8f5ff.tar.bz2
mate-backgrounds-b343e7dd32af083bdb0e7e2bb0989ca267a8f5ff.tar.xz
Migrate from intltool to gettext
Diffstat (limited to 'its')
-rw-r--r--its/wallpaper.its12
-rw-r--r--its/wallpaper.loc10
2 files changed, 22 insertions, 0 deletions
diff --git a/its/wallpaper.its b/its/wallpaper.its
new file mode 100644
index 0000000..b08a8b2
--- /dev/null
+++ b/its/wallpaper.its
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!--
+See the gettext documentation for the file format:
+http://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html
+-->
+<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="/wallpapers" translate="no"/>
+
+ <its:translateRule selector="//name" translate="yes"/>
+</its:rules>
diff --git a/its/wallpaper.loc b/its/wallpaper.loc
new file mode 100644
index 0000000..506073b
--- /dev/null
+++ b/its/wallpaper.loc
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!--
+See the gettext documentation for the file format:
+http://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html
+-->
+<locatingRules>
+ <locatingRule name="wallpaper" pattern="*.xml">
+ <documentRule localName="wallpapers" target="wallpaper.its"/>
+ </locatingRule>
+</locatingRules>