Development

#3102 ([PATCH] Indent and format XLIFF generated/updated files)

You must first sign up to be able to contribute.

Ticket #3102 (closed enhancement: fixed)

Opened 9 months ago

Last modified 9 months ago

[PATCH] Indent and format XLIFF generated/updated files

Reported by: nicolas Assigned to: fabien
Priority: minor Milestone: 1.1.0 beta2
Component: i18n Version: 1.1.0 DEV
Keywords: extract Cc:
Qualification: Ready for core team

Description

Attached patch formats (indents) nicely XLIFF files generated by the i18n:extract task in sf 1.1.

This is useful when you manage translations using a simple text editor.

Attachments

xliff_formatting.patch (2.8 kB) - added by nicolas on 03/12/08 17:50:43.
XLIFF XML formatter patch
xliff_formatting2.patch (1.6 kB) - added by nicolas on 03/13/08 11:43:15.
New patch which format newly created XLIFF files

Change History

03/12/08 17:50:43 changed by nicolas

  • attachment xliff_formatting.patch added.

XLIFF XML formatter patch

03/12/08 21:43:59 changed by dwhittle

  • status changed from new to closed.
  • resolution set to fixed.

(In [7839]) 1.1: fixed xliff files are not indented (thanks nicolas - closes #3102)

03/13/08 11:42:23 changed by nicolas

I just realize that the formatting was applied at update time but not at creation one, so here's a new patch which fix this in attachement :-)

03/13/08 11:43:15 changed by nicolas

  • attachment xliff_formatting2.patch added.

New patch which format newly created XLIFF files

03/13/08 22:04:30 changed by dwhittle

  • qualification changed from Unreviewed to Ready for core team.
  • milestone set to 1.1.0 beta2.

Fixed in r7862.