Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19922 closed Cleanup/optimization (fixed)

Docs typo - endtransblock

Reported by: amoebob Owned by: timo
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 2 years ago by timo

  • Component changed from Translations to Documentation
  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to timo
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 1.4 to master

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

  • Resolution set to fixed
  • Status changed from assigned to closed

In 9ce1b6191b374421ed42a84ae5d4585f1d33f1fc:

Fixed #19922 - Typo in translation docs.

Thanks amoebob for the report.

comment:3 Changed 2 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