summaryrefslogtreecommitdiff
path: root/plugins/sort
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-09 15:33:24 +0800
committerraveit65 <[email protected]>2019-12-01 11:39:44 +0100
commit93881642e533133ef9f455612611002531e4475e (patch)
treeb25e92a1cd42271762116dd226ddabf7e78ad99d /plugins/sort
parent6dd6ad739acc075119cb03f62b0cceacef006345 (diff)
downloadpluma-93881642e533133ef9f455612611002531e4475e.tar.bz2
pluma-93881642e533133ef9f455612611002531e4475e.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'plugins/sort')
-rw-r--r--plugins/sort/Makefile.am6
-rw-r--r--plugins/sort/sort.plugin.desktop.in4
2 files changed, 5 insertions, 5 deletions
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 <[email protected]>;Lee Mallabone <[email protected]>;Paolo Maggi <[email protected]>;Jorge Alberto Torres H. <[email protected]>
Copyright=Copyright © 2001 Carlo Borreo\nCopyright © 2002-2003 Lee Mallabone, Paolo Maggi\nCopyright © 2004-2005 Paolo Maggi