#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 by , 10 years ago
Summary: | Document all available js_catalog's functions → Document all available javascript_catalog's functions |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:4 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:5 by , 10 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:6 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:7 by , 10 years ago
comment:8 by , 10 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:9 by , 10 years ago
Has patch: | set |
---|---|
Patch needs improvement: | set |
Left some cosmetic comments.
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.