Make WordPress Core

Opened 13 years ago

Last modified 13 years ago

#16376 closed defect (bug)

Search button not translatable on list table — at Version 2

Reported by: thomask's profile thomask Owned by:
Milestone: Priority: normal
Severity: trivial Version: 3.1
Component: I18N Keywords:
Focuses: Cc:

Description (last modified by nacin)

Search button on list table (e.g. /wp-admin/plugins.php - on the top) cannot be translated. if i understand it right, the problem is wp-admin/includes/class-wp-list-table.php, function search_box
<?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>
should be
<?php submit_button( __($text), 'button', false, false, array('id' => 'search-submit') ); ?>

Change History (2)

#1 @thomask
13 years ago

<?php submit_button( __($text), 'button', false, false, array('id' => 'search-submit') ); ?>

#2 @nacin
13 years ago

  • Description modified (diff)

Due to the way gettext works, that won't work either. But looking.

Note: See TracTickets for help on using tickets.