#23984 closed Cleanup/optimization (fixed)
Document all available javascript_catalog's functions
Reported by: | Baptiste Mispelon | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | yes | UI/UX: | no |
Description
The documentation at https://docs.djangoproject.com/en/dev/topics/i18n/translation/#using-the-javascript-translation-catalog only mentions the existence of gettext
, ngettext
and interpolate
.
There are however a few more functions that are available [1] and we should document them.
[1] https://github.com/django/django/blob/43041ee48c802418ec935a2ece59f876f5888c40/django/views/i18n.py#L164-L171
Change History (12)
comment:1 Changed 8 years ago by
Summary: | Document all available js_catalog's functions → Document all available javascript_catalog's functions |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 Changed 8 years ago by
Owner: | changed from nobody to Asif Saifuddin Auvi |
---|---|
Status: | new → assigned |
comment:3 Changed 8 years ago by
Owner: | Asif Saifuddin Auvi deleted |
---|---|
Status: | assigned → new |
comment:4 Changed 8 years ago by
Owner: | set to Matt Seymour |
---|---|
Status: | new → assigned |
comment:5 Changed 8 years ago by
Owner: | Matt Seymour deleted |
---|---|
Status: | assigned → new |
comment:6 Changed 8 years ago by
Owner: | set to David Tran |
---|---|
Status: | new → assigned |
comment:7 Changed 8 years ago by
comment:8 Changed 8 years ago by
Owner: | David Tran deleted |
---|---|
Status: | assigned → new |
comment:9 Changed 8 years ago by
Has patch: | set |
---|---|
Patch needs improvement: | set |
Left some cosmetic comments.
comment:10 Changed 8 years ago by
Owner: | set to Tim Graham <timograham@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 8ca9bc5:
Note: See
TracTickets for help on using
tickets.
I put together a basic description of each function (as well as some examples). I've pushed what I've got to https://github.com/django/django/pull/4509 for review/corrections/expansions.