From 828be64b69942451e95b56a02dde1576af1bb856 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Thu, 29 Aug 2019 16:19:54 +0800 Subject: switch to use gettext --- plugins/dummy/Makefile.am | 7 ++++--- plugins/dummy/dummy.mate-settings-plugin.desktop.in | 8 ++++++++ plugins/dummy/dummy.mate-settings-plugin.in | 8 -------- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 plugins/dummy/dummy.mate-settings-plugin.desktop.in delete mode 100644 plugins/dummy/dummy.mate-settings-plugin.in (limited to 'plugins/dummy') diff --git a/plugins/dummy/Makefile.am b/plugins/dummy/Makefile.am index c578fd8..0aaaf74 100644 --- a/plugins/dummy/Makefile.am +++ b/plugins/dummy/Makefile.am @@ -23,9 +23,9 @@ libdummy_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) plugin_in_files = \ - dummy.mate-settings-plugin.in + dummy.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) @@ -36,7 +36,8 @@ CLEANFILES = \ DISTCLEANFILES = \ $(plugin_DATA) -@MSD_INTLTOOL_PLUGIN_RULE@ +$(plugin_DATA): $(plugin_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ # override to _not_ install the test plugin # do not copy into your plugin diff --git a/plugins/dummy/dummy.mate-settings-plugin.desktop.in b/plugins/dummy/dummy.mate-settings-plugin.desktop.in new file mode 100644 index 0000000..8740146 --- /dev/null +++ b/plugins/dummy/dummy.mate-settings-plugin.desktop.in @@ -0,0 +1,8 @@ +[MATE Settings Plugin] +Module=dummy +IAge=0 +Name=Dummy +Description=Dummy plugin +Authors=AUTHOR +Copyright=Copyright © 2007 AUTHOR +Website= diff --git a/plugins/dummy/dummy.mate-settings-plugin.in b/plugins/dummy/dummy.mate-settings-plugin.in deleted file mode 100644 index c9f8838..0000000 --- a/plugins/dummy/dummy.mate-settings-plugin.in +++ /dev/null @@ -1,8 +0,0 @@ -[MATE Settings Plugin] -Module=dummy -IAge=0 -_Name=Dummy -_Description=Dummy plugin -Authors=AUTHOR -Copyright=Copyright © 2007 AUTHOR -Website= -- cgit v1.2.1