Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#16721 closed Bug (fixed)

Blocktrans does not handle correctly litteral percents (%) in content

Reported by: Claude Paroz Owned by: nobody
Component: Internationalization Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When a string inside a blocktrans tag contains litteral percent signs, the matching translation is not retrieved, because escaping is done too late in the render code of blocktrans. Patch follows.

Attachments (1)

16721.diff (3.6 KB ) - added by Claude Paroz 13 years ago.
Fix percent escaping in blocktrans rendering

Download all attachments as: .zip

Change History (5)

by Claude Paroz, 13 years ago

Attachment: 16721.diff added

Fix percent escaping in blocktrans rendering

comment:1 by Claude Paroz, 13 years ago

Has patch: set

comment:2 by Aymeric Augustin, 13 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Jannis Leidel, 13 years ago

Resolution: fixed
Status: newclosed

In [16730]:

Fixed #16721 -- Made sure that blocktrans correctly handles percents (%), even in the plural block. Thanks for the initial patch, Claude Paroz.

comment:4 by Jacob, 13 years ago

milestone: 1.4

Milestone 1.4 deleted

Note: See TracTickets for help on using tickets.
Back to Top