Extract 'No Rows Selected' string
This commit is contained in:
parent
bd30def6a1
commit
b030927590
|
@ -27,7 +27,7 @@
|
|||
jQuery(this).hide();
|
||||
});
|
||||
} else {
|
||||
alert('<?php echo esc_js( __( 'No row(s) selected', 'woocommerce' ) ); ?>');
|
||||
alert( data.strings.no_rows_selected );
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
|
|
@ -46,6 +46,7 @@ wp_localize_script( 'wc-settings-tax', 'htmlSettingsTaxLocalizeScript', array(
|
|||
'countries' => $countries,
|
||||
'states' => $states,
|
||||
'strings' => array(
|
||||
'no_rows_selected' => __( 'No row(s) selected', 'woocommerce' ),
|
||||
'csv_data_cols' => array(
|
||||
__( 'Country Code', 'woocommerce' ),
|
||||
__( 'State Code', 'woocommerce' ),
|
||||
|
|
Loading…
Reference in New Issue