Solum code uses "_" for translation through built_in
Bug #1258254 reported by
Georgy Okrokvertskhov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Fix Released
|
Medium
|
Adrian Otto | ||
Icehouse |
Fix Released
|
Medium
|
Adrian Otto |
Bug Description
Solum code uses global function "_" which is usually installed by openstack.common. This approach does not work in unit tests which do not import opentack.common directly. The usage of global function which might not be defined is not a good approach, so we need to do explicit import of translation function in solum code.
To post a comment you must log in.
I am looking for examples of the use of _ in the existing code. I would like to list the files here, and mark this bug as low hanging fruit.