Opened 18 years ago
Closed 18 years ago
#9548 closed defect (bug) (fixed)
Translate strings in comment template functions by default
| Reported by: | nbachiyski | Owned by: | nbachiyski |
|---|---|---|---|
| Priority: | lowest | Milestone: | 2.8 |
| Component: | I18N | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Several functions like comment_type() have as default values of there label arguments the strings in English. That way the theme author has to call the function with the translated strings.
Instead, we can use false as default values and use the translated strings if no other value was given.
Patch attached.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
(In [10953]) Translate defaults. Props nbachiyski. fixes #9548