Re: [Gambas-user] Translate text from a textarea control

2010-05-13 Thread craf
Thank you Fabian. it worked perfect! Regards. -- Cristian AbarzĂșa >textarea1.text = subst("Moon\n &1 &2","The Moon is the only natural >satellite of Earth.\n","is the nearest body and the best known.") >you need to add comma each side of the text >textarea1.text = subst(("Moon\n &1 &2"),("Th

Re: [Gambas-user] Translate text from a textarea control

2010-05-13 Thread Fabien Bodard
textarea1.text = subst("Moon\n &1 &2","The Moon is the only natural satellite of Earth.\n","is the nearest body and the best known.") you need to add comma each side of the text textarea1.text = subst(("Moon\n &1 &2"),("The Moon is the only natural satellite of Earth.\n"),("is the nearest body an

[Gambas-user] Translate text from a textarea control

2010-05-12 Thread craf
Hi. I have the following strings of text within a textarea control and would like to translate. As stated in the Gambas wiki, if you translate strings concatenated to use SUBST. 'code textarea1.text = subst("Moon\n &1 &2","The Moon is the only natural satellite of Earth.\n","is the nearest body