function localization_type_ui() { global $sitepress_settings; $theme_localization_stats = get_theme_localization_stats(); $plugin_localization_stats = get_plugin_localization_stats(); include WPML_ST_PATH . '/menu/theme-localization-ui.php'; }
<?php global $sitepress_settings; $theme_localization_stats = get_theme_localization_stats(); $plugin_localization_stats = get_plugin_localization_stats(); ?> <h3><?php _e('Strings in the theme', 'wpml-string-translation'); ?> </h3> <div class="updated fade"> <p><i><?php _e('Re-scanning the plugins or the themes will reset the strings tracked in the code or the HTML source', 'wpml-string-translation'); ?> </i></p> </div> <div id="icl_strings_in_theme_wrap"> <?php if ($theme_localization_stats) { ?> <p><?php _e('The following strings were found in your theme.', 'wpml-string-translation'); ?> </p> <table id="icl_strings_in_theme" class="widefat" cellspacing="0"> <thead> <tr>