Opened 5 years ago

Closed 5 years ago

Last modified 5 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: master
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 5 years ago.
Fix percent escaping in blocktrans rendering

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by Claude Paroz

Attachment: 16721.diff added

Fix percent escaping in blocktrans rendering

comment:1 Changed 5 years ago by Claude Paroz

Has patch: set

comment:2 Changed 5 years ago by Aymeric Augustin

Triage Stage: UnreviewedAccepted

comment:3 Changed 5 years ago by Jannis Leidel

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 Changed 5 years ago by Jacob

milestone: 1.4

Milestone 1.4 deleted

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