Argh. So it *is* the same bug as SQ-832. It is translated to 'básico' in one place but in the viewer category it's 'basico'.
#basic translatedInDomain: 'Etoys'
==> 'básico'
#basic translatedInDomain: 'Etoys-Tiles'
==> 'basico'
Different.
Maybe we should fix #likelyCategoryToShow by making it use translatedInDomain: 'Etoys-Tiles'. Or create a new method:
translatedInTilesDomain
^self translatedInDomain: 'Etoys-Tiles'
Good detective work!
- Bert -
On 22.05.2011, at 20:42, Karl Ramberg (JIRA) wrote:
>
> [
http://tracker.squeakland.org/browse/SQ-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39839#action_39839 ]
>
> Karl Ramberg commented on SQ-938:
> ---------------------------------
>
> In StandardViewer>>likelyCategoryToShow
> ...
> {'kedama' translated. #basic translated}
> do: [:preferred | (possible includes: preferred) ifTrue: [self beep.^ preferred]].
> ...
>
>
> Seems Spanish does not include 'basic'.
> I tested with 'kedama' and it comes up second after instance variable, as it should.
>
>> In Spanish, viewer does not start with basic category
>> -----------------------------------------------------
>>
>> Key: SQ-938
>> URL:
http://tracker.squeakland.org/browse/SQ-938>> Project: squeakland
>> Issue Type: Bug
>> Components: etoys, translation
>> Reporter: Bert Freudenberg
>> Priority: Blocker
>> Fix For: etoys 4.1.2
>>
>>
>> To reproduce:
>> 1. Switch language to "Español"
>> 2. Make an object (e.g., get a "Rectángulo" from supplies)
>> 3. Open its viewer
>> Expected result:
>> - viewer opens with "basico" ("basic") category on top
>> Actual result:
>> - viewer opens with "pruebas" ("tests") category on top
>> Interestingly, this works fine in German or Japanese. Not sure why Spanish is different. Maybe related to SQ-832?
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
http://tracker.squeakland.org/secure/Administrators.jspa> -
> For more information on JIRA, see:
http://www.atlassian.com/software/jira>
>
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev