I18N Issue
-
“Force Regenerate Thumbnails” is its plugin name, but it has a precise meaning when this string shows on the WordPress Dashboard. In some languages, like zh_TW, the translators don’t translate the plugin’s name but need to translate the plugin’s UI strings, so I made some modifications for this issue.
All modifications are based on 2.1.1.
class-forceregeneratethumbnails.php, line 71 and 72
_x( 'Force Regenerate Thumbnails', 'UI Strings', 'force-regenerate-thumbnails' ),
_x( 'Force Regenerate Thumbnails', 'UI Strings', 'force-regenerate-thumbnails' ),Line 244
$actions['regenerate_thumbnails'] = '<a href="' . esc_url( $url ) . '" title="' . esc_attr__( 'Regenerate the thumbnails for this single image', 'force-regenerate-thumbnails' ) . '">' . _x( 'Force Regenerate Thumbnails', 'UI Strings', 'force-regenerate-thumbnails' ) . '</a>';
Line 266
$actions['bulk_force_regenerate_thumbnails'] = _x( 'Force Regenerate Thumbnails', 'UI Strings', 'force-regenerate-thumbnails' );
Line 335
<h2><?php echo esc_html_x( 'Force Regenerate Thumbnails', 'UI Strings', 'force-regenerate-thumbnails' ); ?></h2>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘I18N Issue’ is closed to new replies.