[Po4a-devel] XML: prevent some attributes from being translated

Nicolas François nicolas.francois at centraliens.net
Tue Feb 24 23:57:54 UTC 2009


On Tue, Feb 24, 2009 at 10:23:35AM +0100, debian.anti-spam at rutschle.net wrote:
> On Tue, Feb 24, 2009 at 12:59:30AM +0100, Nicolas François wrote:
> 
> > The goal of placeholders was not to hide something, but to help splitting
> > blocks, without loosing too much context.
> 
> BTW, I must be dense, but I can't understand the help in
> Xml.pm about placeholders. Even through the discussion here
> I'm not sure at all what they're for and how they work (I
> have to admit I haven't followed the development of Po4a
> much since 2006 or so, though).

Just for the record. The idea about placeholder was to avoid very long
paragraphs, which are very hard to translate and maintain.

Here is an example:

#. type: Content of: <sect1><sect2><para><footnote><para>
#: boot-installer/trouble.xml:330
msgid ""
"The parameter <userinput>vga=788</userinput> will activate the VESA "
"framebuffer with a resolution of 800x600. This will probably work, but may "
"not be the optimal resolution for your system. A list of supported "
"resolutions can be obtained by using <userinput>vga=ask</userinput>, but you "
"should be aware that list may not be complete."
msgstr ""

#. type: Content of: <sect1><sect2><para>
#: boot-installer/trouble.xml:324
msgid ""
"Some systems (especially laptops) that have a native resolution that is not "
"a 4:3 ratio (i.e. not for example 800x600 or 1024x768) may have a blank "
"display after the installer has been booted. In that case adding the boot "
"parameter <userinput>vga=788</userinput><placeholder type=\"footnote\" "
"id=\"0\"/> may help. If that does not work, try adding the boot parameter "
"<userinput>fb=false</userinput>."
msgstr ""



More to come for the new option...

-- 
Nekral



More information about the Po4a-devel mailing list