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 /data/images | |
parent | 64b09837c0e3eea6e4f546fc3d2718e4c52bfdde (diff) | |
download | mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.bz2 mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'data/images')
-rw-r--r-- | data/images/cosmos/Makefile.am | 8 | ||||
-rw-r--r-- | data/images/cosmos/cosmos.xml.in.in | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/data/images/cosmos/Makefile.am b/data/images/cosmos/Makefile.am index 6cc80d8..b48162b 100644 --- a/data/images/cosmos/Makefile.am +++ b/data/images/cosmos/Makefile.am @@ -19,15 +19,17 @@ images_DATA = \ $(NULL) cosmos.xml.in: cosmos.xml.in.in Makefile - $(edit) $< >$@ + @$(edit) $< >$@ background-1.xml: background-1.xml.in Makefile - $(edit) $< >$@ + $(AM_V_GEN) $(edit) $< >$@ metadata_in_files = cosmos.xml.in metadatadir = $(datadir)/mate-background-properties metadata_DATA = $(metadata_in_files:.xml.in=.xml) -@INTLTOOL_XML_RULE@ + +$(metadata_DATA): $(metadata_in_files) + $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ edit = sed \ -e 's|@IMAGESDIR[@]|$(imagesdir)|g' diff --git a/data/images/cosmos/cosmos.xml.in.in b/data/images/cosmos/cosmos.xml.in.in index b9cf666..ffc75cb 100644 --- a/data/images/cosmos/cosmos.xml.in.in +++ b/data/images/cosmos/cosmos.xml.in.in @@ -4,7 +4,7 @@ <wallpaper deleted="false"> <!-- Translators: This is the name of a desktop background image that shows outer space images. You might want to translate it into the equivalent words of your language --> - <_name>Cosmos</_name> + <name>Cosmos</name> <filename>@IMAGESDIR@/background-1.xml</filename> <options>zoom</options> </wallpaper> |