Hello,
it's a bug as stated by Sak

http://bugzilla.qooxdoo.org/show_bug.cgi?id=5455

Regards


oetiker wrote:
> 
> Hi Mustafa,
> 
> Today Mustafa Sak wrote:
> 
>> Hi
>>
>> Its a Bug Not a Sony ;)
>>
>> Please try this.tr("SSD").toString()
> 
> this would work, but then the strings are not runtime switchable
> anymore ... the correct behaviour is for the marshaller to just not
> touch the tr object and leave it be, I guess the problem is the
> some of the detection logic for qx objects in the marshaller (which
> has been changed substantially from 1.4 to 1.5) fails to detect the
> translatable string object
> 
> cheers
> tobi
> 
>>
>> Regards Mustafa
>>
>> Von meinem iPhone gesendet
>>
>> Am 30.07.2011 um 13:15 schrieb Tobias Oetiker <[email protected]>:
>>
>> > I am using translatable list content in 1.4 I could use the json
>> > marshaller for
>> >
>> > var x = [{
>> >  l: this.tr('entry 1'),
>> >  v: 1
>> > }, ... ];
>> >
>> > xm = qx.data.marshal.Json.createModel(x);
>> >
>> > playground  http://tinyurl.com/3cg437o
>> >
>> > in 1.5 this fails ... as the marshaller seem to try to marshal the
>> > translatable string too ...
>> >
>> > how should I do this properly ?
>> >
>> > cheers
>> > tobi
>> >
>> > --
>> > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
>> > http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Got Input?   Slashdot Needs You.
>> > Take our quick survey online.  Come on, we don't ask for help often.
>> > Plus, you'll get a chance to win $100 to spend on ThinkGeek.
>> > http://p.sf.net/sfu/slashdot-survey
>> > _______________________________________________
>> > qooxdoo-devel mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> ------------------------------------------------------------------------------
>> Got Input?   Slashdot Needs You.
>> Take our quick survey online.  Come on, we don't ask for help often.
>> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
>> http://p.sf.net/sfu/slashdot-survey
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> 
> -- 
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900
> 
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/json-marshaller-in-1-5-and-this-tr-string-tp6636022p6636113.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to