[squeak-dev] I found this odd (GetText)

Levente Uzonyi leves at elte.hu
Fri Mar 30 13:38:35 UTC 2012


On Fri, 30 Mar 2012, Edgar J. De Cleene wrote:

> Trying to see why LocaleTest  testLocaleChanged fail , I got the attached

It fails because there's no translator for japanese locale. The old code 
didn't care about this, but the new does.


Levente

> 
> But I have:
> 
> NaturalLanguageTranslator>>#isDomainLoaded:
> isDomainLoaded: aDomainName
>     "ask if translation dictionary for the domain has been loaded and available now for use"
>     self subclassResponsibility.
> 
> GetTextTranslator>>#isDomainLoaded:
> isDomainLoaded: aDomainName
>     | mo |
>     mo := moFiles at: aDomainName ifAbsent: [nil].
>     ^mo isNil not.
> 
> InternalTranslator>>#isDomainLoaded:
> isDomainLoaded: aDomainName
>     ^true
> 
> 
> Some could teach me what is wrong?
> 
> I do not touch any of this methods.
> 
> Edgar
>


More information about the Squeak-dev mailing list