summaryrefslogtreecommitdiff
path: root/plugins/housekeeping
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/housekeeping
parentd2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff)
downloadmate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2
mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz
switch to use gettext
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r--plugins/housekeeping/Makefile.am7
-rw-r--r--plugins/housekeeping/housekeeping.mate-settings-plugin.desktop.in (renamed from plugins/housekeeping/housekeeping.mate-settings-plugin.in)4
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/housekeeping/Makefile.am b/plugins/housekeeping/Makefile.am
index 9c37d01..fa422cf 100644
--- a/plugins/housekeeping/Makefile.am
+++ b/plugins/housekeeping/Makefile.am
@@ -27,9 +27,9 @@ libhousekeeping_la_LDFLAGS = $(MSD_PLUGIN_LDFLAGS)
libhousekeeping_la_LIBADD = $(SETTINGS_PLUGIN_LIBS) $(GIOUNIX_LIBS) $(LIBNOTIFY_LIBS)
-plugin_in_files = housekeeping.mate-settings-plugin.in
+plugin_in_files = housekeeping.mate-settings-plugin.desktop.in
-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)
@@ -37,4 +37,5 @@ CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)
-@MSD_INTLTOOL_PLUGIN_RULE@
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
diff --git a/plugins/housekeeping/housekeeping.mate-settings-plugin.in b/plugins/housekeeping/housekeeping.mate-settings-plugin.desktop.in
index d10c36c..01509ca 100644
--- a/plugins/housekeeping/housekeeping.mate-settings-plugin.in
+++ b/plugins/housekeeping/housekeeping.mate-settings-plugin.desktop.in
@@ -1,8 +1,8 @@
[MATE Settings Plugin]
Module=housekeeping
IAge=0
-_Name=Housekeeping
-_Description=Automatically prunes thumbnail caches and other transient files, and warns about low disk space
+Name=Housekeeping
+Description=Automatically prunes thumbnail caches and other transient files, and warns about low disk space
Authors=Michael J. Chudobiak
Copyright=Copyright © 2008 Michael J. Chudobiak
Website=