Code

Opened 2 years ago

Closed 2 years ago

#18232 closed Bug (fixed)

i18n javascript_catalog Reference Error

Reported by: Matthew Tretter <matthew@…> Owned by: nobody
Component: Internationalization Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The get_format JavaScript function references an undefined variable (msgid). I believe the intent was to return the argument (format_type).

Attachments (1)

js-i18n-patch-2.diff (387 bytes) - added by Matthew Tretter <matthew@…> 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by Matthew Tretter <matthew@…>

comment:1 Changed 2 years ago by Matthew Tretter <matthew@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

This patch corresponds to pull request 14 on github.

https://github.com/django/django/pull/14

comment:2 Changed 2 years ago by adrian

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

Merged. Thanks, Matthew!

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.