An inconsistent example:
imessage = _("Invalid metadata") + ": %(reason)s"
This is not consistent i18n usage. In most of cases, we use _() for
whole string instead of leaving something out.
More than inconsistent, some text in leaving strings may be not
translated, for example, ':' in English is different ':' in Chinese.
Reviewed: https:/ /review. openstack. org/45081 github. com/openstack/ cinder/ commit/ 193ad7994d536f6 44d73849512b574 d4f5ee7546
Committed: http://
Submitter: Jenkins
Branch: master
commit 193ad7994d536f6 44d73849512b574 d4f5ee7546
Author: Kun Huang <email address hidden>
Date: Thu Sep 5 00:36:48 2013 +0800
fix inconsistent i18n log message
An inconsistent example:
imessage = _("Invalid metadata") + ": %(reason)s"
This is not consistent i18n usage. In most of cases, we use _() for
whole string instead of leaving something out.
More than inconsistent, some text in leaving strings may be not
translated, for example, ':' in English is different ':' in Chinese.
Change-Id: I00e690021c44f1 debbe034cc0837a 07b292ffd1b
Closes-Bug: #1220813