WordPress.org

GlotPress

Opened 8 years ago

Last modified 5 years ago

#115 accepted enhancement

Export PO files with fuzzy flags intact

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

Description

Patch attached.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

#1 @nacin
6 years ago

  • 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].

#2 @nacin
6 years ago

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.

#3 @nbachiyski
6 years ago

  • Cc nbachiyski added

#4 @markoheijnen
5 years ago

  • Owner changed from somebody to markoheijnen
  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.