Make WordPress Core

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)

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

Download all attachments as: .zip

Change History (2)

#1 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.