Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13658 closed (fixed)

small typo in a javascript example in the i18n docs

Reported by: stdbrouw Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: erikr Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The javascript example for named interpolation over at http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/#using-the-javascript-translation-catalog lacks a comma in the javascript associative array named *d* in between *count* and *total*, and gives a parse error if run, unless the comma is added. Very minor issue, 'fcuz.

Attachments (1)

i18n_js_comma_typo.diff (412 bytes) - added by erikr 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by erikr

comment:1 Changed 5 years ago by erikr

  • Cc erikr added
  • Has patch set
  • milestone set to 1.3
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Makes sense. Obviously trivial patch added :)

comment:2 Changed 5 years ago by russellm

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

(In [13531]) Fixed #13658 -- Added missing command in JavaScript example. Thanks to erikr for the report.

comment:3 Changed 5 years ago by russellm

(In [13537]) [1.2.X] Fixed #13658 -- Added missing command in JavaScript example. Thanks to erikr for the report.

Backport of r13531 from trunk.

comment:4 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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