Opened 13 years ago
Closed 12 years ago
#1677 closed defect (fixed)
Bad string in wxpython gui goutput.py
Reported by: | lucadelu | Owned by: | |
---|---|---|---|
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)
Change History (4)
by , 13 years ago
Attachment: | goutput.diff added |
---|
follow-up: 2 comment:1 by , 13 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.
comment:2 by , 13 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 , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch for Ticket 1677