From 93881642e533133ef9f455612611002531e4475e Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Sat, 9 Nov 2019 15:33:24 +0800 Subject: migrate from intltool to gettext --- plugins/changecase/Makefile.am | 6 +- plugins/changecase/changecase.plugin.desktop.in | 4 +- plugins/docinfo/Makefile.am | 7 +- plugins/docinfo/docinfo.plugin.desktop.in | 4 +- plugins/externaltools/Makefile.am | 5 +- plugins/externaltools/data/Makefile.am | 3 +- plugins/externaltools/data/build.desktop.in | 4 +- .../data/open-terminal-here.desktop.in | 4 +- .../data/remove-trailing-spaces.desktop.in | 4 +- plugins/externaltools/data/run-command.desktop.in | 4 +- .../externaltools/data/search-recursive.desktop.in | 2 +- plugins/externaltools/data/switch-c.desktop.in | 2 +- .../externaltools/externaltools.plugin.desktop.in | 4 +- plugins/filebrowser/Makefile.am | 7 +- plugins/filebrowser/filebrowser.plugin.desktop.in | 4 +- plugins/modelines/Makefile.am | 6 +- plugins/modelines/modelines.plugin.desktop.in | 4 +- plugins/pythonconsole/Makefile.am | 5 +- .../pythonconsole/pythonconsole.plugin.desktop.in | 4 +- plugins/quickopen/Makefile.am | 5 +- plugins/quickopen/quickopen.plugin.desktop.in | 4 +- plugins/snippets/Makefile.am | 5 +- plugins/snippets/snippets.plugin.desktop.in | 4 +- plugins/sort/Makefile.am | 6 +- plugins/sort/sort.plugin.desktop.in | 4 +- plugins/spell/Makefile.am | 7 +- plugins/spell/spell.plugin.desktop.in | 4 +- plugins/taglist/HTML.tags.xml.in | 964 ++++++++++----------- plugins/taglist/Latex.tags.xml.in | 148 ++-- plugins/taglist/Makefile.am | 11 +- plugins/taglist/XSLT.tags.xml.in | 32 +- plugins/taglist/XUL.tags.xml.in | 2 +- plugins/taglist/taglist.plugin.desktop.in | 4 +- plugins/time/Makefile.am | 7 +- plugins/time/time.plugin.desktop.in | 4 +- plugins/trailsave/Makefile.am | 6 +- plugins/trailsave/trailsave.plugin.desktop.in | 4 +- 37 files changed, 652 insertions(+), 652 deletions(-) (limited to 'plugins') diff --git a/plugins/changecase/Makefile.am b/plugins/changecase/Makefile.am index e1404b1c..e30cfa37 100644 --- a/plugins/changecase/Makefile.am +++ b/plugins/changecase/Makefile.am @@ -19,11 +19,11 @@ uidir = $(PLUMA_PLUGINS_DATA_DIR)/changecase ui_DATA = plugin_in_files = changecase.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) CLEANFILES = $(plugin_DATA) diff --git a/plugins/changecase/changecase.plugin.desktop.in b/plugins/changecase/changecase.plugin.desktop.in index de4cb375..bff2f4f6 100644 --- a/plugins/changecase/changecase.plugin.desktop.in +++ b/plugins/changecase/changecase.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=changecase IAge=2 -_Name=Change Case -_Description=Changes the case of selected text. +Name=Change Case +Description=Changes the case of selected text. Authors=Paolo Borelli Copyright=Copyright © 2004-2005 Paolo Borelli Website=https://mate-desktop.org diff --git a/plugins/docinfo/Makefile.am b/plugins/docinfo/Makefile.am index 611dc17e..076bae60 100644 --- a/plugins/docinfo/Makefile.am +++ b/plugins/docinfo/Makefile.am @@ -21,15 +21,14 @@ include $(top_srcdir)/gla11y.mk ui_DATA = $(ui_files) plugin_in_files = docinfo.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) DISTCLEANFILES = $(plugin_DATA) - -include $(top_srcdir)/git.mk diff --git a/plugins/docinfo/docinfo.plugin.desktop.in b/plugins/docinfo/docinfo.plugin.desktop.in index b4da32b0..3f6b32e3 100644 --- a/plugins/docinfo/docinfo.plugin.desktop.in +++ b/plugins/docinfo/docinfo.plugin.desktop.in @@ -1,7 +1,7 @@ [Plugin] Module=docinfo IAge=2 -_Name=Document Statistics -_Description=Analyzes the current document and reports the number of words, lines, characters and non-space characters in it. +Name=Document Statistics +Description=Analyzes the current document and reports the number of words, lines, characters and non-space characters in it. Authors=Paolo Maggi ;Jorge Alberto Torres Copyright=Copyright © 2002-2005 Paolo Maggi diff --git a/plugins/externaltools/Makefile.am b/plugins/externaltools/Makefile.am index cd6f9720..9cff7fa7 100644 --- a/plugins/externaltools/Makefile.am +++ b/plugins/externaltools/Makefile.am @@ -3,10 +3,11 @@ SUBDIRS = tools data scripts plugindir = $(PLUMA_PLUGINS_LIBS_DIR) plugin_in_files = externaltools.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) CLEANFILES = $(plugin_DATA) diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am index c9abcce0..4a303ce1 100644 --- a/plugins/externaltools/data/Makefile.am +++ b/plugins/externaltools/data/Makefile.am @@ -23,7 +23,8 @@ all_desktop_in_files = $(all_tools_in_files:.tool.in=.desktop.in) all_desktop_files = $(all_tools_in_files:.tool.in=.desktop) all_tools_files = $(all_tools_in_files:.tool.in=) -@INTLTOOL_DESKTOP_RULE@ +%.desktop: %.desktop.in + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ # Tools are generated by merging a script file (.tool.in) with a data file # (.desktop), which happens to be translated using intltool. diff --git a/plugins/externaltools/data/build.desktop.in b/plugins/externaltools/data/build.desktop.in index c2a49871..7666abe1 100644 --- a/plugins/externaltools/data/build.desktop.in +++ b/plugins/externaltools/data/build.desktop.in @@ -1,6 +1,6 @@ [Pluma Tool] -_Name=Build -_Comment=Run "make" in the document directory +Name=Build +Comment=Run "make" in the document directory Input=nothing Output=output-panel Shortcut=F8 diff --git a/plugins/externaltools/data/open-terminal-here.desktop.in b/plugins/externaltools/data/open-terminal-here.desktop.in index 45587ef6..fcd281e5 100644 --- a/plugins/externaltools/data/open-terminal-here.desktop.in +++ b/plugins/externaltools/data/open-terminal-here.desktop.in @@ -1,6 +1,6 @@ [Pluma Tool] -_Name=Open terminal here -_Comment=Open a terminal in the document location +Name=Open terminal here +Comment=Open a terminal in the document location Input=nothing Output=output-panel Applicability=local diff --git a/plugins/externaltools/data/remove-trailing-spaces.desktop.in b/plugins/externaltools/data/remove-trailing-spaces.desktop.in index 70bd8fd1..3beb99ab 100644 --- a/plugins/externaltools/data/remove-trailing-spaces.desktop.in +++ b/plugins/externaltools/data/remove-trailing-spaces.desktop.in @@ -1,6 +1,6 @@ [Pluma Tool] -_Name=Remove trailing spaces -_Comment=Remove useless trailing spaces in your file +Name=Remove trailing spaces +Comment=Remove useless trailing spaces in your file Input=document Output=replace-document Shortcut=F12 diff --git a/plugins/externaltools/data/run-command.desktop.in b/plugins/externaltools/data/run-command.desktop.in index 4e15e678..7b1a821a 100644 --- a/plugins/externaltools/data/run-command.desktop.in +++ b/plugins/externaltools/data/run-command.desktop.in @@ -1,6 +1,6 @@ [Pluma Tool] -_Name=Run command -_Comment=Execute a custom command and put its output in a new document +Name=Run command +Comment=Execute a custom command and put its output in a new document Input=nothing Output=new-document Applicability=all diff --git a/plugins/externaltools/data/search-recursive.desktop.in b/plugins/externaltools/data/search-recursive.desktop.in index 41baf649..3574f456 100644 --- a/plugins/externaltools/data/search-recursive.desktop.in +++ b/plugins/externaltools/data/search-recursive.desktop.in @@ -1,5 +1,5 @@ [Pluma Tool] -_Name=Search +Name=Search Shortcut=f Languages= Applicability=local diff --git a/plugins/externaltools/data/switch-c.desktop.in b/plugins/externaltools/data/switch-c.desktop.in index 43d4f70b..fa5cb9bf 100644 --- a/plugins/externaltools/data/switch-c.desktop.in +++ b/plugins/externaltools/data/switch-c.desktop.in @@ -1,5 +1,5 @@ [Pluma Tool] -_Name=Switch onto a file .c and .h +Name=Switch onto a file .c and .h Shortcut=s Applicability=all Output=nothing diff --git a/plugins/externaltools/externaltools.plugin.desktop.in b/plugins/externaltools/externaltools.plugin.desktop.in index 409547f8..8fe1bd53 100644 --- a/plugins/externaltools/externaltools.plugin.desktop.in +++ b/plugins/externaltools/externaltools.plugin.desktop.in @@ -2,8 +2,8 @@ Loader=python3 Module=externaltools IAge=2 -_Name=External Tools -_Description=Execute external commands and shell scripts. +Name=External Tools +Description=Execute external commands and shell scripts. Authors=Steve Frécinaux Copyright=Copyright © 2005 Steve Frécinaux Website=https://mate-desktop.org diff --git a/plugins/filebrowser/Makefile.am b/plugins/filebrowser/Makefile.am index 903e5bc7..095cdc1d 100644 --- a/plugins/filebrowser/Makefile.am +++ b/plugins/filebrowser/Makefile.am @@ -44,8 +44,10 @@ uidir = $(PLUMA_PLUGINS_DATA_DIR)/filebrowser ui_DATA = pluma-file-browser-widget-ui.xml plugin_in_files = filebrowser.plugin.desktop.in +plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) -%.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) + $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@ pluma-file-browser-enum-types.h: pluma-file-browser-enum-types.h.template $(NOINST_H_FILES) $(GLIB_MKENUMS) (cd $(srcdir) && $(GLIB_MKENUMS) --template pluma-file-browser-enum-types.h.template $(NOINST_H_FILES)) > $@ @@ -62,9 +64,6 @@ pluma-file-browser-marshal.c: pluma-file-browser-marshal.list $(GLIB_GENMARSHAL) $(AM_V_GEN) echo "#include \"pluma-file-browser-marshal.h\"" > $@ && \ $(GLIB_GENMARSHAL) $< --body --prefix=pluma_file_browser_marshal >> $@ -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) - -@INTLTOOL_XML_NOMERGE_RULE@ filebrowser_gschema_in = org.mate.pluma.plugins.filebrowser.gschema.xml.in gsettings_SCHEMAS = $(filebrowser_gschema_in:.xml.in=.xml) @GSETTINGS_RULES@ diff --git a/plugins/filebrowser/filebrowser.plugin.desktop.in b/plugins/filebrowser/filebrowser.plugin.desktop.in index d9ea9ad3..b76497d5 100644 --- a/plugins/filebrowser/filebrowser.plugin.desktop.in +++ b/plugins/filebrowser/filebrowser.plugin.desktop.in @@ -2,8 +2,8 @@ Loader=C Module=filebrowser IAge=2 -_Name=File Browser Pane -_Description=Easy file access from the side pane +Name=File Browser Pane +Description=Easy file access from the side pane Icon=system-file-manager Authors=Jesse van den Kieboom Copyright=Copyright © 2006 Jesse van den Kieboom 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 Copyright=Copyright © 2005 Steve Frécinaux Website=https://mate-desktop.org 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 Copyright=Copyright © 2006 Steve Frécinaux diff --git a/plugins/quickopen/Makefile.am b/plugins/quickopen/Makefile.am index 4e5f8d85..e03a7147 100644 --- a/plugins/quickopen/Makefile.am +++ b/plugins/quickopen/Makefile.am @@ -3,10 +3,11 @@ SUBDIRS = quickopen plugindir = $(PLUMA_PLUGINS_LIBS_DIR) plugin_in_files = quickopen.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) CLEANFILES = $(plugin_DATA) diff --git a/plugins/quickopen/quickopen.plugin.desktop.in b/plugins/quickopen/quickopen.plugin.desktop.in index 5ad16d7e..471e0ec9 100644 --- a/plugins/quickopen/quickopen.plugin.desktop.in +++ b/plugins/quickopen/quickopen.plugin.desktop.in @@ -2,8 +2,8 @@ Loader=python3 Module=quickopen IAge=2 -_Name=Quick Open -_Description=Quickly open files +Name=Quick Open +Description=Quickly open files Icon=document-open Authors=Jesse van den Kieboom Copyright=Copyright © 2009 Jesse van den Kieboom diff --git a/plugins/snippets/Makefile.am b/plugins/snippets/Makefile.am index 40aeeb90..24f5a5b4 100644 --- a/plugins/snippets/Makefile.am +++ b/plugins/snippets/Makefile.am @@ -3,10 +3,11 @@ SUBDIRS = snippets data plugindir = $(PLUMA_PLUGINS_LIBS_DIR) plugin_in_files = snippets.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) CLEANFILES = $(plugin_DATA) diff --git a/plugins/snippets/snippets.plugin.desktop.in b/plugins/snippets/snippets.plugin.desktop.in index 826fd134..84de9c76 100644 --- a/plugins/snippets/snippets.plugin.desktop.in +++ b/plugins/snippets/snippets.plugin.desktop.in @@ -2,8 +2,8 @@ Loader=python3 Module=snippets IAge=2 -_Name=Snippets -_Description=Insert often-used pieces of text in a fast way +Name=Snippets +Description=Insert often-used pieces of text in a fast way Authors=Jesse van den Kieboom Copyright=Copyright © 2005 Jesse van den Kieboom Website=https://mate-desktop.org 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 ;Lee Mallabone ;Paolo Maggi ;Jorge Alberto Torres H. Copyright=Copyright © 2001 Carlo Borreo\nCopyright © 2002-2003 Lee Mallabone, Paolo Maggi\nCopyright © 2004-2005 Paolo Maggi 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 Copyright=Copyright © 2002-2005 Paolo Maggi diff --git a/plugins/taglist/HTML.tags.xml.in b/plugins/taglist/HTML.tags.xml.in index 5eedb254..5d130014 100644 --- a/plugins/taglist/HTML.tags.xml.in +++ b/plugins/taglist/HTML.tags.xml.in @@ -1,2270 +1,2270 @@ - + - + <abbr title=" "></abbr> - + abbr=" " - + accesskey=" " - + <acronym title=" "></acronym> - + align=" " - + char=" " - + alt=" " - + <a href=" "></a> - + <a id=" "></a> - + code=" " - + content=" " - + <address> </address> - + axis=" " - + bgcolor=" " - + background=" " - + <basefont> - + codebase=" " - + <b> </b> - + border=" " - + rowspan=" " - + <center> </center> - + charset=" " - + checked="checked" - + <cite> </cite> - + cite=" " - + classid=" " - + class=" " - + clear=" " - + codetype=" " - + alink=" " - + colspan=" " - + cols=" " - + <!-- --> - + <code> </code> - + type=" " - + coords=" " - + datetime="YYYYMMDD" - + declare="declare" - + defer="defer" - + <dd> </dd> - + <dl> </dl> - + <dt> </dt> - + <del> </del> - + dir=" " - + <dir> </dir> - + disabled="disabled" - + <div> </div> - + <div style=> </div> - + <base href=" " /> - + <body> </body> - + <head> </head> - + id=" " - + <title> </title> - + <!DOCTYPE> - + <em> </em> - + enctype=" " - + face=" " - + for=" " - + <br /> - + action=" " - + <fieldset> </fieldset> - + <label> </label> - + <input type=" " /> - + <input /> - + <form method=" "></form> - + method=" " - + <form> </form> - + rel=" " - + frame=" " - + <frame src=" "></frame> - + target=" " - + <frame> </frame> - + frameborder=" " - + <frameset cols=" "></frameset> - + <frameset rows=" "></frameset> - + <frameset> </frameset> - + framespacing=" " - + <object> </object> - + <meta content=" "></meta> - + <span> </span> - + headers=" " - + <h1> </h1> - + <h2> </h2> - + <h3> </h3> - + <h4> </h4> - + <h5> </h5> - + <h6> </h6> - + height=" - + <hr /> - + hspace=" " - + href=" " - + <html> </html> - + http-equiv=" " - + <bdo> </bdo> - + <area alt=" "></area> - + <map name=" "></map> - + <map id=" "></map> - + <img id=" " src="" alt="" /> - + <iframe> </iframe> - + <ins> </ins> - + <dfn> </dfn> - + <i> </i> - + <applet height=" " width=""></applet> - + label=" " - + hreflang=" " - + lang=" " - + <big> </big> - + link=" " - + <li> </li> - + accept=" " - + accept-charset=" " - + <font> </font> - + longdesc=" " - + <blockquote> </blockquote> - + marginheight=" " - + marginwidth=" " - + maxlength=" " - + media=" " - + <link rel=" " type="" href="" /> - + <menu> </menu> - + <textarea cols=" " rows=""></textarea> - + multiple="multiple" - + name=" " - + <param name=" "></param> - + <noframes> </noframes> - + noresize="noresize" - + <noscript> </noscript> - + noshade="noshade" - + nohref=" " - + nowrap="nowrap" - + object=" " - + data=" " - + charoff=" " - + onblur=" " - + onchange=" " - + onclick=" " - + ondbclick=" " - + onfocus=" " - + onkeydown=" " - + onkeypress=" " - + onkeyup=" " - + onload=" " - + onmousedown=" " - + onmousemove=" " - + onmouseout=" " - + onmouseover=" " - + onmouseup=" " - + onreset=" " - + onselect=" " - + onsubmit=" " - + onunload=" " - + <optgroup label=" "></optgroup> - + <select> </select> - + <ol> </ol> - + <p class=" "></p> - + <p style=" "></p> - + <p> </p> - + <pre> </pre> - + profile=" " - + <button> </button> - + readonly="readonly" - + compact="compact_rendering" - + rev=" " - + rows=" " - + rules=" " - + <samp> </samp> - + scope=" " - + language=" " - + <script type=" "></script> - + scrolling=" " - + <option> </option> - + selected="selected" - + ismap=" " - + shape=" " - + <q> </q> - + size=" " - + <small> </small> - + src=" " - + archive=" " - + cellspacing=" " - + cellpadding=" " - + span=" " - + standby=" " - + start=" " - + <s> </s> - + <strike> </strike> - + <strong> </strong> - + <style type="text/css"> </style> - + style=" " - + <sub> </sub> - + <sup> </sup> - + <tbody> </tbody> - + <caption> </caption> - + <colgroup> </colgroup> - + <col> </col> - + <td> </td> - + <tfoot> </tfoot> - + <th> </th> - + <thead> </thead> - + <tr> </tr> - + summary=" " - + <table> </table> - + <a target="_blank"> </a> - + <a target="_parent"> </a> - + <a target="_self"> </a> - + <a target="_top"> </a> - + <tt> </tt> - + color=" " - + text=" " - + <kbd> </kbd> - + title=" " - + <u> </u> - + <ul> </ul> - + usemap=" " - + valuetype=" " - + value=" " - + <var> </var> - + valign=" " - + vspace=" " - + vlink=" " - + width=" " - + - + <abbr> </abbr> - + abbr= - + <above> - + accesskey= - + <acronym> </acronym> - + align= - + char= - + alt= - + <a href=> </a> - + <a> </a> - + code= - + <array> - + content= - + <address> </address> - + axis= - + bgcolor= - + background= - + <basefont> - + codebase= - + <b> </b> - + bordercolor= - + border= - + rowspan= - + <center> </center> - + charset= - + checked - + <cite> </cite> - + cite= - + classid= - + class= - + clear= - + codetype= - + alink= - + colspan= - + cols= - + <!-- --> - + <comment> </comment> - + <code> </code> - + scheme= - + type= - + coords= - + datetime= - + declare - + defer - + <dd> </dd> - + <dl> </dl> - + <dt> </dt> - + <del> </del> - + direction= - + dir= - + <dir> </dir> - + disabled - + <div> </div> - + <div style=> </div> - + <base> - + <body> </body> - + <head> </head> - + id= - + <title> </title> - + <!DOCTYPE> - + version= - + <embed> </embed> - + <em> </em> - + enctype= - + <fig> </fig> - + face= - + for= - + <br /> - + action= - + <fieldset> </fieldset> - + <label> </label> - + <input type=> - + <input> - + <form method=> - + method= - + <form> </form> - + rel= - + frame= - + <frame src=> - + target= - + <frame> - + frameborder= - + <frameset cols=> </frameset> - + <frameset rows=> </frameset> - + <frameset> </frameset> - + framespacing= - + <object> - + <meta> - + <span> </span> - + headers= - + <h1> </h1> - + <h2> </h2> - + <h3> </h3> - + <h4> </h4> - + <h5> </h5> - + <h6> </h6> - + <h> </h> - + height= - + <hr /> - + hspace= - + href= - + <html> </html> - + http-equiv= - + <BDO> </BDO> - + <area> - + <map name=> </map> - + <map> </map> - + <img src=> - + <img> - + <iframe> </iframe> - + <ilayer> </ilayer> - + <ins> </ins> - + <dfn> </dfn> - + <i> </i> - + <applet> </applet> - + label= - + hreflang= - + lang= - + <big> </big> - + <layer> - + link= - + <li> </li> - + accept= - + accept-charset= - + <listing> </listing> - + <font> </font> - + longdesc= - + <blockquote> </blockquote> - + mailto= - + marginheight= - + marginwidth= - + <marquee> </marquee> - + maxlength= - + media= - + <link rel="> - + <menu> </menu> - + <multicol> </multicol> - + <textarea> </textarea> - + multiple - + name= - + <param> - + <nextid> - + <noembed> - + <noframes> </noframes> - + <nolayer> </nolayer> - + <nobr> </nobr> - + noresize - + <noscript> </noscript> - + noshade - + nohref - + nowrap - + <note> </note> - + object= - + data= - + charoff= - + onblur= - + onchange= - + onclick= - + ondbclick= - + onfocus= - + onkeydown= - + onkeypress= - + onkeyup= - + onload= - + onmousedown= - + onmousemove= - + onmouseout= - + onmouseover= - + onmouseup= - + onreset= - + onselect= - + onsubmit= - + onunload= - + <optgroup> </optgroup> - + <select> </select> - + <ol> </ol> - + <p class=> </p> - + <p style=> </p> - + <p> </p> - + <xmp> </xmp> - + <pre> </pre> - + profile= - + prompt= - + <button> </button> - + <quote> - + <range> - + readonly - + compact - + rev= - + <root> - + rows= - + rules= - + <samp> </samp> - + scope= - + language= - + <script> </script> - + scrolling= - + <option> - + selected - + ismap - + shape= - + <q> </q> - + <isindex> - + size= - + <small> </small> - + <wbr> - + <sound> - + src= - + archive= - + <spacer> - + cellspacing= - + cellpadding= - + span= - + <sqrt> - + standby= - + start - + <s> </s> - + <strike> </strike> - + <strong> </strong> - + <style> </style> - + style= - + <sub> </sub> - + <sup> </sup> - + tabindex= - + <tbody> </tbody> - + <caption> </caption> - + <colgroup> </colgroup> - + <col> </col> - + <td> </td> - + <tfoot> </tfoot> - + <th> </th> - + <thead> </thead> - + <tr> </tr> - + summary= - + <table> </table> - + <a target="_blank"> </a> - + <a target="_parent"> </a> - + <a target="_self"> </a> - + <a target="_top"> </a> - + <tt> </tt> - + color= - + text= - + <kbd> </kbd> - + <text> - + title= - + topmargin - + <u> </u> - + <ul> </ul> - + url= - + usemap= - + valuetype= - + value= - + <var> </var> - + valign= - + vspace= - + vlink= - + width= - + - + &nbsp; diff --git a/plugins/taglist/Latex.tags.xml.in b/plugins/taglist/Latex.tags.xml.in index 78242fe3..ec4a1485 100644 --- a/plugins/taglist/Latex.tags.xml.in +++ b/plugins/taglist/Latex.tags.xml.in @@ -1,341 +1,341 @@ - - + + \cite{ } - + \bibitem{ }{} - + \shortcite{ } - + \begin{thebibliography}{99} \end{thebibliography} - + \left( \right) - + \left[ \right] - + \left\{ \right\} - + \left\langle \right\rangle - + \input{ } - + \cos{ } - + e^{ } - + \exp{ } - + \log{ } - + \log_{10}{ } - + \sin{ } - + \alpha - + \beta - + \varepsilon - + \gamma - + \lambda - + \rho - + \tau - + \chapter{ } - + \chapter*{ } - + \section{ } - + \section*{ } - + \subsection{ } - + \subsection*{ } - + \subsubsection{ } - + \subsubsection*{ } - + \paragraph{ } - + \appendix - + \begin{description} \end{description} - + \begin{enumerate} \end{enumerate} - + \begin{itemize} \end{itemize} - + \item[ ] - + \item - + $$ $$ - + $ $ - + \frac{ }{} - + \int\limits_{ }^{} - + \int_{ }^{} - + \sum\limits_{ }^{} - + \sum_{ }^{} - + \label{ } - + {\protect\ref{ }} - + \ll - + \le - + \ge - + \gg - + \mathrm{and} - + \mathrm{const} - + \frac{\partial{ }^2}{\partial t^2} - + \dagger - + \frac{{\mathrm{d}} }{{\mathrm{d}}t} - + \frac{\partial }{\partial t} - + \equiv - + -- - + --- - + \infty - + \quad\mathrm{,} - + \quad\mathrm{.} - + \quad - + \qquad - + \simeq - + \star - + \textbf{ } - + \texttt{ } - + \textit{ } - + \textsl{ } - + \emph{ } - + \mbox{ } - + \footnote{ } diff --git a/plugins/taglist/Makefile.am b/plugins/taglist/Makefile.am index 3088ba58..d2573f3d 100644 --- a/plugins/taglist/Makefile.am +++ b/plugins/taglist/Makefile.am @@ -30,18 +30,17 @@ libtaglist_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libtaglist_la_LIBADD = $(PLUMA_LIBS) plugin_in_files = taglist.plugin.desktop.in +plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) -%.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) + $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@ GZIP_ENV = -9 -%.tags.gz: %.tags.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) - LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@:.gz=) -x -u -c $(top_builddir)/po/.intltool-merge-cache +%.tags.gz: %.tags.xml.in + $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $(@:.gz=) GZIP=$(GZIP_ENV) gzip -n -f $(@:.gz=) -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) - EXTRA_DIST = \ $(taglist_in_files) $(taglist_DATA) \ $(plugin_in_files) $(plugin_DATA) diff --git a/plugins/taglist/XSLT.tags.xml.in b/plugins/taglist/XSLT.tags.xml.in index e625f6ca..ac75bd20 100644 --- a/plugins/taglist/XSLT.tags.xml.in +++ b/plugins/taglist/XSLT.tags.xml.in @@ -4,7 +4,7 @@ Jens Askengren --> - + <xsl:apply-imports> </xsl:apply-imports> @@ -138,7 +138,7 @@ - + boolean( ) @@ -293,44 +293,44 @@ - - + + ancestor:: - + ancestor-or-self:: - + @ - + child:: - + descendant:: - + // - + following:: - + following-sibling:: - + namespace:: - + .. - + preceding:: - + preceding-sibling:: - + . diff --git a/plugins/taglist/XUL.tags.xml.in b/plugins/taglist/XUL.tags.xml.in index 3d5d3c8c..f4359c7a 100644 --- a/plugins/taglist/XUL.tags.xml.in +++ b/plugins/taglist/XUL.tags.xml.in @@ -1,6 +1,6 @@ - + <action> diff --git a/plugins/taglist/taglist.plugin.desktop.in b/plugins/taglist/taglist.plugin.desktop.in index f33004d5..550dba2e 100644 --- a/plugins/taglist/taglist.plugin.desktop.in +++ b/plugins/taglist/taglist.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=taglist IAge=2 -_Name=Tag list -_Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them. +Name=Tag list +Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them. Authors=Paolo Maggi Copyright=Copyright © 2002-2005 Paolo Maggi Website=https://mate-desktop.org 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 ;Lee Mallabone Copyright=Copyright © 2002-2005 Paolo Maggi Website=https://mate-desktop.org diff --git a/plugins/trailsave/Makefile.am b/plugins/trailsave/Makefile.am index d9ef3225..45e80ab3 100644 --- a/plugins/trailsave/Makefile.am +++ b/plugins/trailsave/Makefile.am @@ -16,11 +16,11 @@ libtrailsave_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libtrailsave_la_LIBADD = $(PLUMA_LIBS) plugin_in_files = trailsave.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) CLEANFILES = $(plugin_DATA) diff --git a/plugins/trailsave/trailsave.plugin.desktop.in b/plugins/trailsave/trailsave.plugin.desktop.in index f623ebcb..011de4d4 100644 --- a/plugins/trailsave/trailsave.plugin.desktop.in +++ b/plugins/trailsave/trailsave.plugin.desktop.in @@ -1,8 +1,8 @@ [Plugin] Module=trailsave IAge=2 -_Name=Save Without Trailing Spaces -_Description=Removes trailing spaces from lines before saving. +Name=Save Without Trailing Spaces +Description=Removes trailing spaces from lines before saving. Icon=edit-cut Authors=Marty Mills Copyright=Copyright © 2015 Marty Mills -- cgit v1.2.1