[etoys-dev] Translation support
Bert Freudenberg
bert at freudenbergs.de
Tue Jun 22 12:27:38 EDT 2010
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
>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100622/3a7ed914/attachment.html
More information about the etoys-dev
mailing list