[Etoys] about LanguageEditor>>checkSpanishPhrase:translation:

Bert Freudenberg bert at freudenbergs.de
Thu Nov 29 08:54:29 EST 2007


On Nov 29, 2007, at 14:48 , antonio wrote:

> checkSpanishPhrase: phraseString translation: translationString
> "check the translation an aswer a string with a comment or a
> nil meaning no-comments"
> | superResult |
> superResult := self checkPhrase: phraseString translation:  
> translationString.
> superResult isNil
> ifFalse: [^ superResult].
> "For some reason, MCInstaller couldn't read Spanish
> character. "
> "((translationString withBlanksTrimmed includes: $?)
> and: [(translationString withBlanksTrimmed includes: $é…)
> not]) ifTrue: [^ 'é…OlvidƧ el signo de pregunta?'].
> ((translationString withBlanksTrimmed includes: $!)
> and: [(translationString withBlanksTrimmed includes: $éÄ)
> not]) ifTrue: [^ 'é…OlvidƧ el signo de admiraciƧn?']
> "
> ^ nil

This didn't come through as intended, I guess.

- Bert -




More information about the Etoys mailing list