WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #16376


Ignore:
Timestamp:
01/26/11 13:39:34 (3 years ago)
Author:
nacin
Comment:

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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16376 – Description

    initial v2  
    11Search 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 
    2 <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?> 
     2`<?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>` 
    33should be 
    4 <?php submit_button( __($text), 'button', false, false, array('id' => 'search-submit') ); ?> 
     4`<?php submit_button( __($text), 'button', false, false, array('id' => 'search-submit') ); ?>`