Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#9548 closed defect (bug) (fixed)

Translate strings in comment template functions by default

Reported by: nbachiyski's profile nbachiyski Owned by: nbachiyski's profile nbachiyski
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)

comments-translated-args-by-default.diff (3.3 KB) - added by nbachiyski 16 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10953]) Translate defaults. Props nbachiyski. fixes #9548

Note: See TracTickets for help on using tickets.