Opened 3 years ago

Last modified 13 months ago

#115 new enhancement

Export PO files with fuzzy flags intact

Reported by: Nightgunner5 Owned by: somebody
Priority: normal Milestone: 1.0
Component: general Version:
Keywords: has-patch tested Cc: nbachiyski

Description

Patch attached.

Attachments (1)

glotpress-export-formats.patch (2.4 KB) - added by Nightgunner5 3 years ago.

Download all attachments as: .zip

Change History (4)

  • Keywords changed from has-patch, tested to has-patch tested
  • Summary changed from Export PO files with fuzzy flags intact, add MO import/export. to Export PO files with fuzzy flags intact

MO format was added in [603].

Seems to me like this patch isn't making the change in the right place.

Rather, the Translation_Entry object should be passed a flag of 'fuzzy' for when status = 'fuzzy'. Then we should allow current and fuzzy translations to be exported, rather than forcing it to 'current'.

That said, $filters['status'] = 'current'; looks like a dead line of code. $filters isn't set or used anywhere in GP_Format_PO.

  • Cc nbachiyski added
Note: See TracTickets for help on using tickets.