summaryrefslogtreecommitdiff
path: root/plugins/pythonconsole
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/pythonconsole
parent6dd6ad739acc075119cb03f62b0cceacef006345 (diff)
downloadpluma-93881642e533133ef9f455612611002531e4475e.tar.bz2
pluma-93881642e533133ef9f455612611002531e4475e.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'plugins/pythonconsole')
-rw-r--r--plugins/pythonconsole/Makefile.am5
-rw-r--r--plugins/pythonconsole/pythonconsole.plugin.desktop.in4
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/pythonconsole/Makefile.am b/plugins/pythonconsole/Makefile.am
index 51a2e4a4..7c6a02e4 100644
--- a/plugins/pythonconsole/Makefile.am
+++ b/plugins/pythonconsole/Makefile.am
@@ -3,10 +3,11 @@ SUBDIRS = pythonconsole
plugindir = $(PLUMA_PLUGINS_LIBS_DIR)
plugin_in_files = pythonconsole.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 $@
+
pythonconsole_gschema_in = org.mate.pluma.plugins.pythonconsole.gschema.xml.in
gsettings_SCHEMAS = $(pythonconsole_gschema_in:.xml.in=.xml)
@GSETTINGS_RULES@
diff --git a/plugins/pythonconsole/pythonconsole.plugin.desktop.in b/plugins/pythonconsole/pythonconsole.plugin.desktop.in
index e8f9c083..4281403d 100644
--- a/plugins/pythonconsole/pythonconsole.plugin.desktop.in
+++ b/plugins/pythonconsole/pythonconsole.plugin.desktop.in
@@ -2,8 +2,8 @@
Loader=python3
Module=pythonconsole
IAge=2
-_Name=Python Console
-_Description=Interactive Python console standing in the bottom panel
+Name=Python Console
+Description=Interactive Python console standing in the bottom panel
Icon=text-x-python
Authors=Steve Frécinaux <[email protected]>
Copyright=Copyright © 2006 Steve Frécinaux