L10N Issue
-
I found some localizable strings in PHP files, but they are not ready for localization.
I list the modified codes as the following:
inc\options\options-output.phpLine 679
echo '<a id="export-options-select-all" class="options-select-all" href="#">' . __( 'Select all', 'wp-custom-admin-interface' ) . '</a>' . '/' . '<a id="export-options-deselect-all" class="options-deselect-all" href="#">' . __( 'Deselect all', 'wp-custom-admin-interface' ) . '</a>';Line 706
echo '<a id="delete-options-select-all" class="options-select-all" href="#">' . __( 'Select all', 'wp-custom-admin-interface' ). '</a>' . '/' . '<a id="delete-options-deselect-all" class="options-deselect-all" href="#">' . __( 'Deselect all', 'wp-custom-admin-interface' ) . '</a>';Line 1857
echo '<a id="select-all-items" class="select-all-items" href="#">' . __( 'Select all', 'wp-custom-admin-interface' ) . '</a>' . '/' . '<a id="deselect-all-items" class="deselect-all-items" href="#">' . __( 'Deselect all', 'wp-custom-admin-interface' ) . '</a><br></br>';Line 1953
echo '<a id="select-all-items" class="select-all-items" href="#">' . __( 'Select all', 'wp-custom-admin-interface' ) . '</a>' . '/' . '<a id="deselect-all-items" class="deselect-all-items" href="#">' . __( 'Deselect all', 'wp-custom-admin-interface' ) . '</a><br></br>';Line 2061
echo '<a id="select-all-items" class="select-all-items" href="#">' . __( 'Select all', 'wp-custom-admin-interface' ) . '</a>' . '/' . '<a id="deselect-all-items" class="deselect-all-items" href="#">' . __( 'Deselect all', 'wp-custom-admin-interface' ) . '</a><br></br>';Line 2175
<em style="margin-top:45px; margin-bottom:-20px; display: block;"><?php _e( "Note: menu items which have html tags in the title are used by WordPress to display dynamic content like a users name or the amount of comments etc. Therefore these items aren't editable. Unlike the 'Customize Admin Menu' feature of this plugin this 'Customize Toolbar' feature is more rigid and a little more difficult to make sense of. I recommend keeping the existing menu structure intact as much as possible and rather just hide items or add new items in around the existing menu structure.", 'wp-custom-admin-interface' ); ?></em><br></br>Line 2399
echo '<a id="select-all-items" class="select-all-items" href="#">' . __( 'Select all', 'wp-custom-admin-interface' ) . '</a>' . '/' . '<a id="deselect-all-items" class="deselect-all-items" href="#">' . __( 'Deselect all', 'wp-custom-admin-interface' ) . '</a><br></br>';wp-custom-admin-interface.php
Line 1067 (Can be localized, but it seemed not to display localized strings in profile page)
__( 'Custom', 'wp_custom_admin_interface' ),I think the above codes are not perfect, and I can’t understand how to modify all localizable strings in JS files, hope someone can do this.
I have done zh_TW fully localization except for the above strings, this is an awesome plugin, thanks for your effort.
The topic ‘L10N Issue’ is closed to new replies.