Closed Bug 1686690 Opened 10 months ago Closed 9 months ago

Modify get_translations_from_other_locales() output structure to fit frontend needs

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: julenx)

Details

Attachments

(1 file)

We should output translations from other locales (get_translations_from_other_locales()) as a single list, and use a flag like "is_preferred": true to indicate preferred locales.

Right now we output two separate lists (translations from preferred and translations from other locales), and then flatten the list on frontend.

Assignee: nobody → julenx
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.