- 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.
- 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? /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. :)
See https:/
-- 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.