diff options
author | Wu Xiaotian <[email protected]> | 2019-10-15 14:11:46 +0800 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-10-29 09:18:58 -0400 |
commit | bce4817d3c2ddc150582db8451f3d92a5a2df5da (patch) | |
tree | 32e184c11e7b49ba3aaff5b3c851cb1837bb7bb8 /its | |
parent | 64b09837c0e3eea6e4f546fc3d2718e4c52bfdde (diff) | |
download | mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.bz2 mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'its')
-rw-r--r-- | its/wallpaper.its | 12 | ||||
-rw-r--r-- | its/wallpaper.loc | 10 |
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> |