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

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

Hints for translators about GNUN-SLOT


From: Yavor Doganov
Subject: Hints for translators about GNUN-SLOT
Date: Mon, 18 Feb 2008 21:03:44 +0200
User-agent: Wanderlust/2.15.1 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (Sanjō) APEL/10.6 Emacs/22.1 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) (gNewSense GNU/Linux)

Kaloian,

The Afrikaans translator actually had translated the GNUN-SLOT
placeholders literally.  My experience shows that no matter how good
we document these in the manual, people will keep up making the same
mistakes.

The proposed solution will not eliminate the problem entirely, but it
might help a lot.  It makes the HTML comments to propagate in the PO
files, like:

# type: Content of: <div>
#. TRANSLATORS: Use space (SPC) as msgstr if you don't have notes.
#: ../../po/home.proto:256
msgid "*GNUN-SLOT: TRANSLATOR'S NOTES*"
msgstr " "

And the resulting XHTML:

<div style="font-size: small;">

<!--TRANSLATORS: Use space (SPC) as msgstr if you don't have notes.-->
 </div>

(I'm not sure if this will appear in the DOM tree.  Also, I'm not sure
if the indentation is right for Scheme.)

What do you think?

--- make-prototype      29 яну 2008 19:58:34 +0200      1.6
+++ make-prototype      18 фев 2008 20:51:56 +0200      
@@ -69,10 +69,14 @@
   "gnun")
 
 (define slot-translators-notes
-  "\n<div style=\"font-size: small;\">*GNUN-SLOT: TRANSLATOR'S NOTES*</div>\n")
+  "\n<div style=\"font-size: small;\">
+  <!--TRANSLATORS: Use space (SPC) as msgstr if you don't have notes.-->\n
+  *GNUN-SLOT: TRANSLATOR'S NOTES*</div>\n")
 
 (define slot-translators-credits
-  "\n<div class=\"translators-credits\">*GNUN-SLOT: TRANSLATOR'S 
CREDITS*</div>\n")
+  "\n<div class=\"translators-credits\">
+  <!--TRANSLATORS: Use space (SPC) as msgstr if you don't want credits.-->\n
+  *GNUN-SLOT: TRANSLATOR'S CREDITS*</div>\n")
 
 (define autogenerated-warning
   "This file is automatically generated by GNUnited Nations!")




reply via email to

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