I found this odd (GetText)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

I found this odd (GetText)

Edgar De Cleene
I found this odd (GetText) Trying to see why LocaleTest  testLocaleChanged fail , I got the attached

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



SqueakDebug.log (17K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: I found this odd (GetText)

Levente Uzonyi-2
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
>