summaryrefslogtreecommitdiff
path: root/data/images
diff options
context:
space:
mode:
Diffstat (limited to 'data/images')
-rw-r--r--data/images/cosmos/Makefile.am8
-rw-r--r--data/images/cosmos/cosmos.xml.in.in2
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>