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/sort/Makefile.am | 6 +++--- plugins/sort/sort.plugin.desktop.in | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/sort') diff --git a/plugins/sort/Makefile.am b/plugins/sort/Makefile.am index a442c645..2f211352 100644 --- a/plugins/sort/Makefile.am +++ b/plugins/sort/Makefile.am @@ -21,11 +21,11 @@ include $(top_srcdir)/gla11y.mk ui_DATA = $(ui_files) plugin_in_files = sort.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 = $(ui_DATA) $(plugin_in_files) ui-a11y.suppr CLEANFILES = $(plugin_DATA) diff --git a/plugins/sort/sort.plugin.desktop.in b/plugins/sort/sort.plugin.desktop.in index 4a9332bc..7e02b3a5 100644 --- a/plugins/sort/sort.plugin.desktop.in +++ b/plugins/sort/sort.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=sort IAge=2 -_Name=Sort -_Description=Sorts a document or selected text. +Name=Sort +Description=Sorts a document or selected text. Icon=view-sort-ascending Authors=Carlo Borreo ;Lee Mallabone ;Paolo Maggi ;Jorge Alberto Torres H. Copyright=Copyright © 2001 Carlo Borreo\nCopyright © 2002-2003 Lee Mallabone, Paolo Maggi\nCopyright © 2004-2005 Paolo Maggi -- cgit v1.2.1