Opened 12 years ago

Closed 12 years ago

#1677 closed defect (fixed)

Bad string in wxpython gui goutput.py

Reported by: lucadelu Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: Translations Version: svn-releasebranch64
Keywords: wxGUI, i18n Cc:
CPU: All Platform: All

Description

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.

Attachments (1)

goutput.diff (1019 bytes ) - added by lucadelu 12 years ago.
patch for Ticket 1677

Download all attachments as: .zip

Change History (4)

by lucadelu, 12 years ago

Attachment: goutput.diff added

patch for Ticket 1677

comment:1 by annakrat, 12 years ago

Fixed in grass7 in r52149 and grass65, grass64 too. See related discussion. In grass7 there are still many warnings in lib/python/temporal.

in reply to:  1 comment:2 by annakrat, 12 years ago

Replying to annakrat:

Fixed in grass7 in r52149 and grass65, grass64 too. See related discussion. In grass7 there are still many warnings in lib/python/temporal.

Sorry, I forgot quotes, fixed again in r52154.

comment:3 by annakrat, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.