PluginProbe
Polylang / 2.8
Polylang v2.8
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / settings / view-tab-strings.php

view-tab-strings.php in Polylang 2.8, at settings/view-tab-strings.php

34 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Displays the strings translations tab in Polylang settings
4 *
5 * @package Polylang
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Don't access directly
10 };
11 ?>
12 <div class="form-wrap">
13 <form id="string-translation" method="post" action="<?php echo esc_url( add_query_arg( 'noheader', 'true' ) ); ?>">
14 <input type="hidden" name="pll_action" value="string-translation" />
15 <?php
16 $string_table->search_box( __( 'Search translations', 'polylang' ), 'translations' );
17 wp_nonce_field( 'string-translation', '_wpnonce_string-translation' );
18 $string_table->display();
19 printf( '<br /><label><input name="clean" type="checkbox" value="1" /> %s</label>', esc_html__( 'Clean strings translation database', 'polylang' ) );
20 ?>
21 <p><?php esc_html_e( 'Use this to remove unused strings from database, for example after a plugin has been uninstalled.', 'polylang' ); ?></p>
22 <?php
23 submit_button(); // Since WP 3.1
24 ?>
25 </form>
26 <div class="metabox-holder">
27 <?php
28 wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
29 do_meta_boxes( 'languages_page_mlang_strings', 'bottom', array() );
30 ?>
31 </div>
32
33 </div>
34