Opened 14 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
Pull Requests:How to create a pull request

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.

Change History (5)

by Claude Paroz, 14 years ago

Attachment: 16721.diff added

Fix percent escaping in blocktrans rendering

comment:1 by Claude Paroz, 14 years ago

Has patch: set

comment:2 by Aymeric Augustin, 14 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