#8720 HIGH 8.2.1: Measure lacks proper gettextification

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 30 06:01:45 EDT 2008


#8720: Measure lacks proper gettextification
------------------------------+---------------------------------------------
 Reporter:  sayamindu         |         Owner:  arjs         
     Type:  defect            |        Status:  new          
 Priority:  high              |     Milestone:  8.2.1        
Component:  measure-activity  |       Version:  not specified
 Keywords:  localization      |   Next_action:  never set    
 Verified:  0                 |     Blockedby:               
 Blocking:                    |  
------------------------------+---------------------------------------------
 It looks like some strings are not gettexted in Measure. For example, in
 toolbar_top.py line 44,

 {{{
         self.add_toolbar('Sound', self._sound_toolbar)
 }}}

 should be

 {{{
         self.add_toolbar(_('Sound'), self._sound_toolbar)
 }}}

 Also, there are some strings which are concatenated at various locations,
 eg:

 {{{
         self._STR_BASIC = "Sensors, DC (connect sensor to pink 'Mic In' on
 left side of XO) "
 }}}

 is added to a newline at some point later in the code. This may cause
 confusion for translators.

 Some bext practices are available at
 http://www.gnu.org/software/gettext/manual/gettext.html#Preparing-Strings

-- 
Ticket URL: <http://dev.laptop.org/ticket/8720>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list