[Bugs] #2537 UNSP: Calculate doesn't accept ", " as a decimal separator when set to Spanish locale

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Jan 1 14:52:15 EST 2011


#2537: Calculate doesn't accept "," as a decimal separator when set to Spanish
locale
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by garycmartin):

 Replying to [comment:7 walter]:
 > First, the statement at the top of the code is wrong: should be a
 lowercase utf
 >
 > - # -*- coding: UTF-8 -*-
 > + # -*- coding: utf-8 -*-
 >
 > Once that correction is made, then calculate works as is, without my
 patch.

 Hmmm, without any of your patches, and changing all the UTF statements to
 utf statements (there are four .py files with it in uppercase) I can't
 seen any discernible improvement in behaviour, e.g. with language set to
 Spanish and typing 10,5*2 fails like it did before with "Error: tipo no
 suportado".

 Sorry if I've misread some step.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2537#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list