[Bugs] #3470 UNSP: Deducto i18n warning flag

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 18 01:06:21 EDT 2012


#3470: Deducto i18n warning flag
------------------------------------------+---------------------------------
    Reporter:  cjl                        |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  ActivityTeam               |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 The POT generating script is throwing a warning error

 ####### Checking POT for Deducto (master) ######

 Already up-to-date.
 DeductoActivity.py:265: warning: 'msgid' format string with unnamed
 arguments cannot be properly localized:

 The translator cannot reorder the arguments.  Please consider using a
 format string with named arguments, and a mapping instead of a tuple for
 the arguments.

 This line is the issue:

 "Explore patterns with the %s and %s buttons."

 Please consider changing to named variables like

 "Explore patterns with the %(1)s and %(2)s buttons."

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3470>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list