Hi Ali, > Am 18.05.2016 um 15:51 schrieb Ali Lloyd <ali.ll...@livecode.com>: > > Hi Klaus, > Although we currently have no plans to do that ourselves,it shouldn't be > too hard to turn the string that's used for the tree view into a property > of the widget, since it is almost completely independent of the rest of the > code. > > You'd just need to define a new member variable (say mAddText), set up a > property for it and replace > > paintText("Add new element", "left", tTextRect, false, false) > with > paintText(mAddText, "left", tTextRect, false, false)
hm, I was really hoping that YOU would do this!? 8-) Come on, I think that LC should NEVER EVER hardcode any english string, n’est-ce pas? We already have this problem on mobile with: ... mobilePick "A" & return & "B" & return & "C", 1, "cancelDone" ... Where we will have the english buttons „Cancel“ and „Done“ even on localized systems. :-/ I already bug-reported that. Things like this will make our apps look amateurish, as if we forgot the last bit of translation! > On Wed, May 18, 2016 at 1:02 PM Klaus major-k <kl...@major-k.de> wrote: > >> Hi all, >> >>> Am 17.05.2016 um 21:32 schrieb J. Landman Gay <jac...@hyperactivesw.com >>> The array is malformed. The script should be: >>> on mouseUp >>> ... >>> end mouseUp >>> Note the square brackets around each sublevel. >> >> yep, that worked great, thanks! >> >> Question: >> Any chance we will be able to TRANSLATE the >> „Add new element“ string? >> >> Yes, not all of our users speak english, although the >> mothership seems to presume this... 8-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode