trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/server/gnun ChangeLog gnun.texi


From: Yavor Doganov
Subject: trans-coord/gnun/server/gnun ChangeLog gnun.texi
Date: Sat, 15 Mar 2008 10:07:49 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/03/15 10:07:48

Modified files:
        gnun/server/gnun: ChangeLog gnun.texi 

Log message:
        (Webmaster Tips): Explain how to propagate HTML
        comments for translators in the POT.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.42&r2=1.43
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/gnun.texi?cvsroot=trans-coord&r1=1.18&r2=1.19

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- ChangeLog   15 Mar 2008 09:46:15 -0000      1.42
+++ ChangeLog   15 Mar 2008 10:07:48 -0000      1.43
@@ -1,5 +1,8 @@
 2008-03-15  Yavor Doganov  <address@hidden>
 
+       * gnun.texi (Webmaster Tips): Explain how to propagate HTML
+       comments for translators in the POT.
+
        * GNUmakefile (mail-error-proto): Strip the leading slash from the
        filename in the subject of the message for consistency with the
        other error messages.

Index: gnun.texi
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/gnun.texi,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- gnun.texi   15 Mar 2008 09:46:16 -0000      1.18
+++ gnun.texi   15 Mar 2008 10:07:48 -0000      1.19
@@ -1289,6 +1289,31 @@
 
 @c Emacs Lisp code goes here...
 
+If you want a comment to be visible for translators, place it
address@hidden the element, for example:
+
address@hidden
+<p>
+<!--TRANSLATORS: Note that foo is bar in this context.-->
+The foish bar mumbles bazzling.
+</p>
address@hidden example
+
+This will result in:
+
address@hidden
+# type: Content of: <p>
+#. TRANSLATORS: Note that foo is bar in this context.
+#: ../../foo/po/article.proto:126
+msgid "The foish bar mumbles bazzling."
+msgstr ""
address@hidden example
+
+As per the established convention, start the comment with
address@hidden:} to catch their attention, and do not add a space
+after the beginning of the HTML comment (@code{<!--}), since this will
+unecessarily indent the comment in the POT.
+
 @node Internals
 @chapter Unexciting Information for @acronym{GNUN}'s Operation
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]