Make United States label in JS translatable. Closes #1168
This commit is contained in:
parent
dd7fde369d
commit
a3cf7743bf
|
@ -185,7 +185,7 @@ function woocommerce_tax_rates_setting() {
|
|||
});
|
||||
|
||||
jQuery('tr.tax_rate .select_us_states').live('click', function(){
|
||||
jQuery(this).closest('td').find('select optgroup[label="United States"] option').attr("selected","selected");
|
||||
jQuery(this).closest('td').find('select optgroup[label="<?php echo __( 'United States', 'woocommerce' ); ?>"] option').attr("selected","selected");
|
||||
jQuery(this).closest('td').find('select.tax_chosen_select').trigger("change");
|
||||
return false;
|
||||
});
|
||||
|
|
|
@ -171,6 +171,8 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Fix - strpos warning in shipping class
|
||||
* Fix - $query instead of $q in query class
|
||||
* Fix - Visibility setting for products in widgets
|
||||
* Fix - Allow translating of # in order numbers
|
||||
* Fix - Make United States label in JS translatable, as it might change
|
||||
|
||||
= 1.5.7.1 - 14/06/2012 =
|
||||
* Fix - Saving Mijireh settings bug
|
||||
|
|
Loading…
Reference in New Issue