[etoys-dev] Translation support

Ricardo Moran richi.moran at gmail.com
Tue Jun 22 13:47:10 EDT 2010


Wow... I didn't even know you can do that.

Richo

On Tue, Jun 22, 2010 at 1:27 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:

> Maybe you were playing with translations, or an inspector, or something.
> It's as easy as
>
> SketchMorph defaultNameStemForInstances at: 1 put: $S
>
> and if the string gets passed around one can modify it.
>
> - Bert -
>
> On 22.06.2010, at 18:04, Ricardo Moran wrote:
>
> Do you have any idea how did this happened?
>
> Richo
>
> On Tue, Jun 22, 2010 at 12:21 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:
>
>> On 22.06.2010, at 16:52, Ricardo Moran wrote:
>>
>> > It seemed to be a problem with my image. I see the code
>> >
>> > SketchMorph class>>#defaultNameStemForInstances
>> >       ^ 'Sketch' translatedNoop
>> >
>> > but if I print "SketchMorph defaultNameStemForInstances" I get
>> 'sketch'... really weird...
>> > I recompiled the method with the same source and the problem got fixed,
>> but I have no idea why it didn't work before.
>>
>> It's possible to modify literals ... which leads to mysterious behavior.
>>
>> - Bert -
>>
>>
>> _______________________________________________
>> etoys-dev mailing list
>> etoys-dev at squeakland.org
>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>>
>
>
>
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100622/a5deade8/attachment.html


More information about the etoys-dev mailing list