"Carlos E. R."
On Monday 2008-09-29 at 17:06 +0200, Karl Eichwalder wrote:
Do not translate <placeholder-1/> etc. These translations are wrong:
Maybe you could modify the validation script on your svn server to reject those when trying to upload :-?
I'd rather say enhancing "msgfmt --check" resp. "--check-format" would
be the way to go. Thus all projects can make use of it.
Bruno, some background information: xml2po coming with gnome-doc-utils
converts XML and HTML files to POT files. While segmenting inline tags
such as <em> or <a> are converted to separate messages and replaced with
<placeholder-X/> tags. Example:
<li><em>apm=off</em> -- switch off APM completely</li>
==>
#: help-boot.html:102(em)
msgid "apm=off"
msgstr ""
#: help-boot.html:102(li)
msgid "<placeholder-1/> -- switch off APM completely"
msgstr ""
-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-
Now we must make sure translators do not translate the <placeholder-X/>
tags incidentally.