Opened 15 years ago

Last modified 14 years ago

#10891 closed

Blocktrans fails in 1.1b if there are newlines in the text — at Version 1

Reported by: Stavros Korokithakis Owned by: nobody
Component: Internationalization Version: dev
Severity: Keywords: i18n-fixed
Cc: Triage Stage: Fixed on a branch
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Alex Gaynor)

The blocktrans tag silently fails to show the translation if there are newlines in the text to be translated. Only the original text is shown.

{% blocktrans %}
A test.
{% endblocktrans %}

fails.

{% blocktrans %}A test.{% endblocktrans %}

succeeds.

Change History (1)

comment:1 by Alex Gaynor, 15 years ago

Description: modified (diff)

Please use preview.

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