#10503 closed (fixed)
trans noop documentation could be made more clear
| Reported by: | liangent | Owned by: | Matt Boersma | 
|---|---|---|---|
| Component: | Documentation | Version: | 1.0 | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
i used  {% trans "yes" noop %}  in templates and  yes  appears unless i comment it out.
Attachments (1)
Change History (8)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Component: | Template system → Documentation | 
|---|---|
| Summary: | trans noop doesn'twork → trans noop documentation could be made more clear | 
| Triage Stage: | Unreviewed → Accepted | 
This seems to do exactly what it said it would do, it does the variable lookup but doesn't translate it.  Perhaps the docs could be made a tiny bit more clear.  Changed the title to reflect this.
comment:3 by , 17 years ago
| milestone: | → 1.1 | 
|---|
by , 17 years ago
| Attachment: | 10503.diff added | 
|---|
Reworded description of "noop" using admin docs' description
comment:4 by , 17 years ago
| Has patch: | set | 
|---|---|
| Owner: | changed from to | 
| Status: | new → assigned | 
| Triage Stage: | Accepted → Ready for checkin | 
I reworded this sentence to use the description of "noop" that appears in the admin documentation.  It's a bit clearer, and makes it plain that "yes" would be returned in the case liangent mentioned.
comment:5 by , 17 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
i'm not sure if it's because of my misunderstanding of document.
in document:
i think it means that the tag will output nothing.