I know it's a 3 months old thread but... From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxxxxxx> To: <haiku-development@xxxxxxxxxxxxx> Sent: Thursday, July 22, 2010 3:22 PM
Here it is, I'd like to know your advice, before it gets added to the actual online coding guideline reference.
InstallerApp.cpp contains a mini "how-to" with instructions for adding Haiku to grub, grub2... (see http://dev.haiku-os.org/browser/haiku/trunk/src/apps/installer/InstallerApp.cpp?rev=39025#L102 ) its not very handy when you have to translate sush a quite long text in HTA, and not very efficient to maintain since you lose all the work done at any update.
So, I suggest, to split very long texts in smaller paragraphs. for instance : String MyLongText = B_Translate( "first paragraph\n" "second paragraph\n" "third paragraph\n" ); could becomes something like : String MyLongText = B_Translate( "first paragraph\n" ) + B_Translate( "second paragraph\n") + B_Translate( "third paragraph\n") );Best regards.