Improve I18N Issues (Based on 3.36)
-
Some UI strings without correct I18N code so they cannot be translated, I paste the modified code here since I don’t find this plugin’s GitHub repository.
customsidebars.php, Line 149 to 150
echo '<div class="error notice" style="max-width: 700px;"><p><b>' . __( '?? IMPORTANT ??', 'custom-sidebars' ) . '</b><br><br>' . __( 'Custom Sidebars plugin is NOT compatible with the new widgets edit screen (powered by Gutenberg).', 'custom-sidebars' ) . '<br>' . sprintf(__( 'Install the official <a href="%s">Classic Widgets</a> plugin if you want to continue using it.', 'custom-sidebars' ),admin_url('plugin-install.php?s=classic%20widgets&tab=search&type=term')) . '</p></div>';
inc\class-custom-sidebars-checkup-notification.php
Line 147
<h4 class="textcenter"><?php esc_html_e( 'Having problems with SSL?', 'custom-sidebars' ); ?><br><?php esc_html_e( 'Generate a free certificate & properly redirect to HTTPS with a few clicks', 'custom-sidebars' ); ?></h4>
Line 149
<div class="textcenter"><a target="_blank" href="<?php echo admin_url('plugin-install.php?s=webfactory%20force%20ssl&tab=search&type=term'); ?>" class="button"><?php printf(__( 'Install the %1$sfree WP Force SSL plugin%2$s', 'custom-sidebars' ),'<b>','</b>'); ?></a></div>
Line 157
<h4 class="textcenter"><?php esc_html_e( 'Need to make any element on your site sticky?', 'custom-sidebars' ); ?><br><?php esc_html_e( 'Header menu, a widget, or an image?', 'custom-sidebars' ); ?></h4>
Line 159
<div class="textcenter"><a target="_blank" href="<?php echo admin_url('plugin-install.php?s=webfactory%20sticky&tab=search&type=term'); ?>" class="button-primary"><?php esc_html_e( 'Install the free WP Sticky plugin', 'custom-sidebars' ); ?></a></div>
views\import.php
Line 90 to 91
<td><?php echo esc_html_x( 'Export', 'Version', 'custom-sidebars' ); ?></td> <td><?php echo esc_html_x( 'Current', 'Version', 'custom-sidebars' ); ?></td>
Line 388 to 389
<button type="button" class="btn-cancel button-link"><?php esc_html_e( 'Cancel', 'custom-sidebars' ); ?></button> <button class="button-primary btn-import"><i class="dashicons dashicons-migrate"></i> <?php esc_html_e( 'Import selected items', 'custom-sidebars' ); ?></button>
- The topic ‘Improve I18N Issues (Based on 3.36)’ is closed to new replies.