summaryrefslogtreecommitdiff
path: root/plugins/spell
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/spell
parent6dd6ad739acc075119cb03f62b0cceacef006345 (diff)
downloadpluma-93881642e533133ef9f455612611002531e4475e.tar.bz2
pluma-93881642e533133ef9f455612611002531e4475e.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'plugins/spell')
-rw-r--r--plugins/spell/Makefile.am7
-rw-r--r--plugins/spell/spell.plugin.desktop.in4
2 files changed, 5 insertions, 6 deletions
diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am
index 1ea7462e..79f67c1b 100644
--- a/plugins/spell/Makefile.am
+++ b/plugins/spell/Makefile.am
@@ -46,12 +46,11 @@ pluma-spell-marshal.c: pluma-spell-marshal.list $(GLIB_GENMARSHAL)
$(GLIB_GENMARSHAL) $< --body --prefix=pluma_marshal >> $@
plugin_in_files = spell.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)
-@INTLTOOL_XML_NOMERGE_RULE@
+$(plugin_DATA): $(plugin_in_files)
+ $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@
+
spell_gschema_in = org.mate.pluma.plugins.spell.gschema.xml.in
gsettings_SCHEMAS = $(spell_gschema_in:.xml.in=.xml)
@GSETTINGS_RULES@
diff --git a/plugins/spell/spell.plugin.desktop.in b/plugins/spell/spell.plugin.desktop.in
index 0ed87ae5..8174141f 100644
--- a/plugins/spell/spell.plugin.desktop.in
+++ b/plugins/spell/spell.plugin.desktop.in
@@ -1,8 +1,8 @@
[Plugin]
Module=spell
IAge=2
-_Name=Spell Checker
-_Description=Checks the spelling of the current document.
+Name=Spell Checker
+Description=Checks the spelling of the current document.
Icon=tools-check-spelling
Authors=Paolo Maggi <[email protected]>
Copyright=Copyright © 2002-2005 Paolo Maggi