Incorrect use of translation _()
Bug #1777671 reported by
Morgan Fainberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Vishakha Agarwal |
Bug Description
Keystone uses translated strings both in logging an exceptions. This is incorrect.
All strings that are passed to logging should remain un-translated. The solution is to duplicate the string and pass the untranslated (not wrapped with `_()`) to the logger while passing the translated `_()` wrapped string to the exception.
Relevant Discussion: http://
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → rocky-3 |
tags: | added: low-hanging-fruit office-hours |
description: | updated |
Changed in keystone: | |
assignee: | nobody → Deepak Mourya (mourya007) |
Changed in keystone: | |
assignee: | Deepak Mourya (mourya007) → nobody |
Changed in keystone: | |
importance: | Low → Medium |
Changed in keystone: | |
assignee: | nobody → sonu (sonu-bhumca11) |
Changed in keystone: | |
assignee: | sonu (sonu-bhumca11) → Vishakha Agarwal (vishakha.agarwal) |
To post a comment you must log in.
Is this actually a problem? Is this causing more work for the translators or causing incorrect translations?