From 93881642e533133ef9f455612611002531e4475e Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Sat, 9 Nov 2019 15:33:24 +0800 Subject: migrate from intltool to gettext --- plugins/trailsave/Makefile.am | 6 +++--- plugins/trailsave/trailsave.plugin.desktop.in | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/trailsave') diff --git a/plugins/trailsave/Makefile.am b/plugins/trailsave/Makefile.am index d9ef3225..45e80ab3 100644 --- a/plugins/trailsave/Makefile.am +++ b/plugins/trailsave/Makefile.am @@ -16,11 +16,11 @@ libtrailsave_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libtrailsave_la_LIBADD = $(PLUMA_LIBS) plugin_in_files = trailsave.plugin.desktop.in - -%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache - plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) +$(plugin_DATA): $(plugin_in_files) + $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@ + EXTRA_DIST = $(plugin_in_files) CLEANFILES = $(plugin_DATA) diff --git a/plugins/trailsave/trailsave.plugin.desktop.in b/plugins/trailsave/trailsave.plugin.desktop.in index f623ebcb..011de4d4 100644 --- a/plugins/trailsave/trailsave.plugin.desktop.in +++ b/plugins/trailsave/trailsave.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=trailsave IAge=2 -_Name=Save Without Trailing Spaces -_Description=Removes trailing spaces from lines before saving. +Name=Save Without Trailing Spaces +Description=Removes trailing spaces from lines before saving. Icon=edit-cut Authors=Marty Mills Copyright=Copyright © 2015 Marty Mills -- cgit v1.2.1