summaryrefslogtreecommitdiff
path: root/its
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-15 14:11:46 +0800
committerVictor Kareh <[email protected]>2019-10-29 09:18:58 -0400
commitbce4817d3c2ddc150582db8451f3d92a5a2df5da (patch)
tree32e184c11e7b49ba3aaff5b3c851cb1837bb7bb8 /its
parent64b09837c0e3eea6e4f546fc3d2718e4c52bfdde (diff)
downloadmate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.bz2
mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.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>