Sugar Labs

finance-activity Issue: #9: Format strings with unname arguments

During genpot this occurs;


finance.py:515: 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.

finance.py:519: 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.

finance.py:979: 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.

Task tags

  • finance-activity
  • python

Students who completed this task

Emily Ong Hui Qi

Task type

  • code Code
  • done_all Quality Assurance
close

2017