Code review comment for lp:~widelands-dev/widelands/reworked-readme

Revision history for this message
SirVer (sirver) wrote :

- TOOD: I haven't converted all of this section, but I'm not sure how good it
Noone forces you to have all in the paragraph translated. You can do things like p(_"text" .. "<br>" .. _"more text").

-- How to deal with parts which want specific styles (like centered/italics) and still be translatable?
See https://wl.widelands.org/docs/wl/autogen_aux_formatting/#p. You can pass the options for p as first argument: p("font-size=14 font-style=italic text-align=center", _"translated text"). This should work theoretically. :)

-- TODO: Btw, looks like neither spaces, tabs nor \t provides whitespace.
This is a bug in the old renderer. The new one does support tables and as soon as we use it we can reformat this to look nicer.

« Back to merge proposal