[GRASS-dev] [GRASS GIS] #1677: Bad string in wxpython gui goutput.py

GRASS GIS trac at osgeo.org
Tue Jun 19 14:51:34 PDT 2012


#1677: Bad string in wxpython gui goutput.py
--------------------------+-------------------------------------------------
 Reporter:  lucadelu      |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  6.4.3                    
Component:  Translations  |     Version:  svn-releasebranch64      
 Keywords:  wxGUI, i18n   |    Platform:  All                      
      Cpu:  All           |  
--------------------------+-------------------------------------------------
 Creating new po file template I obtain some warning on goutput.py. I try
 to fix two strings but nothing change, I add a possible patch for two of
 five strings
 {{{
 Generating grasswxpy...
 xgettext -k_ -o ./templates/grasswxpy.pot `find ../gui/wxpython -name
 '*.py' | xargs grep -l "_(\""`
 ../gui/wxpython/gui_core/goutput.py:486: 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.
 ../gui/wxpython/gui_core/goutput.py:656: 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.
 ../gui/wxpython/gui_core/goutput.py:668: 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.
 ../gui/wxpython/gui_core/goutput.py:781: 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.
 ../gui/wxpython/gui_core/goutput.py:800: 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.
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1677>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list