forked from Michel2/wp-jquery-datatable
Added DataTables language support for 'search'
This commit is contained in:
@@ -76,6 +76,7 @@ Is this plugin prepared for multisites? Yes.
|
|||||||
* Changed some texts to make use of global translations.
|
* Changed some texts to make use of global translations.
|
||||||
* Added a domain to most of the texts for translation files.
|
* Added a domain to most of the texts for translation files.
|
||||||
* Added a Dutch translation file.
|
* Added a Dutch translation file.
|
||||||
|
* Added DataTables language support for 'search'.
|
||||||
|
|
||||||
= 4.1.0 =
|
= 4.1.0 =
|
||||||
* Compatibility with WordPress version 6.7.1
|
* Compatibility with WordPress version 6.7.1
|
||||||
|
|||||||
@@ -359,6 +359,9 @@ function wp_jdt_shortcode($atts, $content = "")
|
|||||||
$wp_jdt_script .= "'order': [$table_order_row_number,'$table_order_row_number_sort'], \n";
|
$wp_jdt_script .= "'order': [$table_order_row_number,'$table_order_row_number_sort'], \n";
|
||||||
}
|
}
|
||||||
$wp_jdt_script .= "'searching': $table_searching, \n";
|
$wp_jdt_script .= "'searching': $table_searching, \n";
|
||||||
|
$wp_jdt_script .= "language: {\n";
|
||||||
|
$wp_jdt_script .= "'search': '" . __('Searching', 'wp-jquery-datatable') . ":', \n";
|
||||||
|
$wp_jdt_script .= "}, \n";
|
||||||
$wp_jdt_script .= "} ); \n";
|
$wp_jdt_script .= "} ); \n";
|
||||||
$table_wrapper_id = $table_id . "_wrapper";
|
$table_wrapper_id = $table_id . "_wrapper";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user