[Bugs] #3201 UNSP: Record i18n errors
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Tue Oct 18 01:06:38 EDT 2011
#3201: Record i18n errors
------------------------------------------+---------------------------------
Reporter: cjl | Owner: dsd
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Record | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
The POT generating cron job is throwing errors on several strings that
have more than one variable substitution. Changing to named variables
would fix this error and make it possible for localizers to unambiguously
translate these strings.
####### Checking POT for record (master) ######
Already up-to-date.
glive.py:396: 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.
model.py:183: 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.
model.py:384: 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.
+++++++++++++++++++++++++++++
#: glive.py:397 model.py:355
#, python-format
msgid "%s by %s"
msgstr ""
glive.py
395 # Translators: photo by photographer, e.g. "Photo by Mary"
396 tl[gst.TAG_TITLE] = _('%s by %s') % (stringType,
self.model.get_nickname())
397 return tl
model.py
383 # Translators: photo by photographer, e.g. "Photo by Mary"
384 recd.title = _('%s by %s') % (stringType, recd.recorderName)
+++++++++++++++++++++++++++++
#: model.py:154
#, python-format
msgid "%d:%02d remaining"
msgstr ""
181 mins = value / 60
182 secs = value % 60
183 text = _('%d:%02d remaining') % (mins, secs)
+++++++++++++++++++++++++++++
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3201>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list