summaryrefslogtreecommitdiff
path: root/plugins/xsettings
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/xsettings
parentd2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff)
downloadmate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2
mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz
switch to use gettext
Diffstat (limited to 'plugins/xsettings')
-rw-r--r--plugins/xsettings/Makefile.am7
-rw-r--r--plugins/xsettings/xsettings.mate-settings-plugin.desktop.in (renamed from plugins/xsettings/xsettings.mate-settings-plugin.in)4
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/xsettings/Makefile.am b/plugins/xsettings/Makefile.am
index c4b821f..6f8e00d 100644
--- a/plugins/xsettings/Makefile.am
+++ b/plugins/xsettings/Makefile.am
@@ -39,10 +39,10 @@ libxsettings_la_LIBADD = \
$(NULL)
plugin_in_files = \
- xsettings.mate-settings-plugin.in \
+ xsettings.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) \
@@ -56,4 +56,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/xsettings/xsettings.mate-settings-plugin.in b/plugins/xsettings/xsettings.mate-settings-plugin.desktop.in
index 6747dc1..bfc1997 100644
--- a/plugins/xsettings/xsettings.mate-settings-plugin.in
+++ b/plugins/xsettings/xsettings.mate-settings-plugin.desktop.in
@@ -1,8 +1,8 @@
[MATE Settings Plugin]
Module=xsettings
IAge=0
-_Name=X Settings
-_Description=Manage X Settings
+Name=X Settings
+Description=Manage X Settings
Authors=William Jon McCann
Copyright=Copyright © 2007 William Jon McCann
Website=