Hello i18n team,
I came across a question today I was unable to find the answer for. The
question arose from a review I was looking over.
Should I18n translated strings should use dict-based substitution instead
of index-based?
LOG.debug(_('stdout is: "%s"') % blah)
vs.
LOG.debug(_('stdout is: "%(blah)s"') % {'blah': blah})
Thank you,
Chris Krelle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-i18n/attachments/20131212/b725abac/attachment.html>