diff options
author | Wu Xiaotian <[email protected]> | 2019-11-09 15:33:24 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-12-01 11:39:44 +0100 |
commit | 93881642e533133ef9f455612611002531e4475e (patch) | |
tree | b25e92a1cd42271762116dd226ddabf7e78ad99d /plugins/modelines | |
parent | 6dd6ad739acc075119cb03f62b0cceacef006345 (diff) | |
download | pluma-93881642e533133ef9f455612611002531e4475e.tar.bz2 pluma-93881642e533133ef9f455612611002531e4475e.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'plugins/modelines')
-rw-r--r-- | plugins/modelines/Makefile.am | 6 | ||||
-rw-r--r-- | plugins/modelines/modelines.plugin.desktop.in | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/modelines/Makefile.am b/plugins/modelines/Makefile.am index 5284cf93..abcb58db 100644 --- a/plugins/modelines/Makefile.am +++ b/plugins/modelines/Makefile.am @@ -22,10 +22,11 @@ libmodelines_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libmodelines_la_LIBADD = $(PLUMA_LIBS) plugin_in_files = modelines.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) \ $(modelines_DATA) @@ -33,5 +34,4 @@ EXTRA_DIST = \ CLEANFILES = $(plugin_DATA) DISTCLEANFILES = $(plugin_DATA) - -include $(top_srcdir)/git.mk diff --git a/plugins/modelines/modelines.plugin.desktop.in b/plugins/modelines/modelines.plugin.desktop.in index bba8b48d..2d30c34e 100644 --- a/plugins/modelines/modelines.plugin.desktop.in +++ b/plugins/modelines/modelines.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=modelines IAge=2 -_Name=Modelines -_Description=Emacs, Kate and Vim-style modelines support for pluma. +Name=Modelines +Description=Emacs, Kate and Vim-style modelines support for pluma. Authors=Steve Frécinaux <[email protected]> Copyright=Copyright © 2005 Steve Frécinaux Website=https://mate-desktop.org |