Opened 16 years ago
Closed 16 years ago
#9548 closed defect (bug) (fixed)
Translate strings in comment template functions by default
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | lowest |
Severity: | minor | Version: | |
Component: | I18N | Keywords: | has-patch |
Focuses: | Cc: |
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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [10953]) Translate defaults. Props nbachiyski. fixes #9548