Text changes
This commit is contained in:
parent
6a8819fc23
commit
c8025705c1
|
@ -127,7 +127,7 @@
|
|||
$method_list.append( '<li><a href="admin.php?page=wc-settings&tab=shipping&instance_id=' + instance_id + '" class="' + class_name + '">' + shipping_method.title + '</a></li>' );
|
||||
} );
|
||||
} else {
|
||||
$method_list.append( '<li>–</li>' );
|
||||
$method_list.append( '<li>' + data.strings.no_methods + '</li>' );
|
||||
}
|
||||
|
||||
// Editing?
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -232,7 +232,8 @@ class WC_Settings_Shipping extends WC_Settings_Page {
|
|||
'wc_shipping_zones_nonce' => wp_create_nonce( 'wc_shipping_zones_nonce' ),
|
||||
'strings' => array(
|
||||
'unload_confirmation_msg' => __( 'Your changed data will be lost if you leave this page without saving.', 'woocommerce' ),
|
||||
'save_failed' => __( 'Your changes were not saved. Please retry.', 'woocommerce' )
|
||||
'save_failed' => __( 'Your changes were not saved. Please retry.', 'woocommerce' ),
|
||||
'no_methods' => __( 'No Shipping Methods defined.', 'woocommerce' ) . ' <a href="" class="add_shipping_method">' . __( 'Add one?', 'woocommerce' ) . '</a>'
|
||||
),
|
||||
) );
|
||||
wp_enqueue_script( 'wc-shipping-zones' );
|
||||
|
|
Loading…
Reference in New Issue