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/xsettings/Makefile.am | 7 ++++--- plugins/xsettings/xsettings.mate-settings-plugin.desktop.in | 8 ++++++++ plugins/xsettings/xsettings.mate-settings-plugin.in | 8 -------- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 plugins/xsettings/xsettings.mate-settings-plugin.desktop.in delete mode 100644 plugins/xsettings/xsettings.mate-settings-plugin.in (limited to 'plugins/xsettings') 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.desktop.in b/plugins/xsettings/xsettings.mate-settings-plugin.desktop.in new file mode 100644 index 0000000..bfc1997 --- /dev/null +++ b/plugins/xsettings/xsettings.mate-settings-plugin.desktop.in @@ -0,0 +1,8 @@ +[MATE Settings Plugin] +Module=xsettings +IAge=0 +Name=X Settings +Description=Manage X Settings +Authors=William Jon McCann +Copyright=Copyright © 2007 William Jon McCann +Website= diff --git a/plugins/xsettings/xsettings.mate-settings-plugin.in b/plugins/xsettings/xsettings.mate-settings-plugin.in deleted file mode 100644 index 6747dc1..0000000 --- a/plugins/xsettings/xsettings.mate-settings-plugin.in +++ /dev/null @@ -1,8 +0,0 @@ -[MATE Settings Plugin] -Module=xsettings -IAge=0 -_Name=X Settings -_Description=Manage X Settings -Authors=William Jon McCann -Copyright=Copyright © 2007 William Jon McCann -Website= -- cgit v1.2.1