Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19922 closed Cleanup/optimization (fixed)

Docs typo - endtransblock

Reported by: amoebob Owned by: Tim Graham
Component: Documentation Version: master
Severity: Normal Keywords: documentation, translation
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In the Translation documentation, section "Comments for translators in templates", the example source incorrectly reads:

  {% blocktrans %}Ambiguous translatable block of text{% endtransblock %}

The end tag should instead be endblocktrans.

  {% blocktrans %}Ambiguous translatable block of text{% endblocktrans %}

https://docs.djangoproject.com/en/dev/topics/i18n/translation/#comments-for-translators-in-templates

Change History (3)

comment:1 Changed 4 years ago by Tim Graham

Component: TranslationsDocumentation
Owner: changed from nobody to Tim Graham
Status: newassigned
Triage Stage: UnreviewedAccepted
Version: 1.4master

comment:2 Changed 4 years ago by Tim Graham <timgraham@…>

Resolution: fixed
Status: assignedclosed

In 9ce1b6191b374421ed42a84ae5d4585f1d33f1fc:

Fixed #19922 - Typo in translation docs.

Thanks amoebob for the report.

comment:3 Changed 4 years ago by Tim Graham <timograham@…>

In 67f3a6e9cfe98b9376f90fc1b6f980570f3bcaa9:

[1.5.x] Fixed #19922 - Typo in translation docs.

Thanks amoebob for the report.

Backport of 9ce1b6191b from master

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