Refactor code to make use of make_plurals_sql_fragment

Bug #320096 reported by Henning Eggers
2
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_sql_fragment was created.

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.