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/time | |
parent | 6dd6ad739acc075119cb03f62b0cceacef006345 (diff) | |
download | pluma-93881642e533133ef9f455612611002531e4475e.tar.bz2 pluma-93881642e533133ef9f455612611002531e4475e.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'plugins/time')
-rw-r--r-- | plugins/time/Makefile.am | 7 | ||||
-rw-r--r-- | plugins/time/time.plugin.desktop.in | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/plugins/time/Makefile.am b/plugins/time/Makefile.am index 591a04d6..185d1a86 100644 --- a/plugins/time/Makefile.am +++ b/plugins/time/Makefile.am @@ -23,12 +23,11 @@ include $(top_srcdir)/gla11y.mk ui_DATA = $(ui_files) plugin_in_files = time.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 $@ + time_gschema_in = org.mate.pluma.plugins.time.gschema.xml.in gsettings_SCHEMAS = $(time_gschema_in:.xml.in=.xml) @GSETTINGS_RULES@ diff --git a/plugins/time/time.plugin.desktop.in b/plugins/time/time.plugin.desktop.in index c3c599f1..5c060665 100644 --- a/plugins/time/time.plugin.desktop.in +++ b/plugins/time/time.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=time IAge=2 -_Name=Insert Date/Time -_Description=Inserts current date and time at the cursor position. +Name=Insert Date/Time +Description=Inserts current date and time at the cursor position. Authors=Paolo Maggi <[email protected]>;Lee Mallabone <[email protected]> Copyright=Copyright © 2002-2005 Paolo Maggi Website=https://mate-desktop.org |