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/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 +- 6 files changed, 580 insertions(+), 581 deletions(-) (limited to 'plugins/taglist') 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 -- cgit v1.2.1