summaryrefslogtreecommitdiff
path: root/plugins/background
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-08-29 16:19:54 +0800
committerRobert Antoni Buj Gelonch <[email protected]>2019-08-30 21:14:26 +0200
commit828be64b69942451e95b56a02dde1576af1bb856 (patch)
treed56c468286291666b5b687560d3eb4f5a51a5d30 /plugins/background
parentd2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff)
downloadmate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2
mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz
switch to use gettext
Diffstat (limited to 'plugins/background')
-rw-r--r--plugins/background/Makefile.am7
-rw-r--r--plugins/background/background.mate-settings-plugin.desktop.in (renamed from plugins/background/background.mate-settings-plugin.in)4
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/background/Makefile.am b/plugins/background/Makefile.am
index 01f0fc5..e25f26b 100644
--- a/plugins/background/Makefile.am
+++ b/plugins/background/Makefile.am
@@ -59,10 +59,10 @@ libbackground_la_LIBADD = \
$(NULL)
plugin_in_files = \
- background.mate-settings-plugin.in \
+ background.mate-settings-plugin.desktop.in \
$(NULL)
-plugin_DATA = $(plugin_in_files:.mate-settings-plugin.in=.mate-settings-plugin)
+plugin_DATA = $(plugin_in_files:.mate-settings-plugin.desktop.in=.mate-settings-plugin)
EXTRA_DIST = \
$(plugin_in_files) \
@@ -76,4 +76,5 @@ DISTCLEANFILES = \
$(plugin_DATA) \
$(NULL)
-@MSD_INTLTOOL_PLUGIN_RULE@
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
diff --git a/plugins/background/background.mate-settings-plugin.in b/plugins/background/background.mate-settings-plugin.desktop.in
index 73d27b4..3c7a6a2 100644
--- a/plugins/background/background.mate-settings-plugin.in
+++ b/plugins/background/background.mate-settings-plugin.desktop.in
@@ -1,8 +1,8 @@
[MATE Settings Plugin]
Module=background
IAge=0
-_Name=Background
-_Description=Background plugin
+Name=Background
+Description=Background plugin
Authors=
Copyright=Copyright © 2007
Website=