Code

Opened 14 months ago

Closed 14 months ago

Last modified 14 months 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

Attachments (0)

Change History (3)

comment:1 Changed 14 months 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 14 months 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 14 months 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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.