Re: [Gimp-docs] Comments in POT files



Hi, Julien

Surround your message by a pair of comment tags (i.e. <!-- and -->) and put it
just before each the corresponding <para> or another content tag.
The way of "NOTE TO TRANSLATORS:" message at src/appendix/gfdl.xml may give some
hint for you. But I suggest a sample on a snippet of toolbox/gegl-operation.xml:

              </caption>
            </mediaobject>
          </figure>
+         <!--
+           NOTE:
+           For non-English users, inserting an additional information
+           after the fourth line "non-<acronym>GEGL</acronym> tool" may
+           help them like this:
+              ... tool that can be seen on the
+              <link linkend="gimp-concepts-running-language">English version
+              of <acronym>GIMP</acronym></link>
+         -->
          <para>
            If the options of the selected <acronym>GEGL</acronym> operation
            are not self-explanatory (guess what's the purpose of the
            <quote>color</quote> operation's <quote>Color</quote> option)
            you can look for a corresponding non-<acronym>GEGL</acronym> tool.
            For example, the <link linkend="plug-in-fractalexplorer">Fractal
            Explorer</link> filter may have the same or similar options as the
            <quote>fractal-explorer</quote> operation.
          </para>
          <para>
            Or you can make use of the nice realtime preview feature and just

then this entry of PO file might become:

+#. NOTE:
+#.      For non-English users, inserting an additional information
+#.      after the fourth line "non-<acronym>GEGL</acronym> tool" may
+#.      help them like this:
+#.         ... tool that can be seen on the
+#.         <link linkend="gimp-concepts-running-language">English version
+#.         of <acronym>GIMP</acronym></link>
+#: src/toolbox/gegl-operation.xml:129(para)
 msgid ""
 "If the options of the selected <acronym>GEGL</acronym> operation are not "
 "self-explanatory (guess what's the purpose of the <quote>color</quote> "
 "operation's <quote>Color</quote> option) you can look for a corresponding "
 "non-<acronym>GEGL</acronym> tool. For example, the <link linkend=\"plug-in-"


2012/3/12, Julien Hardelin <jm hard wanadoo fr>:
> Hi,
>
> How to add comments in xml files so that they appear in POT files (and
> then in Po files)?
>
> Julien
> _______________________________________________
> gimp-docs-list mailing list
> gimp-docs-list gnome org
> http://mail.gnome.org/mailman/listinfo/gimp-docs-list
>


-- 
-=-=-=-=-=
SimaMoto,RyōTa <liangtai s4 gmail com>
http://code.google.com/p/gimp-doc-ja/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]