widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #02834
Re: Text formatting questions
Heyho,
> when working on the campaigns, I noticed that the texts are formatted differently than those in the tutorial. I’d like to know whether there is an interest in having the style unified and which way is preferred.
>
> 1) “text” vs. [[text]]. The first one is mainly used for short texts (headlines), but not always.
This is a Lua thing. [[ ]] is just a synonym to “”, but can also contain “ as a character and newlines. It is most useful for longer texts.
> 2) text .. paragraphdivider() .. text vs. p(text) .. p(text). Is there a difference?
> 3) Sometimes, long paragraphs are split in two lines:
> _([[text]] ..
> [[text]])
> while other lines are rather long. Is there a maximum line length I should take care of?
I think this has mainly to do with localization. Gun had her reasons.
>
> Thank you for your answers.
>
> wl-zocker
> _______________________________________________
> Mailing list: https://launchpad.net/~widelands-dev
> Post to : widelands-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~widelands-dev
> More help : https://help.launchpad.net/ListHelp
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Follow ups
References