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/smartcard/Makefile.am | 9 +++++---- plugins/smartcard/smartcard.mate-settings-plugin.desktop.in | 8 ++++++++ plugins/smartcard/smartcard.mate-settings-plugin.in | 8 -------- 3 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 plugins/smartcard/smartcard.mate-settings-plugin.desktop.in delete mode 100644 plugins/smartcard/smartcard.mate-settings-plugin.in (limited to 'plugins/smartcard') diff --git a/plugins/smartcard/Makefile.am b/plugins/smartcard/Makefile.am index 4e01be4..e9daad7 100644 --- a/plugins/smartcard/Makefile.am +++ b/plugins/smartcard/Makefile.am @@ -30,12 +30,13 @@ libsmartcard_la_LIBADD = \ $(SETTINGS_PLUGIN_LIBS) \ $(NSS_LIBS) -@MSD_INTLTOOL_PLUGIN_RULE@ - plugin_in_files = \ - smartcard.mate-settings-plugin.in + smartcard.mate-settings-plugin.desktop.in + +plugin_DATA = $(plugin_in_files:.mate-settings-plugin.desktop.in=.mate-settings-plugin) -plugin_DATA = $(plugin_in_files:.mate-settings-plugin.in=.mate-settings-plugin) +$(plugin_DATA): $(plugin_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ EXTRA_DIST = \ $(plugin_in_files) diff --git a/plugins/smartcard/smartcard.mate-settings-plugin.desktop.in b/plugins/smartcard/smartcard.mate-settings-plugin.desktop.in new file mode 100644 index 0000000..a15a007 --- /dev/null +++ b/plugins/smartcard/smartcard.mate-settings-plugin.desktop.in @@ -0,0 +1,8 @@ +[MATE Settings Plugin] +Module=smartcard +IAge=0 +Name=Smartcard +Description=Smartcard plugin +Authors=Ray Strode +Copyright=Copyright © 2010 Red Hat, Inc. +Website= diff --git a/plugins/smartcard/smartcard.mate-settings-plugin.in b/plugins/smartcard/smartcard.mate-settings-plugin.in deleted file mode 100644 index dd75784..0000000 --- a/plugins/smartcard/smartcard.mate-settings-plugin.in +++ /dev/null @@ -1,8 +0,0 @@ -[MATE Settings Plugin] -Module=smartcard -IAge=0 -_Name=Smartcard -_Description=Smartcard plugin -Authors=Ray Strode -Copyright=Copyright © 2010 Red Hat, Inc. -Website= -- cgit v1.2.1