Need use _() to handle i18n string messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Low
|
Unassigned |
Bug Description
Need use _() to handle the string message in file keystone/
On a non-english env (ja), we will see the english message strings, when we create or update a user with empty name or empty Enabled. In fact, we need the non-english (ja) messages.
And find the follow string messages in file keystone/
msg = 'Name field is required and cannot be empty'
msg = 'Marker could not be found'
msg = 'Invalid limit value'
msg = 'Name field is required and cannot be empty'
msg = 'Enabled field must be a boolean'
msg = 'Enabled field should be a boolean'
msg = 'Name field is required and cannot be empty'
msg = 'Specify a domain or project, not both'
msg = 'Specify a user or group, not both'
Changed in keystone: | |
assignee: | nobody → YangLei (yanglyy) |
Changed in keystone: | |
importance: | Undecided → Low |
summary: |
- Need use _() to handle the string message in file - keystone/identity/controllers.py + Need use _() to handle i18n string messages |
Changed in keystone: | |
assignee: | YangLei (yanglyy) → Dolph Mathews (dolph) |
Changed in keystone: | |
assignee: | Dolph Mathews (dolph) → YangLei (yanglyy) |
Fix proposed to branch: master /review. openstack. org/44997
Review: https:/