summaryrefslogtreecommitdiff
path: root/plugins/rfkill
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/rfkill
parentd2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff)
downloadmate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2
mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz
switch to use gettext
Diffstat (limited to 'plugins/rfkill')
-rw-r--r--plugins/rfkill/Makefile.am9
-rw-r--r--plugins/rfkill/rfkill.mate-settings-plugin.desktop.in (renamed from plugins/rfkill/rfkill.mate-settings-plugin.in)4
2 files changed, 7 insertions, 6 deletions
diff --git a/plugins/rfkill/Makefile.am b/plugins/rfkill/Makefile.am
index e1b8f11..f78606a 100644
--- a/plugins/rfkill/Makefile.am
+++ b/plugins/rfkill/Makefile.am
@@ -29,9 +29,12 @@ librfkill_la_LIBADD = \
$(RFKILL_LIBS) \
$(SETTINGS_PLUGIN_LIBS)
-plugin_in_files = rfkill.mate-settings-plugin.in
+plugin_in_files = rfkill.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)
+
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
udevrulesdir = $(prefix)/lib/udev/rules.d
udevrules_DATA = 61-mate-settings-daemon-rfkill.rules
@@ -39,5 +42,3 @@ udevrules_DATA = 61-mate-settings-daemon-rfkill.rules
EXTRA_DIST = $(plugin_in_files) $(udevrules_DATA)
CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)
-
-@MSD_INTLTOOL_PLUGIN_RULE@
diff --git a/plugins/rfkill/rfkill.mate-settings-plugin.in b/plugins/rfkill/rfkill.mate-settings-plugin.desktop.in
index 579b106..1d37c3c 100644
--- a/plugins/rfkill/rfkill.mate-settings-plugin.in
+++ b/plugins/rfkill/rfkill.mate-settings-plugin.desktop.in
@@ -3,8 +3,8 @@ Module=rfkill
IAge=0
# Default Priority
# Priority=100
-_Name=Rfkill
-_Description=Rfkill plugin
+Name=Rfkill
+Description=Rfkill plugin
Authors=Bastien Nocera
Copyright=Copyright © 2013
Website=