Refactor code to make use of make_plurals_sql_fragment
Bug #320096 reported by
Henning Eggers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
The translation message table has six seperate fields to store translation strings. In SQL queries this often makes code in WHERE clauses repeat itself six times. To make this easier and provide for an easy change of the number of plural forms (hopefully won't happen) the helper function make_plurals_
The code should be checked to find places where this function can be used and those place should be refactored to do so.
Changed in rosetta: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in launchpad: | |
importance: | Medium → Low |
To post a comment you must log in.