diff --git a/assets/js/accounting/accounting.min.js b/assets/js/accounting/accounting.min.js index 1dce44ceea0..2d36871eeea 100644 --- a/assets/js/accounting/accounting.min.js +++ b/assets/js/accounting/accounting.min.js @@ -1,11 +1 @@ -/*! - * accounting.js v0.4.2 - * Copyright 2014 Open Exchange Rates - * - * Freely distributable under the MIT license. - * Portions of accounting.js are inspired or borrowed from underscore.js - * - * Full details and documentation: - * http://openexchangerates.github.io/accounting.js/ - */ -!function(a,b){function c(a){return!!(""===a||a&&a.charCodeAt&&a.substr)}function d(a){return l?l(a):"[object Array]"===m.call(a)}function e(a){return a&&"[object Object]"===m.call(a)}function f(a,b){var c;a=a||{},b=b||{};for(c in b)b.hasOwnProperty(c)&&null==a[c]&&(a[c]=b[c]);return a}function g(a,b,c){var d,e,f=[];if(!a)return f;if(k&&a.map===k)return a.map(b,c);for(d=0,e=a.length;e>d;d++)f[d]=b.call(c,a[d],d,a);return f}function h(a,b){return a=Math.round(Math.abs(a)),isNaN(a)?b:a}function i(a){var b=j.settings.currency.format;return"function"==typeof a&&(a=a()),c(a)&&a.match("%v")?{pos:a,neg:a.replace("-","").replace("%v","-%v"),zero:a}:a&&a.pos&&a.pos.match("%v")?a:c(b)?j.settings.currency.format={pos:b,neg:b.replace("%v","-%v"),zero:b}:b}var j={};j.version="0.4.1",j.settings={currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}};var k=Array.prototype.map,l=Array.isArray,m=Object.prototype.toString,n=j.unformat=j.parse=function(a,b){if(d(a))return g(a,function(a){return n(a,b)});if(a=a||0,"number"==typeof a)return a;b=b||j.settings.number.decimal;var c=new RegExp("[^0-9-"+b+"]",["g"]),e=parseFloat((""+a).replace(/\((.*)\)/,"-$1").replace(c,"").replace(b,"."));return isNaN(e)?0:e},o=j.toFixed=function(a,b){b=h(b,j.settings.number.precision);var c=Math.pow(10,b);return(Math.round(j.unformat(a)*c)/c).toFixed(b)},p=j.formatNumber=j.format=function(a,b,c,i){if(d(a))return g(a,function(a){return p(a,b,c,i)});a=n(a);var k=f(e(b)?b:{precision:b,thousand:c,decimal:i},j.settings.number),l=h(k.precision),m=0>a?"-":"",q=parseInt(o(Math.abs(a||0),l),10)+"",r=q.length>3?q.length%3:0;return m+(r?q.substr(0,r)+k.thousand:"")+q.substr(r).replace(/(\d{3})(?=\d)/g,"$1"+k.thousand)+(l?k.decimal+o(Math.abs(a),l).split(".")[1]:"")},q=j.formatMoney=function(a,b,c,k,l,m){if(d(a))return g(a,function(a){return q(a,b,c,k,l,m)});a=n(a);var o=f(e(b)?b:{symbol:b,precision:c,thousand:k,decimal:l,format:m},j.settings.currency),r=i(o.format),s=a>0?r.pos:0>a?r.neg:r.zero;return s.replace("%s",o.symbol).replace("%v",p(Math.abs(a),h(o.precision),o.thousand,o.decimal))};j.formatColumn=function(a,b,k,l,m,o){if(!a)return[];var q=f(e(b)?b:{symbol:b,precision:k,thousand:l,decimal:m,format:o},j.settings.currency),r=i(q.format),s=r.pos.indexOf("%s")0?r.pos:0>a?r.neg:r.zero,e=c.replace("%s",q.symbol).replace("%v",p(Math.abs(a),h(q.precision),q.thousand,q.decimal));return e.length>t&&(t=e.length),e});return g(u,function(a,b){return c(a)&&a.lengthd;d++)f[d]=b.call(c,a[d],d,a);return f}function h(a,b){return a=Math.round(Math.abs(a)),isNaN(a)?b:a}function i(a){var b=j.settings.currency.format;return"function"==typeof a&&(a=a()),c(a)&&a.match("%v")?{pos:a,neg:a.replace("-","").replace("%v","-%v"),zero:a}:a&&a.pos&&a.pos.match("%v")?a:c(b)?j.settings.currency.format={pos:b,neg:b.replace("%v","-%v"),zero:b}:b}var j={};j.version="0.4.1",j.settings={currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}};var k=Array.prototype.map,l=Array.isArray,m=Object.prototype.toString,n=j.unformat=j.parse=function(a,b){if(d(a))return g(a,function(a){return n(a,b)});if(a=a||0,"number"==typeof a)return a;b=b||j.settings.number.decimal;var c=new RegExp("[^0-9-"+b+"]",["g"]),e=parseFloat((""+a).replace(/\((.*)\)/,"-$1").replace(c,"").replace(b,"."));return isNaN(e)?0:e},o=j.toFixed=function(a,b){b=h(b,j.settings.number.precision);var c=Math.pow(10,b);return(Math.round(j.unformat(a)*c)/c).toFixed(b)},p=j.formatNumber=j.format=function(a,b,c,i){if(d(a))return g(a,function(a){return p(a,b,c,i)});a=n(a);var k=f(e(b)?b:{precision:b,thousand:c,decimal:i},j.settings.number),l=h(k.precision),m=0>a?"-":"",q=parseInt(o(Math.abs(a||0),l),10)+"",r=q.length>3?q.length%3:0;return m+(r?q.substr(0,r)+k.thousand:"")+q.substr(r).replace(/(\d{3})(?=\d)/g,"$1"+k.thousand)+(l?k.decimal+o(Math.abs(a),l).split(".")[1]:"")},q=j.formatMoney=function(a,b,c,k,l,m){if(d(a))return g(a,function(a){return q(a,b,c,k,l,m)});a=n(a);var o=f(e(b)?b:{symbol:b,precision:c,thousand:k,decimal:l,format:m},j.settings.currency),r=i(o.format),s=a>0?r.pos:0>a?r.neg:r.zero;return s.replace("%s",o.symbol).replace("%v",p(Math.abs(a),h(o.precision),o.thousand,o.decimal))};j.formatColumn=function(a,b,k,l,m,o){if(!a)return[];var q=f(e(b)?b:{symbol:b,precision:k,thousand:l,decimal:m,format:o},j.settings.currency),r=i(q.format),s=r.pos.indexOf("%s")0?r.pos:0>a?r.neg:r.zero,e=c.replace("%s",q.symbol).replace("%v",p(Math.abs(a),h(q.precision),q.thousand,q.decimal));return e.length>t&&(t=e.length),e});return g(u,function(a,b){return c(a)&&a.length0?(c.push(b),f.variation_ids=c,f.security=woocommerce_admin_meta_boxes_variations.delete_variations_nonce,a.post(woocommerce_admin_meta_boxes_variations.ajax_url,f,function(){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-page"),10),d=Math.ceil((parseInt(b.attr("data-total"),10)-1)/woocommerce_admin_meta_boxes_variations.variations_per_page),f=1;a("#woocommerce-product-data").trigger("woocommerce_variations_removed"),c===d||d>=c?f=c:c>d&&0!==d&&(f=d),e.go_to_page(f,-1)})):d.unblock()}return!1},link_all_variations:function(){if(d.check_for_changes(),window.confirm(woocommerce_admin_meta_boxes_variations.i18n_link_all_variations)){d.block();var b={action:"woocommerce_link_all_variations",post_id:woocommerce_admin_meta_boxes_variations.post_id,security:woocommerce_admin_meta_boxes_variations.link_variation_nonce};a.post(woocommerce_admin_meta_boxes_variations.ajax_url,b,function(b){var c=parseInt(b,10);1===c?window.alert(c+" "+woocommerce_admin_meta_boxes_variations.i18n_variation_added):0===c||c>1?window.alert(c+" "+woocommerce_admin_meta_boxes_variations.i18n_variations_added):window.alert(woocommerce_admin_meta_boxes_variations.i18n_no_variations_added),c>0?(e.go_to_page(1,c),a("#variable_product_options").trigger("woocommerce_variations_added",c)):d.unblock()})}return!1},input_changed:function(){a(this).closest(".woocommerce_variation").addClass("variation-needs-update"),a("button.cancel-variation-changes, button.save-variation-changes").removeAttr("disabled"),a("#variable_product_options").trigger("woocommerce_variations_input_changed")},defaults_changed:function(){a(this).closest("#variable_product_options").find(".woocommerce_variation:first").addClass("variation-needs-update"),a("button.cancel-variation-changes, button.save-variation-changes").removeAttr("disabled"),a("#variable_product_options").trigger("woocommerce_variations_defaults_changed")},do_variation_action:function(){var b,c=a("select.variation_actions").val(),f={},g=0;switch(c){case"add_variation":return void d.add_variation();case"link_all_variations":return void d.link_all_variations();case"delete_all":window.confirm(woocommerce_admin_meta_boxes_variations.i18n_delete_all_variations)&&window.confirm(woocommerce_admin_meta_boxes_variations.i18n_last_warning)&&(f.allowed=!0,g=-1*parseInt(a("#variable_product_options").find(".woocommerce_variations").attr("data-total"),10));break;case"variable_regular_price_increase":case"variable_regular_price_decrease":case"variable_sale_price_increase":case"variable_sale_price_decrease":b=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_enter_a_value_fixed_or_percent),null!=b&&(b.indexOf("%")>=0?f.value=accounting.unformat(b.replace(/\%/,""),woocommerce_admin.mon_decimal_point)+"%":f.value=accounting.unformat(b,woocommerce_admin.mon_decimal_point));break;case"variable_regular_price":case"variable_sale_price":case"variable_stock":case"variable_weight":case"variable_length":case"variable_width":case"variable_height":case"variable_download_limit":case"variable_download_expiry":b=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_enter_a_value),null!=b&&(f.value=b);break;case"variable_sale_schedule":f.date_from=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_scheduled_sale_start),f.date_to=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_scheduled_sale_end),null===f.date_from&&(f.date_from=!1),null===f.date_to&&(f.date_to=!1);break;default:a("select.variation_actions").trigger(c),f=a("select.variation_actions").triggerHandler(c+"_ajax_data",f)}"delete_all"===c&&f.allowed?a("#variable_product_options").find(".variation-needs-update").removeClass("variation-needs-update"):d.check_for_changes(),d.block(),a.ajax({url:woocommerce_admin_meta_boxes_variations.ajax_url,data:{action:"woocommerce_bulk_edit_variations",security:woocommerce_admin_meta_boxes_variations.bulk_edit_variations_nonce,product_id:woocommerce_admin_meta_boxes_variations.post_id,product_type:a("#product-type").val(),bulk_action:c,data:f},type:"POST",success:function(){e.go_to_page(1,g)}})}},e={init:function(){a(document.body).on("woocommerce_variations_added",this.update_single_quantity).on("change",".variations-pagenav .page-selector",this.page_selector).on("click",".variations-pagenav .first-page",this.first_page).on("click",".variations-pagenav .prev-page",this.prev_page).on("click",".variations-pagenav .next-page",this.next_page).on("click",".variations-pagenav .last-page",this.last_page)},update_variations_count:function(b){var c=a("#variable_product_options").find(".woocommerce_variations"),d=parseInt(c.attr("data-total"),10)+b,e=a(".variations-pagenav .displaying-num");return c.attr("data-total",d),1===d?e.text(woocommerce_admin_meta_boxes_variations.i18n_variation_count_single.replace("%qty%",d)):e.text(woocommerce_admin_meta_boxes_variations.i18n_variation_count_plural.replace("%qty%",d)),d},update_single_quantity:function(b,c){if(1===c){var d=a(".variations-pagenav");e.update_variations_count(c),d.is(":hidden")&&(a("option, optgroup",".variation_actions").show(),a(".variation_actions").val("add_variation"),a("#variable_product_options").find(".toolbar").show(),d.show(),a(".pagination-links",d).hide())}},set_paginav:function(b){var c=a("#variable_product_options").find(".woocommerce_variations"),d=e.update_variations_count(b),f=a("#variable_product_options").find(".toolbar"),g=a(".variation_actions"),h=a(".variations-pagenav"),i=a(".pagination-links",h),j=Math.ceil(d/woocommerce_admin_meta_boxes_variations.variations_per_page),k="";c.attr("data-total_pages",j),a(".total-pages",h).text(j);for(var l=1;j>=l;l++)k+='";a(".page-selector",h).empty().html(k),0===d?(f.not(".toolbar-top, .toolbar-buttons").hide(),h.hide(),a("option, optgroup",g).hide(),a(".variation_actions").val("add_variation"),a('option[data-global="true"]',g).show()):(f.show(),h.show(),a("option, optgroup",g).show(),a(".variation_actions").val("add_variation"),1===j?i.hide():i.show())},check_is_enabled:function(b){return!a(b).hasClass("disabled")},change_classes:function(b,c){var d=a(".variations-pagenav .first-page"),e=a(".variations-pagenav .prev-page"),f=a(".variations-pagenav .next-page"),g=a(".variations-pagenav .last-page");1===b?(d.addClass("disabled"),e.addClass("disabled")):(d.removeClass("disabled"),e.removeClass("disabled")),c===b?(f.addClass("disabled"),g.addClass("disabled")):(f.removeClass("disabled"),g.removeClass("disabled"))},set_page:function(b){a(".variations-pagenav .page-selector").val(b).first().change()},go_to_page:function(a,b){a=a||1,b=b||0,e.set_paginav(b),e.set_page(a)},page_selector:function(){var b=parseInt(a(this).val(),10),c=a("#variable_product_options").find(".woocommerce_variations");a(".variations-pagenav .page-selector").val(b),d.check_for_changes(),e.change_classes(b,parseInt(c.attr("data-total_pages"),10)),d.load_variations(b)},first_page:function(){return e.check_is_enabled(this)&&e.set_page(1),!1},prev_page:function(){if(e.check_is_enabled(this)){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-page"),10)-1,d=c>0?c:1;e.set_page(d)}return!1},next_page:function(){if(e.check_is_enabled(this)){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-total_pages"),10),d=parseInt(b.attr("data-page"),10)+1,f=c>=d?d:c;e.set_page(f)}return!1},last_page:function(){if(e.check_is_enabled(this)){var b=a("#variable_product_options").find(".woocommerce_variations").attr("data-total_pages");e.set_page(b)}return!1}};b.init(),c.init(),d.init(),e.init()}); \ No newline at end of file +jQuery(function(a){var b={init:function(){a("#variable_product_options").on("change","input.variable_is_downloadable",this.variable_is_downloadable).on("change","input.variable_is_virtual",this.variable_is_virtual).on("change","input.variable_manage_stock",this.variable_manage_stock).on("click","button.notice-dismiss",this.notice_dismiss).on("click","h3 .sort",this.set_menu_order).on("reload",this.reload),a("input.variable_is_downloadable, input.variable_is_virtual, input.variable_manage_stock").change(),a("#woocommerce-product-data").on("woocommerce_variations_loaded",this.variations_loaded),a(document.body).on("woocommerce_variations_added",this.variation_added)},reload:function(){d.load_variations(1)},variable_is_downloadable:function(){a(this).closest(".woocommerce_variation").find(".show_if_variation_downloadable").hide(),a(this).is(":checked")&&a(this).closest(".woocommerce_variation").find(".show_if_variation_downloadable").show()},variable_is_virtual:function(){a(this).closest(".woocommerce_variation").find(".hide_if_variation_virtual").show(),a(this).is(":checked")&&a(this).closest(".woocommerce_variation").find(".hide_if_variation_virtual").hide()},variable_manage_stock:function(){a(this).closest(".woocommerce_variation").find(".show_if_variation_manage_stock").hide(),a(this).is(":checked")&&a(this).closest(".woocommerce_variation").find(".show_if_variation_manage_stock").show()},notice_dismiss:function(){a(this).closest("div.notice").remove()},variations_loaded:function(c,d){d=d||!1;var e=a("#woocommerce-product-data");d||(a("input.variable_is_downloadable, input.variable_is_virtual, input.variable_manage_stock",e).change(),a(".woocommerce_variation",e).each(function(b,c){var d=a(c),e=a(".sale_price_dates_from",d).val(),f=a(".sale_price_dates_to",d).val();""===e&&""===f||a("a.sale_schedule",d).click()}),a(".woocommerce_variations .variation-needs-update",e).removeClass("variation-needs-update"),a("button.cancel-variation-changes, button.save-variation-changes",e).attr("disabled","disabled")),a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".woocommerce_variations .tips, .woocommerce_variations .help_tip, .woocommerce_variations .woocommerce-help-tip",e).tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200}),a(".sale_price_dates_fields",e).each(function(){var b=a(this).find("input").datepicker({defaultDate:"",dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,onSelect:function(c){var d=a(this).is(".sale_price_dates_from")?"minDate":"maxDate",e=a(this).data("datepicker"),f=a.datepicker.parseDate(e.settings.dateFormat||a.datepicker._defaults.dateFormat,c,e.settings);b.not(this).datepicker("option",d,f),a(this).change()}})}),a(".woocommerce_variations",e).sortable({items:".woocommerce_variation",cursor:"move",axis:"y",handle:".sort",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,stop:function(){b.variation_row_indexes()}}),a(document.body).trigger("wc-enhanced-select-init")},variation_added:function(a,c){1===c&&b.variations_loaded(null,!0)},set_menu_order:function(b){b.preventDefault();var c=a(this).closest(".woocommerce_variation").find(".variation_menu_order"),e=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_enter_menu_order,c.val());null!=e&&(c.val(parseInt(e,10)).change(),d.save_variations())},variation_row_indexes:function(){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-page"),10),d=parseInt((c-1)*woocommerce_admin_meta_boxes_variations.variations_per_page,10);a(".woocommerce_variations .woocommerce_variation").each(function(b,c){a(".variation_menu_order",c).val(parseInt(a(c).index(".woocommerce_variations .woocommerce_variation"),10)+1+d).change()})}},c={variable_image_frame:null,setting_variation_image_id:null,setting_variation_image:null,wp_media_post_id:wp.media.model.settings.post.id,init:function(){a("#variable_product_options").on("click",".upload_image_button",this.add_image),a("a.add_media").on("click",this.restore_wp_media_post_id)},add_image:function(b){var d=a(this),e=d.attr("rel"),f=d.closest(".upload_image");if(c.setting_variation_image=f,c.setting_variation_image_id=e,b.preventDefault(),d.is(".remove"))a(".upload_image_id",c.setting_variation_image).val("").change(),c.setting_variation_image.find("img").eq(0).attr("src",woocommerce_admin_meta_boxes_variations.woocommerce_placeholder_img_src),c.setting_variation_image.find(".upload_image_button").removeClass("remove");else{if(c.variable_image_frame)return c.variable_image_frame.uploader.uploader.param("post_id",c.setting_variation_image_id),void c.variable_image_frame.open();wp.media.model.settings.post.id=c.setting_variation_image_id,c.variable_image_frame=wp.media.frames.variable_image=wp.media({title:woocommerce_admin_meta_boxes_variations.i18n_choose_image,button:{text:woocommerce_admin_meta_boxes_variations.i18n_set_image},states:[new wp.media.controller.Library({title:woocommerce_admin_meta_boxes_variations.i18n_choose_image,filterable:"all"})]}),c.variable_image_frame.on("select",function(){var b=c.variable_image_frame.state().get("selection").first().toJSON(),d=b.sizes&&b.sizes.thumbnail?b.sizes.thumbnail.url:b.url;a(".upload_image_id",c.setting_variation_image).val(b.id).change(),c.setting_variation_image.find(".upload_image_button").addClass("remove"),c.setting_variation_image.find("img").eq(0).attr("src",d),wp.media.model.settings.post.id=c.wp_media_post_id}),c.variable_image_frame.open()}},restore_wp_media_post_id:function(){wp.media.model.settings.post.id=c.wp_media_post_id}},d={init:function(){a("li.variations_tab a").on("click",this.initial_load),a("#variable_product_options").on("click","button.save-variation-changes",this.save_variations).on("click","button.cancel-variation-changes",this.cancel_variations).on("click",".remove_variation",this.remove_variation),a(document.body).on("change","#variable_product_options .woocommerce_variations :input",this.input_changed).on("change",".variations-defaults select",this.defaults_changed),a("form#post").on("submit",this.save_on_submit),a(".wc-metaboxes-wrapper").on("click","a.do_variation_action",this.do_variation_action)},check_for_changes:function(){var b=a("#variable_product_options").find(".woocommerce_variations .variation-needs-update");if(00?(c.push(b),f.variation_ids=c,f.security=woocommerce_admin_meta_boxes_variations.delete_variations_nonce,a.post(woocommerce_admin_meta_boxes_variations.ajax_url,f,function(){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-page"),10),d=Math.ceil((parseInt(b.attr("data-total"),10)-1)/woocommerce_admin_meta_boxes_variations.variations_per_page),f=1;a("#woocommerce-product-data").trigger("woocommerce_variations_removed"),c===d||d>=c?f=c:c>d&&0!==d&&(f=d),e.go_to_page(f,-1)})):d.unblock()}return!1},link_all_variations:function(){if(d.check_for_changes(),window.confirm(woocommerce_admin_meta_boxes_variations.i18n_link_all_variations)){d.block();var b={action:"woocommerce_link_all_variations",post_id:woocommerce_admin_meta_boxes_variations.post_id,security:woocommerce_admin_meta_boxes_variations.link_variation_nonce};a.post(woocommerce_admin_meta_boxes_variations.ajax_url,b,function(b){var c=parseInt(b,10);1===c?window.alert(c+" "+woocommerce_admin_meta_boxes_variations.i18n_variation_added):0===c||c>1?window.alert(c+" "+woocommerce_admin_meta_boxes_variations.i18n_variations_added):window.alert(woocommerce_admin_meta_boxes_variations.i18n_no_variations_added),c>0?(e.go_to_page(1,c),a("#variable_product_options").trigger("woocommerce_variations_added",c)):d.unblock()})}return!1},input_changed:function(){a(this).closest(".woocommerce_variation").addClass("variation-needs-update"),a("button.cancel-variation-changes, button.save-variation-changes").removeAttr("disabled"),a("#variable_product_options").trigger("woocommerce_variations_input_changed")},defaults_changed:function(){a(this).closest("#variable_product_options").find(".woocommerce_variation:first").addClass("variation-needs-update"),a("button.cancel-variation-changes, button.save-variation-changes").removeAttr("disabled"),a("#variable_product_options").trigger("woocommerce_variations_defaults_changed")},do_variation_action:function(){var b,c=a("select.variation_actions").val(),f={},g=0;switch(c){case"add_variation":return void d.add_variation();case"link_all_variations":return void d.link_all_variations();case"delete_all":window.confirm(woocommerce_admin_meta_boxes_variations.i18n_delete_all_variations)&&window.confirm(woocommerce_admin_meta_boxes_variations.i18n_last_warning)&&(f.allowed=!0,g=-1*parseInt(a("#variable_product_options").find(".woocommerce_variations").attr("data-total"),10));break;case"variable_regular_price_increase":case"variable_regular_price_decrease":case"variable_sale_price_increase":case"variable_sale_price_decrease":b=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_enter_a_value_fixed_or_percent),null!=b&&(b.indexOf("%")>=0?f.value=accounting.unformat(b.replace(/\%/,""),woocommerce_admin.mon_decimal_point)+"%":f.value=accounting.unformat(b,woocommerce_admin.mon_decimal_point));break;case"variable_regular_price":case"variable_sale_price":case"variable_stock":case"variable_weight":case"variable_length":case"variable_width":case"variable_height":case"variable_download_limit":case"variable_download_expiry":b=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_enter_a_value),null!=b&&(f.value=b);break;case"variable_sale_schedule":f.date_from=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_scheduled_sale_start),f.date_to=window.prompt(woocommerce_admin_meta_boxes_variations.i18n_scheduled_sale_end),null===f.date_from&&(f.date_from=!1),null===f.date_to&&(f.date_to=!1);break;default:a("select.variation_actions").trigger(c),f=a("select.variation_actions").triggerHandler(c+"_ajax_data",f)}"delete_all"===c&&f.allowed?a("#variable_product_options").find(".variation-needs-update").removeClass("variation-needs-update"):d.check_for_changes(),d.block(),a.ajax({url:woocommerce_admin_meta_boxes_variations.ajax_url,data:{action:"woocommerce_bulk_edit_variations",security:woocommerce_admin_meta_boxes_variations.bulk_edit_variations_nonce,product_id:woocommerce_admin_meta_boxes_variations.post_id,product_type:a("#product-type").val(),bulk_action:c,data:f},type:"POST",success:function(){e.go_to_page(1,g)}})}},e={init:function(){a(document.body).on("woocommerce_variations_added",this.update_single_quantity).on("change",".variations-pagenav .page-selector",this.page_selector).on("click",".variations-pagenav .first-page",this.first_page).on("click",".variations-pagenav .prev-page",this.prev_page).on("click",".variations-pagenav .next-page",this.next_page).on("click",".variations-pagenav .last-page",this.last_page)},update_variations_count:function(b){var c=a("#variable_product_options").find(".woocommerce_variations"),d=parseInt(c.attr("data-total"),10)+b,e=a(".variations-pagenav .displaying-num");return c.attr("data-total",d),1===d?e.text(woocommerce_admin_meta_boxes_variations.i18n_variation_count_single.replace("%qty%",d)):e.text(woocommerce_admin_meta_boxes_variations.i18n_variation_count_plural.replace("%qty%",d)),d},update_single_quantity:function(b,c){if(1===c){var d=a(".variations-pagenav");e.update_variations_count(c),d.is(":hidden")&&(a("option, optgroup",".variation_actions").show(),a(".variation_actions").val("add_variation"),a("#variable_product_options").find(".toolbar").show(),d.show(),a(".pagination-links",d).hide())}},set_paginav:function(b){var c=a("#variable_product_options").find(".woocommerce_variations"),d=e.update_variations_count(b),f=a("#variable_product_options").find(".toolbar"),g=a(".variation_actions"),h=a(".variations-pagenav"),i=a(".pagination-links",h),j=Math.ceil(d/woocommerce_admin_meta_boxes_variations.variations_per_page),k="";c.attr("data-total_pages",j),a(".total-pages",h).text(j);for(var l=1;j>=l;l++)k+='";a(".page-selector",h).empty().html(k),0===d?(f.not(".toolbar-top, .toolbar-buttons").hide(),h.hide(),a("option, optgroup",g).hide(),a(".variation_actions").val("add_variation"),a('option[data-global="true"]',g).show()):(f.show(),h.show(),a("option, optgroup",g).show(),a(".variation_actions").val("add_variation"),1===j?i.hide():i.show())},check_is_enabled:function(b){return!a(b).hasClass("disabled")},change_classes:function(b,c){var d=a(".variations-pagenav .first-page"),e=a(".variations-pagenav .prev-page"),f=a(".variations-pagenav .next-page"),g=a(".variations-pagenav .last-page");1===b?(d.addClass("disabled"),e.addClass("disabled")):(d.removeClass("disabled"),e.removeClass("disabled")),c===b?(f.addClass("disabled"),g.addClass("disabled")):(f.removeClass("disabled"),g.removeClass("disabled"))},set_page:function(b){a(".variations-pagenav .page-selector").val(b).first().change()},go_to_page:function(a,b){a=a||1,b=b||0,e.set_paginav(b),e.set_page(a)},page_selector:function(){var b=parseInt(a(this).val(),10),c=a("#variable_product_options").find(".woocommerce_variations");a(".variations-pagenav .page-selector").val(b),d.check_for_changes(),e.change_classes(b,parseInt(c.attr("data-total_pages"),10)),d.load_variations(b)},first_page:function(){return e.check_is_enabled(this)&&e.set_page(1),!1},prev_page:function(){if(e.check_is_enabled(this)){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-page"),10)-1,d=c>0?c:1;e.set_page(d)}return!1},next_page:function(){if(e.check_is_enabled(this)){var b=a("#variable_product_options").find(".woocommerce_variations"),c=parseInt(b.attr("data-total_pages"),10),d=parseInt(b.attr("data-page"),10)+1,f=c>=d?d:c;e.set_page(f)}return!1},last_page:function(){if(e.check_is_enabled(this)){var b=a("#variable_product_options").find(".woocommerce_variations").attr("data-total_pages");e.set_page(b)}return!1}};b.init(),c.init(),d.init(),e.init()}); \ No newline at end of file diff --git a/assets/js/admin/settings-views-html-settings-tax.min.js b/assets/js/admin/settings-views-html-settings-tax.min.js index 0ad8cf8f842..83cc5d969c7 100644 --- a/assets/js/admin/settings-views-html-settings-tax.min.js +++ b/assets/js/admin/settings-views-html-settings-tax.min.js @@ -1 +1 @@ -!function(a,b,c,d){a(function(){String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var e=c.template("wc-tax-table-row"),f=c.template("wc-tax-table-row-empty"),g=c.template("wc-tax-table-pagination"),h=a(".wc_tax_rates"),i=a("#rates"),j=a('input[name="save"]'),k=a("#rates-pagination"),l=a("#rates-search .wc-tax-rates-search-field"),m=a(".submit .button-primary[type=submit]"),n=Backbone.Model.extend({changes:{},setRateAttribute:function(a,b,c){var d=_.indexBy(this.get("rates"),"tax_rate_id"),e={};d[a][b]!==c&&(e[a]={},e[a][b]=c,d[a][b]=c),this.logChanges(e)},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{tax_rate_id:c},a)}),this.changes=b,this.trigger("change:rates")},getFilteredRates:function(){var a=this.get("rates"),b=l.val().toLowerCase();return b.length&&(a=_.filter(a,function(a){var c=_.toArray(a).join(" ").toLowerCase();return-1!==c.indexOf(b)})),a=_.sortBy(a,function(a){return parseInt(a.tax_rate_order,10)})},block:function(){a(".wc_tax_rates").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(".wc_tax_rates").unblock()},save:function(){var a=this;a.block(),Backbone.ajax({method:"POST",dataType:"json",url:d+"?action=woocommerce_tax_rates_save_changes",data:{current_class:b.current_class,wc_tax_nonce:b.wc_tax_nonce,changes:a.changes},success:function(b,c){"success"===c&&(p.set("rates",b.data.rates),p.trigger("change:rates"),p.changes={},p.trigger("saved:rates"),q.render()),a.unblock()}})}}),o=Backbone.View.extend({rowTemplate:e,per_page:b.limit,page:b.page,initialize:function(){var c=Math.ceil(_.toArray(this.model.get("rates")).length/this.per_page);this.qty_pages=0===c?1:c,this.page=this.sanitizePage(b.page),this.listenTo(this.model,"change:rates",this.setUnloadConfirmation),this.listenTo(this.model,"saved:rates",this.clearUnloadConfirmation),i.on("change autocompletechange",":input",{view:this},this.updateModelOnChange),i.on("sortupdate",{view:this},this.updateModelOnSort),l.on("keyup search",{view:this},this.onSearchField),k.on("click","a",{view:this},this.onPageChange),k.on("change","input",{view:this},this.onPageChange),a(window).on("beforeunload",{view:this},this.unloadConfirmation),m.on("click",{view:this},this.onSubmit),j.attr("disabled","disabled"),h.find(".insert").on("click",{view:this},this.onAddNewRow),h.find(".remove_tax_rates").on("click",{view:this},this.onDeleteRow),h.find(".export").on("click",{view:this},this.onExport)},render:function(){var c=this.model.getFilteredRates(),d=_.size(c),e=Math.ceil(d/this.per_page),h=0===d?0:this.per_page*(this.page-1),j=this.per_page*this.page,m=_.toArray(c).slice(h,j),n=this;this.$el.empty(),m.length?a.each(m,function(a,b){n.$el.append(n.rowTemplate(b))}):n.$el.append(f()),this.$el.find("td.country input").autocomplete({source:b.countries,minLength:2}),this.$el.find("td.state input").autocomplete({source:b.states,minLength:3}),this.$el.find("td.postcode input, td.city input").change(function(){a(this).attr("name",a(this).data("name"))}),e>1?k.html(g({qty_rates:d,current_page:this.page,qty_pages:e})):(k.empty(),n.page=1),l.val()?i.sortable("disable"):i.sortable("enable")},updateUrl:function(){if(window.history.replaceState){var a=b.base_url,c=l.val();1e?!0:!1}),g=_.map(f,function(a){return a.tax_rate_order++,l[a.tax_rate_id]=_.extend(l[a.tax_rate_id]||{},{tax_rate_order:a.tax_rate_order}),a})):(n.tax_rate_order=1+_.max(_.pluck(k,"tax_rate_order"),function(a){return parseInt(a,10)}),h.page=h.qty_pages),k[n.tax_rate_id]=n,l[n.tax_rate_id]=n,j.set("rates",k),j.logChanges(l),h.render()},onDeleteRow:function(c){var d,e,f=c.data.view,g=f.model,h=_.indexBy(g.get("rates"),"tax_rate_id"),j={};c.preventDefault(),(d=i.children(".current"))?(d.each(function(){e=a(this).data("id"),delete h[e],j[e]=_.extend(j[e]||{},{deleted:"deleted"})}),g.set("rates",h),g.logChanges(j),f.render()):window.alert(b.strings.no_rows_selected)},onSearchField:function(a){a.data.view.updateUrl(),a.data.view.render()},onPageChange:function(b){var c=a(b.currentTarget);b.preventDefault(),b.data.view.page=c.data("goto")?c.data("goto"):c.val(),b.data.view.render(),b.data.view.updateUrl()},onExport:function(c){var d="data:application/csv;charset=utf-8,"+b.strings.csv_data_cols.join(",")+"\n";return a.each(c.data.view.model.getFilteredRates(),function(a,c){var e="";e+=c.tax_rate_country+",",e+=c.tax_rate_state+",",e+=(c.postcode?c.postcode.join("; "):"")+",",e+=(c.city?c.city.join("; "):"")+",",e+=c.tax_rate+",",e+=c.tax_rate_name+",",e+=c.tax_rate_priority+",",e+=c.tax_rate_compound+",",e+=c.tax_rate_shipping+",",e+=b.current_class,d+=e+"\n"}),a(this).attr("href",encodeURI(d)),!0},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,j.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,j.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val();("city"===f||"postcode"===f)&&(g=g.split(";"),g=a.map(g,function(a){return a.trim()})),("tax_rate_compound"===f||"tax_rate_shipping"===f)&&(g=d.is(":checked")?1:0),c.setRateAttribute(e,f,g)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("rates"),"tax_rate_id"),e={};_.each(d,function(a){var c=0,d=parseInt(a.tax_rate_order,10);c=h.find('tr[data-id="'+a.tax_rate_id+'"]').length?parseInt(h.find('tr[data-id="'+a.tax_rate_id+'"]').index(),10)+parseInt((b.page-1)*b.per_page,10):d,d!==c&&(e[a.tax_rate_id]=_.extend(e[a.tax_rate_id]||{},{tax_rate_order:c}))}),_.size(e)&&c.logChanges(e)},sanitizePage:function(a){return a=parseInt(a,10),1>a?a=1:a>this.qty_pages&&(a=this.qty_pages),a}}),p=new n({rates:b.rates}),q=new o({model:p,el:"#rates"});q.render()})}(jQuery,htmlSettingsTaxLocalizeScript,wp,ajaxurl); \ No newline at end of file +!function(a,b,c,d){a(function(){String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var e=c.template("wc-tax-table-row"),f=c.template("wc-tax-table-row-empty"),g=c.template("wc-tax-table-pagination"),h=a(".wc_tax_rates"),i=a("#rates"),j=a('input[name="save"]'),k=a("#rates-pagination"),l=a("#rates-search .wc-tax-rates-search-field"),m=a(".submit .button-primary[type=submit]"),n=Backbone.Model.extend({changes:{},setRateAttribute:function(a,b,c){var d=_.indexBy(this.get("rates"),"tax_rate_id"),e={};d[a][b]!==c&&(e[a]={},e[a][b]=c,d[a][b]=c),this.logChanges(e)},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{tax_rate_id:c},a)}),this.changes=b,this.trigger("change:rates")},getFilteredRates:function(){var a=this.get("rates"),b=l.val().toLowerCase();return b.length&&(a=_.filter(a,function(a){var c=_.toArray(a).join(" ").toLowerCase();return-1!==c.indexOf(b)})),a=_.sortBy(a,function(a){return parseInt(a.tax_rate_order,10)})},block:function(){a(".wc_tax_rates").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(".wc_tax_rates").unblock()},save:function(){var a=this;a.block(),Backbone.ajax({method:"POST",dataType:"json",url:d+"?action=woocommerce_tax_rates_save_changes",data:{current_class:b.current_class,wc_tax_nonce:b.wc_tax_nonce,changes:a.changes},success:function(b,c){"success"===c&&(p.set("rates",b.data.rates),p.trigger("change:rates"),p.changes={},p.trigger("saved:rates"),q.render()),a.unblock()}})}}),o=Backbone.View.extend({rowTemplate:e,per_page:b.limit,page:b.page,initialize:function(){var c=Math.ceil(_.toArray(this.model.get("rates")).length/this.per_page);this.qty_pages=0===c?1:c,this.page=this.sanitizePage(b.page),this.listenTo(this.model,"change:rates",this.setUnloadConfirmation),this.listenTo(this.model,"saved:rates",this.clearUnloadConfirmation),i.on("change autocompletechange",":input",{view:this},this.updateModelOnChange),i.on("sortupdate",{view:this},this.updateModelOnSort),l.on("keyup search",{view:this},this.onSearchField),k.on("click","a",{view:this},this.onPageChange),k.on("change","input",{view:this},this.onPageChange),a(window).on("beforeunload",{view:this},this.unloadConfirmation),m.on("click",{view:this},this.onSubmit),j.attr("disabled","disabled"),h.find(".insert").on("click",{view:this},this.onAddNewRow),h.find(".remove_tax_rates").on("click",{view:this},this.onDeleteRow),h.find(".export").on("click",{view:this},this.onExport)},render:function(){var c=this.model.getFilteredRates(),d=_.size(c),e=Math.ceil(d/this.per_page),h=0===d?0:this.per_page*(this.page-1),j=this.per_page*this.page,m=_.toArray(c).slice(h,j),n=this;this.$el.empty(),m.length?a.each(m,function(a,b){n.$el.append(n.rowTemplate(b))}):n.$el.append(f()),this.$el.find("td.country input").autocomplete({source:b.countries,minLength:2}),this.$el.find("td.state input").autocomplete({source:b.states,minLength:3}),this.$el.find("td.postcode input, td.city input").change(function(){a(this).attr("name",a(this).data("name"))}),e>1?k.html(g({qty_rates:d,current_page:this.page,qty_pages:e})):(k.empty(),n.page=1),l.val()?i.sortable("disable"):i.sortable("enable")},updateUrl:function(){if(window.history.replaceState){var a=b.base_url,c=l.val();1e}),g=_.map(f,function(a){return a.tax_rate_order++,l[a.tax_rate_id]=_.extend(l[a.tax_rate_id]||{},{tax_rate_order:a.tax_rate_order}),a})):(n.tax_rate_order=1+_.max(_.pluck(k,"tax_rate_order"),function(a){return parseInt(a,10)}),h.page=h.qty_pages),k[n.tax_rate_id]=n,l[n.tax_rate_id]=n,j.set("rates",k),j.logChanges(l),h.render()},onDeleteRow:function(c){var d,e,f=c.data.view,g=f.model,h=_.indexBy(g.get("rates"),"tax_rate_id"),j={};c.preventDefault(),(d=i.children(".current"))?(d.each(function(){e=a(this).data("id"),delete h[e],j[e]=_.extend(j[e]||{},{deleted:"deleted"})}),g.set("rates",h),g.logChanges(j),f.render()):window.alert(b.strings.no_rows_selected)},onSearchField:function(a){a.data.view.updateUrl(),a.data.view.render()},onPageChange:function(b){var c=a(b.currentTarget);b.preventDefault(),b.data.view.page=c.data("goto")?c.data("goto"):c.val(),b.data.view.render(),b.data.view.updateUrl()},onExport:function(c){var d="data:application/csv;charset=utf-8,"+b.strings.csv_data_cols.join(",")+"\n";return a.each(c.data.view.model.getFilteredRates(),function(a,c){var e="";e+=c.tax_rate_country+",",e+=c.tax_rate_state+",",e+=(c.postcode?c.postcode.join("; "):"")+",",e+=(c.city?c.city.join("; "):"")+",",e+=c.tax_rate+",",e+=c.tax_rate_name+",",e+=c.tax_rate_priority+",",e+=c.tax_rate_compound+",",e+=c.tax_rate_shipping+",",e+=b.current_class,d+=e+"\n"}),a(this).attr("href",encodeURI(d)),!0},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,j.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,j.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val();"city"!==f&&"postcode"!==f||(g=g.split(";"),g=a.map(g,function(a){return a.trim()})),"tax_rate_compound"!==f&&"tax_rate_shipping"!==f||(g=d.is(":checked")?1:0),c.setRateAttribute(e,f,g)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("rates"),"tax_rate_id"),e={};_.each(d,function(a){var c=0,d=parseInt(a.tax_rate_order,10);c=h.find('tr[data-id="'+a.tax_rate_id+'"]').length?parseInt(h.find('tr[data-id="'+a.tax_rate_id+'"]').index(),10)+parseInt((b.page-1)*b.per_page,10):d,d!==c&&(e[a.tax_rate_id]=_.extend(e[a.tax_rate_id]||{},{tax_rate_order:c}))}),_.size(e)&&c.logChanges(e)},sanitizePage:function(a){return a=parseInt(a,10),1>a?a=1:a>this.qty_pages&&(a=this.qty_pages),a}}),p=new n({rates:b.rates}),q=new o({model:p,el:"#rates"});q.render()})}(jQuery,htmlSettingsTaxLocalizeScript,wp,ajaxurl); \ No newline at end of file diff --git a/assets/js/admin/wc-enhanced-select.min.js b/assets/js/admin/wc-enhanced-select.min.js index 9e35225b768..ec8ce8f0f87 100644 --- a/assets/js/admin/wc-enhanced-select.min.js +++ b/assets/js/admin/wc-enhanced-select.min.js @@ -1 +1 @@ -jQuery(function(a){function b(){var a={formatMatches:function(a){return 1===a?wc_enhanced_select_params.i18n_matches_1:wc_enhanced_select_params.i18n_matches_n.replace("%qty%",a)},formatNoMatches:function(){return wc_enhanced_select_params.i18n_no_matches},formatAjaxError:function(){return wc_enhanced_select_params.i18n_ajax_error},formatInputTooShort:function(a,b){var c=b-a.length;return 1===c?wc_enhanced_select_params.i18n_input_too_short_1:wc_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",c)},formatInputTooLong:function(a,b){var c=a.length-b;return 1===c?wc_enhanced_select_params.i18n_input_too_long_1:wc_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",c)},formatSelectionTooBig:function(a){return 1===a?wc_enhanced_select_params.i18n_selection_too_long_1:wc_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",a)},formatLoadMore:function(){return wc_enhanced_select_params.i18n_load_more},formatSearching:function(){return wc_enhanced_select_params.i18n_searching}};return a}a(document.body).on("wc-enhanced-select-init",function(){a(":input.wc-enhanced-select, :input.chosen_select").filter(":not(.enhanced)").each(function(){var c=a.extend({minimumResultsForSearch:10,allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder")},b());a(this).select2(c).addClass("enhanced")}),a(":input.wc-enhanced-select-nostd, :input.chosen_select_nostd").filter(":not(.enhanced)").each(function(){var c=a.extend({minimumResultsForSearch:10,allowClear:!0,placeholder:a(this).data("placeholder")},b());a(this).select2(c).addClass("enhanced")}),a(":input.wc-product-search").filter(":not(.enhanced)").each(function(){var c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:wc_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){return{term:b,action:a(this).data("action")||"woocommerce_json_search_products_and_variations",security:wc_enhanced_select_params.search_products_nonce,exclude:a(this).data("exclude"),include:a(this).data("include"),limit:a(this).data("limit")}},results:function(b){var c=[];return b&&a.each(b,function(a,b){c.push({id:a,text:b})}),{results:c}},cache:!0}};a(this).data("multiple")===!0?(c.multiple=!0,c.initSelection=function(b,c){var d=a.parseJSON(b.attr("data-selected")),e=[];return a(b.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})}),c(e)},c.formatSelection=function(a){return'
'+a.text+"
"}):(c.multiple=!1,c.initSelection=function(a,b){var c={id:a.val(),text:a.attr("data-selected")};return b(c)}),c=a.extend(c,b()),a(this).select2(c).addClass("enhanced")}),a(":input.wc-customer-search").filter(":not(.enhanced)").each(function(){var c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:wc_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){return{term:b,action:"woocommerce_json_search_customers",security:wc_enhanced_select_params.search_customers_nonce,exclude:a(this).data("exclude")}},results:function(b){var c=[];return b&&a.each(b,function(a,b){c.push({id:a,text:b})}),{results:c}},cache:!0}};a(this).data("multiple")===!0?(c.multiple=!0,c.initSelection=function(b,c){var d=a.parseJSON(b.attr("data-selected")),e=[];return a(b.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})}),c(e)},c.formatSelection=function(a){return'
'+a.text+"
"}):(c.multiple=!1,c.initSelection=function(a,b){var c={id:a.val(),text:a.attr("data-selected")};return b(c)}),c=a.extend(c,b()),a(this).select2(c).addClass("enhanced")})}).on("wc_backbone_modal_before_remove",function(){a(":input.wc-enhanced-select, :input.wc-product-search, :input.wc-customer-search").select2("close")}).trigger("wc-enhanced-select-init")}); \ No newline at end of file +jQuery(function(a){function b(){var a={formatMatches:function(a){return 1===a?wc_enhanced_select_params.i18n_matches_1:wc_enhanced_select_params.i18n_matches_n.replace("%qty%",a)},formatNoMatches:function(){return wc_enhanced_select_params.i18n_no_matches},formatAjaxError:function(){return wc_enhanced_select_params.i18n_ajax_error},formatInputTooShort:function(a,b){var c=b-a.length;return 1===c?wc_enhanced_select_params.i18n_input_too_short_1:wc_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",c)},formatInputTooLong:function(a,b){var c=a.length-b;return 1===c?wc_enhanced_select_params.i18n_input_too_long_1:wc_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",c)},formatSelectionTooBig:function(a){return 1===a?wc_enhanced_select_params.i18n_selection_too_long_1:wc_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",a)},formatLoadMore:function(){return wc_enhanced_select_params.i18n_load_more},formatSearching:function(){return wc_enhanced_select_params.i18n_searching}};return a}a(document.body).on("wc-enhanced-select-init",function(){a(":input.wc-enhanced-select, :input.chosen_select").filter(":not(.enhanced)").each(function(){var c=a.extend({minimumResultsForSearch:10,allowClear:!!a(this).data("allow_clear"),placeholder:a(this).data("placeholder")},b());a(this).select2(c).addClass("enhanced")}),a(":input.wc-enhanced-select-nostd, :input.chosen_select_nostd").filter(":not(.enhanced)").each(function(){var c=a.extend({minimumResultsForSearch:10,allowClear:!0,placeholder:a(this).data("placeholder")},b());a(this).select2(c).addClass("enhanced")}),a(":input.wc-product-search").filter(":not(.enhanced)").each(function(){var c={allowClear:!!a(this).data("allow_clear"),placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:wc_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){return{term:b,action:a(this).data("action")||"woocommerce_json_search_products_and_variations",security:wc_enhanced_select_params.search_products_nonce,exclude:a(this).data("exclude"),include:a(this).data("include"),limit:a(this).data("limit")}},results:function(b){var c=[];return b&&a.each(b,function(a,b){c.push({id:a,text:b})}),{results:c}},cache:!0}};a(this).data("multiple")===!0?(c.multiple=!0,c.initSelection=function(b,c){var d=a.parseJSON(b.attr("data-selected")),e=[];return a(b.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})}),c(e)},c.formatSelection=function(a){return'
'+a.text+"
"}):(c.multiple=!1,c.initSelection=function(a,b){var c={id:a.val(),text:a.attr("data-selected")};return b(c)}),c=a.extend(c,b()),a(this).select2(c).addClass("enhanced")}),a(":input.wc-customer-search").filter(":not(.enhanced)").each(function(){var c={allowClear:!!a(this).data("allow_clear"),placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:wc_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){return{term:b,action:"woocommerce_json_search_customers",security:wc_enhanced_select_params.search_customers_nonce,exclude:a(this).data("exclude")}},results:function(b){var c=[];return b&&a.each(b,function(a,b){c.push({id:a,text:b})}),{results:c}},cache:!0}};a(this).data("multiple")===!0?(c.multiple=!0,c.initSelection=function(b,c){var d=a.parseJSON(b.attr("data-selected")),e=[];return a(b.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})}),c(e)},c.formatSelection=function(a){return'
'+a.text+"
"}):(c.multiple=!1,c.initSelection=function(a,b){var c={id:a.val(),text:a.attr("data-selected")};return b(c)}),c=a.extend(c,b()),a(this).select2(c).addClass("enhanced")})}).on("wc_backbone_modal_before_remove",function(){a(":input.wc-enhanced-select, :input.wc-product-search, :input.wc-customer-search").select2("close")}).trigger("wc-enhanced-select-init")}); \ No newline at end of file diff --git a/assets/js/admin/wc-shipping-zones.min.js b/assets/js/admin/wc-shipping-zones.min.js index f12cff686ed..f3cd00142e5 100644 --- a/assets/js/admin/wc-shipping-zones.min.js +++ b/assets/js/admin/wc-shipping-zones.min.js @@ -1 +1 @@ -!function(a,b,c,d){a(function(){function e(){var a={formatMatches:function(a){return 1===a?wc_enhanced_select_params.i18n_matches_1:wc_enhanced_select_params.i18n_matches_n.replace("%qty%",a)},formatNoMatches:function(){return wc_enhanced_select_params.i18n_no_matches},formatAjaxError:function(){return wc_enhanced_select_params.i18n_ajax_error},formatInputTooShort:function(a,b){var c=b-a.length;return 1===c?wc_enhanced_select_params.i18n_input_too_short_1:wc_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",c)},formatInputTooLong:function(a,b){var c=a.length-b;return 1===c?wc_enhanced_select_params.i18n_input_too_long_1:wc_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",c)},formatSelectionTooBig:function(a){return 1===a?wc_enhanced_select_params.i18n_selection_too_long_1:wc_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",a)},formatLoadMore:function(){return wc_enhanced_select_params.i18n_load_more},formatSearching:function(){return wc_enhanced_select_params.i18n_searching}};return a}var f=a(".wc-shipping-zones"),g=a(".wc-shipping-zone-rows"),h=a(".wc-shipping-zone-save"),i=c.template("wc-shipping-zone-row"),j=c.template("wc-shipping-zone-row-blank"),k=a.extend({minimumResultsForSearch:10,allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),matcher:function(a,b,c){return b.toUpperCase().indexOf(a.toUpperCase())>=0||c.attr("alt").toUpperCase().indexOf(a.toUpperCase())>=0}},e()),l=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{zone_id:c},a)}),this.changes=b,this.trigger("change:zones")},save:function(){_.size(this.changes)?a.post(d+"?action=woocommerce_shipping_zones_save_changes",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,changes:this.changes},this.onSaveResponse,"json"):n.trigger("saved:zones")},onSaveResponse:function(a,c){"success"===c&&(a.success?(n.set("zones",a.data.zones),n.trigger("change:zones"),n.changes={},n.trigger("saved:zones")):window.alert(b.strings.save_failed))}}),m=Backbone.View.extend({rowTemplate:i,initialize:function(){this.listenTo(this.model,"change:zones",this.setUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.render),g.on("change",{view:this},this.updateModelOnChange),g.on("sortupdate",{view:this},this.updateModelOnSort),a(window).on("beforeunload",{view:this},this.unloadConfirmation),h.on("click",{view:this},this.onSubmit),a(document.body).on("click",".add_shipping_method",{view:this},this.onAddShippingMethod),a(document.body).on("click",".wc-shipping-zone-add",{view:this},this.onAddNewRow),a(document.body).on("click",".wc-shipping-zone-save-changes",{view:this},this.onSubmit),a(document.body).on("wc_backbone_modal_response",this.onAddShippingMethodSubmitted)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var b=_.indexBy(this.model.get("zones"),"zone_id"),c=this;this.$el.empty(),this.unblock(),_.size(b)?(b=_.sortBy(b,function(a){return parseInt(a.zone_order,10)}),a.each(b,function(a,b){c.$el.append(c.rowTemplate(b));var d=c.$el.find('tr[data-id="'+b.zone_id+'"]');b.editing&&d.addClass("editing"),_.each(b.zone_locations,function(a){if("postcode"===a.type){var b=d.find(".wc-shipping-zone-postcodes :input");b.val()?b.val(b.val()+"\n"+a.code):b.val(a.code),d.find(".wc-shipping-zone-postcodes").show(),d.find(".wc-shipping-zone-postcodes-toggle").hide()}else d.find('option[value="'+a.type+":"+a.code+'"]').prop("selected",!0)}),c.renderShippingMethods(b.zone_id,b.shipping_methods)}),this.$el.find(".view").show(),this.$el.find(".edit").hide(),this.$el.find(".wc-shipping-zone-edit").on("click",{view:this},this.onEditRow),this.$el.find(".wc-shipping-zone-delete").on("click",{view:this},this.onDeleteRow),this.$el.find(".wc-shipping-zone-postcodes-toggle").on("click",{view:this},this.onTogglePostcodes),this.$el.find(".editing .wc-shipping-zone-edit").trigger("click"),0===_.size(b)%2?f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").addClass("odd"):f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").removeClass("odd")):c.$el.append(j),this.initTooltips()},renderShippingMethods:function(c,d){var e=a('.wc-shipping-zones tr[data-id="'+c+'"]'),f=e.find(".wc-shipping-zone-methods ul");f.empty(),_.size(d)?(_.each(d,function(a,b){var c="method_disabled";"yes"===a.enabled&&(c="method_enabled"),f.append('
  • '+a.title+"
  • ")}),f.append("
  • "+b.strings.add_another_method+"
  • ")):f.append("
  • "+b.strings.no_methods+"
  • ")},initTooltips:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAddNewRow:function(a){a.preventDefault();var c=a.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=_.size(e),h=_.extend({},b.default_zone,{zone_id:"new-"+g+"-"+Date.now(),editing:!0});h.zone_order=1+_.max(_.pluck(e,"zone_order"),function(a){return parseInt(a,10)}),e[h.zone_id]=h,f[h.zone_id]=h,d.set("zones",e),d.logChanges(f),c.render()},onTogglePostcodes:function(b){b.preventDefault();var c=a(this).closest("tr");c.find(".wc-shipping-zone-postcodes").show(),c.find(".wc-shipping-zone-postcodes-toggle").hide()},onEditRow:function(b){b.preventDefault(),a(this).closest("tr").addClass("editing"),a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),a(".wc-shipping-zone-region-select:not(.enhanced)").select2(k),a(".wc-shipping-zone-region-select:not(.enhanced)").addClass("enhanced"),b.data.view.model.trigger("change:zones")},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=a(this).closest("tr").data("id");b.preventDefault(),delete e[g],f[g]=_.extend(f[g]||{},{deleted:"deleted"}),d.set("zones",e),d.logChanges(f),c.render()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,h.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,h.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("zones"),"zone_id"),i={};h[e][f]!==g&&(i[e]={},i[e][f]=g,h[e][f]=g),c.logChanges(i)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("zones"),"zone_id"),e={};_.each(d,function(a){var b=parseInt(a.zone_order,10),c=parseInt(f.find('tr[data-id="'+a.zone_id+'"]').index(),10);b!==c&&(e[a.zone_id]=_.extend(e[a.zone_id]||{},{zone_order:c}))}),_.size(e)&&c.logChanges(e)},onAddShippingMethod:function(b){var c=a(this).closest("tr").data("id");b.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-add-shipping-method",variable:{zone_id:c}})},onAddShippingMethodSubmitted:function(c,e,f){"wc-modal-add-shipping-method"===e&&(o.block(),a.post(d+"?action=woocommerce_shipping_zone_add_method",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,method_id:f.add_method_id,zone_id:f.zone_id},function(a,b){"success"===b&&a.success&&o.renderShippingMethods(f.zone_id,a.data.methods),o.unblock()},"json"))}}),n=new l({zones:b.zones}),o=new m({model:n,el:g});o.render(),g.sortable({items:"tr",cursor:"move",axis:"y",handle:"td.wc-shipping-zone-sort",scrollSensitivity:40})})}(jQuery,shippingZonesLocalizeScript,wp,ajaxurl); \ No newline at end of file +!function(a,b,c,d){a(function(){function e(){var a={formatMatches:function(a){return 1===a?wc_enhanced_select_params.i18n_matches_1:wc_enhanced_select_params.i18n_matches_n.replace("%qty%",a)},formatNoMatches:function(){return wc_enhanced_select_params.i18n_no_matches},formatAjaxError:function(){return wc_enhanced_select_params.i18n_ajax_error},formatInputTooShort:function(a,b){var c=b-a.length;return 1===c?wc_enhanced_select_params.i18n_input_too_short_1:wc_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",c)},formatInputTooLong:function(a,b){var c=a.length-b;return 1===c?wc_enhanced_select_params.i18n_input_too_long_1:wc_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",c)},formatSelectionTooBig:function(a){return 1===a?wc_enhanced_select_params.i18n_selection_too_long_1:wc_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",a)},formatLoadMore:function(){return wc_enhanced_select_params.i18n_load_more},formatSearching:function(){return wc_enhanced_select_params.i18n_searching}};return a}var f=a(".wc-shipping-zones"),g=a(".wc-shipping-zone-rows"),h=a(".wc-shipping-zone-save"),i=c.template("wc-shipping-zone-row"),j=c.template("wc-shipping-zone-row-blank"),k=a.extend({minimumResultsForSearch:10,allowClear:!!a(this).data("allow_clear"),placeholder:a(this).data("placeholder"),matcher:function(a,b,c){return b.toUpperCase().indexOf(a.toUpperCase())>=0||c.attr("alt").toUpperCase().indexOf(a.toUpperCase())>=0}},e()),l=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{zone_id:c},a)}),this.changes=b,this.trigger("change:zones")},save:function(){_.size(this.changes)?a.post(d+"?action=woocommerce_shipping_zones_save_changes",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,changes:this.changes},this.onSaveResponse,"json"):n.trigger("saved:zones")},onSaveResponse:function(a,c){"success"===c&&(a.success?(n.set("zones",a.data.zones),n.trigger("change:zones"),n.changes={},n.trigger("saved:zones")):window.alert(b.strings.save_failed))}}),m=Backbone.View.extend({rowTemplate:i,initialize:function(){this.listenTo(this.model,"change:zones",this.setUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.render),g.on("change",{view:this},this.updateModelOnChange),g.on("sortupdate",{view:this},this.updateModelOnSort),a(window).on("beforeunload",{view:this},this.unloadConfirmation),h.on("click",{view:this},this.onSubmit),a(document.body).on("click",".add_shipping_method",{view:this},this.onAddShippingMethod),a(document.body).on("click",".wc-shipping-zone-add",{view:this},this.onAddNewRow),a(document.body).on("click",".wc-shipping-zone-save-changes",{view:this},this.onSubmit),a(document.body).on("wc_backbone_modal_response",this.onAddShippingMethodSubmitted)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var b=_.indexBy(this.model.get("zones"),"zone_id"),c=this;this.$el.empty(),this.unblock(),_.size(b)?(b=_.sortBy(b,function(a){return parseInt(a.zone_order,10)}),a.each(b,function(a,b){c.$el.append(c.rowTemplate(b));var d=c.$el.find('tr[data-id="'+b.zone_id+'"]');b.editing&&d.addClass("editing"),_.each(b.zone_locations,function(a){if("postcode"===a.type){var b=d.find(".wc-shipping-zone-postcodes :input");b.val()?b.val(b.val()+"\n"+a.code):b.val(a.code),d.find(".wc-shipping-zone-postcodes").show(),d.find(".wc-shipping-zone-postcodes-toggle").hide()}else d.find('option[value="'+a.type+":"+a.code+'"]').prop("selected",!0)}),c.renderShippingMethods(b.zone_id,b.shipping_methods)}),this.$el.find(".view").show(),this.$el.find(".edit").hide(),this.$el.find(".wc-shipping-zone-edit").on("click",{view:this},this.onEditRow),this.$el.find(".wc-shipping-zone-delete").on("click",{view:this},this.onDeleteRow),this.$el.find(".wc-shipping-zone-postcodes-toggle").on("click",{view:this},this.onTogglePostcodes),this.$el.find(".editing .wc-shipping-zone-edit").trigger("click"),0===_.size(b)%2?f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").addClass("odd"):f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").removeClass("odd")):c.$el.append(j),this.initTooltips()},renderShippingMethods:function(c,d){var e=a('.wc-shipping-zones tr[data-id="'+c+'"]'),f=e.find(".wc-shipping-zone-methods ul");f.empty(),_.size(d)?(_.each(d,function(a,b){var c="method_disabled";"yes"===a.enabled&&(c="method_enabled"),f.append('
  • '+a.title+"
  • ")}),f.append("
  • "+b.strings.add_another_method+"
  • ")):f.append("
  • "+b.strings.no_methods+"
  • ")},initTooltips:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAddNewRow:function(a){a.preventDefault();var c=a.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=_.size(e),h=_.extend({},b.default_zone,{zone_id:"new-"+g+"-"+Date.now(),editing:!0});h.zone_order=1+_.max(_.pluck(e,"zone_order"),function(a){return parseInt(a,10)}),e[h.zone_id]=h,f[h.zone_id]=h,d.set("zones",e),d.logChanges(f),c.render()},onTogglePostcodes:function(b){b.preventDefault();var c=a(this).closest("tr");c.find(".wc-shipping-zone-postcodes").show(),c.find(".wc-shipping-zone-postcodes-toggle").hide()},onEditRow:function(b){b.preventDefault(),a(this).closest("tr").addClass("editing"),a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),a(".wc-shipping-zone-region-select:not(.enhanced)").select2(k),a(".wc-shipping-zone-region-select:not(.enhanced)").addClass("enhanced"),b.data.view.model.trigger("change:zones")},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=a(this).closest("tr").data("id");b.preventDefault(),delete e[g],f[g]=_.extend(f[g]||{},{deleted:"deleted"}),d.set("zones",e),d.logChanges(f),c.render()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,h.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,h.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("zones"),"zone_id"),i={};h[e][f]!==g&&(i[e]={},i[e][f]=g,h[e][f]=g),c.logChanges(i)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("zones"),"zone_id"),e={};_.each(d,function(a){var b=parseInt(a.zone_order,10),c=parseInt(f.find('tr[data-id="'+a.zone_id+'"]').index(),10);b!==c&&(e[a.zone_id]=_.extend(e[a.zone_id]||{},{zone_order:c}))}),_.size(e)&&c.logChanges(e)},onAddShippingMethod:function(b){var c=a(this).closest("tr").data("id");b.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-add-shipping-method",variable:{zone_id:c}})},onAddShippingMethodSubmitted:function(c,e,f){"wc-modal-add-shipping-method"===e&&(o.block(),a.post(d+"?action=woocommerce_shipping_zone_add_method",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,method_id:f.add_method_id,zone_id:f.zone_id},function(a,b){"success"===b&&a.success&&o.renderShippingMethods(f.zone_id,a.data.methods),o.unblock()},"json"))}}),n=new l({zones:b.zones}),o=new m({model:n,el:g});o.render(),g.sortable({items:"tr",cursor:"move",axis:"y",handle:"td.wc-shipping-zone-sort",scrollSensitivity:40})})}(jQuery,shippingZonesLocalizeScript,wp,ajaxurl); \ No newline at end of file diff --git a/assets/js/frontend/add-to-cart-variation.min.js b/assets/js/frontend/add-to-cart-variation.min.js index 381d9d650ac..11ccd6a0ee1 100644 --- a/assets/js/frontend/add-to-cart-variation.min.js +++ b/assets/js/frontend/add-to-cart-variation.min.js @@ -1,4 +1 @@ -/*! - * Variations Plugin - */ !function(a,b,c,d){a.fn.wc_variation_form=function(){var c=this,d=c.find(".single_variation"),f=c.closest(".product"),g=parseInt(c.data("product_id"),10),h=c.data("product_variations"),i=h===!1,j=!1,k=c.find(".reset_variations"),l=wp.template("variation-template"),m=wp.template("unavailable-variation-template"),n=c.find(".single_variation_wrap");return n.show(),c.unbind("check_variations update_variation_values found_variation"),c.find(".reset_variations").unbind("click"),c.find(".variations select").unbind("change focusin"),c.on("click",".reset_variations",function(a){a.preventDefault(),c.find(".variations select").val("").change(),c.trigger("reset_data")}).on("hide_variation",function(a){a.preventDefault(),c.find(".single_add_to_cart_button").removeClass("wc-variation-is-unavailable").addClass("disabled wc-variation-selection-needed")}).on("show_variation",function(a,b,d){a.preventDefault(),d?c.find(".single_add_to_cart_button").removeClass("disabled wc-variation-selection-needed wc-variation-is-unavailable"):c.find(".single_add_to_cart_button").removeClass("wc-variation-selection-needed").addClass("disabled wc-variation-is-unavailable")}).on("click",".single_add_to_cart_button",function(c){var d=a(this);d.is(".disabled")&&(c.preventDefault(),d.is(".wc-variation-is-unavailable")?b.alert(wc_add_to_cart_variation_params.i18n_unavailable_text):d.is(".wc-variation-selection-needed")&&b.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))}).on("reload_product_variations",function(){h=c.data("product_variations"),i=h===!1}).on("reset_data",function(){a(".sku").wc_reset_content(),a(".product_weight").wc_reset_content(),a(".product_dimensions").wc_reset_content(),c.trigger("reset_image"),d.slideUp(200).trigger("hide_variation")}).on("reset_image",function(){c.wc_variations_image_update(!1)}).on("change",".variations select",function(){if(c.find('input[name="variation_id"], input.variation_id').val("").change(),c.find(".wc-no-matching-variations").remove(),i){j&&j.abort();var b=!0,d=!1,e={};c.find(".variations select").each(function(){var c=a(this).data("attribute_name")||a(this).attr("name");0===a(this).val().length?b=!1:d=!0,e[c]=a(this).val()}),b?(e.product_id=g,j=a.ajax({url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_variation"),type:"POST",data:e,success:function(a){a?c.trigger("found_variation",[a]):(c.trigger("reset_data"),c.find(".single_variation").after('

    '+wc_add_to_cart_variation_params.i18n_no_matching_variations_text+"

    "),c.find(".wc-no-matching-variations").slideDown(200))}})):c.trigger("reset_data"),d?"hidden"===k.css("visibility")&&k.css("visibility","visible").hide().fadeIn():k.css("visibility","hidden")}else c.trigger("woocommerce_variation_select_change"),c.trigger("check_variations",["",!1]),a(this).blur();a(".product.has-default-attributes > .images").fadeTo(200,1),c.trigger("woocommerce_variation_has_changed")}).on("focusin touchstart",".variations select",function(){a(this).find("option:selected").attr("selected","selected"),i||(c.trigger("woocommerce_variation_select_focusin"),c.trigger("check_variations",[a(this).data("attribute_name")||a(this).attr("name"),!0]))}).on("found_variation",function(b,e){var g=f.find(".product_meta").find(".sku"),h=f.find(".product_weight"),i=f.find(".product_dimensions"),j=n.find(".quantity"),k=!0;e.sku?g.wc_set_content(e.sku):g.wc_reset_content(),e.weight?h.wc_set_content(e.weight):h.wc_reset_content(),e.dimensions?i.wc_set_content(e.dimensions):i.wc_reset_content(),c.wc_variations_image_update(e);var o="";e.variation_is_visible?(o=l({variation:e}),o=o.replace("/**/",""),d.html(o),c.find('input[name="variation_id"], input.variation_id').val(e.variation_id).change()):(o=m(),o=o.replace("/**/",""),d.html(o),c.find('input[name="variation_id"], input.variation_id').val("").change()),"yes"===e.is_sold_individually?(j.find("input.qty").val("1").attr("min","1").attr("max",""),j.hide()):(j.find("input.qty").attr("min",e.min_qty).attr("max",e.max_qty),j.show()),e.is_purchasable&&e.is_in_stock&&e.variation_is_visible||(k=!1),a.trim(d.text())?d.slideDown(200).trigger("show_variation",[e,k]):d.show().trigger("show_variation",[e,k])}).on("check_variations",function(c,f,g){if(!i){var j=!0,k=!1,l={},m=a(this),n=m.find(".reset_variations");m.find(".variations select").each(function(){var b=a(this).data("attribute_name")||a(this).attr("name");0===a(this).val().length?j=!1:k=!0,f&&b===f?(j=!1,l[b]=""):l[b]=a(this).val()});var o=e.find_matching_variations(h,l);if(j){var p=o.shift();p?m.trigger("found_variation",[p]):(m.find(".variations select").val(""),g||m.trigger("reset_data"),b.alert(wc_add_to_cart_variation_params.i18n_no_matching_variations_text))}else m.trigger("update_variation_values",[o]),g||m.trigger("reset_data"),f||d.slideUp(200).trigger("hide_variation");k?"hidden"===n.css("visibility")&&n.css("visibility","visible").hide().fadeIn():n.css("visibility","hidden")}}).on("update_variation_values",function(b,d){i||(c.find(".variations select").each(function(b,c){var e,f=a(c);f.data("attribute_options")||f.data("attribute_options",f.find("option:gt(0)").get()),f.find("option:gt(0)").remove(),f.append(f.data("attribute_options")),f.find("option:gt(0)").removeClass("attached"),f.find("option:gt(0)").removeClass("enabled"),f.find("option:gt(0)").removeAttr("disabled"),e="undefined"!=typeof f.data("attribute_name")?f.data("attribute_name"):f.attr("name");for(var g in d)if("undefined"!=typeof d[g]){var h=d[g].attributes;for(var i in h)if(h.hasOwnProperty(i)){var j=h[i];if(i===e){var k="";d[g].variation_is_active&&(k="enabled"),j?(j=a("
    ").html(j).text(),j=j.replace(/'/g,"\\'"),j=j.replace(/"/g,'\\"'),f.find('option[value="'+j+'"]').addClass("attached "+k)):f.find("option:gt(0)").addClass("attached "+k)}}}f.find("option:gt(0):not(.attached)").remove(),f.find("option:gt(0):not(.enabled)").attr("disabled","disabled")}),c.trigger("woocommerce_update_variation_values"))}),c.trigger("wc_variation_form"),c};var e={find_matching_variations:function(a,b){for(var c=[],d=0;d1?(d.wc_set_variation_attr("src",a.image_src),d.wc_set_variation_attr("title",a.image_title),d.wc_set_variation_attr("alt",a.image_alt),d.wc_set_variation_attr("srcset",a.image_srcset),d.wc_set_variation_attr("sizes",a.image_sizes),e.wc_set_variation_attr("href",a.image_link),e.wc_set_variation_attr("title",a.image_caption)):(d.wc_reset_variation_attr("src"),d.wc_reset_variation_attr("title"),d.wc_reset_variation_attr("alt"),d.wc_reset_variation_attr("srcset"),d.wc_reset_variation_attr("sizes"),e.wc_reset_variation_attr("href"),e.wc_reset_variation_attr("title"))},a(function(){"undefined"!=typeof wc_add_to_cart_variation_params&&a(".variations_form").each(function(){a(this).wc_variation_form().find(".variations select:eq(0)").change()})})}(jQuery,window,document); \ No newline at end of file diff --git a/assets/js/frontend/address-i18n.min.js b/assets/js/frontend/address-i18n.min.js index 033b46c2b4d..3e43bfb567a 100644 --- a/assets/js/frontend/address-i18n.min.js +++ b/assets/js/frontend/address-i18n.min.js @@ -1 +1 @@ -jQuery(function(a){function b(a,b){b?(a.find("label").append(' *'),a.addClass("validate-required")):(a.find("label abbr").remove(),a.removeClass("validate-required"))}if("undefined"==typeof wc_address_i18n_params)return!1;var c=wc_address_i18n_params.locale.replace(/"/g,'"'),d=a.parseJSON(c);a(document.body).bind("country_to_state_changing",function(c,e,f){var g,h=f;g="undefined"!=typeof d[e]?d[e]:d["default"];var i=h.find("#billing_postcode_field, #shipping_postcode_field"),j=h.find("#billing_city_field, #shipping_city_field"),k=h.find("#billing_state_field, #shipping_state_field");i.attr("data-o_class")||(i.attr("data-o_class",i.attr("class")),j.attr("data-o_class",j.attr("class")),k.attr("data-o_class",k.attr("class"))),g.postcode_before_city?(i.add(j).add(k).removeClass("form-row-first form-row-last").addClass("form-row-first"),j.removeClass("form-row-wide form-row-first").addClass("form-row-last"),i.insertBefore(j)):(i.attr("class",i.attr("data-o_class")),j.attr("class",j.attr("data-o_class")),k.attr("class",k.attr("data-o_class")),i.insertAfter(k));var l=a.parseJSON(wc_address_i18n_params.locale_fields);a.each(l,function(a,c){var e=h.find(c);g[a]?(g[a].label&&e.find("label").html(g[a].label),g[a].placeholder&&e.find("input").attr("placeholder",g[a].placeholder),b(e,!1),"undefined"==typeof g[a].required&&d["default"][a].required===!0?b(e,!0):g[a].required===!0&&b(e,!0),"state"!==a&&(g[a].hidden===!0?e.hide().find("input").val(""):e.show())):d["default"][a]&&("state"!==a&&("undefined"==typeof d["default"][a].hidden||d["default"][a].hidden===!1?e.show():d["default"][a].hidden===!0&&e.hide().find("input").val("")),("postcode"===a||"city"===a)&&(d["default"][a].label&&e.find("label").html(d["default"][a].label),d["default"][a].placeholder&&e.find("input").attr("placeholder",d["default"][a].placeholder)),d["default"][a].required===!0&&0===e.find("label abbr").length&&b(e,!0))})})}); \ No newline at end of file +jQuery(function(a){function b(a,b){b?(a.find("label").append(' *'),a.addClass("validate-required")):(a.find("label abbr").remove(),a.removeClass("validate-required"))}if("undefined"==typeof wc_address_i18n_params)return!1;var c=wc_address_i18n_params.locale.replace(/"/g,'"'),d=a.parseJSON(c);a(document.body).bind("country_to_state_changing",function(c,e,f){var g,h=f;g="undefined"!=typeof d[e]?d[e]:d["default"];var i=h.find("#billing_postcode_field, #shipping_postcode_field"),j=h.find("#billing_city_field, #shipping_city_field"),k=h.find("#billing_state_field, #shipping_state_field");i.attr("data-o_class")||(i.attr("data-o_class",i.attr("class")),j.attr("data-o_class",j.attr("class")),k.attr("data-o_class",k.attr("class"))),g.postcode_before_city?(i.add(j).add(k).removeClass("form-row-first form-row-last").addClass("form-row-first"),j.removeClass("form-row-wide form-row-first").addClass("form-row-last"),i.insertBefore(j)):(i.attr("class",i.attr("data-o_class")),j.attr("class",j.attr("data-o_class")),k.attr("class",k.attr("data-o_class")),i.insertAfter(k));var l=a.parseJSON(wc_address_i18n_params.locale_fields);a.each(l,function(a,c){var e=h.find(c);g[a]?(g[a].label&&e.find("label").html(g[a].label),g[a].placeholder&&e.find("input").attr("placeholder",g[a].placeholder),b(e,!1),"undefined"==typeof g[a].required&&d["default"][a].required===!0?b(e,!0):g[a].required===!0&&b(e,!0),"state"!==a&&(g[a].hidden===!0?e.hide().find("input").val(""):e.show())):d["default"][a]&&("state"!==a&&("undefined"==typeof d["default"][a].hidden||d["default"][a].hidden===!1?e.show():d["default"][a].hidden===!0&&e.hide().find("input").val("")),"postcode"!==a&&"city"!==a||(d["default"][a].label&&e.find("label").html(d["default"][a].label),d["default"][a].placeholder&&e.find("input").attr("placeholder",d["default"][a].placeholder)),d["default"][a].required===!0&&0===e.find("label abbr").length&&b(e,!0))})})}); \ No newline at end of file diff --git a/assets/js/frontend/cart-fragments.min.js b/assets/js/frontend/cart-fragments.min.js index 2b8fd419322..dd498518844 100644 --- a/assets/js/frontend/cart-fragments.min.js +++ b/assets/js/frontend/cart-fragments.min.js @@ -1 +1 @@ -jQuery(function(a){function b(){e&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function c(a){e&&(localStorage.setItem("wc_cart_hash",a),sessionStorage.setItem("wc_cart_hash",a))}function d(){a.ajax(g)}if("undefined"==typeof wc_cart_fragments_params)return!1;var e;try{e="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc")}catch(f){e=!1}var g={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",success:function(d){d&&d.fragments&&(a.each(d.fragments,function(b,c){a(b).replaceWith(c)}),e&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(d.fragments)),c(d.cart_hash),d.cart_hash&&b()),a(document.body).trigger("wc_fragments_refreshed"))}};if(e){var h=null,i=864e5;a(document.body).bind("added_to_cart",function(a,d,e){var f=sessionStorage.getItem("wc_cart_hash");(null===f||void 0===f||""===f)&&b(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(d)),c(e)}),a(document.body).bind("wc_fragments_refreshed",function(){clearTimeout(h),h=setTimeout(d,i)}),a(window).on("storage onstorage",function(b){"wc_cart_hash"===b.originalEvent.key&&localStorage.getItem("wc_cart_hash")!==sessionStorage.getItem("wc_cart_hash")&&a.ajax(g)});try{var j=a.parseJSON(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),k=sessionStorage.getItem("wc_cart_hash"),l=a.cookie("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if((null===k||void 0===k||""===k)&&(k=""),(null===l||void 0===l||""===l)&&(l=""),k&&(null===m||void 0===m||""===m))throw"No cart_created";if(m){var n=1*m+i,o=(new Date).getTime();if(o>n)throw"Fragment expired";h=setTimeout(d,n-o)}if(!j||!j["div.widget_shopping_cart_content"]||k!==l)throw"No fragment";a.each(j,function(b,c){a(b).replaceWith(c)}),a(document.body).trigger("wc_fragments_loaded")}catch(f){d()}}else d();a.cookie("woocommerce_items_in_cart")>0?a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),a(document.body).bind("adding_to_cart",function(){a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()})}); \ No newline at end of file +jQuery(function(a){function b(){e&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function c(a){e&&(localStorage.setItem("wc_cart_hash",a),sessionStorage.setItem("wc_cart_hash",a))}function d(){a.ajax(g)}if("undefined"==typeof wc_cart_fragments_params)return!1;var e;try{e="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc")}catch(f){e=!1}var g={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",success:function(d){d&&d.fragments&&(a.each(d.fragments,function(b,c){a(b).replaceWith(c)}),e&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(d.fragments)),c(d.cart_hash),d.cart_hash&&b()),a(document.body).trigger("wc_fragments_refreshed"))}};if(e){var h=null,i=864e5;a(document.body).bind("added_to_cart",function(a,d,e){var f=sessionStorage.getItem("wc_cart_hash");null!==f&&void 0!==f&&""!==f||b(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(d)),c(e)}),a(document.body).bind("wc_fragments_refreshed",function(){clearTimeout(h),h=setTimeout(d,i)}),a(window).on("storage onstorage",function(b){"wc_cart_hash"===b.originalEvent.key&&localStorage.getItem("wc_cart_hash")!==sessionStorage.getItem("wc_cart_hash")&&a.ajax(g)});try{var j=a.parseJSON(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),k=sessionStorage.getItem("wc_cart_hash"),l=a.cookie("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if(null!==k&&void 0!==k&&""!==k||(k=""),null!==l&&void 0!==l&&""!==l||(l=""),k&&(null===m||void 0===m||""===m))throw"No cart_created";if(m){var n=1*m+i,o=(new Date).getTime();if(o>n)throw"Fragment expired";h=setTimeout(d,n-o)}if(!j||!j["div.widget_shopping_cart_content"]||k!==l)throw"No fragment";a.each(j,function(b,c){a(b).replaceWith(c)}),a(document.body).trigger("wc_fragments_loaded")}catch(f){d()}}else d();a.cookie("woocommerce_items_in_cart")>0?a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),a(document.body).bind("adding_to_cart",function(){a(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()})}); \ No newline at end of file diff --git a/assets/js/jquery-blockui/jquery.blockUI.min.js b/assets/js/jquery-blockui/jquery.blockUI.min.js index 0571d56cf2c..d392664e8d2 100644 --- a/assets/js/jquery-blockui/jquery.blockUI.min.js +++ b/assets/js/jquery-blockui/jquery.blockUI.min.js @@ -1,14 +1 @@ -/*! - * jQuery blockUI plugin - * Version 2.70.0-2014.11.23 - * Requires jQuery v1.7 or later - * - * Examples at: http://malsup.com/jquery/block/ - * Copyright (c) 2007-2013 M. Alsup - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - * Thanks to Amir-Hossein Sobhi for some excellent contributions! - */ !function(){"use strict";function a(a){function b(b,d){var f,p,q=b==window,r=d&&void 0!==d.message?d.message:void 0;if(d=a.extend({},a.blockUI.defaults,d||{}),!d.ignoreIfBlocked||!a(b).data("blockUI.isBlocked")){if(d.overlayCSS=a.extend({},a.blockUI.defaults.overlayCSS,d.overlayCSS||{}),f=a.extend({},a.blockUI.defaults.css,d.css||{}),d.onOverlayClick&&(d.overlayCSS.cursor="pointer"),p=a.extend({},a.blockUI.defaults.themedCSS,d.themedCSS||{}),r=void 0===r?d.message:r,q&&n&&c(window,{fadeOut:0}),r&&"string"!=typeof r&&(r.parentNode||r.jquery)){var s=r.jquery?r[0]:r,t={};a(b).data("blockUI.history",t),t.el=s,t.parent=s.parentNode,t.display=s.style.display,t.position=s.style.position,t.parent&&t.parent.removeChild(s)}a(b).data("blockUI.onUnblock",d.onUnblock);var u,v,w,x,y=d.baseZ;u=a(k||d.forceIframe?'':''),v=a(d.theme?'':''),d.theme&&q?(x='"):d.theme?(x='"):x=q?'':'',w=a(x),r&&(d.theme?(w.css(p),w.addClass("ui-widget-content")):w.css(f)),d.theme||v.css(d.overlayCSS),v.css("position",q?"fixed":"absolute"),(k||d.forceIframe)&&u.css("opacity",0);var z=[u,v,w],A=a(q?"body":b);a.each(z,function(){this.appendTo(A)}),d.theme&&d.draggable&&a.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var B=m&&(!a.support.boxModel||a("object,embed",q?null:b).length>0);if(l||B){if(q&&d.allowBodyStretch&&a.support.boxModel&&a("html,body").css("height","100%"),(l||!a.support.boxModel)&&!q)var C=i(b,"borderTopWidth"),D=i(b,"borderLeftWidth"),E=C?"(0 - "+C+")":0,F=D?"(0 - "+D+")":0;a.each(z,function(a,b){var c=b[0].style;if(c.position="absolute",2>a)q?c.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+d.quirksmodeOffsetHack+') + "px"'):c.setExpression("height",'this.parentNode.offsetHeight + "px"'),q?c.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):c.setExpression("width",'this.parentNode.offsetWidth + "px"'),F&&c.setExpression("left",F),E&&c.setExpression("top",E);else if(d.centerY)q&&c.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),c.marginTop=0;else if(!d.centerY&&q){var e=d.css&&d.css.top?parseInt(d.css.top,10):0,f="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+e+') + "px"';c.setExpression("top",f)}})}if(r&&(d.theme?w.find(".ui-widget-content").append(r):w.append(r),(r.jquery||r.nodeType)&&a(r).show()),(k||d.forceIframe)&&d.showOverlay&&u.show(),d.fadeIn){var G=d.onBlock?d.onBlock:j,H=d.showOverlay&&!r?G:j,I=r?G:j;d.showOverlay&&v._fadeIn(d.fadeIn,H),r&&w._fadeIn(d.fadeIn,I)}else d.showOverlay&&v.show(),r&&w.show(),d.onBlock&&d.onBlock.bind(w)();if(e(1,b,d),q?(n=w[0],o=a(d.focusableElements,n),d.focusInput&&setTimeout(g,20)):h(w[0],d.centerX,d.centerY),d.timeout){var J=setTimeout(function(){q?a.unblockUI(d):a(b).unblock(d)},d.timeout);a(b).data("blockUI.timeout",J)}}}function c(b,c){var f,g=b==window,h=a(b),i=h.data("blockUI.history"),j=h.data("blockUI.timeout");j&&(clearTimeout(j),h.removeData("blockUI.timeout")),c=a.extend({},a.blockUI.defaults,c||{}),e(0,b,c),null===c.onUnblock&&(c.onUnblock=h.data("blockUI.onUnblock"),h.removeData("blockUI.onUnblock"));var k;k=g?a(document.body).children().filter(".blockUI").add("body > .blockUI"):h.find(">.blockUI"),c.cursorReset&&(k.length>1&&(k[1].style.cursor=c.cursorReset),k.length>2&&(k[2].style.cursor=c.cursorReset)),g&&(n=o=null),c.fadeOut?(f=k.length,k.stop().fadeOut(c.fadeOut,function(){0===--f&&d(k,i,c,b)})):d(k,i,c,b)}function d(b,c,d,e){var f=a(e);if(!f.data("blockUI.isBlocked")){b.each(function(a,b){this.parentNode&&this.parentNode.removeChild(this)}),c&&c.el&&(c.el.style.display=c.display,c.el.style.position=c.position,c.el.style.cursor="default",c.parent&&c.parent.appendChild(c.el),f.removeData("blockUI.history")),f.data("blockUI.static")&&f.css("position","static"),"function"==typeof d.onUnblock&&d.onUnblock(e,d);var g=a(document.body),h=g.width(),i=g[0].style.width;g.width(h-1).width(h),g[0].style.width=i}}function e(b,c,d){var e=c==window,g=a(c);if((b||(!e||n)&&(e||g.data("blockUI.isBlocked")))&&(g.data("blockUI.isBlocked",b),e&&d.bindEvents&&(!b||d.showOverlay))){var h="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";b?a(document).bind(h,d,f):a(document).unbind(h,f)}}function f(b){if("keydown"===b.type&&b.keyCode&&9==b.keyCode&&n&&b.data.constrainTabKey){var c=o,d=!b.shiftKey&&b.target===c[c.length-1],e=b.shiftKey&&b.target===c[0];if(d||e)return setTimeout(function(){g(e)},10),!1}var f=b.data,h=a(b.target);return h.hasClass("blockOverlay")&&f.onOverlayClick&&f.onOverlayClick(b),h.parents("div."+f.blockMsgClass).length>0?!0:0===h.parents().children().filter("div.blockUI").length}function g(a){if(o){var b=o[a===!0?o.length-1:0];b&&b.focus()}}function h(a,b,c){var d=a.parentNode,e=a.style,f=(d.offsetWidth-a.offsetWidth)/2-i(d,"borderLeftWidth"),g=(d.offsetHeight-a.offsetHeight)/2-i(d,"borderTopWidth");b&&(e.left=f>0?f+"px":"0"),c&&(e.top=g>0?g+"px":"0")}function i(b,c){return parseInt(a.css(b,c),10)||0}a.fn._fadeIn=a.fn.fadeIn;var j=a.noop||function(){},k=/MSIE/.test(navigator.userAgent),l=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),m=(document.documentMode||0,a.isFunction(document.createElement("div").style.setExpression));a.blockUI=function(a){b(window,a)},a.unblockUI=function(a){c(window,a)},a.growlUI=function(b,c,d,e){var f=a('
    ');b&&f.append("

    "+b+"

    "),c&&f.append("

    "+c+"

    "),void 0===d&&(d=3e3);var g=function(b){b=b||{},a.blockUI({message:f,fadeIn:"undefined"!=typeof b.fadeIn?b.fadeIn:700,fadeOut:"undefined"!=typeof b.fadeOut?b.fadeOut:1e3,timeout:"undefined"!=typeof b.timeout?b.timeout:d,centerY:!1,showOverlay:!1,onUnblock:e,css:a.blockUI.defaults.growlCSS})};g();f.css("opacity");f.mouseover(function(){g({fadeIn:0,timeout:3e4});var b=a(".blockMsg");b.stop(),b.fadeTo(300,1)}).mouseout(function(){a(".blockMsg").fadeOut(1e3)})},a.fn.block=function(c){if(this[0]===window)return a.blockUI(c),this;var d=a.extend({},a.blockUI.defaults,c||{});return this.each(function(){var b=a(this);d.ignoreIfBlocked&&b.data("blockUI.isBlocked")||b.unblock({fadeOut:0})}),this.each(function(){"static"==a.css(this,"position")&&(this.style.position="relative",a(this).data("blockUI.static",!0)),this.style.zoom=1,b(this,c)})},a.fn.unblock=function(b){return this[0]===window?(a.unblockUI(b),this):this.each(function(){c(this,b)})},a.blockUI.version=2.7,a.blockUI.defaults={message:"

    Please wait...

    ",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var n=null,o=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],a):a(jQuery)}(); \ No newline at end of file diff --git a/assets/js/jquery-cookie/jquery.cookie.min.js b/assets/js/jquery-cookie/jquery.cookie.min.js index 5be813ad400..571c31531ae 100644 --- a/assets/js/jquery-cookie/jquery.cookie.min.js +++ b/assets/js/jquery-cookie/jquery.cookie.min.js @@ -1,8 +1 @@ -/*! - * jQuery Cookie Plugin v1.4.1 - * https://github.com/carhartl/jquery-cookie - * - * Copyright 2013 Klaus Hartl - * Released under the MIT license - */ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); \ No newline at end of file diff --git a/assets/js/jquery-flot/jquery.flot.min.js b/assets/js/jquery-flot/jquery.flot.min.js index 21503f5b71a..ddfaae0cff4 100644 --- a/assets/js/jquery-flot/jquery.flot.min.js +++ b/assets/js/jquery-flot/jquery.flot.min.js @@ -1,2 +1,2 @@ -!function(a){a.color={},a.color.make=function(b,c,d,e){var f={};return f.r=b||0,f.g=c||0,f.b=d||0,f.a=null!=e?e:1,f.add=function(a,b){for(var c=0;c=1?"rgb("+[f.r,f.g,f.b].join(",")+")":"rgba("+[f.r,f.g,f.b,f.a].join(",")+")"},f.normalize=function(){function a(a,b,c){return a>b?a:b>c?c:b}return f.r=a(0,parseInt(f.r),255),f.g=a(0,parseInt(f.g),255),f.b=a(0,parseInt(f.b),255),f.a=a(0,f.a,1),f},f.clone=function(){return a.color.make(f.r,f.b,f.g,f.a)},f.normalize()},a.color.extract=function(b,c){var d;do{if(d=b.css(c).toLowerCase(),""!=d&&"transparent"!=d)break;b=b.parent()}while(!a.nodeName(b.get(0),"body"));return"rgba(0, 0, 0, 0)"==d&&(d="transparent"),a.color.parse(d)},a.color.parse=function(c){var d,e=a.color.make;if(d=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return e(parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10));if(d=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(c))return e(parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10),parseFloat(d[4]));if(d=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return e(2.55*parseFloat(d[1]),2.55*parseFloat(d[2]),2.55*parseFloat(d[3]));if(d=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(c))return e(2.55*parseFloat(d[1]),2.55*parseFloat(d[2]),2.55*parseFloat(d[3]),parseFloat(d[4]));if(d=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return e(parseInt(d[1],16),parseInt(d[2],16),parseInt(d[3],16));if(d=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return e(parseInt(d[1]+d[1],16),parseInt(d[2]+d[2],16),parseInt(d[3]+d[3],16));var f=a.trim(c).toLowerCase();return"transparent"==f?e(255,255,255,0):(d=b[f]||[0,0,0],e(d[0],d[1],d[2]))};var b={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(a){function b(b,c){var d=c.children("."+b)[0];if(null==d&&(d=document.createElement("canvas"),d.className=b,a(d).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(c),!d.getContext)){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");d=window.G_vmlCanvasManager.initElement(d)}this.element=d;var e=this.context=d.getContext("2d"),f=window.devicePixelRatio||1,g=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;this.pixelRatio=f/g,this.resize(c.width(),c.height()),this.textContainer=null,this.text={},this._textCache={}}function c(c,e,f,g){function h(a,b){b=[qa].concat(b);for(var c=0;cd;++d)e=ea.xaxes[d],e&&!e.tickColor&&(e.tickColor=e.color),e=a.extend(!0,{},ea.xaxis,e),ea.xaxes[d]=e,e.font&&(e.font=a.extend({},g,e.font),e.font.color||(e.font.color=e.color));for(f=ea.yaxes.length||1,d=0;f>d;++d)e=ea.yaxes[d],e&&!e.tickColor&&(e.tickColor=e.color),e=a.extend(!0,{},ea.yaxis,e),ea.yaxes[d]=e,e.font&&(e.font=a.extend({},g,e.font),e.font.color||(e.font.color=e.color));for(ea.xaxis.noTicks&&null==ea.xaxis.ticks&&(ea.xaxis.ticks=ea.xaxis.noTicks),ea.yaxis.noTicks&&null==ea.yaxis.ticks&&(ea.yaxis.ticks=ea.yaxis.noTicks),ea.x2axis&&(ea.xaxes[1]=a.extend(!0,{},ea.xaxis,ea.x2axis),ea.xaxes[1].position="top"),ea.y2axis&&(ea.yaxes[1]=a.extend(!0,{},ea.yaxis,ea.y2axis),ea.yaxes[1].position="right"),ea.grid.coloredAreas&&(ea.grid.markings=ea.grid.coloredAreas),ea.grid.coloredAreasColor&&(ea.grid.markingsColor=ea.grid.coloredAreasColor),ea.lines&&a.extend(!0,ea.series.lines,ea.lines),ea.points&&a.extend(!0,ea.series.points,ea.points),ea.bars&&a.extend(!0,ea.series.bars,ea.bars),null!=ea.shadowSize&&(ea.series.shadowSize=ea.shadowSize),null!=ea.highlightColor&&(ea.series.highlightColor=ea.highlightColor),d=0;dd&&(d=e))}d>=c&&(c=d+1);var f,g=[],h=ea.colors,i=h.length,j=0;for(b=0;c>b;b++)f=a.color.parse(h[b%i]||"#666"),b%i==0&&b&&(j=j>=0?.5>j?-j-.2:0:-j),g[b]=f.scale("rgb",1+j);var k,l=0;for(b=0;ba.datamax&&c!=s&&(a.datamax=c)}var c,d,e,f,g,i,j,k,l,m,o,p,q=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,s=Number.MAX_VALUE;for(a.each(n(),function(a,b){b.datamin=q,b.datamax=r,b.used=!1}),c=0;cf;++f)k=m[f],l=p[f],l&&(l.number&&null!=k&&(k=+k,isNaN(k)?k=null:k==1/0?k=s:k==-(1/0)&&(k=-s)),null==k&&(l.required&&(v=!0),null!=l.defaultValue&&(k=l.defaultValue))),i[e+f]=k;if(v)for(f=0;j>f;++f)k=i[e+f],null!=k&&(l=p[f],l.autoscale&&(l.x&&b(g.xaxis,k,k),l.y&&b(g.yaxis,k,k))),i[e+f]=null;else if(u&&e>0&&null!=i[e-j]&&i[e-j]!=i[e]&&i[e-j+1]!=i[e+1]){for(f=0;j>f;++f)i[e+j+f]=i[e+f];i[e+1]=i[e-j+1],e+=j}}}}for(c=0;cf;++f)k=i[d+f],l=p[f],l&&l.autoscale!==!1&&k!=s&&k!=-s&&(l.x&&(w>k&&(w=k),k>y&&(y=k)),l.y&&(x>k&&(x=k),k>z&&(z=k)));if(g.bars.show){var A;switch(g.bars.align){case"left":A=0;break;case"right":A=-g.bars.barWidth;break;case"center":A=-g.bars.barWidth/2;break;default:throw new Error("Invalid bar alignment: "+g.bars.align)}g.bars.horizontal?(x+=A,z+=A+g.bars.barWidth):(w+=A,y+=A+g.bars.barWidth)}b(g.xaxis,w,y),b(g.yaxis,x,z)}a.each(n(),function(a,b){b.datamin==q&&(b.datamin=null),b.datamax==r&&(b.datamax=null)})}function t(){c.css("padding",0).children(":not(.flot-base,.flot-overlay)").remove(),"static"==c.css("position")&&c.css("position","relative"),fa=new b("flot-base",c),ga=new b("flot-overlay",c),ia=fa.context,ja=ga.context,ha=a(ga.element).unbind();var d=c.data("plot");d&&(d.shutdown(),ga.clear()),c.data("plot",qa)}function u(){ea.grid.hoverable&&(ha.mousemove(T),ha.bind("mouseleave",U)),ea.grid.clickable&&ha.click(V),h(pa.bindEvents,[ha])}function v(){sa&&clearTimeout(sa),ha.unbind("mousemove",T),ha.unbind("mouseleave",U),ha.unbind("click",V),h(pa.shutdown,[ha])}function w(a){function b(a){return a}var c,d,e=a.options.transform||b,f=a.options.inverseTransform;"x"==a.direction?(c=a.scale=na/Math.abs(e(a.max)-e(a.min)),d=Math.min(e(a.max),e(a.min))):(c=a.scale=oa/Math.abs(e(a.max)-e(a.min)),c=-c,d=Math.max(e(a.max),e(a.min))),e==b?a.p2c=function(a){return(a-d)*c}:a.p2c=function(a){return(e(a)-d)*c},f?a.c2p=function(a){return f(d+a/c)}:a.c2p=function(a){return d+a/c}}function x(a){var b=a.options,c=a.ticks||[],d=b.labelWidth||0,e=b.labelHeight||0,f=d||"x"==a.direction?Math.floor(fa.width/(c.length||1)):null;legacyStyles=a.direction+"Axis "+a.direction+a.n+"Axis",layer="flot-"+a.direction+"-axis flot-"+a.direction+a.n+"-axis "+legacyStyles,font=b.font||"flot-tick-label tickLabel";for(var g=0;g=0;--b)y(g[b]);A(),a.each(g,function(a,b){z(b)})}na=fa.width-ma.left-ma.right,oa=fa.height-ma.bottom-ma.top,a.each(c,function(a,b){w(b)}),d&&K(),R()}function C(a){var b=a.options,c=+(null!=b.min?b.min:a.datamin),d=+(null!=b.max?b.max:a.datamax),e=d-c;if(0==e){var f=0==d?1:.01;null==b.min&&(c-=f),(null==b.max||null!=b.min)&&(d+=f)}else{var g=b.autoscaleMargin;null!=g&&(null==b.min&&(c-=e*g,0>c&&null!=a.datamin&&a.datamin>=0&&(c=0)),null==b.max&&(d+=e*g,d>0&&null!=a.datamax&&a.datamax<=0&&(d=0)))}a.min=c,a.max=d}function D(b){var c,e=b.options;c="number"==typeof e.ticks&&e.ticks>0?e.ticks:.3*Math.sqrt("x"==b.direction?fa.width:fa.height);var f=(b.max-b.min)/c,g=-Math.floor(Math.log(f)/Math.LN10),h=e.tickDecimals;null!=h&&g>h&&(g=h);var i,j=Math.pow(10,-g),k=f/j;if(1.5>k?i=1:3>k?(i=2,k>2.25&&(null==h||h>=g+1)&&(i=2.5,++g)):i=7.5>k?5:10,i*=j,null!=e.minTickSize&&i0&&(null==e.min&&(b.min=Math.min(b.min,m[0])),null==e.max&&m.length>1&&(b.max=Math.max(b.max,m[m.length-1]))),b.tickGenerator=function(a){var b,c,d=[];for(c=0;c1&&/\..*0$/.test((o[1]-o[0]).toFixed(n))||(b.tickDecimals=n)}}}}function E(b){var c=b.options.ticks,d=[];null==c||"number"==typeof c&&c>0?d=b.tickGenerator(b):c&&(d=a.isFunction(c)?c(b):c);var e,f;for(b.ticks=[],e=0;e1&&(g=h[1])):f=+h,null==g&&(g=b.tickFormatter(f,b)),isNaN(f)||b.ticks.push({v:f,label:g})}}function F(a,b){a.options.autoscaleMargin&&b.length>0&&(null==a.options.min&&(a.min=Math.min(a.min,b[0].v)),null==a.options.max&&b.length>1&&(a.max=Math.max(a.max,b[b.length-1].v)))}function G(){fa.clear(),h(pa.drawBackground,[ia]);var a=ea.grid;a.show&&a.backgroundColor&&I(),a.show&&!a.aboveData&&J();for(var b=0;be){var i=d;d=e,e=i}return{from:d,to:e,axis:c}}function I(){ia.save(),ia.translate(ma.left,ma.top),ia.fillStyle=ca(ea.grid.backgroundColor,oa,0,"rgba(255, 255, 255, 0)"),ia.fillRect(0,0,na,oa),ia.restore()}function J(){var b,c,d,e;ia.save(),ia.translate(ma.left,ma.top);var f=ea.grid.markings;if(f)for(a.isFunction(f)&&(c=qa.getAxes(),c.xmin=c.xaxis.min,c.xmax=c.xaxis.max,c.ymin=c.yaxis.min,c.ymax=c.yaxis.max,f=f(c)),b=0;bh.axis.max||i.toi.axis.max||(h.from=Math.max(h.from,h.axis.min),h.to=Math.min(h.to,h.axis.max),i.from=Math.max(i.from,i.axis.min),i.to=Math.min(i.to,i.axis.max),(h.from!=h.to||i.from!=i.to)&&(h.from=h.axis.p2c(h.from),h.to=h.axis.p2c(h.to),i.from=i.axis.p2c(i.from),i.to=i.axis.p2c(i.to),h.from==h.to||i.from==i.to?(ia.beginPath(),ia.strokeStyle=g.color||ea.grid.markingsColor,ia.lineWidth=g.lineWidth||ea.grid.markingsLineWidth,ia.moveTo(h.from,i.from),ia.lineTo(h.to,i.to),ia.stroke()):(ia.fillStyle=g.color||ea.grid.markingsColor,ia.fillRect(h.from,i.to,h.to-h.from,i.from-i.to))))}c=n(),d=ea.grid.borderWidth;for(var j=0;jp.max||"full"==r&&("object"==typeof d&&d[p.position]>0||d>0)&&(s==p.min||s==p.max)||("x"==p.direction?(k=p.p2c(s),o="full"==r?-oa:r,"top"==p.position&&(o=-o)):(l=p.p2c(s),m="full"==r?-na:r,"left"==p.position&&(m=-m)),1==ia.lineWidth&&("x"==p.direction?k=Math.floor(k)+.5:l=Math.floor(l)+.5),ia.moveTo(k,l),ia.lineTo(k+m,l+o))}ia.stroke()}}d&&(e=ea.grid.borderColor,"object"==typeof d||"object"==typeof e?("object"!=typeof d&&(d={top:d,right:d,bottom:d,left:d}),"object"!=typeof e&&(e={top:e,right:e,bottom:e,left:e}),d.top>0&&(ia.strokeStyle=e.top,ia.lineWidth=d.top,ia.beginPath(),ia.moveTo(0-d.left,0-d.top/2),ia.lineTo(na,0-d.top/2),ia.stroke()),d.right>0&&(ia.strokeStyle=e.right,ia.lineWidth=d.right,ia.beginPath(),ia.moveTo(na+d.right/2,0-d.top),ia.lineTo(na+d.right/2,oa),ia.stroke()),d.bottom>0&&(ia.strokeStyle=e.bottom,ia.lineWidth=d.bottom,ia.beginPath(),ia.moveTo(na+d.right,oa+d.bottom/2),ia.lineTo(0,oa+d.bottom/2),ia.stroke()),d.left>0&&(ia.strokeStyle=e.left,ia.lineWidth=d.left,ia.beginPath(),ia.moveTo(0-d.left/2,oa+d.bottom),ia.lineTo(0-d.left/2,0),ia.stroke())):(ia.lineWidth=d,ia.strokeStyle=ea.grid.borderColor,ia.strokeRect(-d/2,-d/2,na+d,oa+d))),ia.restore()}function K(){a.each(n(),function(a,b){if(b.show&&0!=b.ticks.length){var c,d,e,f,g,h=b.box,i=b.direction+"Axis "+b.direction+b.n+"Axis",j="flot-"+b.direction+"-axis flot-"+b.direction+b.n+"-axis "+i,k=b.options.font||"flot-tick-label tickLabel";fa.removeText(j);for(var l=0;lb.max||("x"==b.direction?(f="center",d=ma.left+b.p2c(c.v),"bottom"==b.position?e=h.top+h.padding:(e=h.top+h.height-h.padding,g="bottom")):(g="middle",e=ma.top+b.p2c(c.v),"left"==b.position?(d=h.left+h.width-h.padding,f="right"):d=h.left+h.padding),fa.addText(j,d,e,c.label,k,null,null,f,g))}})}function L(a){a.lines.show&&M(a),a.bars.show&&P(a),a.points.show&&N(a)}function M(a){function b(a,b,c,d,e){var f=a.points,g=a.pointsize,h=null,i=null;ia.beginPath();for(var j=g;j=l&&l=n&&n=n&&l>e.max){if(n>e.max)continue;k=(e.max-l)/(n-l)*(m-k)+k,l=e.max}else if(n>=l&&n>e.max){if(l>e.max)continue;m=(e.max-l)/(n-l)*(m-k)+k,n=e.max}if(m>=k&&k=m&&m=m&&k>d.max){if(m>d.max)continue;l=(d.max-k)/(m-k)*(n-l)+l,k=d.max}else if(m>=k&&m>d.max){if(k>d.max)continue;n=(d.max-k)/(m-k)*(n-l)+l,m=d.max}(k!=h||l!=i)&&ia.moveTo(d.p2c(k)+b,e.p2c(l)+c),h=m,i=n,ia.lineTo(d.p2c(m)+b,e.p2c(n)+c)}}ia.stroke()}function c(a,b,c){for(var d=a.points,e=a.pointsize,f=Math.min(Math.max(0,c.min),c.max),g=0,h=!1,i=1,j=0,k=0;;){if(e>0&&g>d.length+e)break;g+=e;var l=d[g-e],m=d[g-e+i],n=d[g],o=d[g+i];if(h){if(e>0&&null!=l&&null==n){k=g,e=-e,i=2;continue}if(0>e&&g==j+e){ia.fill(),h=!1,e=-e,i=1,g=j=k+e;continue}}if(null!=l&&null!=n){if(n>=l&&l=n&&n=n&&l>b.max){if(n>b.max)continue;m=(b.max-l)/(n-l)*(o-m)+m,l=b.max}else if(n>=l&&n>b.max){if(l>b.max)continue;o=(b.max-l)/(n-l)*(o-m)+m,n=b.max}if(h||(ia.beginPath(),ia.moveTo(b.p2c(l),c.p2c(f)),h=!0),m>=c.max&&o>=c.max)ia.lineTo(b.p2c(l),c.p2c(c.max)),ia.lineTo(b.p2c(n),c.p2c(c.max));else if(m<=c.min&&o<=c.min)ia.lineTo(b.p2c(l),c.p2c(c.min)),ia.lineTo(b.p2c(n),c.p2c(c.min));else{var p=l,q=n;o>=m&&m=c.min?(l=(c.min-m)/(o-m)*(n-l)+l,m=c.min):m>=o&&o=c.min&&(n=(c.min-m)/(o-m)*(n-l)+l,o=c.min),m>=o&&m>c.max&&o<=c.max?(l=(c.max-m)/(o-m)*(n-l)+l,m=c.max):o>=m&&o>c.max&&m<=c.max&&(n=(c.max-m)/(o-m)*(n-l)+l,o=c.max),l!=p&&ia.lineTo(b.p2c(p),c.p2c(m)),ia.lineTo(b.p2c(l),c.p2c(m)),ia.lineTo(b.p2c(n),c.p2c(o)),n!=q&&(ia.lineTo(b.p2c(n),c.p2c(o)),ia.lineTo(b.p2c(q),c.p2c(o)))}}}}ia.save(),ia.translate(ma.left,ma.top),ia.lineJoin="round";var d=a.lines.lineWidth,e=a.shadowSize;if(d>0&&e>0){ia.lineWidth=e,ia.strokeStyle="rgba(0,0,0,0.1)";var f=Math.PI/18;b(a.datapoints,Math.sin(f)*(d/2+e/2),Math.cos(f)*(d/2+e/2),a.xaxis,a.yaxis),ia.lineWidth=e/2,b(a.datapoints,Math.sin(f)*(d/2+e/4),Math.cos(f)*(d/2+e/4),a.xaxis,a.yaxis)}ia.lineWidth=d,ia.strokeStyle=a.color;var g=Q(a.lines,a.color,0,oa);g&&(ia.fillStyle=g,c(a.datapoints,a.xaxis,a.yaxis)),d>0&&b(a.datapoints,0,0,a.xaxis,a.yaxis),ia.restore()}function N(a){function b(a,b,c,d,e,f,g,h){for(var i=a.points,j=a.pointsize,k=0;kf.max||mg.max||(ia.beginPath(),l=f.p2c(l),m=g.p2c(m)+d,"circle"==h?ia.arc(l,m,b,0,e?Math.PI:2*Math.PI,!1):h(ia,l,m,b,e),ia.closePath(),c&&(ia.fillStyle=c,ia.fill()),ia.stroke())}}ia.save(),ia.translate(ma.left,ma.top);var c=a.points.lineWidth,d=a.shadowSize,e=a.points.radius,f=a.points.symbol;if(0==c&&(c=1e-4),c>0&&d>0){var g=d/2;ia.lineWidth=g,ia.strokeStyle="rgba(0,0,0,0.1)",b(a.datapoints,e,null,g+g/2,!0,a.xaxis,a.yaxis,f),ia.strokeStyle="rgba(0,0,0,0.2)",b(a.datapoints,e,null,g/2,!0,a.xaxis,a.yaxis,f)}ia.lineWidth=c,ia.strokeStyle=a.color,b(a.datapoints,e,Q(a.points,a.color),0,!1,a.xaxis,a.yaxis,f),ia.restore()}function O(a,b,c,d,e,f,g,h,i,j,k,l){var m,n,o,p,q,r,s,t,u;k?(t=r=s=!0,q=!1,m=c,n=a,p=b+d,o=b+e,m>n&&(u=n,n=m,m=u,q=!0,r=!1)):(q=r=s=!0,t=!1,m=a+d,n=a+e,o=c,p=b,o>p&&(u=p,p=o,o=u,t=!0,s=!1)),nh.max||pi.max||(mh.max&&(n=h.max,r=!1),oi.max&&(p=i.max,s=!1),m=h.p2c(m),o=i.p2c(o),n=h.p2c(n),p=i.p2c(p),g&&(j.beginPath(),j.moveTo(m,o),j.lineTo(m,p),j.lineTo(n,p),j.lineTo(n,o),j.fillStyle=g(o,p),j.fill()),l>0&&(q||r||s||t)&&(j.beginPath(),j.moveTo(m,o+f),q?j.lineTo(m,p+f):j.moveTo(m,p+f),s?j.lineTo(n,p+f):j.moveTo(n,p+f),r?j.lineTo(n,o+f):j.moveTo(n,o+f),t?j.lineTo(m,o+f):j.moveTo(m,o+f),j.stroke()))}function P(a){function b(b,c,d,e,f,g,h){for(var i=b.points,j=b.pointsize,k=0;k"),e.push(""),g=!0),e.push('
    '+k.label+"")}if(g&&e.push(""),0!=e.length){var l=''+e.join("")+"
    ";if(null!=ea.legend.container)a(ea.legend.container).html(l);else{var m="",n=ea.legend.position,o=ea.legend.margin;null==o[0]&&(o=[o,o]),"n"==n.charAt(0)?m+="top:"+(o[1]+ma.top)+"px;":"s"==n.charAt(0)&&(m+="bottom:"+(o[1]+ma.bottom)+"px;"),"e"==n.charAt(1)?m+="right:"+(o[0]+ma.right)+"px;":"w"==n.charAt(1)&&(m+="left:"+(o[0]+ma.left)+"px;");var p=a('
    '+l.replace('style="','style="position:absolute;'+m+";")+"
    ").appendTo(c);if(0!=ea.legend.backgroundOpacity){var q=ea.legend.backgroundColor;null==q&&(q=ea.grid.backgroundColor,q=q&&"string"==typeof q?a.color.parse(q):a.color.extract(p,"background-color"),q.a=1,q=q.toString());var r=p.children();a('
    ').prependTo(p).css("opacity",ea.legend.backgroundOpacity)}}}}}function S(a,b,c){var d,e,f,g=ea.grid.mouseActiveRadius,h=g*g+1,i=null;for(d=da.length-1;d>=0;--d)if(c(da[d])){var j=da[d],k=j.xaxis,l=j.yaxis,m=j.datapoints.points,n=k.c2p(a),o=l.c2p(b),p=g/k.scale,q=g/l.scale;if(f=j.datapoints.pointsize,k.options.inverseTransform&&(p=Number.MAX_VALUE),l.options.inverseTransform&&(q=Number.MAX_VALUE),j.lines.show||j.points.show)for(e=0;ep||-p>r-n||s-o>q||-q>s-o)){var t=Math.abs(k.p2c(r)-a),u=Math.abs(l.p2c(s)-b),v=t*t+u*u;h>v&&(h=v,i=[d,e/f])}}if(j.bars.show&&!i){var w="left"==j.bars.align?0:-j.bars.barWidth/2,x=w+j.bars.barWidth;for(e=0;e=Math.min(y,r)&&o>=s+w&&s+x>=o:n>=r+w&&r+x>=n&&o>=Math.min(y,s)&&o<=Math.max(y,s))&&(i=[d,e/f])}}}return i?(d=i[0],e=i[1],f=da[d].datapoints.pointsize,{datapoint:da[d].datapoints.points.slice(e*f,(e+1)*f),dataIndex:e,series:da[d],seriesIndex:d}):null}function T(a){ea.grid.hoverable&&W("plothover",a,function(a){return 0!=a.hoverable})}function U(a){ea.grid.hoverable&&W("plothover",a,function(a){return!1})}function V(a){W("plotclick",a,function(a){return 0!=a.clickable})}function W(a,b,d){var e=ha.offset(),f=b.pageX-e.left-ma.left,g=b.pageY-e.top-ma.top,h=o({left:f,top:g});h.pageX=b.pageX,h.pageY=b.pageY;var i=S(f,g,d);if(i&&(i.pageX=parseInt(i.series.xaxis.p2c(i.datapoint[0])+e.left+ma.left,10),i.pageY=parseInt(i.series.yaxis.p2c(i.datapoint[1])+e.top+ma.top,10)),ea.grid.autoHighlight){for(var j=0;jf.max||eg.max)){var i=b.points.radius+b.points.lineWidth/2;ja.lineWidth=i,ja.strokeStyle=h;var j=1.5*i;d=f.p2c(d),e=g.p2c(e),ja.beginPath(),"circle"==b.points.symbol?ja.arc(d,e,j,0,2*Math.PI,!1):b.points.symbol(ja,d,e,j,!1),ja.closePath(),ja.stroke()}}function ba(b,c){var d="string"==typeof b.highlightColor?b.highlightColor:a.color.parse(b.color).scale("a",.5).toString(),e=d,f="left"==b.bars.align?0:-b.bars.barWidth/2;ja.lineWidth=b.bars.lineWidth,ja.strokeStyle=d,O(c[0],c[1],c[2]||0,f,f+b.bars.barWidth,0,function(){return e},b.xaxis,b.yaxis,ja,b.bars.horizontal,b.bars.lineWidth)}function ca(b,c,d,e){if("string"==typeof b)return b;for(var f=ia.createLinearGradient(0,d,0,c),g=0,h=b.colors.length;h>g;++g){var i=b.colors[g];if("string"!=typeof i){var j=a.color.parse(e);null!=i.brightness&&(j=j.scale("rgb",i.brightness)),null!=i.opacity&&(j.a*=i.opacity),i=j.toString()}f.addColorStop(g/(h-1),i)}return f}var da=[],ea={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},xaxis:{show:null,position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1,zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},fa=null,ga=null,ha=null,ia=null,ja=null,ka=[],la=[],ma={left:0,right:0,top:0,bottom:0},na=0,oa=0,pa={processOptions:[],processRawData:[], +!function(a){a.color={},a.color.make=function(b,c,d,e){var f={};return f.r=b||0,f.g=c||0,f.b=d||0,f.a=null!=e?e:1,f.add=function(a,b){for(var c=0;c=1?"rgb("+[f.r,f.g,f.b].join(",")+")":"rgba("+[f.r,f.g,f.b,f.a].join(",")+")"},f.normalize=function(){function a(a,b,c){return a>b?a:b>c?c:b}return f.r=a(0,parseInt(f.r),255),f.g=a(0,parseInt(f.g),255),f.b=a(0,parseInt(f.b),255),f.a=a(0,f.a,1),f},f.clone=function(){return a.color.make(f.r,f.b,f.g,f.a)},f.normalize()},a.color.extract=function(b,c){var d;do{if(d=b.css(c).toLowerCase(),""!=d&&"transparent"!=d)break;b=b.parent()}while(!a.nodeName(b.get(0),"body"));return"rgba(0, 0, 0, 0)"==d&&(d="transparent"),a.color.parse(d)},a.color.parse=function(c){var d,e=a.color.make;if(d=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return e(parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10));if(d=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(c))return e(parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10),parseFloat(d[4]));if(d=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return e(2.55*parseFloat(d[1]),2.55*parseFloat(d[2]),2.55*parseFloat(d[3]));if(d=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(c))return e(2.55*parseFloat(d[1]),2.55*parseFloat(d[2]),2.55*parseFloat(d[3]),parseFloat(d[4]));if(d=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return e(parseInt(d[1],16),parseInt(d[2],16),parseInt(d[3],16));if(d=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return e(parseInt(d[1]+d[1],16),parseInt(d[2]+d[2],16),parseInt(d[3]+d[3],16));var f=a.trim(c).toLowerCase();return"transparent"==f?e(255,255,255,0):(d=b[f]||[0,0,0],e(d[0],d[1],d[2]))};var b={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(a){function b(b,c){var d=c.children("."+b)[0];if(null==d&&(d=document.createElement("canvas"),d.className=b,a(d).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(c),!d.getContext)){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");d=window.G_vmlCanvasManager.initElement(d)}this.element=d;var e=this.context=d.getContext("2d"),f=window.devicePixelRatio||1,g=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;this.pixelRatio=f/g,this.resize(c.width(),c.height()),this.textContainer=null,this.text={},this._textCache={}}function c(c,e,f,g){function h(a,b){b=[qa].concat(b);for(var c=0;cd;++d)e=ea.xaxes[d],e&&!e.tickColor&&(e.tickColor=e.color),e=a.extend(!0,{},ea.xaxis,e),ea.xaxes[d]=e,e.font&&(e.font=a.extend({},g,e.font),e.font.color||(e.font.color=e.color));for(f=ea.yaxes.length||1,d=0;f>d;++d)e=ea.yaxes[d],e&&!e.tickColor&&(e.tickColor=e.color),e=a.extend(!0,{},ea.yaxis,e),ea.yaxes[d]=e,e.font&&(e.font=a.extend({},g,e.font),e.font.color||(e.font.color=e.color));for(ea.xaxis.noTicks&&null==ea.xaxis.ticks&&(ea.xaxis.ticks=ea.xaxis.noTicks),ea.yaxis.noTicks&&null==ea.yaxis.ticks&&(ea.yaxis.ticks=ea.yaxis.noTicks),ea.x2axis&&(ea.xaxes[1]=a.extend(!0,{},ea.xaxis,ea.x2axis),ea.xaxes[1].position="top"),ea.y2axis&&(ea.yaxes[1]=a.extend(!0,{},ea.yaxis,ea.y2axis),ea.yaxes[1].position="right"),ea.grid.coloredAreas&&(ea.grid.markings=ea.grid.coloredAreas),ea.grid.coloredAreasColor&&(ea.grid.markingsColor=ea.grid.coloredAreasColor),ea.lines&&a.extend(!0,ea.series.lines,ea.lines),ea.points&&a.extend(!0,ea.series.points,ea.points),ea.bars&&a.extend(!0,ea.series.bars,ea.bars),null!=ea.shadowSize&&(ea.series.shadowSize=ea.shadowSize),null!=ea.highlightColor&&(ea.series.highlightColor=ea.highlightColor),d=0;dd&&(d=e))}d>=c&&(c=d+1);var f,g=[],h=ea.colors,i=h.length,j=0;for(b=0;c>b;b++)f=a.color.parse(h[b%i]||"#666"),b%i==0&&b&&(j=j>=0?.5>j?-j-.2:0:-j),g[b]=f.scale("rgb",1+j);var k,l=0;for(b=0;ba.datamax&&c!=s&&(a.datamax=c)}var c,d,e,f,g,i,j,k,l,m,o,p,q=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,s=Number.MAX_VALUE;for(a.each(n(),function(a,b){b.datamin=q,b.datamax=r,b.used=!1}),c=0;cf;++f)k=m[f],l=p[f],l&&(l.number&&null!=k&&(k=+k,isNaN(k)?k=null:k==1/0?k=s:k==-(1/0)&&(k=-s)),null==k&&(l.required&&(v=!0),null!=l.defaultValue&&(k=l.defaultValue))),i[e+f]=k;if(v)for(f=0;j>f;++f)k=i[e+f],null!=k&&(l=p[f],l.autoscale&&(l.x&&b(g.xaxis,k,k),l.y&&b(g.yaxis,k,k))),i[e+f]=null;else if(u&&e>0&&null!=i[e-j]&&i[e-j]!=i[e]&&i[e-j+1]!=i[e+1]){for(f=0;j>f;++f)i[e+j+f]=i[e+f];i[e+1]=i[e-j+1],e+=j}}}}for(c=0;cf;++f)k=i[d+f],l=p[f],l&&l.autoscale!==!1&&k!=s&&k!=-s&&(l.x&&(w>k&&(w=k),k>y&&(y=k)),l.y&&(x>k&&(x=k),k>z&&(z=k)));if(g.bars.show){var A;switch(g.bars.align){case"left":A=0;break;case"right":A=-g.bars.barWidth;break;case"center":A=-g.bars.barWidth/2;break;default:throw new Error("Invalid bar alignment: "+g.bars.align)}g.bars.horizontal?(x+=A,z+=A+g.bars.barWidth):(w+=A,y+=A+g.bars.barWidth)}b(g.xaxis,w,y),b(g.yaxis,x,z)}a.each(n(),function(a,b){b.datamin==q&&(b.datamin=null),b.datamax==r&&(b.datamax=null)})}function t(){c.css("padding",0).children(":not(.flot-base,.flot-overlay)").remove(),"static"==c.css("position")&&c.css("position","relative"),fa=new b("flot-base",c),ga=new b("flot-overlay",c),ia=fa.context,ja=ga.context,ha=a(ga.element).unbind();var d=c.data("plot");d&&(d.shutdown(),ga.clear()),c.data("plot",qa)}function u(){ea.grid.hoverable&&(ha.mousemove(T),ha.bind("mouseleave",U)),ea.grid.clickable&&ha.click(V),h(pa.bindEvents,[ha])}function v(){sa&&clearTimeout(sa),ha.unbind("mousemove",T),ha.unbind("mouseleave",U),ha.unbind("click",V),h(pa.shutdown,[ha])}function w(a){function b(a){return a}var c,d,e=a.options.transform||b,f=a.options.inverseTransform;"x"==a.direction?(c=a.scale=na/Math.abs(e(a.max)-e(a.min)),d=Math.min(e(a.max),e(a.min))):(c=a.scale=oa/Math.abs(e(a.max)-e(a.min)),c=-c,d=Math.max(e(a.max),e(a.min))),e==b?a.p2c=function(a){return(a-d)*c}:a.p2c=function(a){return(e(a)-d)*c},f?a.c2p=function(a){return f(d+a/c)}:a.c2p=function(a){return d+a/c}}function x(a){var b=a.options,c=a.ticks||[],d=b.labelWidth||0,e=b.labelHeight||0,f=d||"x"==a.direction?Math.floor(fa.width/(c.length||1)):null;legacyStyles=a.direction+"Axis "+a.direction+a.n+"Axis",layer="flot-"+a.direction+"-axis flot-"+a.direction+a.n+"-axis "+legacyStyles,font=b.font||"flot-tick-label tickLabel";for(var g=0;g=0;--b)y(g[b]);A(),a.each(g,function(a,b){z(b)})}na=fa.width-ma.left-ma.right,oa=fa.height-ma.bottom-ma.top,a.each(c,function(a,b){w(b)}),d&&K(),R()}function C(a){var b=a.options,c=+(null!=b.min?b.min:a.datamin),d=+(null!=b.max?b.max:a.datamax),e=d-c;if(0==e){var f=0==d?1:.01;null==b.min&&(c-=f),null!=b.max&&null==b.min||(d+=f)}else{var g=b.autoscaleMargin;null!=g&&(null==b.min&&(c-=e*g,0>c&&null!=a.datamin&&a.datamin>=0&&(c=0)),null==b.max&&(d+=e*g,d>0&&null!=a.datamax&&a.datamax<=0&&(d=0)))}a.min=c,a.max=d}function D(b){var c,e=b.options;c="number"==typeof e.ticks&&e.ticks>0?e.ticks:.3*Math.sqrt("x"==b.direction?fa.width:fa.height);var f=(b.max-b.min)/c,g=-Math.floor(Math.log(f)/Math.LN10),h=e.tickDecimals;null!=h&&g>h&&(g=h);var i,j=Math.pow(10,-g),k=f/j;if(1.5>k?i=1:3>k?(i=2,k>2.25&&(null==h||h>=g+1)&&(i=2.5,++g)):i=7.5>k?5:10,i*=j,null!=e.minTickSize&&i0&&(null==e.min&&(b.min=Math.min(b.min,m[0])),null==e.max&&m.length>1&&(b.max=Math.max(b.max,m[m.length-1]))),b.tickGenerator=function(a){var b,c,d=[];for(c=0;c1&&/\..*0$/.test((o[1]-o[0]).toFixed(n))||(b.tickDecimals=n)}}}}function E(b){var c=b.options.ticks,d=[];null==c||"number"==typeof c&&c>0?d=b.tickGenerator(b):c&&(d=a.isFunction(c)?c(b):c);var e,f;for(b.ticks=[],e=0;e1&&(g=h[1])):f=+h,null==g&&(g=b.tickFormatter(f,b)),isNaN(f)||b.ticks.push({v:f,label:g})}}function F(a,b){a.options.autoscaleMargin&&b.length>0&&(null==a.options.min&&(a.min=Math.min(a.min,b[0].v)),null==a.options.max&&b.length>1&&(a.max=Math.max(a.max,b[b.length-1].v)))}function G(){fa.clear(),h(pa.drawBackground,[ia]);var a=ea.grid;a.show&&a.backgroundColor&&I(),a.show&&!a.aboveData&&J();for(var b=0;be){var i=d;d=e,e=i}return{from:d,to:e,axis:c}}function I(){ia.save(),ia.translate(ma.left,ma.top),ia.fillStyle=ca(ea.grid.backgroundColor,oa,0,"rgba(255, 255, 255, 0)"),ia.fillRect(0,0,na,oa),ia.restore()}function J(){var b,c,d,e;ia.save(),ia.translate(ma.left,ma.top);var f=ea.grid.markings;if(f)for(a.isFunction(f)&&(c=qa.getAxes(),c.xmin=c.xaxis.min,c.xmax=c.xaxis.max,c.ymin=c.yaxis.min,c.ymax=c.yaxis.max,f=f(c)),b=0;bh.axis.max||i.toi.axis.max||(h.from=Math.max(h.from,h.axis.min),h.to=Math.min(h.to,h.axis.max),i.from=Math.max(i.from,i.axis.min),i.to=Math.min(i.to,i.axis.max),h.from==h.to&&i.from==i.to||(h.from=h.axis.p2c(h.from),h.to=h.axis.p2c(h.to),i.from=i.axis.p2c(i.from),i.to=i.axis.p2c(i.to),h.from==h.to||i.from==i.to?(ia.beginPath(),ia.strokeStyle=g.color||ea.grid.markingsColor,ia.lineWidth=g.lineWidth||ea.grid.markingsLineWidth,ia.moveTo(h.from,i.from),ia.lineTo(h.to,i.to),ia.stroke()):(ia.fillStyle=g.color||ea.grid.markingsColor,ia.fillRect(h.from,i.to,h.to-h.from,i.from-i.to))))}c=n(),d=ea.grid.borderWidth;for(var j=0;jp.max||"full"==r&&("object"==typeof d&&d[p.position]>0||d>0)&&(s==p.min||s==p.max)||("x"==p.direction?(k=p.p2c(s),o="full"==r?-oa:r,"top"==p.position&&(o=-o)):(l=p.p2c(s),m="full"==r?-na:r,"left"==p.position&&(m=-m)),1==ia.lineWidth&&("x"==p.direction?k=Math.floor(k)+.5:l=Math.floor(l)+.5),ia.moveTo(k,l),ia.lineTo(k+m,l+o))}ia.stroke()}}d&&(e=ea.grid.borderColor,"object"==typeof d||"object"==typeof e?("object"!=typeof d&&(d={top:d,right:d,bottom:d,left:d}),"object"!=typeof e&&(e={top:e,right:e,bottom:e,left:e}),d.top>0&&(ia.strokeStyle=e.top,ia.lineWidth=d.top,ia.beginPath(),ia.moveTo(0-d.left,0-d.top/2),ia.lineTo(na,0-d.top/2),ia.stroke()),d.right>0&&(ia.strokeStyle=e.right,ia.lineWidth=d.right,ia.beginPath(),ia.moveTo(na+d.right/2,0-d.top),ia.lineTo(na+d.right/2,oa),ia.stroke()),d.bottom>0&&(ia.strokeStyle=e.bottom,ia.lineWidth=d.bottom,ia.beginPath(),ia.moveTo(na+d.right,oa+d.bottom/2),ia.lineTo(0,oa+d.bottom/2),ia.stroke()),d.left>0&&(ia.strokeStyle=e.left,ia.lineWidth=d.left,ia.beginPath(),ia.moveTo(0-d.left/2,oa+d.bottom),ia.lineTo(0-d.left/2,0),ia.stroke())):(ia.lineWidth=d,ia.strokeStyle=ea.grid.borderColor,ia.strokeRect(-d/2,-d/2,na+d,oa+d))),ia.restore()}function K(){a.each(n(),function(a,b){if(b.show&&0!=b.ticks.length){var c,d,e,f,g,h=b.box,i=b.direction+"Axis "+b.direction+b.n+"Axis",j="flot-"+b.direction+"-axis flot-"+b.direction+b.n+"-axis "+i,k=b.options.font||"flot-tick-label tickLabel";fa.removeText(j);for(var l=0;lb.max||("x"==b.direction?(f="center",d=ma.left+b.p2c(c.v),"bottom"==b.position?e=h.top+h.padding:(e=h.top+h.height-h.padding,g="bottom")):(g="middle",e=ma.top+b.p2c(c.v),"left"==b.position?(d=h.left+h.width-h.padding,f="right"):d=h.left+h.padding),fa.addText(j,d,e,c.label,k,null,null,f,g))}})}function L(a){a.lines.show&&M(a),a.bars.show&&P(a),a.points.show&&N(a)}function M(a){function b(a,b,c,d,e){var f=a.points,g=a.pointsize,h=null,i=null;ia.beginPath();for(var j=g;j=l&&l=n&&n=n&&l>e.max){if(n>e.max)continue;k=(e.max-l)/(n-l)*(m-k)+k,l=e.max}else if(n>=l&&n>e.max){if(l>e.max)continue;m=(e.max-l)/(n-l)*(m-k)+k,n=e.max}if(m>=k&&k=m&&m=m&&k>d.max){if(m>d.max)continue;l=(d.max-k)/(m-k)*(n-l)+l,k=d.max}else if(m>=k&&m>d.max){if(k>d.max)continue;n=(d.max-k)/(m-k)*(n-l)+l,m=d.max}k==h&&l==i||ia.moveTo(d.p2c(k)+b,e.p2c(l)+c),h=m,i=n,ia.lineTo(d.p2c(m)+b,e.p2c(n)+c)}}ia.stroke()}function c(a,b,c){for(var d=a.points,e=a.pointsize,f=Math.min(Math.max(0,c.min),c.max),g=0,h=!1,i=1,j=0,k=0;;){if(e>0&&g>d.length+e)break;g+=e;var l=d[g-e],m=d[g-e+i],n=d[g],o=d[g+i];if(h){if(e>0&&null!=l&&null==n){k=g,e=-e,i=2;continue}if(0>e&&g==j+e){ia.fill(),h=!1,e=-e,i=1,g=j=k+e;continue}}if(null!=l&&null!=n){if(n>=l&&l=n&&n=n&&l>b.max){if(n>b.max)continue;m=(b.max-l)/(n-l)*(o-m)+m,l=b.max}else if(n>=l&&n>b.max){if(l>b.max)continue;o=(b.max-l)/(n-l)*(o-m)+m,n=b.max}if(h||(ia.beginPath(),ia.moveTo(b.p2c(l),c.p2c(f)),h=!0),m>=c.max&&o>=c.max)ia.lineTo(b.p2c(l),c.p2c(c.max)),ia.lineTo(b.p2c(n),c.p2c(c.max));else if(m<=c.min&&o<=c.min)ia.lineTo(b.p2c(l),c.p2c(c.min)),ia.lineTo(b.p2c(n),c.p2c(c.min));else{var p=l,q=n;o>=m&&m=c.min?(l=(c.min-m)/(o-m)*(n-l)+l,m=c.min):m>=o&&o=c.min&&(n=(c.min-m)/(o-m)*(n-l)+l,o=c.min),m>=o&&m>c.max&&o<=c.max?(l=(c.max-m)/(o-m)*(n-l)+l,m=c.max):o>=m&&o>c.max&&m<=c.max&&(n=(c.max-m)/(o-m)*(n-l)+l,o=c.max),l!=p&&ia.lineTo(b.p2c(p),c.p2c(m)),ia.lineTo(b.p2c(l),c.p2c(m)),ia.lineTo(b.p2c(n),c.p2c(o)),n!=q&&(ia.lineTo(b.p2c(n),c.p2c(o)),ia.lineTo(b.p2c(q),c.p2c(o)))}}}}ia.save(),ia.translate(ma.left,ma.top),ia.lineJoin="round";var d=a.lines.lineWidth,e=a.shadowSize;if(d>0&&e>0){ia.lineWidth=e,ia.strokeStyle="rgba(0,0,0,0.1)";var f=Math.PI/18;b(a.datapoints,Math.sin(f)*(d/2+e/2),Math.cos(f)*(d/2+e/2),a.xaxis,a.yaxis),ia.lineWidth=e/2,b(a.datapoints,Math.sin(f)*(d/2+e/4),Math.cos(f)*(d/2+e/4),a.xaxis,a.yaxis)}ia.lineWidth=d,ia.strokeStyle=a.color;var g=Q(a.lines,a.color,0,oa);g&&(ia.fillStyle=g,c(a.datapoints,a.xaxis,a.yaxis)),d>0&&b(a.datapoints,0,0,a.xaxis,a.yaxis),ia.restore()}function N(a){function b(a,b,c,d,e,f,g,h){for(var i=a.points,j=a.pointsize,k=0;kf.max||mg.max||(ia.beginPath(),l=f.p2c(l),m=g.p2c(m)+d,"circle"==h?ia.arc(l,m,b,0,e?Math.PI:2*Math.PI,!1):h(ia,l,m,b,e),ia.closePath(),c&&(ia.fillStyle=c,ia.fill()),ia.stroke())}}ia.save(),ia.translate(ma.left,ma.top);var c=a.points.lineWidth,d=a.shadowSize,e=a.points.radius,f=a.points.symbol;if(0==c&&(c=1e-4),c>0&&d>0){var g=d/2;ia.lineWidth=g,ia.strokeStyle="rgba(0,0,0,0.1)",b(a.datapoints,e,null,g+g/2,!0,a.xaxis,a.yaxis,f),ia.strokeStyle="rgba(0,0,0,0.2)",b(a.datapoints,e,null,g/2,!0,a.xaxis,a.yaxis,f)}ia.lineWidth=c,ia.strokeStyle=a.color,b(a.datapoints,e,Q(a.points,a.color),0,!1,a.xaxis,a.yaxis,f),ia.restore()}function O(a,b,c,d,e,f,g,h,i,j,k,l){var m,n,o,p,q,r,s,t,u;k?(t=r=s=!0,q=!1,m=c,n=a,p=b+d,o=b+e,m>n&&(u=n,n=m,m=u,q=!0,r=!1)):(q=r=s=!0,t=!1,m=a+d,n=a+e,o=c,p=b,o>p&&(u=p,p=o,o=u,t=!0,s=!1)),nh.max||pi.max||(mh.max&&(n=h.max,r=!1),oi.max&&(p=i.max,s=!1),m=h.p2c(m),o=i.p2c(o),n=h.p2c(n),p=i.p2c(p),g&&(j.beginPath(),j.moveTo(m,o),j.lineTo(m,p),j.lineTo(n,p),j.lineTo(n,o),j.fillStyle=g(o,p),j.fill()),l>0&&(q||r||s||t)&&(j.beginPath(),j.moveTo(m,o+f),q?j.lineTo(m,p+f):j.moveTo(m,p+f),s?j.lineTo(n,p+f):j.moveTo(n,p+f),r?j.lineTo(n,o+f):j.moveTo(n,o+f),t?j.lineTo(m,o+f):j.moveTo(m,o+f),j.stroke()))}function P(a){function b(b,c,d,e,f,g,h){for(var i=b.points,j=b.pointsize,k=0;k"),e.push(""),g=!0),e.push('
    '+k.label+"")}if(g&&e.push(""),0!=e.length){var l=''+e.join("")+"
    ";if(null!=ea.legend.container)a(ea.legend.container).html(l);else{var m="",n=ea.legend.position,o=ea.legend.margin;null==o[0]&&(o=[o,o]),"n"==n.charAt(0)?m+="top:"+(o[1]+ma.top)+"px;":"s"==n.charAt(0)&&(m+="bottom:"+(o[1]+ma.bottom)+"px;"),"e"==n.charAt(1)?m+="right:"+(o[0]+ma.right)+"px;":"w"==n.charAt(1)&&(m+="left:"+(o[0]+ma.left)+"px;");var p=a('
    '+l.replace('style="','style="position:absolute;'+m+";")+"
    ").appendTo(c);if(0!=ea.legend.backgroundOpacity){var q=ea.legend.backgroundColor;null==q&&(q=ea.grid.backgroundColor,q=q&&"string"==typeof q?a.color.parse(q):a.color.extract(p,"background-color"),q.a=1,q=q.toString());var r=p.children();a('
    ').prependTo(p).css("opacity",ea.legend.backgroundOpacity)}}}}}function S(a,b,c){var d,e,f,g=ea.grid.mouseActiveRadius,h=g*g+1,i=null;for(d=da.length-1;d>=0;--d)if(c(da[d])){var j=da[d],k=j.xaxis,l=j.yaxis,m=j.datapoints.points,n=k.c2p(a),o=l.c2p(b),p=g/k.scale,q=g/l.scale;if(f=j.datapoints.pointsize,k.options.inverseTransform&&(p=Number.MAX_VALUE),l.options.inverseTransform&&(q=Number.MAX_VALUE),j.lines.show||j.points.show)for(e=0;ep||-p>r-n||s-o>q||-q>s-o)){var t=Math.abs(k.p2c(r)-a),u=Math.abs(l.p2c(s)-b),v=t*t+u*u;h>v&&(h=v,i=[d,e/f])}}if(j.bars.show&&!i){var w="left"==j.bars.align?0:-j.bars.barWidth/2,x=w+j.bars.barWidth;for(e=0;e=Math.min(y,r)&&o>=s+w&&s+x>=o:n>=r+w&&r+x>=n&&o>=Math.min(y,s)&&o<=Math.max(y,s))&&(i=[d,e/f])}}}return i?(d=i[0],e=i[1],f=da[d].datapoints.pointsize,{datapoint:da[d].datapoints.points.slice(e*f,(e+1)*f),dataIndex:e,series:da[d],seriesIndex:d}):null}function T(a){ea.grid.hoverable&&W("plothover",a,function(a){return 0!=a.hoverable})}function U(a){ea.grid.hoverable&&W("plothover",a,function(a){return!1})}function V(a){W("plotclick",a,function(a){return 0!=a.clickable})}function W(a,b,d){var e=ha.offset(),f=b.pageX-e.left-ma.left,g=b.pageY-e.top-ma.top,h=o({left:f,top:g});h.pageX=b.pageX,h.pageY=b.pageY;var i=S(f,g,d);if(i&&(i.pageX=parseInt(i.series.xaxis.p2c(i.datapoint[0])+e.left+ma.left,10),i.pageY=parseInt(i.series.yaxis.p2c(i.datapoint[1])+e.top+ma.top,10)),ea.grid.autoHighlight){for(var j=0;jf.max||eg.max)){var i=b.points.radius+b.points.lineWidth/2;ja.lineWidth=i,ja.strokeStyle=h;var j=1.5*i;d=f.p2c(d),e=g.p2c(e),ja.beginPath(),"circle"==b.points.symbol?ja.arc(d,e,j,0,2*Math.PI,!1):b.points.symbol(ja,d,e,j,!1),ja.closePath(),ja.stroke()}}function ba(b,c){var d="string"==typeof b.highlightColor?b.highlightColor:a.color.parse(b.color).scale("a",.5).toString(),e=d,f="left"==b.bars.align?0:-b.bars.barWidth/2;ja.lineWidth=b.bars.lineWidth,ja.strokeStyle=d,O(c[0],c[1],c[2]||0,f,f+b.bars.barWidth,0,function(){return e},b.xaxis,b.yaxis,ja,b.bars.horizontal,b.bars.lineWidth)}function ca(b,c,d,e){if("string"==typeof b)return b;for(var f=ia.createLinearGradient(0,d,0,c),g=0,h=b.colors.length;h>g;++g){var i=b.colors[g];if("string"!=typeof i){var j=a.color.parse(e);null!=i.brightness&&(j=j.scale("rgb",i.brightness)),null!=i.opacity&&(j.a*=i.opacity),i=j.toString()}f.addColorStop(g/(h-1),i)}return f}var da=[],ea={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},xaxis:{show:null,position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1,zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},fa=null,ga=null,ha=null,ia=null,ja=null,ka=[],la=[],ma={left:0,right:0,top:0,bottom:0},na=0,oa=0,pa={processOptions:[],processRawData:[], processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},qa=this;qa.setData=k,qa.setupGrid=B,qa.draw=G,qa.getPlaceholder=function(){return c},qa.getCanvas=function(){return fa.element},qa.getPlotOffset=function(){return ma},qa.width=function(){return na},qa.height=function(){return oa},qa.offset=function(){var a=ha.offset();return a.left+=ma.left,a.top+=ma.top,a},qa.getData=function(){return da},qa.getAxes=function(){var b={};return a.each(ka.concat(la),function(a,c){c&&(b[c.direction+(1!=c.n?c.n:"")+"axis"]=c)}),b},qa.getXAxes=function(){return ka},qa.getYAxes=function(){return la},qa.c2p=o,qa.p2c=p,qa.getOptions=function(){return ea},qa.highlight=Z,qa.unhighlight=$,qa.triggerRedrawOverlay=X,qa.pointOffset=function(a){return{left:parseInt(ka[m(a,"x")-1].p2c(+a.x)+ma.left,10),top:parseInt(la[m(a,"y")-1].p2c(+a.y)+ma.top,10)}},qa.shutdown=v,qa.resize=function(){var a=c.width(),b=c.height();fa.resize(a,b),ga.resize(a,b)},qa.hooks=pa,i(qa),j(f),t(),k(e),B(),G(),u();var ra=[],sa=null}function d(a,b){return b*Math.floor(a/b)}var e=Object.prototype.hasOwnProperty;b.prototype.resize=function(a,b){if(0>=a||0>=b)throw new Error("Invalid dimensions for plot, width = "+a+", height = "+b);var c=this.element,d=this.context,e=this.pixelRatio;this.width!=a&&(c.width=a*e,c.style.width=a+"px",this.width=a),this.height!=b&&(c.height=b*e,c.style.height=b+"px",this.height=b),d.restore(),d.save(),d.scale(e,e)},b.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)},b.prototype.render=function(){var a=this._textCache;for(var b in a)if(e.call(a,b)){var c=this.getTextLayer(b),d=a[b];c.hide();for(var f in d)if(e.call(d,f)){var g=d[f];for(var h in g)if(e.call(g,h)){for(var i,j=g[h].positions,k=0;i=j[k];k++)i.active?i.rendered||(c.append(i.element),i.rendered=!0):(j.splice(k--,1),i.rendered&&i.element.detach());0==j.length&&delete g[h]}}c.show()}},b.prototype.getTextLayer=function(b){var c=this.text[b];return null==c&&(null==this.textContainer&&(this.textContainer=a("
    ").css({position:"absolute",top:0,left:0,bottom:0,right:0,"font-size":"smaller",color:"#545454"}).insertAfter(this.element)),c=this.text[b]=a("
    ").addClass(b).css({position:"absolute",top:0,left:0,bottom:0,right:0}).appendTo(this.textContainer)),c},b.prototype.getTextInfo=function(b,c,d,e,f){var g,h,i,j;if(c=""+c,g="object"==typeof d?d.style+" "+d.variant+" "+d.weight+" "+d.size+"px/"+d.lineHeight+"px "+d.family:d,h=this._textCache[b],null==h&&(h=this._textCache[b]={}),i=h[g],null==i&&(i=h[g]={}),j=i[c],null==j){var k=a("
    ").html(c).css({position:"absolute","max-width":f,top:-9999}).appendTo(this.getTextLayer(b));"object"==typeof d?k.css({font:g,color:d.color}):"string"==typeof d&&k.addClass(d),j=i[c]={width:k.outerWidth(!0),height:k.outerHeight(!0),element:k,positions:[]},k.detach()}return j},b.prototype.addText=function(a,b,c,d,e,f,g,h,i){var j=this.getTextInfo(a,d,e,f,g),k=j.positions;"center"==h?b-=j.width/2:"right"==h&&(b-=j.width),"middle"==i?c-=j.height/2:"bottom"==i&&(c-=j.height);for(var l,m=0;l=k[m];m++)if(l.x==b&&l.y==c)return void(l.active=!0);l={active:!0,rendered:!1,element:k.length?j.element.clone():j.element,x:b,y:c},k.push(l),l.element.css({top:Math.round(c),left:Math.round(b),"text-align":h})},b.prototype.removeText=function(a,b,c,d,f,g){if(null==d){var h=this._textCache[a];if(null!=h)for(var i in h)if(e.call(h,i)){var j=h[i];for(var k in j)if(e.call(j,k))for(var l,m=j[k].positions,n=0;l=m[n];n++)l.active=!1}}else for(var l,m=this.getTextInfo(a,d,f,g).positions,n=0;l=m[n];n++)l.x==b&&l.y==c&&(l.active=!1)},a.plot=function(b,d,e){var f=new c(a(b),d,e,a.plot.plugins);return f},a.plot.version="0.8.1",a.plot.plugins=[],a.fn.plot=function(b,c){return this.each(function(){a.plot(this,b,c)})}}(jQuery); \ No newline at end of file diff --git a/assets/js/jquery-flot/jquery.flot.resize.min.js b/assets/js/jquery-flot/jquery.flot.resize.min.js index f9dd34a4e7d..23e69313c79 100644 --- a/assets/js/jquery-flot/jquery.flot.resize.min.js +++ b/assets/js/jquery-flot/jquery.flot.resize.min.js @@ -1 +1 @@ -!function(a,b,c){function d(){e=b[h](function(){f.each(function(){var b=a(this),c=b.width(),d=b.height(),e=a.data(this,j);(c!==e.w||d!==e.h)&&b.trigger(i,[e.w=c,e.h=d])}),d()},g[k])}var e,f=a([]),g=a.resize=a.extend(a.resize,{}),h="setTimeout",i="resize",j=i+"-special-event",k="delay",l="throttleWindow";g[k]=250,g[l]=!0,a.event.special[i]={setup:function(){if(!g[l]&&this[h])return!1;var b=a(this);f=f.add(b),a.data(this,j,{w:b.width(),h:b.height()}),1===f.length&&d()},teardown:function(){if(!g[l]&&this[h])return!1;var b=a(this);f=f.not(b),b.removeData(j),f.length||clearTimeout(e)},add:function(b){function d(b,d,f){var g=a(this),h=a.data(this,j);h.w=d!==c?d:g.width(),h.h=f!==c?f:g.height(),e.apply(this,arguments)}if(!g[l]&&this[h])return!1;var e;return a.isFunction(b)?(e=b,d):(e=b.handler,void(b.handler=d))}}}(jQuery,this),function(a){function b(a){function b(){var b=a.getPlaceholder();0!=b.width()&&0!=b.height()&&(a.resize(),a.setupGrid(),a.draw())}function c(a,c){a.getPlaceholder().resize(b)}function d(a,c){a.getPlaceholder().unbind("resize",b)}a.hooks.bindEvents.push(c),a.hooks.shutdown.push(d)}var c={};a.plot.plugins.push({init:b,options:c,name:"resize",version:"1.0"})}(jQuery); \ No newline at end of file +!function(a,b,c){function d(){e=b[h](function(){f.each(function(){var b=a(this),c=b.width(),d=b.height(),e=a.data(this,j);c===e.w&&d===e.h||b.trigger(i,[e.w=c,e.h=d])}),d()},g[k])}var e,f=a([]),g=a.resize=a.extend(a.resize,{}),h="setTimeout",i="resize",j=i+"-special-event",k="delay",l="throttleWindow";g[k]=250,g[l]=!0,a.event.special[i]={setup:function(){if(!g[l]&&this[h])return!1;var b=a(this);f=f.add(b),a.data(this,j,{w:b.width(),h:b.height()}),1===f.length&&d()},teardown:function(){if(!g[l]&&this[h])return!1;var b=a(this);f=f.not(b),b.removeData(j),f.length||clearTimeout(e)},add:function(b){function d(b,d,f){var g=a(this),h=a.data(this,j);h.w=d!==c?d:g.width(),h.h=f!==c?f:g.height(),e.apply(this,arguments)}if(!g[l]&&this[h])return!1;var e;return a.isFunction(b)?(e=b,d):(e=b.handler,void(b.handler=d))}}}(jQuery,this),function(a){function b(a){function b(){var b=a.getPlaceholder();0!=b.width()&&0!=b.height()&&(a.resize(),a.setupGrid(),a.draw())}function c(a,c){a.getPlaceholder().resize(b)}function d(a,c){a.getPlaceholder().unbind("resize",b)}a.hooks.bindEvents.push(c),a.hooks.shutdown.push(d)}var c={};a.plot.plugins.push({init:b,options:c,name:"resize",version:"1.0"})}(jQuery); \ No newline at end of file diff --git a/assets/js/jquery-payment/jquery.payment.min.js b/assets/js/jquery-payment/jquery.payment.min.js index a467050e695..a9e2ca2f4c2 100644 --- a/assets/js/jquery-payment/jquery.payment.min.js +++ b/assets/js/jquery-payment/jquery.payment.min.js @@ -1 +1 @@ -jQuery(function(a){(function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=[].slice,x=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};a.payment={},a.payment.fn={},a.fn.payment=function(){var b,c;return c=arguments[0],b=2<=arguments.length?w.call(arguments,1):[],a.payment.fn[c].apply(this,b)},e=/(\d{1,4})/g,a.payment.cards=d=[{type:"visaelectron",pattern:/^4(026|17500|405|508|844|91[37])/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"maestro",pattern:/^(5(018|0[23]|[68])|6(39|7))/,format:e,length:[12,13,14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"forbrugsforeningen",pattern:/^600/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"dankort",pattern:/^5019/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"visa",pattern:/^4/,format:e,length:[13,16],cvcLength:[3],luhn:!0},{type:"mastercard",pattern:/^(5[0-5]|2[2-7])/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"amex",pattern:/^3[47]/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,length:[15],cvcLength:[3,4],luhn:!0},{type:"dinersclub",pattern:/^3[0689]/,format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,length:[14],cvcLength:[3],luhn:!0},{type:"discover",pattern:/^6([045]|22)/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"unionpay",pattern:/^(62|88)/,format:e,length:[16,17,18,19],cvcLength:[3],luhn:!1},{type:"jcb",pattern:/^35/,format:e,length:[16],cvcLength:[3],luhn:!0}],b=function(a){var b,c,e;for(a=(a+"").replace(/\D/g,""),c=0,e=d.length;e>c;c++)if(b=d[c],b.pattern.test(a))return b},c=function(a){var b,c,e;for(c=0,e=d.length;e>c;c++)if(b=d[c],b.type===a)return b},m=function(a){var b,c,d,e,f,g;for(d=!0,e=0,c=(a+"").split("").reverse(),f=0,g=c.length;g>f;f++)b=c[f],b=parseInt(b,10),(d=!d)&&(b*=2),b>9&&(b-=9),e+=b;return e%10===0},l=function(a){var b;return null!=a.prop("selectionStart")&&a.prop("selectionStart")!==a.prop("selectionEnd")?!0:null!=("undefined"!=typeof document&&null!==document&&null!=(b=document.selection)?b.createRange:void 0)&&document.selection.createRange().text?!0:!1},q=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=d.replace(/\D/g,""),c.val(d)})},o=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=a.payment.formatCardNumber(d),c.val(d)})},h=function(c){var d,e,f,g,h,i,j;return f=String.fromCharCode(c.which),!/^\d+$/.test(f)||(d=a(c.currentTarget),j=d.val(),e=b(j+f),g=(j.replace(/\D/g,"")+f).length,i=16,e&&(i=e.length[e.length.length-1]),g>=i||null!=d.prop("selectionStart")&&d.prop("selectionStart")!==j.length)?void 0:(h=e&&"amex"===e.type?/^(\d{4}|\d{4}\s\d{6})$/:/(?:^|\s)(\d{4})$/,h.test(j)?(c.preventDefault(),setTimeout(function(){return d.val(j+" "+f)})):h.test(j+f)?(c.preventDefault(),setTimeout(function(){return d.val(j+f+" ")})):void 0)},f=function(b){var c,d;return c=a(b.currentTarget),d=c.val(),8!==b.which||null!=c.prop("selectionStart")&&c.prop("selectionStart")!==d.length?void 0:/\d\s$/.test(d)?(b.preventDefault(),setTimeout(function(){return c.val(d.replace(/\d\s$/,""))})):/\s\d?$/.test(d)?(b.preventDefault(),setTimeout(function(){return c.val(d.replace(/\d$/,""))})):void 0},p=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=a.payment.formatExpiry(d),c.val(d)})},i=function(b){var c,d,e;return d=String.fromCharCode(b.which),/^\d+$/.test(d)?(c=a(b.currentTarget),e=c.val()+d,/^\d$/.test(e)&&"0"!==e&&"1"!==e?(b.preventDefault(),setTimeout(function(){return c.val("0"+e+" / ")})):/^\d\d$/.test(e)?(b.preventDefault(),setTimeout(function(){return c.val(""+e+" / ")})):void 0):void 0},j=function(b){var c,d,e;return d=String.fromCharCode(b.which),/^\d+$/.test(d)?(c=a(b.currentTarget),e=c.val(),/^\d\d$/.test(e)?c.val(""+e+" / "):void 0):void 0},k=function(b){var c,d,e;return e=String.fromCharCode(b.which),"/"===e||" "===e?(c=a(b.currentTarget),d=c.val(),/^\d$/.test(d)&&"0"!==d?c.val("0"+d+" / "):void 0):void 0},g=function(b){var c,d;return c=a(b.currentTarget),d=c.val(),8!==b.which||null!=c.prop("selectionStart")&&c.prop("selectionStart")!==d.length?void 0:/\d\s\/\s$/.test(d)?(b.preventDefault(),setTimeout(function(){return c.val(d.replace(/\d\s\/\s$/,""))})):void 0},n=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=d.replace(/\D/g,"").slice(0,4),c.val(d)})},u=function(a){var b;return a.metaKey||a.ctrlKey?!0:32===a.which?!1:0===a.which?!0:a.which<33?!0:(b=String.fromCharCode(a.which),!!/[\d\s]/.test(b))},s=function(c){var d,e,f,g;return d=a(c.currentTarget),f=String.fromCharCode(c.which),/^\d+$/.test(f)&&!l(d)?(g=(d.val()+f).replace(/\D/g,""),e=b(g),e?g.length<=e.length[e.length.length-1]:g.length<=16):void 0},t=function(b){var c,d,e;return c=a(b.currentTarget),d=String.fromCharCode(b.which),/^\d+$/.test(d)&&!l(c)?(e=c.val()+d,e=e.replace(/\D/g,""),e.length>6?!1:void 0):void 0},r=function(b){var c,d,e;return c=a(b.currentTarget),d=String.fromCharCode(b.which),/^\d+$/.test(d)&&!l(c)?(e=c.val()+d,e.length<=4):void 0},v=function(b){var c,e,f,g,h;return c=a(b.currentTarget),h=c.val(),g=a.payment.cardType(h)||"unknown",c.hasClass(g)?void 0:(e=function(){var a,b,c;for(c=[],a=0,b=d.length;b>a;a++)f=d[a],c.push(f.type);return c}(),c.removeClass("unknown"),c.removeClass(e.join(" ")),c.addClass(g),c.toggleClass("identified","unknown"!==g),c.trigger("payment.cardType",g))},a.payment.fn.formatCardCVC=function(){return this.on("keypress",u),this.on("keypress",r),this.on("paste",n),this.on("change",n),this.on("input",n),this},a.payment.fn.formatCardExpiry=function(){return this.on("keypress",u),this.on("keypress",t),this.on("keypress",i),this.on("keypress",k),this.on("keypress",j),this.on("keydown",g),this.on("change",p),this.on("input",p),this},a.payment.fn.formatCardNumber=function(){return this.on("keypress",u),this.on("keypress",s),this.on("keypress",h),this.on("keydown",f),this.on("keyup",v),this.on("paste",o),this.on("change",o),this.on("input",o),this.on("input",v),this},a.payment.fn.restrictNumeric=function(){return this.on("keypress",u),this.on("paste",q),this.on("change",q),this.on("input",q),this},a.payment.fn.cardExpiryVal=function(){return a.payment.cardExpiryVal(a(this).val())},a.payment.cardExpiryVal=function(a){var b,c,d,e;return a=a.replace(/\s/g,""),e=a.split("/",2),b=e[0],d=e[1],2===(null!=d?d.length:void 0)&&/^\d+$/.test(d)&&(c=(new Date).getFullYear(),c=c.toString().slice(0,2),d=c+d),b=parseInt(b,10),d=parseInt(d,10),{month:b,year:d}},a.payment.validateCardNumber=function(a){var c,d;return a=(a+"").replace(/\s+|-/g,""),/^\d+$/.test(a)?(c=b(a),c?(d=a.length,x.call(c.length,d)>=0&&(c.luhn===!1||m(a))):!1):!1},a.payment.validateCardExpiry=function(b,c){var d,e,f;return"object"==typeof b&&"month"in b&&(f=b,b=f.month,c=f.year),b&&c?(b=a.trim(b),c=a.trim(c),/^\d+$/.test(b)&&/^\d+$/.test(c)&&b>=1&&12>=b?(2===c.length&&(c=70>c?"20"+c:"19"+c),4!==c.length?!1:(e=new Date(c,b),d=new Date,e.setMonth(e.getMonth()-1),e.setMonth(e.getMonth()+1,1),e>d)):!1):!1},a.payment.validateCardCVC=function(b,d){var e,f;return b=a.trim(b),/^\d+$/.test(b)?(e=c(d),null!=e?(f=b.length,x.call(e.cvcLength,f)>=0):b.length>=3&&b.length<=4):!1},a.payment.cardType=function(a){var c;return a?(null!=(c=b(a))?c.type:void 0)||null:null},a.payment.formatCardNumber=function(c){var d,e,f,g;return c=c.replace(/\D/g,""),(d=b(c))?(f=d.length[d.length.length-1],c=c.slice(0,f),d.format.global?null!=(g=c.match(d.format))?g.join(" "):void 0:(e=d.format.exec(c),null!=e?(e.shift(),e=a.grep(e,function(a){return a}),e.join(" ")):void 0)):c},a.payment.formatExpiry=function(a){var b,c,d,e;return(c=a.match(/^\D*(\d{1,2})(\D+)?(\d{1,4})?/))?(b=c[1]||"",d=c[2]||"",e=c[3]||"",e.length>0?d=" / ":" /"===d?(b=b.substring(0,1),d=""):2===b.length||d.length>0?d=" / ":1===b.length&&"0"!==b&&"1"!==b&&(b="0"+b,d=" / "),b+d+e):""}}).call(this)}); \ No newline at end of file +jQuery(function(a){(function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=[].slice,x=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};a.payment={},a.payment.fn={},a.fn.payment=function(){var b,c;return c=arguments[0],b=2<=arguments.length?w.call(arguments,1):[],a.payment.fn[c].apply(this,b)},e=/(\d{1,4})/g,a.payment.cards=d=[{type:"visaelectron",pattern:/^4(026|17500|405|508|844|91[37])/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"maestro",pattern:/^(5(018|0[23]|[68])|6(39|7))/,format:e,length:[12,13,14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"forbrugsforeningen",pattern:/^600/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"dankort",pattern:/^5019/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"visa",pattern:/^4/,format:e,length:[13,16],cvcLength:[3],luhn:!0},{type:"mastercard",pattern:/^(5[0-5]|2[2-7])/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"amex",pattern:/^3[47]/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,length:[15],cvcLength:[3,4],luhn:!0},{type:"dinersclub",pattern:/^3[0689]/,format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,length:[14],cvcLength:[3],luhn:!0},{type:"discover",pattern:/^6([045]|22)/,format:e,length:[16],cvcLength:[3],luhn:!0},{type:"unionpay",pattern:/^(62|88)/,format:e,length:[16,17,18,19],cvcLength:[3],luhn:!1},{type:"jcb",pattern:/^35/,format:e,length:[16],cvcLength:[3],luhn:!0}],b=function(a){var b,c,e;for(a=(a+"").replace(/\D/g,""),c=0,e=d.length;e>c;c++)if(b=d[c],b.pattern.test(a))return b},c=function(a){var b,c,e;for(c=0,e=d.length;e>c;c++)if(b=d[c],b.type===a)return b},m=function(a){var b,c,d,e,f,g;for(d=!0,e=0,c=(a+"").split("").reverse(),f=0,g=c.length;g>f;f++)b=c[f],b=parseInt(b,10),(d=!d)&&(b*=2),b>9&&(b-=9),e+=b;return e%10===0},l=function(a){var b;return null!=a.prop("selectionStart")&&a.prop("selectionStart")!==a.prop("selectionEnd")?!0:!(null==("undefined"!=typeof document&&null!==document&&null!=(b=document.selection)?b.createRange:void 0)||!document.selection.createRange().text)},q=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=d.replace(/\D/g,""),c.val(d)})},o=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=a.payment.formatCardNumber(d),c.val(d)})},h=function(c){var d,e,f,g,h,i,j;return f=String.fromCharCode(c.which),!/^\d+$/.test(f)||(d=a(c.currentTarget),j=d.val(),e=b(j+f),g=(j.replace(/\D/g,"")+f).length,i=16,e&&(i=e.length[e.length.length-1]),g>=i||null!=d.prop("selectionStart")&&d.prop("selectionStart")!==j.length)?void 0:(h=e&&"amex"===e.type?/^(\d{4}|\d{4}\s\d{6})$/:/(?:^|\s)(\d{4})$/,h.test(j)?(c.preventDefault(),setTimeout(function(){return d.val(j+" "+f)})):h.test(j+f)?(c.preventDefault(),setTimeout(function(){return d.val(j+f+" ")})):void 0)},f=function(b){var c,d;return c=a(b.currentTarget),d=c.val(),8!==b.which||null!=c.prop("selectionStart")&&c.prop("selectionStart")!==d.length?void 0:/\d\s$/.test(d)?(b.preventDefault(),setTimeout(function(){return c.val(d.replace(/\d\s$/,""))})):/\s\d?$/.test(d)?(b.preventDefault(),setTimeout(function(){return c.val(d.replace(/\d$/,""))})):void 0},p=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=a.payment.formatExpiry(d),c.val(d)})},i=function(b){var c,d,e;return d=String.fromCharCode(b.which),/^\d+$/.test(d)?(c=a(b.currentTarget),e=c.val()+d,/^\d$/.test(e)&&"0"!==e&&"1"!==e?(b.preventDefault(),setTimeout(function(){return c.val("0"+e+" / ")})):/^\d\d$/.test(e)?(b.preventDefault(),setTimeout(function(){return c.val(""+e+" / ")})):void 0):void 0},j=function(b){var c,d,e;return d=String.fromCharCode(b.which),/^\d+$/.test(d)?(c=a(b.currentTarget),e=c.val(),/^\d\d$/.test(e)?c.val(""+e+" / "):void 0):void 0},k=function(b){var c,d,e;return e=String.fromCharCode(b.which),"/"===e||" "===e?(c=a(b.currentTarget),d=c.val(),/^\d$/.test(d)&&"0"!==d?c.val("0"+d+" / "):void 0):void 0},g=function(b){var c,d;return c=a(b.currentTarget),d=c.val(),8!==b.which||null!=c.prop("selectionStart")&&c.prop("selectionStart")!==d.length?void 0:/\d\s\/\s$/.test(d)?(b.preventDefault(),setTimeout(function(){return c.val(d.replace(/\d\s\/\s$/,""))})):void 0},n=function(b){return setTimeout(function(){var c,d;return c=a(b.currentTarget),d=c.val(),d=d.replace(/\D/g,"").slice(0,4),c.val(d)})},u=function(a){var b;return a.metaKey||a.ctrlKey?!0:32===a.which?!1:0===a.which?!0:a.which<33?!0:(b=String.fromCharCode(a.which),!!/[\d\s]/.test(b))},s=function(c){var d,e,f,g;return d=a(c.currentTarget),f=String.fromCharCode(c.which),/^\d+$/.test(f)&&!l(d)?(g=(d.val()+f).replace(/\D/g,""),e=b(g),e?g.length<=e.length[e.length.length-1]:g.length<=16):void 0},t=function(b){var c,d,e;return c=a(b.currentTarget),d=String.fromCharCode(b.which),/^\d+$/.test(d)&&!l(c)?(e=c.val()+d,e=e.replace(/\D/g,""),e.length>6?!1:void 0):void 0},r=function(b){var c,d,e;return c=a(b.currentTarget),d=String.fromCharCode(b.which),/^\d+$/.test(d)&&!l(c)?(e=c.val()+d,e.length<=4):void 0},v=function(b){var c,e,f,g,h;return c=a(b.currentTarget),h=c.val(),g=a.payment.cardType(h)||"unknown",c.hasClass(g)?void 0:(e=function(){var a,b,c;for(c=[],a=0,b=d.length;b>a;a++)f=d[a],c.push(f.type);return c}(),c.removeClass("unknown"),c.removeClass(e.join(" ")),c.addClass(g),c.toggleClass("identified","unknown"!==g),c.trigger("payment.cardType",g))},a.payment.fn.formatCardCVC=function(){return this.on("keypress",u),this.on("keypress",r),this.on("paste",n),this.on("change",n),this.on("input",n),this},a.payment.fn.formatCardExpiry=function(){return this.on("keypress",u),this.on("keypress",t),this.on("keypress",i),this.on("keypress",k),this.on("keypress",j),this.on("keydown",g),this.on("change",p),this.on("input",p),this},a.payment.fn.formatCardNumber=function(){return this.on("keypress",u),this.on("keypress",s),this.on("keypress",h),this.on("keydown",f),this.on("keyup",v),this.on("paste",o),this.on("change",o),this.on("input",o),this.on("input",v),this},a.payment.fn.restrictNumeric=function(){return this.on("keypress",u),this.on("paste",q),this.on("change",q),this.on("input",q),this},a.payment.fn.cardExpiryVal=function(){return a.payment.cardExpiryVal(a(this).val())},a.payment.cardExpiryVal=function(a){var b,c,d,e;return a=a.replace(/\s/g,""),e=a.split("/",2),b=e[0],d=e[1],2===(null!=d?d.length:void 0)&&/^\d+$/.test(d)&&(c=(new Date).getFullYear(),c=c.toString().slice(0,2),d=c+d),b=parseInt(b,10),d=parseInt(d,10),{month:b,year:d}},a.payment.validateCardNumber=function(a){var c,d;return a=(a+"").replace(/\s+|-/g,""),/^\d+$/.test(a)?(c=b(a),c?(d=a.length,x.call(c.length,d)>=0&&(c.luhn===!1||m(a))):!1):!1},a.payment.validateCardExpiry=function(b,c){var d,e,f;return"object"==typeof b&&"month"in b&&(f=b,b=f.month,c=f.year),b&&c?(b=a.trim(b),c=a.trim(c),/^\d+$/.test(b)&&/^\d+$/.test(c)&&b>=1&&12>=b?(2===c.length&&(c=70>c?"20"+c:"19"+c),4!==c.length?!1:(e=new Date(c,b),d=new Date,e.setMonth(e.getMonth()-1),e.setMonth(e.getMonth()+1,1),e>d)):!1):!1},a.payment.validateCardCVC=function(b,d){var e,f;return b=a.trim(b),/^\d+$/.test(b)?(e=c(d),null!=e?(f=b.length,x.call(e.cvcLength,f)>=0):b.length>=3&&b.length<=4):!1},a.payment.cardType=function(a){var c;return a?(null!=(c=b(a))?c.type:void 0)||null:null},a.payment.formatCardNumber=function(c){var d,e,f,g;return c=c.replace(/\D/g,""),(d=b(c))?(f=d.length[d.length.length-1],c=c.slice(0,f),d.format.global?null!=(g=c.match(d.format))?g.join(" "):void 0:(e=d.format.exec(c),null!=e?(e.shift(),e=a.grep(e,function(a){return a}),e.join(" ")):void 0)):c},a.payment.formatExpiry=function(a){var b,c,d,e;return(c=a.match(/^\D*(\d{1,2})(\D+)?(\d{1,4})?/))?(b=c[1]||"",d=c[2]||"",e=c[3]||"",e.length>0?d=" / ":" /"===d?(b=b.substring(0,1),d=""):2===b.length||d.length>0?d=" / ":1===b.length&&"0"!==b&&"1"!==b&&(b="0"+b,d=" / "),b+d+e):""}}).call(this)}); \ No newline at end of file diff --git a/assets/js/jquery-qrcode/jquery.qrcode.min.js b/assets/js/jquery-qrcode/jquery.qrcode.min.js index 58f2becebb3..786e42650a0 100644 --- a/assets/js/jquery-qrcode/jquery.qrcode.min.js +++ b/assets/js/jquery-qrcode/jquery.qrcode.min.js @@ -1 +1 @@ -function QR8bitByte(a){this.mode=QRMode.MODE_8BIT_BYTE,this.data=a}function QRCode(a,b){this.typeNumber=a,this.errorCorrectLevel=b,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}function QRPolynomial(a,b){if(void 0==a.length)throw new Error(a.length+"/"+b);for(var c=0;ca||this.moduleCount<=a||0>b||this.moduleCount<=b)throw new Error(a+","+b);return this.modules[a][b]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var a=1;for(a=1;40>a;a++){for(var b=QRRSBlock.getRSBlocks(a,this.errorCorrectLevel),c=new QRBitBuffer,d=0,e=0;e=7&&this.setupTypeNumber(a),null==this.dataCache&&(this.dataCache=QRCode.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,b)},setupPositionProbePattern:function(a,b){for(var c=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(var d=-1;7>=d;d++)-1>=b+d||this.moduleCount<=b+d||(c>=0&&6>=c&&(0==d||6==d)||d>=0&&6>=d&&(0==c||6==c)||c>=2&&4>=c&&d>=2&&4>=d?this.modules[a+c][b+d]=!0:this.modules[a+c][b+d]=!1)},getBestMaskPattern:function(){for(var a=0,b=0,c=0;8>c;c++){this.makeImpl(!0,c);var d=QRUtil.getLostPoint(this);(0==c||a>d)&&(a=d,b=c)}return b},createMovieClip:function(a,b,c){var d=a.createEmptyMovieClip(b,c),e=1;this.make();for(var f=0;f=f;f++)for(var g=-2;2>=g;g++)-2==f||2==f||-2==g||2==g||0==f&&0==g?this.modules[d+f][e+g]=!0:this.modules[d+f][e+g]=!1}},setupTypeNumber:function(a){for(var b=QRUtil.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){var d=!a&&1==(b>>c&1);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=d}for(var c=0;18>c;c++){var d=!a&&1==(b>>c&1);this.modules[c%3+this.moduleCount-8-3][Math.floor(c/3)]=d}},setupTypeInfo:function(a,b){for(var c=this.errorCorrectLevel<<3|b,d=QRUtil.getBCHTypeInfo(c),e=0;15>e;e++){var f=!a&&1==(d>>e&1);6>e?this.modules[e][8]=f:8>e?this.modules[e+1][8]=f:this.modules[this.moduleCount-15+e][8]=f}for(var e=0;15>e;e++){var f=!a&&1==(d>>e&1);8>e?this.modules[8][this.moduleCount-e-1]=f:9>e?this.modules[8][15-e-1+1]=f:this.modules[8][15-e-1]=f}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,b){for(var c=-1,d=this.moduleCount-1,e=7,f=0,g=this.moduleCount-1;g>0;g-=2)for(6==g&&g--;;){for(var h=0;2>h;h++)if(null==this.modules[d][g-h]){var i=!1;f>>e&1));var j=QRUtil.getMask(b,d,g-h);j&&(i=!i),this.modules[d][g-h]=i,e--,-1==e&&(f++,e=7)}if(d+=c,0>d||this.moduleCount<=d){d-=c,c=-c;break}}}},QRCode.PAD0=236,QRCode.PAD1=17,QRCode.createData=function(a,b,c){for(var d=QRRSBlock.getRSBlocks(a,b),e=new QRBitBuffer,f=0;f8*h)throw new Error("code length overflow. ("+e.getLengthInBits()+">"+8*h+")");for(e.getLengthInBits()+4<=8*h&&e.put(0,4);e.getLengthInBits()%8!=0;)e.putBit(!1);for(;;){if(e.getLengthInBits()>=8*h)break;if(e.put(QRCode.PAD0,8),e.getLengthInBits()>=8*h)break;e.put(QRCode.PAD1,8)}return QRCode.createBytes(e,d)},QRCode.createBytes=function(a,b){for(var c=0,d=0,e=0,f=new Array(b.length),g=new Array(b.length),h=0;h=0?n.get(o):0}}for(var p=0,k=0;kk;k++)for(var h=0;hk;k++)for(var h=0;h=0;)b^=QRUtil.G15<=0;)b^=QRUtil.G18<>>=1;return b},getPatternPosition:function(a){return QRUtil.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,b,c){switch(a){case QRMaskPattern.PATTERN000:return(b+c)%2==0;case QRMaskPattern.PATTERN001:return b%2==0;case QRMaskPattern.PATTERN010:return c%3==0;case QRMaskPattern.PATTERN011:return(b+c)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(b/2)+Math.floor(c/3))%2==0;case QRMaskPattern.PATTERN101:return b*c%2+b*c%3==0;case QRMaskPattern.PATTERN110:return(b*c%2+b*c%3)%2==0;case QRMaskPattern.PATTERN111:return(b*c%3+(b+c)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var b=new QRPolynomial([1],0),c=0;a>c;c++)b=b.multiply(new QRPolynomial([1,QRMath.gexp(c)],0));return b},getLengthInBits:function(a,b){if(b>=1&&10>b)switch(a){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:return 8;case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(27>b)switch(a){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else{if(!(41>b))throw new Error("type:"+b);switch(a){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}}},getLostPoint:function(a){for(var b=a.getModuleCount(),c=0,d=0;b>d;d++)for(var e=0;b>e;e++){for(var f=0,g=a.isDark(d,e),h=-1;1>=h;h++)if(!(0>d+h||d+h>=b))for(var i=-1;1>=i;i++)0>e+i||e+i>=b||(0!=h||0!=i)&&g==a.isDark(d+h,e+i)&&f++;f>5&&(c+=3+f-5)}for(var d=0;b-1>d;d++)for(var e=0;b-1>e;e++){var j=0;a.isDark(d,e)&&j++,a.isDark(d+1,e)&&j++,a.isDark(d,e+1)&&j++,a.isDark(d+1,e+1)&&j++,(0==j||4==j)&&(c+=3)}for(var d=0;b>d;d++)for(var e=0;b-6>e;e++)a.isDark(d,e)&&!a.isDark(d,e+1)&&a.isDark(d,e+2)&&a.isDark(d,e+3)&&a.isDark(d,e+4)&&!a.isDark(d,e+5)&&a.isDark(d,e+6)&&(c+=40);for(var e=0;b>e;e++)for(var d=0;b-6>d;d++)a.isDark(d,e)&&!a.isDark(d+1,e)&&a.isDark(d+2,e)&&a.isDark(d+3,e)&&a.isDark(d+4,e)&&!a.isDark(d+5,e)&&a.isDark(d+6,e)&&(c+=40);for(var k=0,e=0;b>e;e++)for(var d=0;b>d;d++)a.isDark(d,e)&&k++;var l=Math.abs(100*k/b/b-50)/5;return c+=10*l}},QRMath={glog:function(a){if(1>a)throw new Error("glog("+a+")");return QRMath.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;a>=256;)a-=255;return QRMath.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},i=0;8>i;i++)QRMath.EXP_TABLE[i]=1<i;i++)QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];for(var i=0;255>i;i++)QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i;QRPolynomial.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var b=new Array(this.getLength()+a.getLength()-1),c=0;cf;f++)for(var g=c[3*f+0],h=c[3*f+1],i=c[3*f+2],j=0;g>j;j++)e.push(new QRRSBlock(h,i));return e},QRRSBlock.getRsBlockTable=function(a,b){switch(b){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+3];default:return void 0}},QRBitBuffer.prototype={get:function(a){var b=Math.floor(a/8);return 1==(this.buffer[b]>>>7-a%8&1)},put:function(a,b){for(var c=0;b>c;c++)this.putBit(1==(a>>>b-c-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var b=Math.floor(this.length/8);this.buffer.length<=b&&this.buffer.push(0),a&&(this.buffer[b]|=128>>>this.length%8),this.length++}},function(a){a.fn.qrcode=function(b){"string"==typeof b&&(b={text:b}),b=a.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:QRErrorCorrectLevel.H,background:"#ffffff",foreground:"#000000"},b);var c=function(){var a=new QRCode(b.typeNumber,b.correctLevel);a.addData(b.text),a.make();var c=document.createElement("canvas");c.width=b.width,c.height=b.height;for(var d=c.getContext("2d"),e=b.width/a.getModuleCount(),f=b.height/a.getModuleCount(),g=0;g").css("width",b.width+"px").css("height",b.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",b.background),e=b.width/c.getModuleCount(),f=b.height/c.getModuleCount(),g=0;g").css("height",f+"px").appendTo(d),i=0;i").css("width",e+"px").css("background-color",c.isDark(g,i)?b.foreground:b.background).appendTo(h);return d};return this.each(function(){var e="canvas"==b.render?c():d();a(e).appendTo(this)})}}(jQuery); \ No newline at end of file +function QR8bitByte(a){this.mode=QRMode.MODE_8BIT_BYTE,this.data=a}function QRCode(a,b){this.typeNumber=a,this.errorCorrectLevel=b,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}function QRPolynomial(a,b){if(void 0==a.length)throw new Error(a.length+"/"+b);for(var c=0;ca||this.moduleCount<=a||0>b||this.moduleCount<=b)throw new Error(a+","+b);return this.modules[a][b]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var a=1;for(a=1;40>a;a++){for(var b=QRRSBlock.getRSBlocks(a,this.errorCorrectLevel),c=new QRBitBuffer,d=0,e=0;e=7&&this.setupTypeNumber(a),null==this.dataCache&&(this.dataCache=QRCode.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,b)},setupPositionProbePattern:function(a,b){for(var c=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(var d=-1;7>=d;d++)-1>=b+d||this.moduleCount<=b+d||(c>=0&&6>=c&&(0==d||6==d)||d>=0&&6>=d&&(0==c||6==c)||c>=2&&4>=c&&d>=2&&4>=d?this.modules[a+c][b+d]=!0:this.modules[a+c][b+d]=!1)},getBestMaskPattern:function(){for(var a=0,b=0,c=0;8>c;c++){this.makeImpl(!0,c);var d=QRUtil.getLostPoint(this);(0==c||a>d)&&(a=d,b=c)}return b},createMovieClip:function(a,b,c){var d=a.createEmptyMovieClip(b,c),e=1;this.make();for(var f=0;f=f;f++)for(var g=-2;2>=g;g++)-2==f||2==f||-2==g||2==g||0==f&&0==g?this.modules[d+f][e+g]=!0:this.modules[d+f][e+g]=!1}},setupTypeNumber:function(a){for(var b=QRUtil.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){var d=!a&&1==(b>>c&1);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=d}for(var c=0;18>c;c++){var d=!a&&1==(b>>c&1);this.modules[c%3+this.moduleCount-8-3][Math.floor(c/3)]=d}},setupTypeInfo:function(a,b){for(var c=this.errorCorrectLevel<<3|b,d=QRUtil.getBCHTypeInfo(c),e=0;15>e;e++){var f=!a&&1==(d>>e&1);6>e?this.modules[e][8]=f:8>e?this.modules[e+1][8]=f:this.modules[this.moduleCount-15+e][8]=f}for(var e=0;15>e;e++){var f=!a&&1==(d>>e&1);8>e?this.modules[8][this.moduleCount-e-1]=f:9>e?this.modules[8][15-e-1+1]=f:this.modules[8][15-e-1]=f}this.modules[this.moduleCount-8][8]=!a},mapData:function(a,b){for(var c=-1,d=this.moduleCount-1,e=7,f=0,g=this.moduleCount-1;g>0;g-=2)for(6==g&&g--;;){for(var h=0;2>h;h++)if(null==this.modules[d][g-h]){var i=!1;f>>e&1));var j=QRUtil.getMask(b,d,g-h);j&&(i=!i),this.modules[d][g-h]=i,e--,-1==e&&(f++,e=7)}if(d+=c,0>d||this.moduleCount<=d){d-=c,c=-c;break}}}},QRCode.PAD0=236,QRCode.PAD1=17,QRCode.createData=function(a,b,c){for(var d=QRRSBlock.getRSBlocks(a,b),e=new QRBitBuffer,f=0;f8*h)throw new Error("code length overflow. ("+e.getLengthInBits()+">"+8*h+")");for(e.getLengthInBits()+4<=8*h&&e.put(0,4);e.getLengthInBits()%8!=0;)e.putBit(!1);for(;;){if(e.getLengthInBits()>=8*h)break;if(e.put(QRCode.PAD0,8),e.getLengthInBits()>=8*h)break;e.put(QRCode.PAD1,8)}return QRCode.createBytes(e,d)},QRCode.createBytes=function(a,b){for(var c=0,d=0,e=0,f=new Array(b.length),g=new Array(b.length),h=0;h=0?n.get(o):0}}for(var p=0,k=0;kk;k++)for(var h=0;hk;k++)for(var h=0;h=0;)b^=QRUtil.G15<=0;)b^=QRUtil.G18<>>=1;return b},getPatternPosition:function(a){return QRUtil.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,b,c){switch(a){case QRMaskPattern.PATTERN000:return(b+c)%2==0;case QRMaskPattern.PATTERN001:return b%2==0;case QRMaskPattern.PATTERN010:return c%3==0;case QRMaskPattern.PATTERN011:return(b+c)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(b/2)+Math.floor(c/3))%2==0;case QRMaskPattern.PATTERN101:return b*c%2+b*c%3==0;case QRMaskPattern.PATTERN110:return(b*c%2+b*c%3)%2==0;case QRMaskPattern.PATTERN111:return(b*c%3+(b+c)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}},getErrorCorrectPolynomial:function(a){for(var b=new QRPolynomial([1],0),c=0;a>c;c++)b=b.multiply(new QRPolynomial([1,QRMath.gexp(c)],0));return b},getLengthInBits:function(a,b){if(b>=1&&10>b)switch(a){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:return 8;case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+a)}else if(27>b)switch(a){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+a)}else{if(!(41>b))throw new Error("type:"+b);switch(a){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+a)}}},getLostPoint:function(a){for(var b=a.getModuleCount(),c=0,d=0;b>d;d++)for(var e=0;b>e;e++){for(var f=0,g=a.isDark(d,e),h=-1;1>=h;h++)if(!(0>d+h||d+h>=b))for(var i=-1;1>=i;i++)0>e+i||e+i>=b||0==h&&0==i||g==a.isDark(d+h,e+i)&&f++;f>5&&(c+=3+f-5)}for(var d=0;b-1>d;d++)for(var e=0;b-1>e;e++){var j=0;a.isDark(d,e)&&j++,a.isDark(d+1,e)&&j++,a.isDark(d,e+1)&&j++,a.isDark(d+1,e+1)&&j++,0!=j&&4!=j||(c+=3)}for(var d=0;b>d;d++)for(var e=0;b-6>e;e++)a.isDark(d,e)&&!a.isDark(d,e+1)&&a.isDark(d,e+2)&&a.isDark(d,e+3)&&a.isDark(d,e+4)&&!a.isDark(d,e+5)&&a.isDark(d,e+6)&&(c+=40);for(var e=0;b>e;e++)for(var d=0;b-6>d;d++)a.isDark(d,e)&&!a.isDark(d+1,e)&&a.isDark(d+2,e)&&a.isDark(d+3,e)&&a.isDark(d+4,e)&&!a.isDark(d+5,e)&&a.isDark(d+6,e)&&(c+=40);for(var k=0,e=0;b>e;e++)for(var d=0;b>d;d++)a.isDark(d,e)&&k++;var l=Math.abs(100*k/b/b-50)/5;return c+=10*l}},QRMath={glog:function(a){if(1>a)throw new Error("glog("+a+")");return QRMath.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;a>=256;)a-=255;return QRMath.EXP_TABLE[a]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},i=0;8>i;i++)QRMath.EXP_TABLE[i]=1<i;i++)QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];for(var i=0;255>i;i++)QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i;QRPolynomial.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var b=new Array(this.getLength()+a.getLength()-1),c=0;cf;f++)for(var g=c[3*f+0],h=c[3*f+1],i=c[3*f+2],j=0;g>j;j++)e.push(new QRRSBlock(h,i));return e},QRRSBlock.getRsBlockTable=function(a,b){switch(b){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[4*(a-1)+3];default:return}},QRBitBuffer.prototype={get:function(a){var b=Math.floor(a/8);return 1==(this.buffer[b]>>>7-a%8&1)},put:function(a,b){for(var c=0;b>c;c++)this.putBit(1==(a>>>b-c-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var b=Math.floor(this.length/8);this.buffer.length<=b&&this.buffer.push(0),a&&(this.buffer[b]|=128>>>this.length%8),this.length++}},function(a){a.fn.qrcode=function(b){"string"==typeof b&&(b={text:b}),b=a.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,correctLevel:QRErrorCorrectLevel.H,background:"#ffffff",foreground:"#000000"},b);var c=function(){var a=new QRCode(b.typeNumber,b.correctLevel);a.addData(b.text),a.make();var c=document.createElement("canvas");c.width=b.width,c.height=b.height;for(var d=c.getContext("2d"),e=b.width/a.getModuleCount(),f=b.height/a.getModuleCount(),g=0;g").css("width",b.width+"px").css("height",b.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",b.background),e=b.width/c.getModuleCount(),f=b.height/c.getModuleCount(),g=0;g").css("height",f+"px").appendTo(d),i=0;i").css("width",e+"px").css("background-color",c.isDark(g,i)?b.foreground:b.background).appendTo(h);return d};return this.each(function(){var e="canvas"==b.render?c():d();a(e).appendTo(this)})}}(jQuery); \ No newline at end of file diff --git a/assets/js/jquery-serializejson/jquery.serializejson.min.js b/assets/js/jquery-serializejson/jquery.serializejson.min.js index 22f8eacc27a..7b5c1c29f4c 100644 --- a/assets/js/jquery-serializejson/jquery.serializejson.min.js +++ b/assets/js/jquery-serializejson/jquery.serializejson.min.js @@ -1,10 +1 @@ -/*! - SerializeJSON jQuery plugin. - https://github.com/marioizquierdo/jquery.serializeJSON - version 2.6.1 (May, 2015) - - Copyright (c) 2012, 2015 Mario Izquierdo - Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) - and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. -*/ -!function(a){"use strict";a.fn.serializeJSON=function(b){var c,d,e,f,g,h,i;return h=a.serializeJSON,i=h.setupOpts(b),d=this.serializeArray(),h.readCheckboxUncheckedValues(d,this,i),c={},a.each(d,function(a,b){e=h.splitInputNameIntoKeysArray(b.name,i),f=e.pop(),"skip"!==f&&(g=h.parseValue(b.value,f,i),i.parseWithFunction&&"_"===f&&(g=i.parseWithFunction(g,b.name)),h.deepSet(c,e,g,i))}),c},a.serializeJSON={defaultOptions:{checkboxUncheckedValue:void 0,parseNumbers:!1,parseBooleans:!1,parseNulls:!1,parseAll:!1,parseWithFunction:null,customTypes:{},defaultTypes:{string:function(a){return String(a)},number:function(a){return Number(a)},"boolean":function(a){var b=["false","null","undefined","","0"];return-1===b.indexOf(a)},"null":function(a){var b=["false","null","undefined","","0"];return-1===b.indexOf(a)?a:null},array:function(a){return JSON.parse(a)},object:function(a){return JSON.parse(a)},auto:function(b){return a.serializeJSON.parseValue(b,null,{parseNumbers:!0,parseBooleans:!0,parseNulls:!0})}},useIntKeysAsArrayIndex:!1},setupOpts:function(b){var c,d,e,f,g,h;h=a.serializeJSON,null==b&&(b={}),e=h.defaultOptions||{},d=["checkboxUncheckedValue","parseNumbers","parseBooleans","parseNulls","parseAll","parseWithFunction","customTypes","defaultTypes","useIntKeysAsArrayIndex"];for(c in b)if(-1===d.indexOf(c))throw new Error("serializeJSON ERROR: invalid option '"+c+"'. Please use one of "+d.join(", "));return f=function(a){return b[a]!==!1&&""!==b[a]&&(b[a]||e[a])},g=f("parseAll"),{checkboxUncheckedValue:f("checkboxUncheckedValue"),parseNumbers:g||f("parseNumbers"),parseBooleans:g||f("parseBooleans"),parseNulls:g||f("parseNulls"),parseWithFunction:f("parseWithFunction"),typeFunctions:a.extend({},f("defaultTypes"),f("customTypes")),useIntKeysAsArrayIndex:f("useIntKeysAsArrayIndex")}},parseValue:function(b,c,d){var e,f;return f=a.serializeJSON,e=d.typeFunctions&&d.typeFunctions[c],e?e(b):d.parseNumbers&&f.isNumeric(b)?Number(b):!d.parseBooleans||"true"!==b&&"false"!==b?d.parseNulls&&"null"==b?null:b:"true"===b},isObject:function(a){return a===Object(a)},isUndefined:function(a){return void 0===a},isValidArrayIndex:function(a){return/^[0-9]+$/.test(String(a))},isNumeric:function(a){return a-parseFloat(a)>=0},optionKeys:function(a){if(Object.keys)return Object.keys(a);var b,c=[];for(b in a)c.push(b);return c},splitInputNameIntoKeysArray:function(b,c){var d,e,f,g,h;return h=a.serializeJSON,g=h.extractTypeFromInputName(b,c),e=g[0],f=g[1],d=e.split("["),d=a.map(d,function(a){return a.replace(/\]/g,"")}),""===d[0]&&d.shift(),d.push(f),d},extractTypeFromInputName:function(b,c){var d,e,f;if(d=b.match(/(.*):([^:]+)$/)){if(f=a.serializeJSON,e=f.optionKeys(c?c.typeFunctions:f.defaultOptions.defaultTypes),e.push("skip"),-1!==e.indexOf(d[2]))return[d[1],d[2]];throw new Error("serializeJSON ERROR: Invalid type "+d[2]+" found in input name '"+b+"', please use one of "+e.join(", "))}return[b,"_"]},deepSet:function(b,c,d,e){var f,g,h,i,j,k;if(null==e&&(e={}),k=a.serializeJSON,k.isUndefined(b))throw new Error("ArgumentError: param 'o' expected to be an object or array, found undefined");if(!c||0===c.length)throw new Error("ArgumentError: param 'keys' expected to be an array with least one element");f=c[0],1===c.length?""===f?b.push(d):b[f]=d:(g=c[1],""===f&&(i=b.length-1,j=b[i],f=k.isObject(j)&&(k.isUndefined(j[g])||c.length>2)?i:i+1),""===g?(k.isUndefined(b[f])||!a.isArray(b[f]))&&(b[f]=[]):e.useIntKeysAsArrayIndex&&k.isValidArrayIndex(g)?(k.isUndefined(b[f])||!a.isArray(b[f]))&&(b[f]=[]):(k.isUndefined(b[f])||!k.isObject(b[f]))&&(b[f]={}),h=c.slice(1),k.deepSet(b[f],h,d,e))},readCheckboxUncheckedValues:function(b,c,d){var e,f,g,h,i;null==d&&(d={}),i=a.serializeJSON,e="input[type=checkbox][name]:not(:checked):not([disabled])",f=c.find(e).add(c.filter(e)),f.each(function(c,e){g=a(e),h=g.attr("data-unchecked-value"),h?b.push({name:e.name,value:h}):i.isUndefined(d.checkboxUncheckedValue)||b.push({name:e.name,value:d.checkboxUncheckedValue})})}}}(window.jQuery||window.Zepto||window.$); \ No newline at end of file +!function(a){"use strict";a.fn.serializeJSON=function(b){var c,d,e,f,g,h,i;return h=a.serializeJSON,i=h.setupOpts(b),d=this.serializeArray(),h.readCheckboxUncheckedValues(d,this,i),c={},a.each(d,function(a,b){e=h.splitInputNameIntoKeysArray(b.name,i),f=e.pop(),"skip"!==f&&(g=h.parseValue(b.value,f,i),i.parseWithFunction&&"_"===f&&(g=i.parseWithFunction(g,b.name)),h.deepSet(c,e,g,i))}),c},a.serializeJSON={defaultOptions:{checkboxUncheckedValue:void 0,parseNumbers:!1,parseBooleans:!1,parseNulls:!1,parseAll:!1,parseWithFunction:null,customTypes:{},defaultTypes:{string:function(a){return String(a)},number:function(a){return Number(a)},"boolean":function(a){var b=["false","null","undefined","","0"];return-1===b.indexOf(a)},"null":function(a){var b=["false","null","undefined","","0"];return-1===b.indexOf(a)?a:null},array:function(a){return JSON.parse(a)},object:function(a){return JSON.parse(a)},auto:function(b){return a.serializeJSON.parseValue(b,null,{parseNumbers:!0,parseBooleans:!0,parseNulls:!0})}},useIntKeysAsArrayIndex:!1},setupOpts:function(b){var c,d,e,f,g,h;h=a.serializeJSON,null==b&&(b={}),e=h.defaultOptions||{},d=["checkboxUncheckedValue","parseNumbers","parseBooleans","parseNulls","parseAll","parseWithFunction","customTypes","defaultTypes","useIntKeysAsArrayIndex"];for(c in b)if(-1===d.indexOf(c))throw new Error("serializeJSON ERROR: invalid option '"+c+"'. Please use one of "+d.join(", "));return f=function(a){return b[a]!==!1&&""!==b[a]&&(b[a]||e[a])},g=f("parseAll"),{checkboxUncheckedValue:f("checkboxUncheckedValue"),parseNumbers:g||f("parseNumbers"),parseBooleans:g||f("parseBooleans"),parseNulls:g||f("parseNulls"),parseWithFunction:f("parseWithFunction"),typeFunctions:a.extend({},f("defaultTypes"),f("customTypes")),useIntKeysAsArrayIndex:f("useIntKeysAsArrayIndex")}},parseValue:function(b,c,d){var e,f;return f=a.serializeJSON,e=d.typeFunctions&&d.typeFunctions[c],e?e(b):d.parseNumbers&&f.isNumeric(b)?Number(b):!d.parseBooleans||"true"!==b&&"false"!==b?d.parseNulls&&"null"==b?null:b:"true"===b},isObject:function(a){return a===Object(a)},isUndefined:function(a){return void 0===a},isValidArrayIndex:function(a){return/^[0-9]+$/.test(String(a))},isNumeric:function(a){return a-parseFloat(a)>=0},optionKeys:function(a){if(Object.keys)return Object.keys(a);var b,c=[];for(b in a)c.push(b);return c},splitInputNameIntoKeysArray:function(b,c){var d,e,f,g,h;return h=a.serializeJSON,g=h.extractTypeFromInputName(b,c),e=g[0],f=g[1],d=e.split("["),d=a.map(d,function(a){return a.replace(/\]/g,"")}),""===d[0]&&d.shift(),d.push(f),d},extractTypeFromInputName:function(b,c){var d,e,f;if(d=b.match(/(.*):([^:]+)$/)){if(f=a.serializeJSON,e=f.optionKeys(c?c.typeFunctions:f.defaultOptions.defaultTypes),e.push("skip"),-1!==e.indexOf(d[2]))return[d[1],d[2]];throw new Error("serializeJSON ERROR: Invalid type "+d[2]+" found in input name '"+b+"', please use one of "+e.join(", "))}return[b,"_"]},deepSet:function(b,c,d,e){var f,g,h,i,j,k;if(null==e&&(e={}),k=a.serializeJSON,k.isUndefined(b))throw new Error("ArgumentError: param 'o' expected to be an object or array, found undefined");if(!c||0===c.length)throw new Error("ArgumentError: param 'keys' expected to be an array with least one element");f=c[0],1===c.length?""===f?b.push(d):b[f]=d:(g=c[1],""===f&&(i=b.length-1,j=b[i],f=k.isObject(j)&&(k.isUndefined(j[g])||c.length>2)?i:i+1),""===g?!k.isUndefined(b[f])&&a.isArray(b[f])||(b[f]=[]):e.useIntKeysAsArrayIndex&&k.isValidArrayIndex(g)?!k.isUndefined(b[f])&&a.isArray(b[f])||(b[f]=[]):!k.isUndefined(b[f])&&k.isObject(b[f])||(b[f]={}),h=c.slice(1),k.deepSet(b[f],h,d,e))},readCheckboxUncheckedValues:function(b,c,d){var e,f,g,h,i;null==d&&(d={}),i=a.serializeJSON,e="input[type=checkbox][name]:not(:checked):not([disabled])",f=c.find(e).add(c.filter(e)),f.each(function(c,e){g=a(e),h=g.attr("data-unchecked-value"),h?b.push({name:e.name,value:h}):i.isUndefined(d.checkboxUncheckedValue)||b.push({name:e.name,value:d.checkboxUncheckedValue})})}}}(window.jQuery||window.Zepto||window.$); \ No newline at end of file diff --git a/assets/js/jquery-tiptip/jquery.tipTip.min.js b/assets/js/jquery-tiptip/jquery.tipTip.min.js index 2100209a77e..a438c2a927a 100644 --- a/assets/js/jquery-tiptip/jquery.tipTip.min.js +++ b/assets/js/jquery-tiptip/jquery.tipTip.min.js @@ -1 +1 @@ -!function(a){a.fn.tipTip=function(b){var c={activation:"hover",keepAlive:!1,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:!1,enter:function(){},exit:function(){}},d=a.extend(c,b);if(a("#tiptip_holder").length<=0){var e=a('
    '),f=a('
    '),g=a('
    ');a("body").append(e.html(f).prepend(g.html('
    ')))}else var e=a("#tiptip_holder"),f=a("#tiptip_content"),g=a("#tiptip_arrow");return this.each(function(){function b(){d.enter.call(this),f.html(i),e.hide().removeAttr("class").css("margin","0"),g.removeAttr("style");var b=parseInt(h.offset().top),c=parseInt(h.offset().left),k=parseInt(h.outerWidth()),l=parseInt(h.outerHeight()),m=e.outerWidth(),n=e.outerHeight(),o=Math.round((k-m)/2),p=Math.round((l-n)/2),q=Math.round(c+o),r=Math.round(b+l+d.edgeOffset),s="",t="",u=Math.round(m-12)/2;"bottom"==d.defaultPosition?s="_bottom":"top"==d.defaultPosition?s="_top":"left"==d.defaultPosition?s="_left":"right"==d.defaultPosition&&(s="_right");var v=o+cparseInt(a(window).width());v&&0>o||"_right"==s&&!w||"_left"==s&&co||"_left"==s&&!v)&&(s="_left",t=Math.round(n-13)/2,u=Math.round(m),q=Math.round(c-(m+d.edgeOffset+5)),r=Math.round(b+p));var x=b+l+d.edgeOffset+n+8>parseInt(a(window).height()+a(window).scrollTop()),y=b+l-(d.edgeOffset+n+8)<0;x||"_bottom"==s&&x||"_top"==s&&!y?("_top"==s||"_bottom"==s?s="_top":s+="_top",t=n,r=Math.round(b-(n+5+d.edgeOffset))):(y|("_top"==s&&y)||"_bottom"==s&&!x)&&("_top"==s||"_bottom"==s?s="_bottom":s+="_bottom",t=-12,r=Math.round(b+l+d.edgeOffset)),"_right_top"==s||"_left_top"==s?r+=5:("_right_bottom"==s||"_left_bottom"==s)&&(r-=5),("_left_top"==s||"_left_bottom"==s)&&(q+=5),g.css({"margin-left":u+"px","margin-top":t+"px"}),e.css({"margin-left":q+"px","margin-top":r+"px"}).attr("class","tip"+s),j&&clearTimeout(j),j=setTimeout(function(){e.stop(!0,!0).fadeIn(d.fadeIn)},d.delay)}function c(){d.exit.call(this),j&&clearTimeout(j),e.fadeOut(d.fadeOut)}var h=a(this);if(d.content)var i=d.content;else var i=h.attr(d.attribute);if(""!=i){d.content||h.removeAttr(d.attribute);var j=!1;"hover"==d.activation?(h.hover(function(){b()},function(){d.keepAlive||c()}),d.keepAlive&&e.hover(function(){},function(){c()})):"focus"==d.activation?h.focus(function(){b()}).blur(function(){c()}):"click"==d.activation&&(h.click(function(){return b(),!1}).hover(function(){},function(){d.keepAlive||c()}),d.keepAlive&&e.hover(function(){},function(){c()}))}})}}(jQuery); \ No newline at end of file +!function(a){a.fn.tipTip=function(b){var c={activation:"hover",keepAlive:!1,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:!1,enter:function(){},exit:function(){}},d=a.extend(c,b);if(a("#tiptip_holder").length<=0){var e=a('
    '),f=a('
    '),g=a('
    ');a("body").append(e.html(f).prepend(g.html('
    ')))}else var e=a("#tiptip_holder"),f=a("#tiptip_content"),g=a("#tiptip_arrow");return this.each(function(){function b(){d.enter.call(this),f.html(i),e.hide().removeAttr("class").css("margin","0"),g.removeAttr("style");var b=parseInt(h.offset().top),c=parseInt(h.offset().left),k=parseInt(h.outerWidth()),l=parseInt(h.outerHeight()),m=e.outerWidth(),n=e.outerHeight(),o=Math.round((k-m)/2),p=Math.round((l-n)/2),q=Math.round(c+o),r=Math.round(b+l+d.edgeOffset),s="",t="",u=Math.round(m-12)/2;"bottom"==d.defaultPosition?s="_bottom":"top"==d.defaultPosition?s="_top":"left"==d.defaultPosition?s="_left":"right"==d.defaultPosition&&(s="_right");var v=o+cparseInt(a(window).width());v&&0>o||"_right"==s&&!w||"_left"==s&&co||"_left"==s&&!v)&&(s="_left",t=Math.round(n-13)/2,u=Math.round(m),q=Math.round(c-(m+d.edgeOffset+5)),r=Math.round(b+p));var x=b+l+d.edgeOffset+n+8>parseInt(a(window).height()+a(window).scrollTop()),y=b+l-(d.edgeOffset+n+8)<0;x||"_bottom"==s&&x||"_top"==s&&!y?("_top"==s||"_bottom"==s?s="_top":s+="_top",t=n,r=Math.round(b-(n+5+d.edgeOffset))):(y|("_top"==s&&y)||"_bottom"==s&&!x)&&("_top"==s||"_bottom"==s?s="_bottom":s+="_bottom",t=-12,r=Math.round(b+l+d.edgeOffset)),"_right_top"==s||"_left_top"==s?r+=5:"_right_bottom"!=s&&"_left_bottom"!=s||(r-=5),"_left_top"!=s&&"_left_bottom"!=s||(q+=5),g.css({"margin-left":u+"px","margin-top":t+"px"}),e.css({"margin-left":q+"px","margin-top":r+"px"}).attr("class","tip"+s),j&&clearTimeout(j),j=setTimeout(function(){e.stop(!0,!0).fadeIn(d.fadeIn)},d.delay)}function c(){d.exit.call(this),j&&clearTimeout(j),e.fadeOut(d.fadeOut)}var h=a(this);if(d.content)var i=d.content;else var i=h.attr(d.attribute);if(""!=i){d.content||h.removeAttr(d.attribute);var j=!1;"hover"==d.activation?(h.hover(function(){b()},function(){d.keepAlive||c()}),d.keepAlive&&e.hover(function(){},function(){c()})):"focus"==d.activation?h.focus(function(){b()}).blur(function(){c()}):"click"==d.activation&&(h.click(function(){return b(),!1}).hover(function(){},function(){d.keepAlive||c()}),d.keepAlive&&e.hover(function(){},function(){c()}))}})}}(jQuery); \ No newline at end of file diff --git a/assets/js/jquery-ui-touch-punch/jquery-ui-touch-punch.min.js b/assets/js/jquery-ui-touch-punch/jquery-ui-touch-punch.min.js index 6bdc16e32d7..b0f953538ea 100644 --- a/assets/js/jquery-ui-touch-punch/jquery-ui-touch-punch.min.js +++ b/assets/js/jquery-ui-touch-punch/jquery-ui-touch-punch.min.js @@ -1,11 +1 @@ -/*! - * jQuery UI Touch Punch 0.2.3 - * - * Copyright 2011–2014, Dave Furfero - * Dual licensed under the MIT or GPL Version 2 licenses. - * - * Depends: - * jquery.ui.widget.js - * jquery.ui.mouse.js - */ !function(a){function b(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var c,d=a.ui.mouse.prototype,e=d._mouseInit,f=d._mouseDestroy;d._touchStart=function(a){var d=this;!c&&d._mouseCapture(a.originalEvent.changedTouches[0])&&(c=!0,d._touchMoved=!1,b(a,"mouseover"),b(a,"mousemove"),b(a,"mousedown"))},d._touchMove=function(a){c&&(this._touchMoved=!0,b(a,"mousemove"))},d._touchEnd=function(a){c&&(b(a,"mouseup"),b(a,"mouseout"),this._touchMoved||b(a,"click"),c=!1)},d._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),e.call(b)},d._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),f.call(b)}}}(jQuery); \ No newline at end of file diff --git a/assets/js/prettyPhoto/jquery.prettyPhoto.min.js b/assets/js/prettyPhoto/jquery.prettyPhoto.min.js index 40124adc08a..c309d0f4edb 100644 --- a/assets/js/prettyPhoto/jquery.prettyPhoto.min.js +++ b/assets/js/prettyPhoto/jquery.prettyPhoto.min.js @@ -1 +1 @@ -!function(a){function b(){var a=location.href;return hashtag=-1!==a.indexOf("#prettyPhoto")?decodeURI(a.substring(a.indexOf("#prettyPhoto")+1,a.length)):!1,hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function c(){"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/")}function d(){-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto")}function e(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return null==e?"":e[1]}a.prettyPhoto={version:"3.1.6"},a.fn.prettyPhoto=function(f){function g(){a(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(A/2-r.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:r.contentHeight,width:r.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:B/2-r.containerWidth/2<0?0:B/2-r.containerWidth/2,width:r.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(r.height).width(r.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==l(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(r.resized?a("a.pp_expand,a.pp_contract").show():a("a.pp_expand").hide()),!settings.autoplay_slideshow||x||s||a.prettyPhoto.startSlideshow(),settings.changepicturecallback(),s=!0}),p(),f.ajaxcallback()}function h(b){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){a(".pp_loaderIcon").show(),b()})}function i(b){b>1?a(".pp_nav").show():a(".pp_nav").hide()}function j(a,b){if(resized=!1,k(a,b),imageWidth=a,imageHeight=b,(w>B||v>A)&&doresize&&settings.allow_resize&&!z){for(resized=!0,fitting=!1;!fitting;)w>B?(imageWidth=B-200,imageHeight=b/a*imageWidth):v>A?(imageHeight=A-200,imageWidth=a/b*imageHeight):fitting=!0,v=imageHeight,w=imageWidth;(w>B||v>A)&&j(w,v),k(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(v),containerWidth:Math.floor(w)+2*settings.horizontal_padding,contentHeight:Math.floor(t),contentWidth:Math.floor(u),resized:resized}}function k(b,c){b=parseFloat(b),c=parseFloat(c),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(b),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(b).appendTo(a("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(b),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(a("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),t=c+detailsHeight,u=b,v=t+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),w=b}function l(a){return a.match(/youtube\.com\/watch/i)||a.match(/youtu\.be/i)?"youtube":a.match(/vimeo\.com/i)?"vimeo":a.match(/\b.mov\b/i)?"quicktime":a.match(/\b.swf\b/i)?"flash":a.match(/\biframe=true\b/i)?"iframe":a.match(/\bajax=true\b/i)?"ajax":a.match(/\bcustom=true\b/i)?"custom":"#"==a.substr(0,1)?"inline":"image"}function m(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=n(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=A/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>A)return;$pp_pic_holder.css({top:projectedTop,left:B/2+scroll_pos.scrollLeft-contentwidth/2})}}function n(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function o(){A=a(window).height(),B=a(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(a(document).height()).width(B)}function p(){isSet&&settings.overlay_gallery&&"image"==l(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((r.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=a(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return a.prettyPhoto.changeGalleryPage("next"),a.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return a.prettyPhoto.changeGalleryPage("previous"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(b){a(this).find("a").click(function(){return a.prettyPhoto.changePage(b),a.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('Play'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return a.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:a(document).height(),width:a(window).width()}).bind("click",function(){settings.modal||a.prettyPhoto.close()}),a("a.pp_close").bind("click",function(){return a.prettyPhoto.close(),!1}),settings.allow_expand&&a("a.pp_expand").bind("click",function(b){return a(this).hasClass("pp_expand")?(a(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(a(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),h(function(){a.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return a.prettyPhoto.changePage("previous"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return a.prettyPhoto.changePage("next"),a.prettyPhoto.stopSlideshow(),!1}),m()}f=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'
     
    ',gallery_markup:'',image_markup:'',flash_markup:'',quicktime_markup:'',iframe_markup:'',inline_markup:'
    {content}
    ',custom_markup:"",social_tools:''},f);var r,s,t,u,v,w,x,y=this,z=!1,A=a(window).height(),B=a(window).width();return doresize=!0,scroll_pos=n(),a(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){m(),o()}),f.keyboard_shortcuts&&a(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(b){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(b.keyCode){case 37:a.prettyPhoto.changePage("previous"),b.preventDefault();break;case 39:a.prettyPhoto.changePage("next"),b.preventDefault();break;case 27:settings.modal||a.prettyPhoto.close(),b.preventDefault()}}),a.prettyPhoto.initialize=function(){return settings=f,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=a(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=galleryRegExp.exec(theRel)?!0:!1,pp_images=isSet?jQuery.map(y,function(b,c){return-1!=a(b).attr(settings.hook).indexOf(theRel)?a(b).attr("href"):void 0}):a.makeArray(a(this).attr("href")),pp_titles=isSet?jQuery.map(y,function(b,c){return-1!=a(b).attr(settings.hook).indexOf(theRel)?a(b).find("img").attr("alt")?a(b).find("img").attr("alt"):"":void 0}):a.makeArray(a(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(y,function(b,c){return-1!=a(b).attr(settings.hook).indexOf(theRel)?a(b).attr("title")?a(b).attr("title"):"":void 0}):a.makeArray(a(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(a(this).attr("href"),pp_images),rel_index=isSet?set_position:a("a["+settings.hook+"^='"+theRel+"']").index(a(this)),q(this),settings.allow_resize&&a(window).bind("scroll.prettyphoto",function(){m()}),a.prettyPhoto.open(),!1},a.prettyPhoto.open=function(b){return"undefined"==typeof settings&&(settings=f,pp_images=a.makeArray(arguments[0]),pp_titles=arguments[1]?a.makeArray(arguments[1]):a.makeArray(""),pp_descriptions=arguments[2]?a.makeArray(arguments[2]):a.makeArray(""),isSet=pp_images.length>1?!0:!1,set_position=arguments[3]?arguments[3]:0,q(b.target)),settings.hideflash&&a("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),i(a(pp_images).length),a(".pp_loaderIcon").show(),settings.deeplinking&&c(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+a(pp_images).length),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(e("width",pp_images[set_position]))?e("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(e("height",pp_images[set_position]))?e("height",pp_images[set_position]):settings.default_height.toString(),z=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(a(window).height()*parseFloat(movie_height)/100-150),z=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(a(window).width()*parseFloat(movie_width)/100-150),z=!0),$pp_pic_holder.fadeIn(function(){switch(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" "),imgPreloader="",skipInjection=!1,l(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="//www.youtube.com/embed/"+movie_id,e("rel",pp_images[set_position])?movie+="?rel="+e("rel",pp_images[set_position]):movie+="?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":r=j(movie_width,movie_height),movie_id=pp_images[set_position];var b=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,c=movie_id.match(b);movie="//player.vimeo.com/video/"+c[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=r.width+"/embed/?moog_width="+r.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,r.height).replace(/{path}/g,movie);break;case"quicktime":r=j(movie_width,movie_height),r.height+=15,r.contentHeight+=15,r.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":r=j(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":r=j(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,r=j(movie_width,movie_height),doresize=!0,skipInjection=!0,a.get(pp_images[set_position],function(a){toInject=settings.inline_markup.replace(/{content}/g,a),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,g()});break;case"custom":r=j(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=a(pp_images[set_position]).clone().append('
    ').css({width:settings.default_width}).wrapInner('
    ').appendTo(a("body")).show(),doresize=!1,r=j(a(myClone).width(),a(myClone).height()),doresize=!0,a(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,a(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,g())}),!1},a.prettyPhoto.changePage=function(b){currentGalleryPage=0,"previous"==b?(set_position--,set_position<0&&(set_position=a(pp_images).length-1)):"next"==b?(set_position++,set_position>a(pp_images).length-1&&(set_position=0)):set_position=b,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&a(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),h(function(){a.prettyPhoto.open()})},a.prettyPhoto.changeGalleryPage=function(a){"next"==a?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==a?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=a,slide_speed="next"==a||"previous"==a?settings.animation_speed:0,slide_to=currentGalleryPage*(itemsPerPage*itemWidth),$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},a.prettyPhoto.startSlideshow=function(){"undefined"==typeof x?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return a.prettyPhoto.stopSlideshow(),!1}),x=setInterval(a.prettyPhoto.startSlideshow,settings.slideshow)):a.prettyPhoto.changePage("next")},a.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return a.prettyPhoto.startSlideshow(),!1}),clearInterval(x),x=void 0},a.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(a.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),a("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){a(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&a("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),a(this).remove(),a(window).unbind("scroll.prettyphoto"),d(),settings.callback(),doresize=!0,s=!1,delete settings}))},!pp_alreadyInitialized&&b()&&(pp_alreadyInitialized=!0,hashIndex=b(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){a("a["+f.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",a.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1; \ No newline at end of file +!function(a){function b(){var a=location.href;return hashtag=-1!==a.indexOf("#prettyPhoto")?decodeURI(a.substring(a.indexOf("#prettyPhoto")+1,a.length)):!1,hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function c(){"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/")}function d(){-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto")}function e(a,b){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+a+"=([^&#]*)",d=new RegExp(c),e=d.exec(b);return null==e?"":e[1]}a.prettyPhoto={version:"3.1.6"},a.fn.prettyPhoto=function(f){function g(){a(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(A/2-r.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:r.contentHeight,width:r.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:B/2-r.containerWidth/2<0?0:B/2-r.containerWidth/2,width:r.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(r.height).width(r.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==l(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(r.resized?a("a.pp_expand,a.pp_contract").show():a("a.pp_expand").hide()),!settings.autoplay_slideshow||x||s||a.prettyPhoto.startSlideshow(),settings.changepicturecallback(),s=!0}),p(),f.ajaxcallback()}function h(b){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){a(".pp_loaderIcon").show(),b()})}function i(b){b>1?a(".pp_nav").show():a(".pp_nav").hide()}function j(a,b){if(resized=!1,k(a,b),imageWidth=a,imageHeight=b,(w>B||v>A)&&doresize&&settings.allow_resize&&!z){for(resized=!0,fitting=!1;!fitting;)w>B?(imageWidth=B-200,imageHeight=b/a*imageWidth):v>A?(imageHeight=A-200,imageWidth=a/b*imageHeight):fitting=!0,v=imageHeight,w=imageWidth;(w>B||v>A)&&j(w,v),k(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(v),containerWidth:Math.floor(w)+2*settings.horizontal_padding,contentHeight:Math.floor(t),contentWidth:Math.floor(u),resized:resized}}function k(b,c){b=parseFloat(b),c=parseFloat(c),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(b),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(b).appendTo(a("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(b),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(a("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),t=c+detailsHeight,u=b,v=t+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),w=b}function l(a){return a.match(/youtube\.com\/watch/i)||a.match(/youtu\.be/i)?"youtube":a.match(/vimeo\.com/i)?"vimeo":a.match(/\b.mov\b/i)?"quicktime":a.match(/\b.swf\b/i)?"flash":a.match(/\biframe=true\b/i)?"iframe":a.match(/\bajax=true\b/i)?"ajax":a.match(/\bcustom=true\b/i)?"custom":"#"==a.substr(0,1)?"inline":"image"}function m(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=n(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=A/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>A)return;$pp_pic_holder.css({top:projectedTop,left:B/2+scroll_pos.scrollLeft-contentwidth/2})}}function n(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function o(){A=a(window).height(),B=a(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(a(document).height()).width(B)}function p(){isSet&&settings.overlay_gallery&&"image"==l(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((r.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=a(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return a.prettyPhoto.changeGalleryPage("next"),a.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return a.prettyPhoto.changeGalleryPage("previous"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(b){a(this).find("a").click(function(){return a.prettyPhoto.changePage(b),a.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('Play'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return a.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:a(document).height(),width:a(window).width()}).bind("click",function(){settings.modal||a.prettyPhoto.close()}),a("a.pp_close").bind("click",function(){return a.prettyPhoto.close(),!1}),settings.allow_expand&&a("a.pp_expand").bind("click",function(b){return a(this).hasClass("pp_expand")?(a(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(a(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),h(function(){a.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return a.prettyPhoto.changePage("previous"),a.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return a.prettyPhoto.changePage("next"),a.prettyPhoto.stopSlideshow(),!1}),m()}f=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'
     
    ',gallery_markup:'',image_markup:'',flash_markup:'',quicktime_markup:'',iframe_markup:'',inline_markup:'
    {content}
    ',custom_markup:"",social_tools:''},f);var r,s,t,u,v,w,x,y=this,z=!1,A=a(window).height(),B=a(window).width();return doresize=!0,scroll_pos=n(),a(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){m(),o()}),f.keyboard_shortcuts&&a(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(b){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(b.keyCode){case 37:a.prettyPhoto.changePage("previous"),b.preventDefault();break;case 39:a.prettyPhoto.changePage("next"),b.preventDefault();break;case 27:settings.modal||a.prettyPhoto.close(),b.preventDefault()}}),a.prettyPhoto.initialize=function(){return settings=f,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=a(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=!!galleryRegExp.exec(theRel),pp_images=isSet?jQuery.map(y,function(b,c){return-1!=a(b).attr(settings.hook).indexOf(theRel)?a(b).attr("href"):void 0}):a.makeArray(a(this).attr("href")),pp_titles=isSet?jQuery.map(y,function(b,c){return-1!=a(b).attr(settings.hook).indexOf(theRel)?a(b).find("img").attr("alt")?a(b).find("img").attr("alt"):"":void 0}):a.makeArray(a(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(y,function(b,c){return-1!=a(b).attr(settings.hook).indexOf(theRel)?a(b).attr("title")?a(b).attr("title"):"":void 0}):a.makeArray(a(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(a(this).attr("href"),pp_images),rel_index=isSet?set_position:a("a["+settings.hook+"^='"+theRel+"']").index(a(this)),q(this),settings.allow_resize&&a(window).bind("scroll.prettyphoto",function(){m()}),a.prettyPhoto.open(),!1},a.prettyPhoto.open=function(b){return"undefined"==typeof settings&&(settings=f,pp_images=a.makeArray(arguments[0]),pp_titles=arguments[1]?a.makeArray(arguments[1]):a.makeArray(""),pp_descriptions=arguments[2]?a.makeArray(arguments[2]):a.makeArray(""),isSet=pp_images.length>1,set_position=arguments[3]?arguments[3]:0,q(b.target)),settings.hideflash&&a("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),i(a(pp_images).length),a(".pp_loaderIcon").show(),settings.deeplinking&&c(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+a(pp_images).length),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(e("width",pp_images[set_position]))?e("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(e("height",pp_images[set_position]))?e("height",pp_images[set_position]):settings.default_height.toString(),z=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(a(window).height()*parseFloat(movie_height)/100-150),z=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(a(window).width()*parseFloat(movie_width)/100-150),z=!0),$pp_pic_holder.fadeIn(function(){switch(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" "),imgPreloader="",skipInjection=!1,l(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="//www.youtube.com/embed/"+movie_id,e("rel",pp_images[set_position])?movie+="?rel="+e("rel",pp_images[set_position]):movie+="?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":r=j(movie_width,movie_height),movie_id=pp_images[set_position];var b=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,c=movie_id.match(b);movie="//player.vimeo.com/video/"+c[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=r.width+"/embed/?moog_width="+r.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,r.height).replace(/{path}/g,movie);break;case"quicktime":r=j(movie_width,movie_height),r.height+=15,r.contentHeight+=15,r.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":r=j(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":r=j(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,r.width).replace(/{height}/g,r.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,r=j(movie_width,movie_height),doresize=!0,skipInjection=!0,a.get(pp_images[set_position],function(a){toInject=settings.inline_markup.replace(/{content}/g,a),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,g()});break;case"custom":r=j(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=a(pp_images[set_position]).clone().append('
    ').css({width:settings.default_width}).wrapInner('
    ').appendTo(a("body")).show(),doresize=!1,r=j(a(myClone).width(),a(myClone).height()),doresize=!0,a(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,a(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,g())}),!1},a.prettyPhoto.changePage=function(b){currentGalleryPage=0,"previous"==b?(set_position--,set_position<0&&(set_position=a(pp_images).length-1)):"next"==b?(set_position++,set_position>a(pp_images).length-1&&(set_position=0)):set_position=b,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&a(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),h(function(){a.prettyPhoto.open()})},a.prettyPhoto.changeGalleryPage=function(a){"next"==a?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==a?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=a,slide_speed="next"==a||"previous"==a?settings.animation_speed:0,slide_to=currentGalleryPage*(itemsPerPage*itemWidth),$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},a.prettyPhoto.startSlideshow=function(){"undefined"==typeof x?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return a.prettyPhoto.stopSlideshow(),!1}),x=setInterval(a.prettyPhoto.startSlideshow,settings.slideshow)):a.prettyPhoto.changePage("next")},a.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return a.prettyPhoto.startSlideshow(),!1}),clearInterval(x),x=void 0},a.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(a.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),a("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){a(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&a("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),a(this).remove(),a(window).unbind("scroll.prettyphoto"),d(),settings.callback(),doresize=!0,s=!1,delete settings}))},!pp_alreadyInitialized&&b()&&(pp_alreadyInitialized=!0,hashIndex=b(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){a("a["+f.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",a.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1; \ No newline at end of file diff --git a/assets/js/select2/select2.min.js b/assets/js/select2/select2.min.js index d084ea01656..45d154bd44f 100755 --- a/assets/js/select2/select2.min.js +++ b/assets/js/select2/select2.min.js @@ -1,3 +1,3 @@ -!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++dc;c+=1)if(g(a,b[c]))return c;return-1}function f(){var b=a(N);b.appendTo(document.body);var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function g(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function h(a,b,c){var d,e,f;if(null===a||a.length<1)return[];for(d=a.split(b),e=0,f=d.length;f>e;e+=1)d[e]=c(d[e]);return d}function i(a){return a.outerWidth(!1)-a.width()}function j(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function k(c){c.on("mousemove",function(c){var d=L;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function l(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function m(a,b){var c=l(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){e(a.target,b.get())>=0&&c(a)})}function n(a){a[0]!==document.activeElement&&window.setTimeout(function(){var b,c=a[0],d=a.val().length;a.focus();var e=c.offsetWidth>0||c.offsetHeight>0;e&&c===document.activeElement&&(c.setSelectionRange?c.setSelectionRange(d,d):c.createTextRange&&(b=c.createTextRange(),b.collapse(!1),b.select()))},0)}function o(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function p(a){a.preventDefault(),a.stopPropagation()}function q(a){a.preventDefault(),a.stopImmediatePropagation()}function r(b){if(!I){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);I=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),I.attr("class","select2-sizer"),a(document.body).append(I)}return I.text(b.val()),I.width()}function s(b,c,d){var e,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(f=d(this),f&&g.push(f))})),b.attr("class",g.join(" "))}function t(a,b,c,e){var f=d(a.toUpperCase()).indexOf(d(b.toUpperCase())),g=b.length;return 0>f?void c.push(e(a)):(c.push(e(a.substring(0,f))),c.push(""),c.push(e(a.substring(f,f+g))),c.push(""),void c.push(e(a.substring(f+g,a.length))))}function u(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function v(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page,i);i.callback(b)},error:function(a,b,c){var d={hasError:!0,jqXHR:a,textStatus:b,errorThrown:c};i.callback(d)}}),e=j.call(h,l)},f)}}function w(b){var c,d,e=b,f=function(a){return""+a.text};a.isArray(e)&&(d=e,e={results:d}),a.isFunction(e)===!1&&(d=e,e=function(){return d});var g=e();return g.text&&(f=g.text,a.isFunction(f)||(c=g.text,f=function(a){return a[c]})),function(b){var c,d=b.term,g={results:[]};return""===d?void b.callback(e()):(c=function(e,g){var h,i;if(e=e[0],e.children){h={};for(i in e)e.hasOwnProperty(i)&&(h[i]=e[i]);h.children=[],a(e.children).each2(function(a,b){c(b,h.children)}),(h.children.length||b.matcher(d,f(h),e))&&g.push(h)}else b.matcher(d,f(e),e)&&g.push(e)},a(e().results).each2(function(a,b){c(b,g.results)}),void b.callback(g))}}function x(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function y(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function z(b,c){if(a.isFunction(b)){var d=Array.prototype.slice.call(arguments,2);return b.apply(c,d)}return b}function A(b){var c=0;return a.each(b,function(a,b){b.children?c+=A(b.children):c++}),c}function B(a,c,d,e){var f,h,i,j,k,l=a,m=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(h=-1,i=0,j=e.tokenSeparators.length;j>i&&(k=e.tokenSeparators[i],h=a.indexOf(k),!(h>=0));i++);if(0>h)break;if(f=a.substring(0,h),a=a.substring(h+k.length),f.length>0&&(f=e.createSearchChoice.call(this,f,c),f!==b&&null!==f&&e.id(f)!==b&&null!==e.id(f))){for(m=!1,i=0,j=c.length;j>i;i++)if(g(e.id(f),e.id(c[i]))){m=!0;break}m||d(f)}}return l!==a?a:void 0}function C(){var b=this;a.each(arguments,function(a,c){b[c].remove(),b[c]=null})}function D(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var E,F,G,H,I,J,K,L={x:0,y:0},M={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case M.LEFT:case M.RIGHT:case M.UP:case M.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case M.SHIFT:case M.CTRL:case M.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},N="
    ",O={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};J=a(document),H=function(){var a=1;return function(){return a++}}(),E=D(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,g=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=a("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+H()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a(document.body),s(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(z(c.containerCss,this.opts.element)),this.container.addClass(z(c.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",p),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),s(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(z(c.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",p),this.results=d=this.container.find(g),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",p),k(this.results),this.dropdown.on("mousemove-filtered",g,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",g,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",g,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",g,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(a){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),m(80,this.results),this.dropdown.on("scroll-debounced",g,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),p(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),p(a))}),j(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",g,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.lastSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),K=K||f(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2"),d=this;this.close(),a.length&&a[0].detachEvent&&d._sync&&a.each(function(){d._sync&&this.detachEvent("onpropertychange",d._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.removeData("select2").off(".select2"),a.is("input[type='hidden']")?a.css("display",""):(a.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show())),C.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:g(a.attr("locked"),"locked")||g(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,i,j=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a ","
    "," ","
      ","
    ","
    "].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var b,c,d;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),b=this.search.get(0),b.createTextRange?(c=b.createTextRange(),c.collapse(!1),c.select()):b.setSelectionRange&&(d=this.search.val().length,b.setSelectionRange(d,d))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),C.call(this,"selection","focusser")},initContainer:function(){var b,d,e=this.container,f=this.dropdown,g=H();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=e.find(".select2-choice"),this.focusser=e.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+g),this.focusser.attr("aria-labelledby","select2-chosen-"+g),this.results.attr("id","select2-results-"+g),this.search.attr("aria-owns","select2-results-"+g),this.focusser.attr("id","s2id_autogen"+g),d=a("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(d.text()).attr("for",this.focusser.attr("id"));var h=this.opts.element.attr("title");this.opts.element.attr("title",h||d.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&229!=a.keyCode){if(a.which===M.PAGE_UP||a.which===M.PAGE_DOWN)return void p(a);switch(a.which){case M.UP:case M.DOWN:return this.moveHighlight(a.which===M.UP?-1:1),void p(a);case M.ENTER:return this.selectHighlighted(),void p(a);case M.TAB:return void this.selectHighlighted({noFocus:!0});case M.ESC:return this.cancel(a),void p(a)}}})),this.search.on("blur",this.bind(function(a){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&this.results.length>1&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==M.TAB&&!M.isControl(a)&&!M.isFunctionKey(a)&&a.which!==M.ESC){if(this.opts.openOnEnter===!1&&a.which===M.ENTER)return void p(a);if(a.which==M.DOWN||a.which==M.UP||a.which==M.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),void p(a)}return a.which==M.DELETE||a.which==M.BACKSPACE?(this.opts.allowClear&&this.clear(),void p(a)):void 0}})),j(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),q(a),this.close(),this.selection&&this.selection.focus())})),this.supportsTouchEvents?b.on("mousedown touchstart",this.bind(function(d){c(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),p(d)})):b.on("mousedown",this.bind(function(d){c(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),p(d)})),f.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){p(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var a=this;this.opts.initSelection.call(null,this.opts.element,function(c){c!==b&&null!==c&&(a.updateSelection(c),a.close(),a.setPlaceholder(),a.lastSearchTerm=a.search.val())})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()===b?!1:(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val()},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var h=g(e,b.id(d));return h&&(f=d),h},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return g(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var f=this.opts.minimumResultsForSearch;f>=0&&this.showSearch(A(a.results)>=f)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.lastSearchTerm=this.search.val(),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),g(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var c,d,e=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),e.empty(),null!==a&&(c=this.opts.formatSelection(a,e,this.opts.escapeMarkup)),c!==b&&e.append(c),d=this.opts.formatSelectionCssClass(a,e),d!==b&&e.addClass(d),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1],this.opts.debug&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.')),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a "," ","","
    ","
      ","
    ","
    "].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=h(c.val(),b.separator,b.transformVal),f=[];b.query({matcher:function(c,d,h){var i=a.grep(e,function(a){return g(a,b.id(h))}).length;return i&&f.push(h),i},callback:a.isFunction(d)?function(){for(var a=[],c=0;c0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",c,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var a=this;this.opts.initSelection.call(null,this.opts.element,function(c){c!==b&&null!==c&&(a.updateSelection(c),a.close(),a.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c={},d=[],e=this;a(b).each(function(){e.id(this)in c||(c[e.id(this)]=0,d.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(d),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,b){this.triggerSelect(a)&&""!==a.text&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),b&&b.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(b){var c=this.getVal(),d=this;a(b).each(function(){c.push(d.createChoice(this))}),this.setVal(c)},createChoice:function(c){var d,e,f=!c.locked,g=a("
  • "),h=a("
  • "),i=f?g:h,j=this.id(c);return d=this.opts.formatSelection(c,i.find("div"),this.opts.escapeMarkup),d!=b&&i.find("div").replaceWith(a("
    ").html(d)),e=this.opts.formatSelectionCssClass(c,i.find("div")),e!=b&&i.addClass(e),f&&i.find(".select2-search-choice-close").on("mousedown",p).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),p(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),i.data("select2-data",c),i.insertBefore(this.searchContainer),j},unselect:function(b){var c,d,f=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(c=b.data("select2-data")){var g=a.Event("select2-removing");if(g.val=this.id(c),g.choice=c,this.opts.element.trigger(g),g.isDefaultPrevented())return!1;for(;(d=e(this.id(c),f))>=0;)f.splice(d,1),this.setVal(f),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),f=this.results.find(".select2-result"),g=this.results.find(".select2-result-with-children"),h=this;f.each2(function(a,b){var c=h.id(b.data("select2-data"));e(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),g.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&this.opts.closeOnSelect===!0&&h.highlight(0),!this.opts.createSearchChoice&&!f.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&y(h.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
  • "+z(h.opts.formatNoMatches,h.opts.element,h.search.val())+"
  • ")},getMaxSearchWidth:function(){return this.selection.width()-i(this.search)},resizeSearch:function(){var a,b,c,d,e,f=i(this.search);a=r(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),h(a,this.opts.separator,this.opts.transformVal))},setVal:function(b){if(this.select)this.select.val(b);else{var c=[],d={};a(b).each(function(){this in d||(c.push(this),d[this]=0)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator))}},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c. Attach to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var d,e,f=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(e=this.data(),b||(b=[]),d=a.map(b,function(a){return f.opts.id(a)}),this.setVal(d),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(e,this.data())),void 0)}}),a.fn.select2=function(){var c,d,f,g,h,i=Array.prototype.slice.call(arguments,0),j=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],k=["opened","isFocused","container","dropdown"],l=["val","data"],m={search:"externalSearch"};return this.each(function(){if(0===i.length||"object"==typeof i[0])c=0===i.length?{}:a.extend({},i[0]),c.element=a(this),"select"===c.element.get(0).tagName.toLowerCase()?h=c.element.prop("multiple"):(h=c.multiple||!1,"tags"in c&&(c.multiple=h=!0)),d=h?new window.Select2["class"].multi:new window.Select2["class"].single,d.init(c);else{if("string"!=typeof i[0])throw"Invalid arguments to select2 plugin: "+i;if(e(i[0],j)<0)throw"Unknown method: "+i[0];if(g=b,d=a(this).data("select2"),d===b)return;if(f=i[0],"container"===f?g=d.container:"dropdown"===f?g=d.dropdown:(m[f]&&(f=m[f]),g=d[f].apply(d,i.slice(1))),e(i[0],k)>=0||e(i[0],l)>=0&&1==i.length)return!1}}),g===b?this:g},a.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return t(this.text(a),c.term,e,d),e.join("")},transformVal:function(b){return a.trim(b)},formatSelection:function(a,c,d){return a?d(this.text(a)):b},sortResults:function(a,b,c){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(a,c){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},text:function(b){return b&&this.data&&this.data.text?a.isFunction(this.data.text)?this.data.text(b):b[this.data.text]:b.text},matcher:function(a,b){return d(""+b).toUpperCase().indexOf(d(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:B,escapeMarkup:u,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(a){return null},nextSearchTerm:function(a,c){return b},searchInputPlaceholder:"", -createSearchChoicePosition:"top",shouldFocusInput:function(a){var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return b&&a.opts.minimumResultsForSearch<0?!1:!0}},a.fn.select2.locales=[],a.fn.select2.locales.en={formatMatches:function(a){return 1===a?"One result is available, press enter to select it.":a+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(a,b,c){return"Loading failed"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(a){return"Loading more results…"},formatSearching:function(){return"Searching…"}},a.extend(a.fn.select2.defaults,a.fn.select2.locales.en),a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:v,local:w,tags:x},util:{debounce:l,markMatch:t,escapeMarkup:u,stripDiacritics:d},"class":{"abstract":E,single:F,multi:G}}}}(jQuery); \ No newline at end of file +!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++dc;c+=1)if(g(a,b[c]))return c;return-1}function f(){var b=a(N);b.appendTo(document.body);var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function g(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function h(a,b,c){var d,e,f;if(null===a||a.length<1)return[];for(d=a.split(b),e=0,f=d.length;f>e;e+=1)d[e]=c(d[e]);return d}function i(a){return a.outerWidth(!1)-a.width()}function j(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function k(c){c.on("mousemove",function(c){var d=L;d!==b&&d.x===c.pageX&&d.y===c.pageY||a(c.target).trigger("mousemove-filtered",c)})}function l(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function m(a,b){var c=l(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){e(a.target,b.get())>=0&&c(a)})}function n(a){a[0]!==document.activeElement&&window.setTimeout(function(){var b,c=a[0],d=a.val().length;a.focus();var e=c.offsetWidth>0||c.offsetHeight>0;e&&c===document.activeElement&&(c.setSelectionRange?c.setSelectionRange(d,d):c.createTextRange&&(b=c.createTextRange(),b.collapse(!1),b.select()))},0)}function o(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function p(a){a.preventDefault(),a.stopPropagation()}function q(a){a.preventDefault(),a.stopImmediatePropagation()}function r(b){if(!I){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);I=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),I.attr("class","select2-sizer"),a(document.body).append(I)}return I.text(b.val()),I.width()}function s(b,c,d){var e,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(f=d(this),f&&g.push(f))})),b.attr("class",g.join(" "))}function t(a,b,c,e){var f=d(a.toUpperCase()).indexOf(d(b.toUpperCase())),g=b.length;return 0>f?void c.push(e(a)):(c.push(e(a.substring(0,f))),c.push(""),c.push(e(a.substring(f,f+g))),c.push(""),void c.push(e(a.substring(f+g,a.length))))}function u(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function v(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page,i);i.callback(b)},error:function(a,b,c){var d={hasError:!0,jqXHR:a,textStatus:b,errorThrown:c};i.callback(d)}}),e=j.call(h,l)},f)}}function w(b){var c,d,e=b,f=function(a){return""+a.text};a.isArray(e)&&(d=e,e={results:d}),a.isFunction(e)===!1&&(d=e,e=function(){return d});var g=e();return g.text&&(f=g.text,a.isFunction(f)||(c=g.text,f=function(a){return a[c]})),function(b){var c,d=b.term,g={results:[]};return""===d?void b.callback(e()):(c=function(e,g){var h,i;if(e=e[0],e.children){h={};for(i in e)e.hasOwnProperty(i)&&(h[i]=e[i]);h.children=[],a(e.children).each2(function(a,b){c(b,h.children)}),(h.children.length||b.matcher(d,f(h),e))&&g.push(h)}else b.matcher(d,f(e),e)&&g.push(e)},a(e().results).each2(function(a,b){c(b,g.results)}),void b.callback(g))}}function x(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function y(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function z(b,c){if(a.isFunction(b)){var d=Array.prototype.slice.call(arguments,2);return b.apply(c,d)}return b}function A(b){var c=0;return a.each(b,function(a,b){b.children?c+=A(b.children):c++}),c}function B(a,c,d,e){var f,h,i,j,k,l=a,m=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(h=-1,i=0,j=e.tokenSeparators.length;j>i&&(k=e.tokenSeparators[i],h=a.indexOf(k),!(h>=0));i++);if(0>h)break;if(f=a.substring(0,h),a=a.substring(h+k.length),f.length>0&&(f=e.createSearchChoice.call(this,f,c),f!==b&&null!==f&&e.id(f)!==b&&null!==e.id(f))){for(m=!1,i=0,j=c.length;j>i;i++)if(g(e.id(f),e.id(c[i]))){m=!0;break}m||d(f)}}return l!==a?a:void 0}function C(){var b=this;a.each(arguments,function(a,c){b[c].remove(),b[c]=null})}function D(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var E,F,G,H,I,J,K,L={x:0,y:0},M={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case M.LEFT:case M.RIGHT:case M.UP:case M.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case M.SHIFT:case M.CTRL:case M.ALT:return!0}return!!a.metaKey},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},N="
    ",O={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};J=a(document),H=function(){var a=1;return function(){return a++}}(),E=D(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,g=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=a("",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+H()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a(document.body),s(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(z(c.containerCss,this.opts.element)),this.container.addClass(z(c.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",p),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),s(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(z(c.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",p),this.results=d=this.container.find(g),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",p),k(this.results),this.dropdown.on("mousemove-filtered",g,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",g,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",g,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",g,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(a){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),m(80,this.results),this.dropdown.on("scroll-debounced",g,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),p(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),p(a))}),j(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",g,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.lastSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),K=K||f(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2"),d=this;this.close(),a.length&&a[0].detachEvent&&d._sync&&a.each(function(){d._sync&&this.detachEvent("onpropertychange",d._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.removeData("select2").off(".select2"),a.is("input[type='hidden']")?a.css("display",""):(a.show().prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show())),C.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:g(a.attr("locked"),"locked")||g(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,f,i,j=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a ","
    "," ","
      ","
    ","
    "].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var b,c,d;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),b=this.search.get(0),b.createTextRange?(c=b.createTextRange(),c.collapse(!1),c.select()):b.setSelectionRange&&(d=this.search.val().length,b.setSelectionRange(d,d))),this.prefillNextSearchTerm(),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),C.call(this,"selection","focusser")},initContainer:function(){var b,d,e=this.container,f=this.dropdown,g=H();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=e.find(".select2-choice"),this.focusser=e.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+g),this.focusser.attr("aria-labelledby","select2-chosen-"+g),this.results.attr("id","select2-results-"+g),this.search.attr("aria-owns","select2-results-"+g),this.focusser.attr("id","s2id_autogen"+g),d=a("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.on("focus.select2",this.bind(function(){this.focus()})),this.focusser.prev().text(d.text()).attr("for",this.focusser.attr("id"));var h=this.opts.element.attr("title");this.opts.element.attr("title",h||d.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&229!=a.keyCode){if(a.which===M.PAGE_UP||a.which===M.PAGE_DOWN)return void p(a);switch(a.which){case M.UP:case M.DOWN:return this.moveHighlight(a.which===M.UP?-1:1),void p(a);case M.ENTER:return this.selectHighlighted(),void p(a);case M.TAB:return void this.selectHighlighted({noFocus:!0});case M.ESC:return this.cancel(a),void p(a)}}})),this.search.on("blur",this.bind(function(a){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.results&&this.results.length>1&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==M.TAB&&!M.isControl(a)&&!M.isFunctionKey(a)&&a.which!==M.ESC){if(this.opts.openOnEnter===!1&&a.which===M.ENTER)return void p(a);if(a.which==M.DOWN||a.which==M.UP||a.which==M.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),void p(a)}return a.which==M.DELETE||a.which==M.BACKSPACE?(this.opts.allowClear&&this.clear(),void p(a)):void 0}})),j(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),q(a),this.close(),this.selection&&this.selection.focus())})),this.supportsTouchEvents?b.on("mousedown touchstart",this.bind(function(d){c(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),p(d)})):b.on("mousedown",this.bind(function(d){c(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),p(d)})),f.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){p(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var a=this;this.opts.initSelection.call(null,this.opts.element,function(c){c!==b&&null!==c&&(a.updateSelection(c),a.close(),a.setPlaceholder(),a.lastSearchTerm=a.search.val())})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()===b?!1:(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val()},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var h=g(e,b.id(d));return h&&(f=d),h},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return g(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var f=this.opts.minimumResultsForSearch;f>=0&&this.showSearch(A(a.results)>=f)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.lastSearchTerm=this.search.val(),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),g(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var c,d,e=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),e.empty(),null!==a&&(c=this.opts.formatSelection(a,e,this.opts.escapeMarkup)),c!==b&&e.append(c),d=this.opts.formatSelectionCssClass(a,e),d!==b&&e.addClass(d),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1],this.opts.debug&&console&&console.warn&&console.warn('Select2: The second option to `select2("val")` is not supported in Select2 4.0.0. The `change` event will always be triggered in 4.0.0.')),this.select)this.opts.debug&&console&&console.warn&&console.warn('Select2: Setting the value on a "," ","","
    ","
      ","
    ","
    "].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=h(c.val(),b.separator,b.transformVal),f=[];b.query({matcher:function(c,d,h){var i=a.grep(e,function(a){return g(a,b.id(h))}).length;return i&&f.push(h),i},callback:a.isFunction(d)?function(){for(var a=[],c=0;c0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",c,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var a=this;this.opts.initSelection.call(null,this.opts.element,function(c){c!==b&&null!==c&&(a.updateSelection(c),a.close(),a.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),this.prefillNextSearchTerm(),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c={},d=[],e=this;a(b).each(function(){e.id(this)in c||(c[e.id(this)]=0,d.push(this))}),this.selection.find(".select2-search-choice").remove(),this.addSelectedChoice(d),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,b){this.triggerSelect(a)&&""!==a.text&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.lastSearchTerm=this.search.val(),this.clearSearch(),this.updateResults(),!this.select&&this.opts.closeOnSelect||this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.prefillNextSearchTerm()&&this.updateResults(),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),b&&b.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(b){var c=this.getVal(),d=this;a(b).each(function(){c.push(d.createChoice(this))}),this.setVal(c)},createChoice:function(c){var d,e,f=!c.locked,g=a("
  • "),h=a("
  • "),i=f?g:h,j=this.id(c);return d=this.opts.formatSelection(c,i.find("div"),this.opts.escapeMarkup),d!=b&&i.find("div").replaceWith(a("
    ").html(d)),e=this.opts.formatSelectionCssClass(c,i.find("div")),e!=b&&i.addClass(e),f&&i.find(".select2-search-choice-close").on("mousedown",p).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),p(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),i.data("select2-data",c),i.insertBefore(this.searchContainer),j},unselect:function(b){var c,d,f=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(c=b.data("select2-data")){var g=a.Event("select2-removing");if(g.val=this.id(c),g.choice=c,this.opts.element.trigger(g),g.isDefaultPrevented())return!1;for(;(d=e(this.id(c),f))>=0;)f.splice(d,1),this.setVal(f),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),f=this.results.find(".select2-result"),g=this.results.find(".select2-result-with-children"),h=this;f.each2(function(a,b){var c=h.id(b.data("select2-data"));e(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),g.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&this.opts.closeOnSelect===!0&&h.highlight(0),!this.opts.createSearchChoice&&!f.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&y(h.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
  • "+z(h.opts.formatNoMatches,h.opts.element,h.search.val())+"
  • ")},getMaxSearchWidth:function(){return this.selection.width()-i(this.search)},resizeSearch:function(){var a,b,c,d,e,f=i(this.search);a=r(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),h(a,this.opts.separator,this.opts.transformVal))},setVal:function(b){if(this.select)this.select.val(b);else{var c=[],d={};a(b).each(function(){this in d||(c.push(this),d[this]=0)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator))}},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c. Attach to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var d,e,f=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(e=this.data(),b||(b=[]),d=a.map(b,function(a){return f.opts.id(a)}),this.setVal(d),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(e,this.data())),void 0)}}),a.fn.select2=function(){var c,d,f,g,h,i=Array.prototype.slice.call(arguments,0),j=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],k=["opened","isFocused","container","dropdown"],l=["val","data"],m={search:"externalSearch"};return this.each(function(){if(0===i.length||"object"==typeof i[0])c=0===i.length?{}:a.extend({},i[0]),c.element=a(this),"select"===c.element.get(0).tagName.toLowerCase()?h=c.element.prop("multiple"):(h=c.multiple||!1,"tags"in c&&(c.multiple=h=!0)),d=h?new window.Select2["class"].multi:new window.Select2["class"].single,d.init(c);else{if("string"!=typeof i[0])throw"Invalid arguments to select2 plugin: "+i;if(e(i[0],j)<0)throw"Unknown method: "+i[0];if(g=b,d=a(this).data("select2"),d===b)return;if(f=i[0],"container"===f?g=d.container:"dropdown"===f?g=d.dropdown:(m[f]&&(f=m[f]),g=d[f].apply(d,i.slice(1))),e(i[0],k)>=0||e(i[0],l)>=0&&1==i.length)return!1}}),g===b?this:g},a.fn.select2.defaults={debug:!1,width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return t(this.text(a),c.term,e,d),e.join("")},transformVal:function(b){return a.trim(b)},formatSelection:function(a,c,d){return a?d(this.text(a)):b},sortResults:function(a,b,c){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(a,c){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},text:function(b){return b&&this.data&&this.data.text?a.isFunction(this.data.text)?this.data.text(b):b[this.data.text]:b.text},matcher:function(a,b){return d(""+b).toUpperCase().indexOf(d(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:B,escapeMarkup:u,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(a){return null},nextSearchTerm:function(a,c){return b},searchInputPlaceholder:"", +createSearchChoicePosition:"top",shouldFocusInput:function(a){var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return b?!(a.opts.minimumResultsForSearch<0):!0}},a.fn.select2.locales=[],a.fn.select2.locales.en={formatMatches:function(a){return 1===a?"One result is available, press enter to select it.":a+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(a,b,c){return"Loading failed"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(a){return"Loading more results…"},formatSearching:function(){return"Searching…"}},a.extend(a.fn.select2.defaults,a.fn.select2.locales.en),a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:v,local:w,tags:x},util:{debounce:l,markMatch:t,escapeMarkup:u,stripDiacritics:d},"class":{"abstract":E,single:F,multi:G}}}}(jQuery); \ No newline at end of file diff --git a/assets/js/zeroclipboard/jquery.zeroclipboard.min.js b/assets/js/zeroclipboard/jquery.zeroclipboard.min.js index 6f77845220e..fd111824d4d 100644 --- a/assets/js/zeroclipboard/jquery.zeroclipboard.min.js +++ b/assets/js/zeroclipboard/jquery.zeroclipboard.min.js @@ -1,17 +1 @@ -/*! - * jquery.zeroclipboard - * Bind to the `beforecopy`, `copy`, `aftercopy`, and `copy-error` events, custom DOM-like events for clipboard injection generated using jQuery's Special Events API and ZeroClipboard's Core module. - * Copyright (c) 2014 - * Licensed MIT - * https://github.com/zeroclipboard/jquery.zeroclipboard - * v0.2.0 - */ -!function(a,b,c){"use strict";var d,e=!!b.ZeroClipboard;/*! - * ZeroClipboard - * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. - * Copyright (c) 2014 Jon Rohan, James M. Greene - * Licensed MIT - * http://zeroclipboard.org/ - * v2.1.2 - */ -!function(a,b){var c,e=a,f=e.document,g=e.navigator,h=e.setTimeout,i=e.encodeURIComponent,j=e.ActiveXObject,k=e.Number.parseInt||e.parseInt,l=e.Number.parseFloat||e.parseFloat,m=e.Number.isNaN||e.isNaN,n=e.Math.round,o=e.Date.now,p=e.Object.keys,q=e.Object.defineProperty,r=e.Object.prototype.hasOwnProperty,s=e.Array.prototype.slice,t=function(a){return s.call(a,0)},u=function(){var a,c,d,e,f,g,h=t(arguments),i=h[0]||{};for(a=1,c=h.length;c>a;a++)if(null!=(d=h[a]))for(e in d)r.call(d,e)&&(f=i[e],g=d[e],i!==g&&g!==b&&(i[e]=g));return i},v=function(a){var b,c,d,e;if("object"!=typeof a||null==a)b=a;else if("number"==typeof a.length)for(b=[],c=0,d=a.length;d>c;c++)r.call(a,c)&&(b[c]=v(a[c]));else{b={};for(e in a)r.call(a,e)&&(b[e]=v(a[e]))}return b},w=function(a,b){for(var c={},d=0,e=b.length;e>d;d++)b[d]in a&&(c[b[d]]=a[b[d]]);return c},x=function(a,b){var c={};for(var d in a)-1===b.indexOf(d)&&(c[d]=a[d]);return c},y=function(a){if(a)for(var b in a)r.call(a,b)&&delete a[b];return a},z=function(a,b){if(a&&1===a.nodeType&&a.ownerDocument&&b&&(1===b.nodeType&&b.ownerDocument&&b.ownerDocument===a.ownerDocument||9===b.nodeType&&!b.ownerDocument&&b===a.ownerDocument))do{if(a===b)return!0;a=a.parentNode}while(a);return!1},A={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,unavailable:null,deactivated:null,overdue:null,ready:null},B="11.0.0",C={},D={},E=null,F={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate","flash-overdue":"Flash communication was established but NOT within the acceptable time limit"}},G=function(){var a,b,c,d,e="ZeroClipboard.swf";if(!f.currentScript||!(d=f.currentScript.src)){var g=f.getElementsByTagName("script");if("readyState"in g[0])for(a=g.length;a--&&("interactive"!==g[a].readyState||!(d=g[a].src)););else if("loading"===f.readyState)d=g[g.length-1].src;else{for(a=g.length;a--;){if(c=g[a].src,!c){b=null;break}if(c=c.split("#")[0].split("?")[0],c=c.slice(0,c.lastIndexOf("/")+1),null==b)b=c;else if(b!==c){b=null;break}}null!==b&&(d=b)}}return d&&(d=d.split("#")[0].split("?")[0],e=d.slice(0,d.lastIndexOf("/")+1)+e),e}(),H={swfPath:G,trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},I=function(a){if("object"==typeof a&&null!==a)for(var b in a)if(r.call(a,b))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(b))H[b]=a[b];else if(null==A.bridge)if("containerId"===b||"swfObjectId"===b){if(!X(a[b]))throw new Error("The specified `"+b+"` value is not valid as an HTML4 Element ID");H[b]=a[b]}else H[b]=a[b];{if("string"!=typeof a||!a)return v(H);if(r.call(H,a))return H[a]}},J=function(){return{browser:w(g,["userAgent","platform","appName"]),flash:x(A,["bridge"]),zeroclipboard:{version:ya.version,config:ya.config()}}},K=function(){return!!(A.disabled||A.outdated||A.unavailable||A.deactivated)},L=function(a,b){var c,d,e,f={};if("string"==typeof a&&a)e=a.toLowerCase().split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)r.call(a,c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&ya.on(c,a[c]);if(e&&e.length){for(c=0,d=e.length;d>c;c++)a=e[c].replace(/^on/,""),f[a]=!0,C[a]||(C[a]=[]),C[a].push(b);if(f.ready&&A.ready&&ya.emit({type:"ready"}),f.error){var g=["disabled","outdated","unavailable","deactivated","overdue"];for(c=0,d=g.length;d>c;c++)if(A[g[c]]===!0){ya.emit({type:"error",name:"flash-"+g[c]});break}}}return ya},M=function(a,b){var c,d,e,f,g;if(0===arguments.length)f=p(C);else if("string"==typeof a&&a)f=a.split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)r.call(a,c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&ya.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=C[a],g&&g.length)if(b)for(e=g.indexOf(b);-1!==e;)g.splice(e,1),e=g.indexOf(b,e);else g.length=0;return ya},N=function(a){var b;return b="string"==typeof a&&a?v(C[a])||null:v(C)},O=function(a){var b,c,d;return a=Y(a),a&&!ca(a)?"ready"===a.type&&A.overdue===!0?ya.emit({type:"error",name:"flash-overdue"}):(b=u({},a),ba.call(this,b),"copy"===a.type&&(d=ia(D),c=d.data,E=d.formatMap),c):void 0},P=function(){if("boolean"!=typeof A.ready&&(A.ready=!1),!ya.isFlashUnusable()&&null===A.bridge){var a=H.flashLoadTimeout;"number"==typeof a&&a>=0&&h(function(){"boolean"!=typeof A.deactivated&&(A.deactivated=!0),A.deactivated===!0&&ya.emit({type:"error",name:"flash-deactivated"})},a),A.overdue=!1,ga()}},Q=function(){ya.clearData(),ya.blur(),ya.emit("destroy"),ha(),ya.off()},R=function(a,b){var c;if("object"==typeof a&&a&&"undefined"==typeof b)c=a,ya.clearData();else{if("string"!=typeof a||!a)return;c={},c[a]=b}for(var d in c)"string"==typeof d&&d&&r.call(c,d)&&"string"==typeof c[d]&&c[d]&&(D[d]=c[d])},S=function(a){"undefined"==typeof a?(y(D),E=null):"string"==typeof a&&r.call(D,a)&&delete D[a]},T=function(a){return"undefined"==typeof a?v(D):"string"==typeof a&&r.call(D,a)?D[a]:void 0},U=function(a){if(a&&1===a.nodeType){c&&(qa(c,H.activeClass),c!==a&&qa(c,H.hoverClass)),c=a,pa(a,H.hoverClass);var b=a.getAttribute("title")||H.title;if("string"==typeof b&&b){var d=fa(A.bridge);d&&d.setAttribute("title",b)}var e=H.forceHandCursor===!0||"pointer"===ra(a,"cursor");va(e),ua()}},V=function(){var a=fa(A.bridge);a&&(a.removeAttribute("title"),a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.top="1px"),c&&(qa(c,H.hoverClass),qa(c,H.activeClass),c=null)},W=function(){return c||null},X=function(a){return"string"==typeof a&&a&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(a)},Y=function(a){var b;if("string"==typeof a&&a?(b=a,a={}):"object"==typeof a&&a&&"string"==typeof a.type&&a.type&&(b=a.type),b){u(a,{type:b.toLowerCase(),target:a.target||c||null,relatedTarget:a.relatedTarget||null,currentTarget:A&&A.bridge||null,timeStamp:a.timeStamp||o()||null});var d=F[a.type];return"error"===a.type&&a.name&&d&&(d=d[a.name]),d&&(a.message=d),"ready"===a.type&&u(a,{target:null,version:A.version}),"error"===a.type&&(/^flash-(disabled|outdated|unavailable|deactivated|overdue)$/.test(a.name)&&u(a,{target:null,minimumVersion:B}),/^flash-(outdated|unavailable|deactivated|overdue)$/.test(a.name)&&u(a,{version:A.version})),"copy"===a.type&&(a.clipboardData={setData:ya.setData,clearData:ya.clearData}),"aftercopy"===a.type&&(a=ja(a,E)),a.target&&!a.relatedTarget&&(a.relatedTarget=Z(a.target)),a=$(a)}},Z=function(a){var b=a&&a.getAttribute&&a.getAttribute("data-clipboard-target");return b?f.getElementById(b):null},$=function(a){if(a&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)){var c=a.target,d="_mouseover"===a.type&&a.relatedTarget?a.relatedTarget:b,g="_mouseout"===a.type&&a.relatedTarget?a.relatedTarget:b,h=ta(c),i=e.screenLeft||e.screenX||0,j=e.screenTop||e.screenY||0,k=f.body.scrollLeft+f.documentElement.scrollLeft,l=f.body.scrollTop+f.documentElement.scrollTop,m=h.left+("number"==typeof a._stageX?a._stageX:0),n=h.top+("number"==typeof a._stageY?a._stageY:0),o=m-k,p=n-l,q=i+o,r=j+p,s="number"==typeof a.movementX?a.movementX:0,t="number"==typeof a.movementY?a.movementY:0;delete a._stageX,delete a._stageY,u(a,{srcElement:c,fromElement:d,toElement:g,screenX:q,screenY:r,pageX:m,pageY:n,clientX:o,clientY:p,x:o,y:p,movementX:s,movementY:t,offsetX:0,offsetY:0,layerX:0,layerY:0})}return a},_=function(a){var b=a&&"string"==typeof a.type&&a.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(b)},aa=function(a,b,c,d){d?h(function(){a.apply(b,c)},0):a.apply(b,c)},ba=function(a){if("object"==typeof a&&a&&a.type){var b=_(a),c=C["*"]||[],d=C[a.type]||[],f=c.concat(d);if(f&&f.length){var g,h,i,j,k,l=this;for(g=0,h=f.length;h>g;g++)i=f[g],j=l,"string"==typeof i&&"function"==typeof e[i]&&(i=e[i]),"object"==typeof i&&i&&"function"==typeof i.handleEvent&&(j=i,i=i.handleEvent),"function"==typeof i&&(k=u({},a),aa(i,j,[k],b))}return this}},ca=function(a){var b=a.target||c||null,d="swf"===a._source;delete a._source;var e=["flash-disabled","flash-outdated","flash-unavailable","flash-deactivated","flash-overdue"];switch(a.type){case"error":-1!==e.indexOf(a.name)&&u(A,{disabled:"flash-disabled"===a.name,outdated:"flash-outdated"===a.name,unavailable:"flash-unavailable"===a.name,deactivated:"flash-deactivated"===a.name,overdue:"flash-overdue"===a.name,ready:!1});break;case"ready":var f=A.deactivated===!0;u(A,{disabled:!1,outdated:!1,unavailable:!1,deactivated:!1,overdue:f,ready:!f});break;case"copy":var g,h,i=a.relatedTarget;!D["text/html"]&&!D["text/plain"]&&i&&(h=i.value||i.outerHTML||i.innerHTML)&&(g=i.value||i.textContent||i.innerText)?(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g),h!==g&&a.clipboardData.setData("text/html",h)):!D["text/plain"]&&a.target&&(g=a.target.getAttribute("data-clipboard-text"))&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g));break;case"aftercopy":ya.clearData(),b&&b!==oa()&&b.focus&&b.focus();break;case"_mouseover":ya.focus(b),H.bubbleEvents===!0&&d&&(b&&b!==a.relatedTarget&&!z(a.relatedTarget,b)&&da(u({},a,{type:"mouseenter",bubbles:!1,cancelable:!1})),da(u({},a,{type:"mouseover"})));break;case"_mouseout":ya.blur(),H.bubbleEvents===!0&&d&&(b&&b!==a.relatedTarget&&!z(a.relatedTarget,b)&&da(u({},a,{type:"mouseleave",bubbles:!1,cancelable:!1})),da(u({},a,{type:"mouseout"})));break;case"_mousedown":pa(b,H.activeClass),H.bubbleEvents===!0&&d&&da(u({},a,{type:a.type.slice(1)}));break;case"_mouseup":qa(b,H.activeClass),H.bubbleEvents===!0&&d&&da(u({},a,{type:a.type.slice(1)}));break;case"_click":case"_mousemove":H.bubbleEvents===!0&&d&&da(u({},a,{type:a.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)?!0:void 0},da=function(a){if(a&&"string"==typeof a.type&&a){var b,c=a.target||null,d=c&&c.ownerDocument||f,g={view:d.defaultView||e,canBubble:!0,cancelable:!0,detail:"click"===a.type?1:0,button:"number"==typeof a.which?a.which-1:"number"==typeof a.button?a.button:d.createEvent?0:1},h=u(g,a);c&&d.createEvent&&c.dispatchEvent&&(h=[h.type,h.canBubble,h.cancelable,h.view,h.detail,h.screenX,h.screenY,h.clientX,h.clientY,h.ctrlKey,h.altKey,h.shiftKey,h.metaKey,h.button,h.relatedTarget],b=d.createEvent("MouseEvents"),b.initMouseEvent&&(b.initMouseEvent.apply(b,h),b._source="js",c.dispatchEvent(b)))}},ea=function(){var a=f.createElement("div");return a.id=H.containerId,a.className=H.containerClass,a.style.position="absolute",a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px",a.style.zIndex=""+wa(H.zIndex),a},fa=function(a){for(var b=a&&a.parentNode;b&&"OBJECT"===b.nodeName&&b.parentNode;)b=b.parentNode;return b||null},ga=function(){var a,b=A.bridge,c=fa(b);if(!b){var d=na(e.location.host,H),g="never"===d?"none":"all",h=la(H),i=H.swfPath+ka(H.swfPath,H);c=ea();var j=f.createElement("div");c.appendChild(j),f.body.appendChild(c);var k=f.createElement("div"),l="activex"===A.pluginType;k.innerHTML='"+(l?'':"")+'',b=k.firstChild,k=null,b.ZeroClipboard=ya,c.replaceChild(b,j)}return b||(b=f[H.swfObjectId],b&&(a=b.length)&&(b=b[a-1]),!b&&c&&(b=c.firstChild)),A.bridge=b||null,b},ha=function(){var a=A.bridge;if(a){var b=fa(a);b&&("activex"===A.pluginType&&"readyState"in a?(a.style.display="none",function c(){if(4===a.readyState){for(var d in a)"function"==typeof a[d]&&(a[d]=null);a.parentNode&&a.parentNode.removeChild(a),b.parentNode&&b.parentNode.removeChild(b)}else h(c,10)}()):(a.parentNode&&a.parentNode.removeChild(a),b.parentNode&&b.parentNode.removeChild(b))),A.ready=null,A.bridge=null,A.deactivated=null}},ia=function(a){var b={},c={};if("object"==typeof a&&a){for(var d in a)if(d&&r.call(a,d)&&"string"==typeof a[d]&&a[d])switch(d.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":b.text=a[d],c.text=d;break;case"text/html":case"html":case"air:html":case"flash:html":b.html=a[d],c.html=d;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":b.rtf=a[d],c.rtf=d}return{data:b,formatMap:c}}},ja=function(a,b){if("object"!=typeof a||!a||"object"!=typeof b||!b)return a;var c={};for(var d in a)if(r.call(a,d)){if("success"!==d&&"data"!==d){c[d]=a[d];continue}c[d]={};var e=a[d];for(var f in e)f&&r.call(e,f)&&r.call(b,f)&&(c[d][b[f]]=e[f])}return c},ka=function(a,b){var c=null==b||b&&b.cacheBust===!0;return c?(-1===a.indexOf("?")?"?":"&")+"noCache="+o():""},la=function(a){var b,c,d,f,g="",h=[];if(a.trustedDomains&&("string"==typeof a.trustedDomains?f=[a.trustedDomains]:"object"==typeof a.trustedDomains&&"length"in a.trustedDomains&&(f=a.trustedDomains)),f&&f.length)for(b=0,c=f.length;c>b;b++)if(r.call(f,b)&&f[b]&&"string"==typeof f[b]){if(d=ma(f[b]),!d)continue;if("*"===d){h.length=0,h.push(d);break}h.push.apply(h,[d,"//"+d,e.location.protocol+"//"+d])}return h.length&&(g+="trustedOrigins="+i(h.join(","))),a.forceEnhancedClipboard===!0&&(g+=(g?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof a.swfObjectId&&a.swfObjectId&&(g+=(g?"&":"")+"swfObjectId="+i(a.swfObjectId)),g},ma=function(a){if(null==a||""===a)return null;if(a=a.replace(/^\s+|\s+$/g,""),""===a)return null;var b=a.indexOf("//");a=-1===b?a:a.slice(b+2);var c=a.indexOf("/");return a=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},na=function(){var a=function(a){var b,c,d,e=[];if("string"==typeof a&&(a=[a]),"object"!=typeof a||!a||"number"!=typeof a.length)return e;for(b=0,c=a.length;c>b;b++)if(r.call(a,b)&&(d=ma(a[b]))){if("*"===d){e.length=0,e.push("*");break}-1===e.indexOf(d)&&e.push(d)}return e};return function(b,c){var d=ma(c.swfPath);null===d&&(d=b);var e=a(c.trustedDomains),f=e.length;if(f>0){if(1===f&&"*"===e[0])return"always";if(-1!==e.indexOf(b))return 1===f&&b===d?"sameDomain":"always"}return"never"}}(),oa=function(){try{return f.activeElement}catch(a){return null}},pa=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)||a.classList.add(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},qa=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)&&a.classList.remove(b),a;if("string"==typeof b&&b){var c=b.split(/\s+/);if(1===a.nodeType&&a.className){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}}return a},ra=function(a,b){var c=e.getComputedStyle(a,null).getPropertyValue(b);return"cursor"!==b||c&&"auto"!==c||"A"!==a.nodeName?c:"pointer"},sa=function(){var a,b,c,d=1;return"function"==typeof f.body.getBoundingClientRect&&(a=f.body.getBoundingClientRect(),b=a.right-a.left,c=f.body.offsetWidth,d=n(b/c*100)/100),d},ta=function(a){var b={left:0,top:0,width:0,height:0};if(a.getBoundingClientRect){var c,d,g,h=a.getBoundingClientRect();"pageXOffset"in e&&"pageYOffset"in e?(c=e.pageXOffset,d=e.pageYOffset):(g=sa(),c=n(f.documentElement.scrollLeft/g),d=n(f.documentElement.scrollTop/g));var i=f.documentElement.clientLeft||0,j=f.documentElement.clientTop||0;b.left=h.left+c-i,b.top=h.top+d-j,b.width="width"in h?h.width:h.right-h.left,b.height="height"in h?h.height:h.bottom-h.top}return b},ua=function(){var a;if(c&&(a=fa(A.bridge))){var b=ta(c);u(a.style,{width:b.width+"px",height:b.height+"px",top:b.top+"px",left:b.left+"px",zIndex:""+wa(H.zIndex)})}},va=function(a){A.ready===!0&&(A.bridge&&"function"==typeof A.bridge.setHandCursor?A.bridge.setHandCursor(a):A.ready=!1)},wa=function(a){if(/^(?:auto|inherit)$/.test(a))return a;var b;return"number"!=typeof a||m(a)?"string"==typeof a&&(b=wa(k(a,10))):b=a,"number"==typeof b?b:"auto"},xa=function(a){function b(a){var b=a.match(/[\d]+/g);return b.length=3,b.join(".")}function c(a){return!!a&&(a=a.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(a)||"chrome.plugin"===a.slice(-13))}function d(a){a&&(i=!0,a.version&&(m=b(a.version)),!m&&a.description&&(m=b(a.description)),a.filename&&(k=c(a.filename)))}var e,f,h,i=!1,j=!1,k=!1,m="";if(g.plugins&&g.plugins.length)e=g.plugins["Shockwave Flash"],d(e),g.plugins["Shockwave Flash 2.0"]&&(i=!0,m="2.0.0.11");else if(g.mimeTypes&&g.mimeTypes.length)h=g.mimeTypes["application/x-shockwave-flash"],e=h&&h.enabledPlugin,d(e);else if("undefined"!=typeof a){j=!0;try{f=new a("ShockwaveFlash.ShockwaveFlash.7"),i=!0,m=b(f.GetVariable("$version"))}catch(n){try{f=new a("ShockwaveFlash.ShockwaveFlash.6"),i=!0,m="6.0.21"}catch(o){try{f=new a("ShockwaveFlash.ShockwaveFlash"),i=!0,m=b(f.GetVariable("$version"))}catch(p){j=!1}}}}A.disabled=i!==!0,A.outdated=m&&l(m)g;g++)a=e.getRangeAt(g),c+=a.toString(),f.appendChild(a.cloneContents());return d["text/plain"]=c,c.replace(/\s/g,"")&&(d["text/html"]=f.innerHTML),d}function e(a){if("string"!=typeof a||!a)return null;var b,c,d=a;return d=d.replace(/<(?:hr)(?:\s+[^>]*)?\s*[\/]?>/gi,"{\\pard \\brdrb \\brdrs \\brdrw10 \\brsp20 \\par}\n{\\pard\\par}\n"),d=d.replace(/<(?:br)(?:\s+[^>]*)?\s*[\/]?>/gi,"{\\pard\\par}\n"),d=d.replace(/<(?:p|div|section|article)(?:\s+[^>]*)?\s*[\/]>/gi,"{\\pard\\par}\n"),d=d.replace(/<(?:[^>]+)\/>/g,""),d=d.replace(/]*)?(?:\s+href=(["'])(?:javascript:void\(0?\);?|#|return false;?|void\(0?\);?|)\1)(?:\s+[^>]*)?>/gi,"{{{\n"),b=d,d=d.replace(/]*)?(?:\s+href=(["'])(.+)\1)(?:\s+[^>]*)?>/gi,'{\\field{\\*\\fldinst{HYPERLINK\n "$2"\n}}{\\fldrslt{\\ul\\cf1\n'),c=d!==b,d=d.replace(/]*)?>/gi,"{{{\n"),d=d.replace(/<\/a(?:\s+[^>]*)?>/gi,"\n}}}"),d=d.replace(/<(?:b|strong)(?:\s+[^>]*)?>/gi,"{\\b\n"),d=d.replace(/<(?:i|em)(?:\s+[^>]*)?>/gi,"{\\i\n"),d=d.replace(/<(?:u|ins)(?:\s+[^>]*)?>/gi,"{\\ul\n"),d=d.replace(/<(?:strike|del)(?:\s+[^>]*)?>/gi,"{\\strike\n"),d=d.replace(/]*)?>/gi,"{\\super\n"),d=d.replace(/]*)?>/gi,"{\\sub\n"),d=d.replace(/<(?:p|div|section|article)(?:\s+[^>]*)?>/gi,"{\\pard\n"),d=d.replace(/<\/(?:p|div|section|article)(?:\s+[^>]*)?>/gi,"\n\\par}\n"),d=d.replace(/<\/(?:b|strong|i|em|u|ins|strike|del|sup|sub)(?:\s+[^>]*)?>/gi,"\n}"),d=d.replace(/<(?:[^>]+)>/g,""),d="{\\rtf1\\ansi\n"+(c?"{\\colortbl\n;\n\\red0\\green0\\blue255;\n}\n":"")+d+"\n}"}function f(b){var c=a.Event(b.type,a.extend(b,{_source:"swf"}));if(a(b.target).trigger(c),"copy"===c.type){if(a.event.special.copy.options.requirePreventDefault===!0&&!c.isDefaultPrevented()){b.clipboardData.clearData();var f=d();(f["text/plain"]||f["text/html"])&&b.clipboardData.setData(f)}var g=o.getData();if(a.event.special.copy.options.autoConvertHtmlToRtf===!0&&g["text/html"]&&!g["application/rtf"]){var h=e(g["text/html"]);b.clipboardData.setData("application/rtf",h)}}}function g(b){var c=a.Event("copy-error",a.extend(b,{type:"copy-error",_source:"swf"}));a(b.target).trigger(c)}function h(){a.event.props.push("clipboardData"),o.config(a.extend(!0,{autoActivate:!1},q.options)),o.on("beforecopy copy aftercopy",f),o.on("error",g),o.create()}function i(){o.destroy();var b=a.event.props.indexOf("clipboardData");-1!==b&&a.event.props.splice(b,1)}function j(b){l(b),b.target&&b.target!==o.activeElement()&&b.target!==a("#"+o.config("containerId"))[0]&&b.target!==a("#"+o.config("swfObjectId"))[0]&&o.focus(b.target)}function k(b){l(b),b.relatedTarget&&b.relatedTarget!==o.activeElement()&&b.relatedTarget!==a("#"+o.config("containerId"))[0]&&b.relatedTarget!==a("#"+o.config("swfObjectId"))[0]&&o.blur()}function l(a){o.isFlashUnusable()||"js"===a.originalEvent._source||(a.stopImmediatePropagation(),a.preventDefault())}var m=0,n=".zeroclipboard",o=b.ZeroClipboard,p=o.config("trustedDomains"),q={add:function(b){0===m++&&h();var c=n+(b.namespace?"."+b.namespace:""),d=b.selector,e="zc|{"+d+"}|{"+c+"}|count",f=a(this);"number"!=typeof f.data(e)&&f.data(e,0),0===f.data(e)&&(f.on("mouseenter"+c,d,j),f.on("mouseleave"+c,d,k),f.on("mouseover"+c,d,l),f.on("mouseout"+c,d,l),f.on("mousemove"+c,d,l),f.on("mousedown"+c,d,l),f.on("mouseup"+c,d,l),f.on("click"+c,d,l)),f.data(e,f.data(e)+1)},remove:function(b){var c=n+(b.namespace?"."+b.namespace:""),d=b.selector,e="zc|{"+d+"}|{"+c+"}|count",f=a(this);f.data(e,f.data(e)-1),0===f.data(e)&&(f.off("click"+c,d,l),f.off("mouseup"+c,d,l),f.off("mousedown"+c,d,l),f.off("mousemove"+c,d,l),f.off("mouseout"+c,d,l),f.off("mouseover"+c,d,l),f.off("mouseleave"+c,d,k),f.off("mouseenter"+c,d,j),f.removeData(e)),0===--m&&i()},trigger:function(b){if("copy"===b.type){var c=a(this),d="swf"===b._source;delete b._source,d||(c.trigger(a.extend(!0,{},b,{type:"beforecopy"})),c.one("copy",function(){var d={},e=o.getData();a.each(e,function(a){d[a]=!1});var f=a.extend(!0,{},b,{type:"aftercopy",data:a.extend(!0,{},e),success:d});c.trigger(f)}))}},_default:function(){return!0},options:{requirePreventDefault:!0,autoConvertHtmlToRtf:!0,trustedDomains:p,hoverClass:"hover",activeClass:"active"}};a.event.special.beforecopy=q,a.event.special.copy=q,a.event.special.aftercopy=q,a.event.special["copy-error"]=q}(jQuery,function(){return this||b}()),e||delete b.ZeroClipboard}(jQuery,function(){return this||window}()); \ No newline at end of file +!function(a,b,c){"use strict";var d,e=!!b.ZeroClipboard;!function(a,b){var c,e=a,f=e.document,g=e.navigator,h=e.setTimeout,i=e.encodeURIComponent,j=e.ActiveXObject,k=e.Number.parseInt||e.parseInt,l=e.Number.parseFloat||e.parseFloat,m=e.Number.isNaN||e.isNaN,n=e.Math.round,o=e.Date.now,p=e.Object.keys,q=e.Object.defineProperty,r=e.Object.prototype.hasOwnProperty,s=e.Array.prototype.slice,t=function(a){return s.call(a,0)},u=function(){var a,c,d,e,f,g,h=t(arguments),i=h[0]||{};for(a=1,c=h.length;c>a;a++)if(null!=(d=h[a]))for(e in d)r.call(d,e)&&(f=i[e],g=d[e],i!==g&&g!==b&&(i[e]=g));return i},v=function(a){var b,c,d,e;if("object"!=typeof a||null==a)b=a;else if("number"==typeof a.length)for(b=[],c=0,d=a.length;d>c;c++)r.call(a,c)&&(b[c]=v(a[c]));else{b={};for(e in a)r.call(a,e)&&(b[e]=v(a[e]))}return b},w=function(a,b){for(var c={},d=0,e=b.length;e>d;d++)b[d]in a&&(c[b[d]]=a[b[d]]);return c},x=function(a,b){var c={};for(var d in a)-1===b.indexOf(d)&&(c[d]=a[d]);return c},y=function(a){if(a)for(var b in a)r.call(a,b)&&delete a[b];return a},z=function(a,b){if(a&&1===a.nodeType&&a.ownerDocument&&b&&(1===b.nodeType&&b.ownerDocument&&b.ownerDocument===a.ownerDocument||9===b.nodeType&&!b.ownerDocument&&b===a.ownerDocument))do{if(a===b)return!0;a=a.parentNode}while(a);return!1},A={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,unavailable:null,deactivated:null,overdue:null,ready:null},B="11.0.0",C={},D={},E=null,F={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate","flash-overdue":"Flash communication was established but NOT within the acceptable time limit"}},G=function(){var a,b,c,d,e="ZeroClipboard.swf";if(!f.currentScript||!(d=f.currentScript.src)){var g=f.getElementsByTagName("script");if("readyState"in g[0])for(a=g.length;a--&&("interactive"!==g[a].readyState||!(d=g[a].src)););else if("loading"===f.readyState)d=g[g.length-1].src;else{for(a=g.length;a--;){if(c=g[a].src,!c){b=null;break}if(c=c.split("#")[0].split("?")[0],c=c.slice(0,c.lastIndexOf("/")+1),null==b)b=c;else if(b!==c){b=null;break}}null!==b&&(d=b)}}return d&&(d=d.split("#")[0].split("?")[0],e=d.slice(0,d.lastIndexOf("/")+1)+e),e}(),H={swfPath:G,trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},I=function(a){if("object"==typeof a&&null!==a)for(var b in a)if(r.call(a,b))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(b))H[b]=a[b];else if(null==A.bridge)if("containerId"===b||"swfObjectId"===b){if(!X(a[b]))throw new Error("The specified `"+b+"` value is not valid as an HTML4 Element ID");H[b]=a[b]}else H[b]=a[b];{if("string"!=typeof a||!a)return v(H);if(r.call(H,a))return H[a]}},J=function(){return{browser:w(g,["userAgent","platform","appName"]),flash:x(A,["bridge"]),zeroclipboard:{version:ya.version,config:ya.config()}}},K=function(){return!!(A.disabled||A.outdated||A.unavailable||A.deactivated)},L=function(a,b){var c,d,e,f={};if("string"==typeof a&&a)e=a.toLowerCase().split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)r.call(a,c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&ya.on(c,a[c]);if(e&&e.length){for(c=0,d=e.length;d>c;c++)a=e[c].replace(/^on/,""),f[a]=!0,C[a]||(C[a]=[]),C[a].push(b);if(f.ready&&A.ready&&ya.emit({type:"ready"}),f.error){var g=["disabled","outdated","unavailable","deactivated","overdue"];for(c=0,d=g.length;d>c;c++)if(A[g[c]]===!0){ya.emit({type:"error",name:"flash-"+g[c]});break}}}return ya},M=function(a,b){var c,d,e,f,g;if(0===arguments.length)f=p(C);else if("string"==typeof a&&a)f=a.split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)r.call(a,c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&ya.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=C[a],g&&g.length)if(b)for(e=g.indexOf(b);-1!==e;)g.splice(e,1),e=g.indexOf(b,e);else g.length=0;return ya},N=function(a){var b;return b="string"==typeof a&&a?v(C[a])||null:v(C)},O=function(a){var b,c,d;return a=Y(a),a&&!ca(a)?"ready"===a.type&&A.overdue===!0?ya.emit({type:"error",name:"flash-overdue"}):(b=u({},a),ba.call(this,b),"copy"===a.type&&(d=ia(D),c=d.data,E=d.formatMap),c):void 0},P=function(){if("boolean"!=typeof A.ready&&(A.ready=!1),!ya.isFlashUnusable()&&null===A.bridge){var a=H.flashLoadTimeout;"number"==typeof a&&a>=0&&h(function(){"boolean"!=typeof A.deactivated&&(A.deactivated=!0),A.deactivated===!0&&ya.emit({type:"error",name:"flash-deactivated"})},a),A.overdue=!1,ga()}},Q=function(){ya.clearData(),ya.blur(),ya.emit("destroy"),ha(),ya.off()},R=function(a,b){var c;if("object"==typeof a&&a&&"undefined"==typeof b)c=a,ya.clearData();else{if("string"!=typeof a||!a)return;c={},c[a]=b}for(var d in c)"string"==typeof d&&d&&r.call(c,d)&&"string"==typeof c[d]&&c[d]&&(D[d]=c[d])},S=function(a){"undefined"==typeof a?(y(D),E=null):"string"==typeof a&&r.call(D,a)&&delete D[a]},T=function(a){return"undefined"==typeof a?v(D):"string"==typeof a&&r.call(D,a)?D[a]:void 0},U=function(a){if(a&&1===a.nodeType){c&&(qa(c,H.activeClass),c!==a&&qa(c,H.hoverClass)),c=a,pa(a,H.hoverClass);var b=a.getAttribute("title")||H.title;if("string"==typeof b&&b){var d=fa(A.bridge);d&&d.setAttribute("title",b)}var e=H.forceHandCursor===!0||"pointer"===ra(a,"cursor");va(e),ua()}},V=function(){var a=fa(A.bridge);a&&(a.removeAttribute("title"),a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.top="1px"),c&&(qa(c,H.hoverClass),qa(c,H.activeClass),c=null)},W=function(){return c||null},X=function(a){return"string"==typeof a&&a&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(a)},Y=function(a){var b;if("string"==typeof a&&a?(b=a,a={}):"object"==typeof a&&a&&"string"==typeof a.type&&a.type&&(b=a.type),b){u(a,{type:b.toLowerCase(),target:a.target||c||null,relatedTarget:a.relatedTarget||null,currentTarget:A&&A.bridge||null,timeStamp:a.timeStamp||o()||null});var d=F[a.type];return"error"===a.type&&a.name&&d&&(d=d[a.name]),d&&(a.message=d),"ready"===a.type&&u(a,{target:null,version:A.version}),"error"===a.type&&(/^flash-(disabled|outdated|unavailable|deactivated|overdue)$/.test(a.name)&&u(a,{target:null,minimumVersion:B}),/^flash-(outdated|unavailable|deactivated|overdue)$/.test(a.name)&&u(a,{version:A.version})),"copy"===a.type&&(a.clipboardData={setData:ya.setData,clearData:ya.clearData}),"aftercopy"===a.type&&(a=ja(a,E)),a.target&&!a.relatedTarget&&(a.relatedTarget=Z(a.target)),a=$(a)}},Z=function(a){var b=a&&a.getAttribute&&a.getAttribute("data-clipboard-target");return b?f.getElementById(b):null},$=function(a){if(a&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)){var c=a.target,d="_mouseover"===a.type&&a.relatedTarget?a.relatedTarget:b,g="_mouseout"===a.type&&a.relatedTarget?a.relatedTarget:b,h=ta(c),i=e.screenLeft||e.screenX||0,j=e.screenTop||e.screenY||0,k=f.body.scrollLeft+f.documentElement.scrollLeft,l=f.body.scrollTop+f.documentElement.scrollTop,m=h.left+("number"==typeof a._stageX?a._stageX:0),n=h.top+("number"==typeof a._stageY?a._stageY:0),o=m-k,p=n-l,q=i+o,r=j+p,s="number"==typeof a.movementX?a.movementX:0,t="number"==typeof a.movementY?a.movementY:0;delete a._stageX,delete a._stageY,u(a,{srcElement:c,fromElement:d,toElement:g,screenX:q,screenY:r,pageX:m,pageY:n,clientX:o,clientY:p,x:o,y:p,movementX:s,movementY:t,offsetX:0,offsetY:0,layerX:0,layerY:0})}return a},_=function(a){var b=a&&"string"==typeof a.type&&a.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(b)},aa=function(a,b,c,d){d?h(function(){a.apply(b,c)},0):a.apply(b,c)},ba=function(a){if("object"==typeof a&&a&&a.type){var b=_(a),c=C["*"]||[],d=C[a.type]||[],f=c.concat(d);if(f&&f.length){var g,h,i,j,k,l=this;for(g=0,h=f.length;h>g;g++)i=f[g],j=l,"string"==typeof i&&"function"==typeof e[i]&&(i=e[i]),"object"==typeof i&&i&&"function"==typeof i.handleEvent&&(j=i,i=i.handleEvent),"function"==typeof i&&(k=u({},a),aa(i,j,[k],b))}return this}},ca=function(a){var b=a.target||c||null,d="swf"===a._source;delete a._source;var e=["flash-disabled","flash-outdated","flash-unavailable","flash-deactivated","flash-overdue"];switch(a.type){case"error":-1!==e.indexOf(a.name)&&u(A,{disabled:"flash-disabled"===a.name,outdated:"flash-outdated"===a.name,unavailable:"flash-unavailable"===a.name,deactivated:"flash-deactivated"===a.name,overdue:"flash-overdue"===a.name,ready:!1});break;case"ready":var f=A.deactivated===!0;u(A,{disabled:!1,outdated:!1,unavailable:!1,deactivated:!1,overdue:f,ready:!f});break;case"copy":var g,h,i=a.relatedTarget;!D["text/html"]&&!D["text/plain"]&&i&&(h=i.value||i.outerHTML||i.innerHTML)&&(g=i.value||i.textContent||i.innerText)?(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g),h!==g&&a.clipboardData.setData("text/html",h)):!D["text/plain"]&&a.target&&(g=a.target.getAttribute("data-clipboard-text"))&&(a.clipboardData.clearData(),a.clipboardData.setData("text/plain",g));break;case"aftercopy":ya.clearData(),b&&b!==oa()&&b.focus&&b.focus();break;case"_mouseover":ya.focus(b),H.bubbleEvents===!0&&d&&(b&&b!==a.relatedTarget&&!z(a.relatedTarget,b)&&da(u({},a,{type:"mouseenter",bubbles:!1,cancelable:!1})),da(u({},a,{type:"mouseover"})));break;case"_mouseout":ya.blur(),H.bubbleEvents===!0&&d&&(b&&b!==a.relatedTarget&&!z(a.relatedTarget,b)&&da(u({},a,{type:"mouseleave",bubbles:!1,cancelable:!1})),da(u({},a,{type:"mouseout"})));break;case"_mousedown":pa(b,H.activeClass),H.bubbleEvents===!0&&d&&da(u({},a,{type:a.type.slice(1)}));break;case"_mouseup":qa(b,H.activeClass),H.bubbleEvents===!0&&d&&da(u({},a,{type:a.type.slice(1)}));break;case"_click":case"_mousemove":H.bubbleEvents===!0&&d&&da(u({},a,{type:a.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(a.type)?!0:void 0},da=function(a){if(a&&"string"==typeof a.type&&a){var b,c=a.target||null,d=c&&c.ownerDocument||f,g={view:d.defaultView||e,canBubble:!0,cancelable:!0,detail:"click"===a.type?1:0,button:"number"==typeof a.which?a.which-1:"number"==typeof a.button?a.button:d.createEvent?0:1},h=u(g,a);c&&d.createEvent&&c.dispatchEvent&&(h=[h.type,h.canBubble,h.cancelable,h.view,h.detail,h.screenX,h.screenY,h.clientX,h.clientY,h.ctrlKey,h.altKey,h.shiftKey,h.metaKey,h.button,h.relatedTarget],b=d.createEvent("MouseEvents"),b.initMouseEvent&&(b.initMouseEvent.apply(b,h),b._source="js",c.dispatchEvent(b)))}},ea=function(){var a=f.createElement("div");return a.id=H.containerId,a.className=H.containerClass,a.style.position="absolute",a.style.left="0px",a.style.top="-9999px",a.style.width="1px",a.style.height="1px",a.style.zIndex=""+wa(H.zIndex),a},fa=function(a){for(var b=a&&a.parentNode;b&&"OBJECT"===b.nodeName&&b.parentNode;)b=b.parentNode;return b||null},ga=function(){var a,b=A.bridge,c=fa(b);if(!b){var d=na(e.location.host,H),g="never"===d?"none":"all",h=la(H),i=H.swfPath+ka(H.swfPath,H);c=ea();var j=f.createElement("div");c.appendChild(j),f.body.appendChild(c);var k=f.createElement("div"),l="activex"===A.pluginType;k.innerHTML='"+(l?'':"")+'',b=k.firstChild,k=null,b.ZeroClipboard=ya,c.replaceChild(b,j)}return b||(b=f[H.swfObjectId],b&&(a=b.length)&&(b=b[a-1]),!b&&c&&(b=c.firstChild)),A.bridge=b||null,b},ha=function(){var a=A.bridge;if(a){var b=fa(a);b&&("activex"===A.pluginType&&"readyState"in a?(a.style.display="none",function c(){if(4===a.readyState){for(var d in a)"function"==typeof a[d]&&(a[d]=null);a.parentNode&&a.parentNode.removeChild(a),b.parentNode&&b.parentNode.removeChild(b)}else h(c,10)}()):(a.parentNode&&a.parentNode.removeChild(a),b.parentNode&&b.parentNode.removeChild(b))),A.ready=null,A.bridge=null,A.deactivated=null}},ia=function(a){var b={},c={};if("object"==typeof a&&a){for(var d in a)if(d&&r.call(a,d)&&"string"==typeof a[d]&&a[d])switch(d.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":b.text=a[d],c.text=d;break;case"text/html":case"html":case"air:html":case"flash:html":b.html=a[d],c.html=d;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":b.rtf=a[d],c.rtf=d}return{data:b,formatMap:c}}},ja=function(a,b){if("object"!=typeof a||!a||"object"!=typeof b||!b)return a;var c={};for(var d in a)if(r.call(a,d)){if("success"!==d&&"data"!==d){c[d]=a[d];continue}c[d]={};var e=a[d];for(var f in e)f&&r.call(e,f)&&r.call(b,f)&&(c[d][b[f]]=e[f])}return c},ka=function(a,b){var c=null==b||b&&b.cacheBust===!0;return c?(-1===a.indexOf("?")?"?":"&")+"noCache="+o():""},la=function(a){var b,c,d,f,g="",h=[];if(a.trustedDomains&&("string"==typeof a.trustedDomains?f=[a.trustedDomains]:"object"==typeof a.trustedDomains&&"length"in a.trustedDomains&&(f=a.trustedDomains)),f&&f.length)for(b=0,c=f.length;c>b;b++)if(r.call(f,b)&&f[b]&&"string"==typeof f[b]){if(d=ma(f[b]),!d)continue;if("*"===d){h.length=0,h.push(d);break}h.push.apply(h,[d,"//"+d,e.location.protocol+"//"+d])}return h.length&&(g+="trustedOrigins="+i(h.join(","))),a.forceEnhancedClipboard===!0&&(g+=(g?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof a.swfObjectId&&a.swfObjectId&&(g+=(g?"&":"")+"swfObjectId="+i(a.swfObjectId)),g},ma=function(a){if(null==a||""===a)return null;if(a=a.replace(/^\s+|\s+$/g,""),""===a)return null;var b=a.indexOf("//");a=-1===b?a:a.slice(b+2);var c=a.indexOf("/");return a=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},na=function(){var a=function(a){var b,c,d,e=[];if("string"==typeof a&&(a=[a]),"object"!=typeof a||!a||"number"!=typeof a.length)return e;for(b=0,c=a.length;c>b;b++)if(r.call(a,b)&&(d=ma(a[b]))){if("*"===d){e.length=0,e.push("*");break}-1===e.indexOf(d)&&e.push(d)}return e};return function(b,c){var d=ma(c.swfPath);null===d&&(d=b);var e=a(c.trustedDomains),f=e.length;if(f>0){if(1===f&&"*"===e[0])return"always";if(-1!==e.indexOf(b))return 1===f&&b===d?"sameDomain":"always"}return"never"}}(),oa=function(){try{return f.activeElement}catch(a){return null}},pa=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)||a.classList.add(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},qa=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)&&a.classList.remove(b),a;if("string"==typeof b&&b){var c=b.split(/\s+/);if(1===a.nodeType&&a.className){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}}return a},ra=function(a,b){var c=e.getComputedStyle(a,null).getPropertyValue(b);return"cursor"!==b||c&&"auto"!==c||"A"!==a.nodeName?c:"pointer"},sa=function(){var a,b,c,d=1;return"function"==typeof f.body.getBoundingClientRect&&(a=f.body.getBoundingClientRect(),b=a.right-a.left,c=f.body.offsetWidth,d=n(b/c*100)/100),d},ta=function(a){var b={left:0,top:0,width:0,height:0};if(a.getBoundingClientRect){var c,d,g,h=a.getBoundingClientRect();"pageXOffset"in e&&"pageYOffset"in e?(c=e.pageXOffset,d=e.pageYOffset):(g=sa(),c=n(f.documentElement.scrollLeft/g),d=n(f.documentElement.scrollTop/g));var i=f.documentElement.clientLeft||0,j=f.documentElement.clientTop||0;b.left=h.left+c-i,b.top=h.top+d-j,b.width="width"in h?h.width:h.right-h.left,b.height="height"in h?h.height:h.bottom-h.top}return b},ua=function(){var a;if(c&&(a=fa(A.bridge))){var b=ta(c);u(a.style,{width:b.width+"px",height:b.height+"px",top:b.top+"px",left:b.left+"px",zIndex:""+wa(H.zIndex)})}},va=function(a){A.ready===!0&&(A.bridge&&"function"==typeof A.bridge.setHandCursor?A.bridge.setHandCursor(a):A.ready=!1)},wa=function(a){if(/^(?:auto|inherit)$/.test(a))return a;var b;return"number"!=typeof a||m(a)?"string"==typeof a&&(b=wa(k(a,10))):b=a,"number"==typeof b?b:"auto"},xa=function(a){function b(a){var b=a.match(/[\d]+/g);return b.length=3,b.join(".")}function c(a){return!!a&&(a=a.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(a)||"chrome.plugin"===a.slice(-13))}function d(a){a&&(i=!0,a.version&&(m=b(a.version)),!m&&a.description&&(m=b(a.description)),a.filename&&(k=c(a.filename)))}var e,f,h,i=!1,j=!1,k=!1,m="";if(g.plugins&&g.plugins.length)e=g.plugins["Shockwave Flash"],d(e),g.plugins["Shockwave Flash 2.0"]&&(i=!0,m="2.0.0.11");else if(g.mimeTypes&&g.mimeTypes.length)h=g.mimeTypes["application/x-shockwave-flash"],e=h&&h.enabledPlugin,d(e);else if("undefined"!=typeof a){j=!0;try{f=new a("ShockwaveFlash.ShockwaveFlash.7"),i=!0,m=b(f.GetVariable("$version"))}catch(n){try{f=new a("ShockwaveFlash.ShockwaveFlash.6"),i=!0,m="6.0.21"}catch(o){try{f=new a("ShockwaveFlash.ShockwaveFlash"),i=!0,m=b(f.GetVariable("$version"))}catch(p){j=!1}}}}A.disabled=i!==!0,A.outdated=m&&l(m)g;g++)a=e.getRangeAt(g),c+=a.toString(),f.appendChild(a.cloneContents());return d["text/plain"]=c,c.replace(/\s/g,"")&&(d["text/html"]=f.innerHTML),d}function e(a){if("string"!=typeof a||!a)return null;var b,c,d=a;return d=d.replace(/<(?:hr)(?:\s+[^>]*)?\s*[\/]?>/gi,"{\\pard \\brdrb \\brdrs \\brdrw10 \\brsp20 \\par}\n{\\pard\\par}\n"),d=d.replace(/<(?:br)(?:\s+[^>]*)?\s*[\/]?>/gi,"{\\pard\\par}\n"),d=d.replace(/<(?:p|div|section|article)(?:\s+[^>]*)?\s*[\/]>/gi,"{\\pard\\par}\n"),d=d.replace(/<(?:[^>]+)\/>/g,""),d=d.replace(/]*)?(?:\s+href=(["'])(?:javascript:void\(0?\);?|#|return false;?|void\(0?\);?|)\1)(?:\s+[^>]*)?>/gi,"{{{\n"),b=d,d=d.replace(/]*)?(?:\s+href=(["'])(.+)\1)(?:\s+[^>]*)?>/gi,'{\\field{\\*\\fldinst{HYPERLINK\n "$2"\n}}{\\fldrslt{\\ul\\cf1\n'),c=d!==b,d=d.replace(/]*)?>/gi,"{{{\n"),d=d.replace(/<\/a(?:\s+[^>]*)?>/gi,"\n}}}"),d=d.replace(/<(?:b|strong)(?:\s+[^>]*)?>/gi,"{\\b\n"),d=d.replace(/<(?:i|em)(?:\s+[^>]*)?>/gi,"{\\i\n"),d=d.replace(/<(?:u|ins)(?:\s+[^>]*)?>/gi,"{\\ul\n"),d=d.replace(/<(?:strike|del)(?:\s+[^>]*)?>/gi,"{\\strike\n"),d=d.replace(/]*)?>/gi,"{\\super\n"),d=d.replace(/]*)?>/gi,"{\\sub\n"),d=d.replace(/<(?:p|div|section|article)(?:\s+[^>]*)?>/gi,"{\\pard\n"),d=d.replace(/<\/(?:p|div|section|article)(?:\s+[^>]*)?>/gi,"\n\\par}\n"),d=d.replace(/<\/(?:b|strong|i|em|u|ins|strike|del|sup|sub)(?:\s+[^>]*)?>/gi,"\n}"),d=d.replace(/<(?:[^>]+)>/g,""),d="{\\rtf1\\ansi\n"+(c?"{\\colortbl\n;\n\\red0\\green0\\blue255;\n}\n":"")+d+"\n}"}function f(b){var c=a.Event(b.type,a.extend(b,{_source:"swf"}));if(a(b.target).trigger(c),"copy"===c.type){if(a.event.special.copy.options.requirePreventDefault===!0&&!c.isDefaultPrevented()){b.clipboardData.clearData();var f=d();(f["text/plain"]||f["text/html"])&&b.clipboardData.setData(f)}var g=o.getData();if(a.event.special.copy.options.autoConvertHtmlToRtf===!0&&g["text/html"]&&!g["application/rtf"]){var h=e(g["text/html"]);b.clipboardData.setData("application/rtf",h)}}}function g(b){var c=a.Event("copy-error",a.extend(b,{type:"copy-error",_source:"swf"}));a(b.target).trigger(c)}function h(){a.event.props.push("clipboardData"),o.config(a.extend(!0,{autoActivate:!1},q.options)),o.on("beforecopy copy aftercopy",f),o.on("error",g),o.create()}function i(){o.destroy();var b=a.event.props.indexOf("clipboardData");-1!==b&&a.event.props.splice(b,1)}function j(b){l(b),b.target&&b.target!==o.activeElement()&&b.target!==a("#"+o.config("containerId"))[0]&&b.target!==a("#"+o.config("swfObjectId"))[0]&&o.focus(b.target)}function k(b){l(b),b.relatedTarget&&b.relatedTarget!==o.activeElement()&&b.relatedTarget!==a("#"+o.config("containerId"))[0]&&b.relatedTarget!==a("#"+o.config("swfObjectId"))[0]&&o.blur()}function l(a){o.isFlashUnusable()||"js"===a.originalEvent._source||(a.stopImmediatePropagation(),a.preventDefault())}var m=0,n=".zeroclipboard",o=b.ZeroClipboard,p=o.config("trustedDomains"),q={add:function(b){0===m++&&h();var c=n+(b.namespace?"."+b.namespace:""),d=b.selector,e="zc|{"+d+"}|{"+c+"}|count",f=a(this);"number"!=typeof f.data(e)&&f.data(e,0),0===f.data(e)&&(f.on("mouseenter"+c,d,j),f.on("mouseleave"+c,d,k),f.on("mouseover"+c,d,l),f.on("mouseout"+c,d,l),f.on("mousemove"+c,d,l),f.on("mousedown"+c,d,l),f.on("mouseup"+c,d,l),f.on("click"+c,d,l)),f.data(e,f.data(e)+1)},remove:function(b){var c=n+(b.namespace?"."+b.namespace:""),d=b.selector,e="zc|{"+d+"}|{"+c+"}|count",f=a(this);f.data(e,f.data(e)-1),0===f.data(e)&&(f.off("click"+c,d,l),f.off("mouseup"+c,d,l),f.off("mousedown"+c,d,l),f.off("mousemove"+c,d,l),f.off("mouseout"+c,d,l),f.off("mouseover"+c,d,l),f.off("mouseleave"+c,d,k),f.off("mouseenter"+c,d,j),f.removeData(e)),0===--m&&i()},trigger:function(b){if("copy"===b.type){var c=a(this),d="swf"===b._source;delete b._source,d||(c.trigger(a.extend(!0,{},b,{type:"beforecopy"})),c.one("copy",function(){var d={},e=o.getData();a.each(e,function(a){d[a]=!1});var f=a.extend(!0,{},b,{type:"aftercopy",data:a.extend(!0,{},e),success:d});c.trigger(f)}))}},_default:function(){return!0},options:{requirePreventDefault:!0,autoConvertHtmlToRtf:!0,trustedDomains:p,hoverClass:"hover",activeClass:"active"}};a.event.special.beforecopy=q,a.event.special.copy=q,a.event.special.aftercopy=q,a.event.special["copy-error"]=q}(jQuery,function(){return this||b}()),e||delete b.ZeroClipboard}(jQuery,function(){return this||window}()); \ No newline at end of file diff --git a/i18n/languages/woocommerce.pot b/i18n/languages/woocommerce.pot index 2c1a9831936..cf7db159463 100644 --- a/i18n/languages/woocommerce.pot +++ b/i18n/languages/woocommerce.pot @@ -4,14 +4,42 @@ msgid "" msgstr "" "Project-Id-Version: WooCommerce 2.6.0-dev\n" "Report-Msgid-Bugs-To: https://github.com/woothemes/woocommerce/issues\n" -"POT-Creation-Date: 2016-02-09 14:51:19+00:00\n" +"POT-Creation-Date: 2016-03-11 17:39:25+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -"X-Generator: grunt-wp-i18n 0.5.3\n" +"X-Generator: grunt-wp-i18n 0.5.4\n" + +#: i18n/continents.php:19 +msgid "Africa" +msgstr "" + +#: i18n/continents.php:25 i18n/countries.php:26 +msgid "Antarctica" +msgstr "" + +#: i18n/continents.php:31 +msgid "Asia" +msgstr "" + +#: i18n/continents.php:37 +msgid "Europe" +msgstr "" + +#: i18n/continents.php:43 +msgid "North America" +msgstr "" + +#: i18n/continents.php:49 +msgid "Oceania" +msgstr "" + +#: i18n/continents.php:55 +msgid "South America" +msgstr "" #: i18n/countries.php:18 msgid "Afghanistan" @@ -30,962 +58,982 @@ msgid "Algeria" msgstr "" #: i18n/countries.php:22 -msgid "Andorra" +msgid "American Samoa" msgstr "" #: i18n/countries.php:23 -msgid "Angola" +msgid "Andorra" msgstr "" #: i18n/countries.php:24 -msgid "Anguilla" +msgid "Angola" msgstr "" #: i18n/countries.php:25 -msgid "Antarctica" -msgstr "" - -#: i18n/countries.php:26 -msgid "Antigua and Barbuda" +msgid "Anguilla" msgstr "" #: i18n/countries.php:27 -msgid "Argentina" +msgid "Antigua and Barbuda" msgstr "" #: i18n/countries.php:28 -msgid "Armenia" +msgid "Argentina" msgstr "" #: i18n/countries.php:29 -msgid "Aruba" +msgid "Armenia" msgstr "" #: i18n/countries.php:30 -msgid "Australia" +msgid "Aruba" msgstr "" #: i18n/countries.php:31 -msgid "Austria" +msgid "Australia" msgstr "" #: i18n/countries.php:32 -msgid "Azerbaijan" +msgid "Austria" msgstr "" #: i18n/countries.php:33 -msgid "Bahamas" +msgid "Azerbaijan" msgstr "" #: i18n/countries.php:34 -msgid "Bahrain" +msgid "Bahamas" msgstr "" #: i18n/countries.php:35 -msgid "Bangladesh" +msgid "Bahrain" msgstr "" #: i18n/countries.php:36 -msgid "Barbados" +msgid "Bangladesh" msgstr "" #: i18n/countries.php:37 -msgid "Belarus" +msgid "Barbados" msgstr "" #: i18n/countries.php:38 -msgid "Belgium" +msgid "Belarus" msgstr "" #: i18n/countries.php:39 -msgid "Belau" +msgid "Belgium" msgstr "" #: i18n/countries.php:40 -msgid "Belize" +msgid "Belau" msgstr "" #: i18n/countries.php:41 -msgid "Benin" +msgid "Belize" msgstr "" #: i18n/countries.php:42 -msgid "Bermuda" +msgid "Benin" msgstr "" #: i18n/countries.php:43 -msgid "Bhutan" +msgid "Bermuda" msgstr "" #: i18n/countries.php:44 -msgid "Bolivia" +msgid "Bhutan" msgstr "" #: i18n/countries.php:45 -msgid "Bonaire, Saint Eustatius and Saba" +msgid "Bolivia" msgstr "" #: i18n/countries.php:46 -msgid "Bosnia and Herzegovina" +msgid "Bonaire, Saint Eustatius and Saba" msgstr "" #: i18n/countries.php:47 -msgid "Botswana" +msgid "Bosnia and Herzegovina" msgstr "" #: i18n/countries.php:48 -msgid "Bouvet Island" +msgid "Botswana" msgstr "" #: i18n/countries.php:49 -msgid "Brazil" +msgid "Bouvet Island" msgstr "" #: i18n/countries.php:50 -msgid "British Indian Ocean Territory" +msgid "Brazil" msgstr "" #: i18n/countries.php:51 -msgid "British Virgin Islands" +msgid "British Indian Ocean Territory" msgstr "" #: i18n/countries.php:52 -msgid "Brunei" +msgid "British Virgin Islands" msgstr "" #: i18n/countries.php:53 -msgid "Bulgaria" +msgid "Brunei" msgstr "" #: i18n/countries.php:54 -msgid "Burkina Faso" +msgid "Bulgaria" msgstr "" #: i18n/countries.php:55 -msgid "Burundi" +msgid "Burkina Faso" msgstr "" #: i18n/countries.php:56 -msgid "Cambodia" +msgid "Burundi" msgstr "" #: i18n/countries.php:57 -msgid "Cameroon" +msgid "Cambodia" msgstr "" #: i18n/countries.php:58 -msgid "Canada" +msgid "Cameroon" msgstr "" #: i18n/countries.php:59 -msgid "Cape Verde" +msgid "Canada" msgstr "" #: i18n/countries.php:60 -msgid "Cayman Islands" +msgid "Cape Verde" msgstr "" #: i18n/countries.php:61 -msgid "Central African Republic" +msgid "Cayman Islands" msgstr "" #: i18n/countries.php:62 -msgid "Chad" +msgid "Central African Republic" msgstr "" #: i18n/countries.php:63 -msgid "Chile" +msgid "Chad" msgstr "" #: i18n/countries.php:64 -msgid "China" +msgid "Chile" msgstr "" #: i18n/countries.php:65 -msgid "Christmas Island" +msgid "China" msgstr "" #: i18n/countries.php:66 -msgid "Cocos (Keeling) Islands" +msgid "Christmas Island" msgstr "" #: i18n/countries.php:67 -msgid "Colombia" +msgid "Cocos (Keeling) Islands" msgstr "" #: i18n/countries.php:68 -msgid "Comoros" +msgid "Colombia" msgstr "" #: i18n/countries.php:69 -msgid "Congo (Brazzaville)" +msgid "Comoros" msgstr "" #: i18n/countries.php:70 -msgid "Congo (Kinshasa)" +msgid "Congo (Brazzaville)" msgstr "" #: i18n/countries.php:71 -msgid "Cook Islands" +msgid "Congo (Kinshasa)" msgstr "" #: i18n/countries.php:72 -msgid "Costa Rica" +msgid "Cook Islands" msgstr "" #: i18n/countries.php:73 -msgid "Croatia" +msgid "Costa Rica" msgstr "" #: i18n/countries.php:74 -msgid "Cuba" +msgid "Croatia" msgstr "" #: i18n/countries.php:75 -msgid "CuraÇao" +msgid "Cuba" msgstr "" #: i18n/countries.php:76 -msgid "Cyprus" +msgid "CuraÇao" msgstr "" #: i18n/countries.php:77 -msgid "Czech Republic" +msgid "Cyprus" msgstr "" #: i18n/countries.php:78 -msgid "Denmark" +msgid "Czech Republic" msgstr "" #: i18n/countries.php:79 -msgid "Djibouti" +msgid "Denmark" msgstr "" #: i18n/countries.php:80 -msgid "Dominica" +msgid "Djibouti" msgstr "" #: i18n/countries.php:81 -msgid "Dominican Republic" +msgid "Dominica" msgstr "" #: i18n/countries.php:82 -msgid "Ecuador" +msgid "Dominican Republic" msgstr "" #: i18n/countries.php:83 -msgid "Egypt" +msgid "Ecuador" msgstr "" #: i18n/countries.php:84 -msgid "El Salvador" +msgid "Egypt" msgstr "" #: i18n/countries.php:85 -msgid "Equatorial Guinea" +msgid "El Salvador" msgstr "" #: i18n/countries.php:86 -msgid "Eritrea" +msgid "Equatorial Guinea" msgstr "" #: i18n/countries.php:87 -msgid "Estonia" +msgid "Eritrea" msgstr "" #: i18n/countries.php:88 -msgid "Ethiopia" +msgid "Estonia" msgstr "" #: i18n/countries.php:89 -msgid "Falkland Islands" +msgid "Ethiopia" msgstr "" #: i18n/countries.php:90 -msgid "Faroe Islands" +msgid "Falkland Islands" msgstr "" #: i18n/countries.php:91 -msgid "Fiji" +msgid "Faroe Islands" msgstr "" #: i18n/countries.php:92 -msgid "Finland" +msgid "Fiji" msgstr "" #: i18n/countries.php:93 -msgid "France" +msgid "Finland" msgstr "" #: i18n/countries.php:94 -msgid "French Guiana" +msgid "France" msgstr "" #: i18n/countries.php:95 -msgid "French Polynesia" +msgid "French Guiana" msgstr "" #: i18n/countries.php:96 -msgid "French Southern Territories" +msgid "French Polynesia" msgstr "" #: i18n/countries.php:97 -msgid "Gabon" +msgid "French Southern Territories" msgstr "" #: i18n/countries.php:98 -msgid "Gambia" +msgid "Gabon" msgstr "" #: i18n/countries.php:99 -msgid "Georgia" +msgid "Gambia" msgstr "" #: i18n/countries.php:100 -msgid "Germany" +msgid "Georgia" msgstr "" #: i18n/countries.php:101 -msgid "Ghana" +msgid "Germany" msgstr "" #: i18n/countries.php:102 -msgid "Gibraltar" +msgid "Ghana" msgstr "" #: i18n/countries.php:103 -msgid "Greece" +msgid "Gibraltar" msgstr "" #: i18n/countries.php:104 -msgid "Greenland" +msgid "Greece" msgstr "" #: i18n/countries.php:105 -msgid "Grenada" +msgid "Greenland" msgstr "" #: i18n/countries.php:106 -msgid "Guadeloupe" +msgid "Grenada" msgstr "" #: i18n/countries.php:107 -msgid "Guatemala" +msgid "Guadeloupe" msgstr "" #: i18n/countries.php:108 -msgid "Guernsey" +msgid "Guam" msgstr "" #: i18n/countries.php:109 -msgid "Guinea" +msgid "Guatemala" msgstr "" #: i18n/countries.php:110 -msgid "Guinea-Bissau" +msgid "Guernsey" msgstr "" #: i18n/countries.php:111 -msgid "Guyana" +msgid "Guinea" msgstr "" #: i18n/countries.php:112 -msgid "Haiti" +msgid "Guinea-Bissau" msgstr "" #: i18n/countries.php:113 -msgid "Heard Island and McDonald Islands" +msgid "Guyana" msgstr "" #: i18n/countries.php:114 -msgid "Honduras" +msgid "Haiti" msgstr "" #: i18n/countries.php:115 -msgid "Hong Kong" +msgid "Heard Island and McDonald Islands" msgstr "" #: i18n/countries.php:116 -msgid "Hungary" +msgid "Honduras" msgstr "" #: i18n/countries.php:117 -msgid "Iceland" +msgid "Hong Kong" msgstr "" #: i18n/countries.php:118 -msgid "India" +msgid "Hungary" msgstr "" #: i18n/countries.php:119 -msgid "Indonesia" +msgid "Iceland" msgstr "" #: i18n/countries.php:120 -msgid "Iran" +msgid "India" msgstr "" #: i18n/countries.php:121 -msgid "Iraq" +msgid "Indonesia" msgstr "" #: i18n/countries.php:122 -msgid "Republic of Ireland" +msgid "Iran" msgstr "" #: i18n/countries.php:123 -msgid "Isle of Man" +msgid "Iraq" msgstr "" #: i18n/countries.php:124 -msgid "Israel" +msgid "Republic of Ireland" msgstr "" #: i18n/countries.php:125 -msgid "Italy" +msgid "Isle of Man" msgstr "" #: i18n/countries.php:126 -msgid "Ivory Coast" +msgid "Israel" msgstr "" #: i18n/countries.php:127 -msgid "Jamaica" +msgid "Italy" msgstr "" #: i18n/countries.php:128 -msgid "Japan" +msgid "Ivory Coast" msgstr "" #: i18n/countries.php:129 -msgid "Jersey" +msgid "Jamaica" msgstr "" #: i18n/countries.php:130 -msgid "Jordan" +msgid "Japan" msgstr "" #: i18n/countries.php:131 -msgid "Kazakhstan" +msgid "Jersey" msgstr "" #: i18n/countries.php:132 -msgid "Kenya" +msgid "Jordan" msgstr "" #: i18n/countries.php:133 -msgid "Kiribati" +msgid "Kazakhstan" msgstr "" #: i18n/countries.php:134 -msgid "Kuwait" +msgid "Kenya" msgstr "" #: i18n/countries.php:135 -msgid "Kyrgyzstan" +msgid "Kiribati" msgstr "" #: i18n/countries.php:136 -msgid "Laos" +msgid "Kuwait" msgstr "" #: i18n/countries.php:137 -msgid "Latvia" +msgid "Kyrgyzstan" msgstr "" #: i18n/countries.php:138 -msgid "Lebanon" +msgid "Laos" msgstr "" #: i18n/countries.php:139 -msgid "Lesotho" +msgid "Latvia" msgstr "" #: i18n/countries.php:140 -msgid "Liberia" +msgid "Lebanon" msgstr "" #: i18n/countries.php:141 -msgid "Libya" +msgid "Lesotho" msgstr "" #: i18n/countries.php:142 -msgid "Liechtenstein" +msgid "Liberia" msgstr "" #: i18n/countries.php:143 -msgid "Lithuania" +msgid "Libya" msgstr "" #: i18n/countries.php:144 -msgid "Luxembourg" +msgid "Liechtenstein" msgstr "" #: i18n/countries.php:145 -msgid "Macao S.A.R., China" +msgid "Lithuania" msgstr "" #: i18n/countries.php:146 -msgid "Macedonia" +msgid "Luxembourg" msgstr "" #: i18n/countries.php:147 -msgid "Madagascar" +msgid "Macao S.A.R., China" msgstr "" #: i18n/countries.php:148 -msgid "Malawi" +msgid "Macedonia" msgstr "" #: i18n/countries.php:149 -msgid "Malaysia" +msgid "Madagascar" msgstr "" #: i18n/countries.php:150 -msgid "Maldives" +msgid "Malawi" msgstr "" #: i18n/countries.php:151 -msgid "Mali" +msgid "Malaysia" msgstr "" #: i18n/countries.php:152 -msgid "Malta" +msgid "Maldives" msgstr "" #: i18n/countries.php:153 -msgid "Marshall Islands" +msgid "Mali" msgstr "" #: i18n/countries.php:154 -msgid "Martinique" +msgid "Malta" msgstr "" #: i18n/countries.php:155 -msgid "Mauritania" +msgid "Marshall Islands" msgstr "" #: i18n/countries.php:156 -msgid "Mauritius" +msgid "Martinique" msgstr "" #: i18n/countries.php:157 -msgid "Mayotte" +msgid "Mauritania" msgstr "" #: i18n/countries.php:158 -msgid "Mexico" +msgid "Mauritius" msgstr "" #: i18n/countries.php:159 -msgid "Micronesia" +msgid "Mayotte" msgstr "" #: i18n/countries.php:160 -msgid "Moldova" +msgid "Mexico" msgstr "" #: i18n/countries.php:161 -msgid "Monaco" +msgid "Micronesia" msgstr "" #: i18n/countries.php:162 -msgid "Mongolia" +msgid "Moldova" msgstr "" #: i18n/countries.php:163 -msgid "Montenegro" +msgid "Monaco" msgstr "" #: i18n/countries.php:164 -msgid "Montserrat" +msgid "Mongolia" msgstr "" #: i18n/countries.php:165 -msgid "Morocco" +msgid "Montenegro" msgstr "" #: i18n/countries.php:166 -msgid "Mozambique" +msgid "Montserrat" msgstr "" #: i18n/countries.php:167 -msgid "Myanmar" +msgid "Morocco" msgstr "" #: i18n/countries.php:168 -msgid "Namibia" +msgid "Mozambique" msgstr "" #: i18n/countries.php:169 -msgid "Nauru" +msgid "Myanmar" msgstr "" #: i18n/countries.php:170 -msgid "Nepal" +msgid "Namibia" msgstr "" #: i18n/countries.php:171 -msgid "Netherlands" +msgid "Nauru" msgstr "" #: i18n/countries.php:172 -msgid "Netherlands Antilles" +msgid "Nepal" msgstr "" #: i18n/countries.php:173 -msgid "New Caledonia" +msgid "Netherlands" msgstr "" #: i18n/countries.php:174 -msgid "New Zealand" +msgid "Netherlands Antilles" msgstr "" #: i18n/countries.php:175 -msgid "Nicaragua" +msgid "New Caledonia" msgstr "" #: i18n/countries.php:176 -msgid "Niger" +msgid "New Zealand" msgstr "" #: i18n/countries.php:177 -msgid "Nigeria" +msgid "Nicaragua" msgstr "" #: i18n/countries.php:178 -msgid "Niue" +msgid "Niger" msgstr "" #: i18n/countries.php:179 -msgid "Norfolk Island" +msgid "Nigeria" msgstr "" #: i18n/countries.php:180 -msgid "North Korea" +msgid "Niue" msgstr "" #: i18n/countries.php:181 -msgid "Norway" +msgid "Norfolk Island" msgstr "" #: i18n/countries.php:182 -msgid "Oman" +msgid "Northern Mariana Islands" msgstr "" #: i18n/countries.php:183 -msgid "Pakistan" +msgid "North Korea" msgstr "" #: i18n/countries.php:184 -msgid "Palestinian Territory" +msgid "Norway" msgstr "" #: i18n/countries.php:185 -msgid "Panama" +msgid "Oman" msgstr "" #: i18n/countries.php:186 -msgid "Papua New Guinea" +msgid "Pakistan" msgstr "" #: i18n/countries.php:187 -msgid "Paraguay" +msgid "Palestinian Territory" msgstr "" #: i18n/countries.php:188 -msgid "Peru" +msgid "Panama" msgstr "" #: i18n/countries.php:189 -msgid "Philippines" +msgid "Papua New Guinea" msgstr "" #: i18n/countries.php:190 -msgid "Pitcairn" +msgid "Paraguay" msgstr "" #: i18n/countries.php:191 -msgid "Poland" +msgid "Peru" msgstr "" #: i18n/countries.php:192 -msgid "Portugal" +msgid "Philippines" msgstr "" #: i18n/countries.php:193 -msgid "Qatar" +msgid "Pitcairn" msgstr "" #: i18n/countries.php:194 -msgid "Reunion" +msgid "Poland" msgstr "" #: i18n/countries.php:195 -msgid "Romania" +msgid "Portugal" msgstr "" #: i18n/countries.php:196 -msgid "Russia" +msgid "Puerto Rico" msgstr "" #: i18n/countries.php:197 -msgid "Rwanda" +msgid "Qatar" msgstr "" #: i18n/countries.php:198 -msgid "Saint Barthélemy" +msgid "Reunion" msgstr "" #: i18n/countries.php:199 -msgid "Saint Helena" +msgid "Romania" msgstr "" #: i18n/countries.php:200 -msgid "Saint Kitts and Nevis" +msgid "Russia" msgstr "" #: i18n/countries.php:201 -msgid "Saint Lucia" +msgid "Rwanda" msgstr "" #: i18n/countries.php:202 -msgid "Saint Martin (French part)" +msgid "Saint Barthélemy" msgstr "" #: i18n/countries.php:203 -msgid "Saint Martin (Dutch part)" +msgid "Saint Helena" msgstr "" #: i18n/countries.php:204 -msgid "Saint Pierre and Miquelon" +msgid "Saint Kitts and Nevis" msgstr "" #: i18n/countries.php:205 -msgid "Saint Vincent and the Grenadines" +msgid "Saint Lucia" msgstr "" #: i18n/countries.php:206 -msgid "San Marino" +msgid "Saint Martin (French part)" msgstr "" #: i18n/countries.php:207 -msgid "São Tomé and Príncipe" +msgid "Saint Martin (Dutch part)" msgstr "" #: i18n/countries.php:208 -msgid "Saudi Arabia" +msgid "Saint Pierre and Miquelon" msgstr "" #: i18n/countries.php:209 -msgid "Senegal" +msgid "Saint Vincent and the Grenadines" msgstr "" #: i18n/countries.php:210 -msgid "Serbia" +msgid "San Marino" msgstr "" #: i18n/countries.php:211 -msgid "Seychelles" +msgid "São Tomé and Príncipe" msgstr "" #: i18n/countries.php:212 -msgid "Sierra Leone" +msgid "Saudi Arabia" msgstr "" #: i18n/countries.php:213 -msgid "Singapore" +msgid "Senegal" msgstr "" #: i18n/countries.php:214 -msgid "Slovakia" +msgid "Serbia" msgstr "" #: i18n/countries.php:215 -msgid "Slovenia" +msgid "Seychelles" msgstr "" #: i18n/countries.php:216 -msgid "Solomon Islands" +msgid "Sierra Leone" msgstr "" #: i18n/countries.php:217 -msgid "Somalia" +msgid "Singapore" msgstr "" #: i18n/countries.php:218 -msgid "South Africa" +msgid "Slovakia" msgstr "" #: i18n/countries.php:219 -msgid "South Georgia/Sandwich Islands" +msgid "Slovenia" msgstr "" #: i18n/countries.php:220 -msgid "South Korea" +msgid "Solomon Islands" msgstr "" #: i18n/countries.php:221 -msgid "South Sudan" +msgid "Somalia" msgstr "" #: i18n/countries.php:222 -msgid "Spain" +msgid "South Africa" msgstr "" #: i18n/countries.php:223 -msgid "Sri Lanka" +msgid "South Georgia/Sandwich Islands" msgstr "" #: i18n/countries.php:224 -msgid "Sudan" +msgid "South Korea" msgstr "" #: i18n/countries.php:225 -msgid "Suriname" +msgid "South Sudan" msgstr "" #: i18n/countries.php:226 -msgid "Svalbard and Jan Mayen" +msgid "Spain" msgstr "" #: i18n/countries.php:227 -msgid "Swaziland" +msgid "Sri Lanka" msgstr "" #: i18n/countries.php:228 -msgid "Sweden" +msgid "Sudan" msgstr "" #: i18n/countries.php:229 -msgid "Switzerland" +msgid "Suriname" msgstr "" #: i18n/countries.php:230 -msgid "Syria" +msgid "Svalbard and Jan Mayen" msgstr "" #: i18n/countries.php:231 -msgid "Taiwan" +msgid "Swaziland" msgstr "" #: i18n/countries.php:232 -msgid "Tajikistan" +msgid "Sweden" msgstr "" #: i18n/countries.php:233 -msgid "Tanzania" +msgid "Switzerland" msgstr "" #: i18n/countries.php:234 -msgid "Thailand" +msgid "Syria" msgstr "" #: i18n/countries.php:235 -msgid "Timor-Leste" +msgid "Taiwan" msgstr "" #: i18n/countries.php:236 -msgid "Togo" +msgid "Tajikistan" msgstr "" #: i18n/countries.php:237 -msgid "Tokelau" +msgid "Tanzania" msgstr "" #: i18n/countries.php:238 -msgid "Tonga" +msgid "Thailand" msgstr "" #: i18n/countries.php:239 -msgid "Trinidad and Tobago" +msgid "Timor-Leste" msgstr "" #: i18n/countries.php:240 -msgid "Tunisia" +msgid "Togo" msgstr "" #: i18n/countries.php:241 -msgid "Turkey" +msgid "Tokelau" msgstr "" #: i18n/countries.php:242 -msgid "Turkmenistan" +msgid "Tonga" msgstr "" #: i18n/countries.php:243 -msgid "Turks and Caicos Islands" +msgid "Trinidad and Tobago" msgstr "" #: i18n/countries.php:244 -msgid "Tuvalu" +msgid "Tunisia" msgstr "" #: i18n/countries.php:245 -msgid "Uganda" +msgid "Turkey" msgstr "" #: i18n/countries.php:246 -msgid "Ukraine" +msgid "Turkmenistan" msgstr "" #: i18n/countries.php:247 -msgid "United Arab Emirates" +msgid "Turks and Caicos Islands" msgstr "" #: i18n/countries.php:248 -msgid "United Kingdom (UK)" +msgid "Tuvalu" msgstr "" #: i18n/countries.php:249 -msgid "United States (US)" +msgid "Uganda" msgstr "" #: i18n/countries.php:250 -msgid "Uruguay" +msgid "Ukraine" msgstr "" #: i18n/countries.php:251 -msgid "Uzbekistan" +msgid "United Arab Emirates" msgstr "" #: i18n/countries.php:252 -msgid "Vanuatu" +msgid "United Kingdom (UK)" msgstr "" #: i18n/countries.php:253 -msgid "Vatican" +msgid "United States (US)" msgstr "" #: i18n/countries.php:254 -msgid "Venezuela" +msgid "United States (US) Minor Outlying Islands" msgstr "" #: i18n/countries.php:255 -msgid "Vietnam" +msgid "United States (US) Virgin Islands" msgstr "" #: i18n/countries.php:256 -msgid "Wallis and Futuna" +msgid "Uruguay" msgstr "" #: i18n/countries.php:257 -msgid "Western Sahara" +msgid "Uzbekistan" msgstr "" #: i18n/countries.php:258 -msgid "Western Samoa" +msgid "Vanuatu" msgstr "" #: i18n/countries.php:259 -msgid "Yemen" +msgid "Vatican" msgstr "" #: i18n/countries.php:260 -msgid "Zambia" +msgid "Venezuela" msgstr "" #: i18n/countries.php:261 +msgid "Vietnam" +msgstr "" + +#: i18n/countries.php:262 +msgid "Wallis and Futuna" +msgstr "" + +#: i18n/countries.php:263 +msgid "Western Sahara" +msgstr "" + +#: i18n/countries.php:264 +msgid "Western Samoa" +msgstr "" + +#: i18n/countries.php:265 +msgid "Yemen" +msgstr "" + +#: i18n/countries.php:266 +msgid "Zambia" +msgstr "" + +#: i18n/countries.php:267 msgid "Zimbabwe" msgstr "" @@ -4780,30 +4828,6 @@ msgstr "" msgid "Armed Forces (AP)" msgstr "" -#: i18n/states/US.php:67 -msgid "American Samoa" -msgstr "" - -#: i18n/states/US.php:68 -msgid "Guam" -msgstr "" - -#: i18n/states/US.php:69 -msgid "Northern Mariana Islands" -msgstr "" - -#: i18n/states/US.php:70 -msgid "Puerto Rico" -msgstr "" - -#: i18n/states/US.php:71 -msgid "US Minor Outlying Islands" -msgstr "" - -#: i18n/states/US.php:72 -msgid "US Virgin Islands" -msgstr "" - #: i18n/states/ZA.php:13 msgid "Eastern Cape" msgstr "" @@ -4840,75 +4864,67 @@ msgstr "" msgid "Western Cape" msgstr "" -#: includes/abstracts/abstract-wc-integration.php:29 -#: includes/abstracts/abstract-wc-settings-api.php:79 -#: includes/admin/class-wc-admin-menus.php:80 -#: includes/admin/settings/class-wc-settings-api.php:45 -#: includes/admin/views/html-admin-page-status-report.php:423 -#: includes/class-wc-install.php:715 -msgid "Settings" -msgstr "" - -#: includes/abstracts/abstract-wc-order.php:270 -#: includes/abstracts/abstract-wc-order.php:326 +#: includes/abstracts/abstract-wc-order.php:303 +#: includes/abstracts/abstract-wc-order.php:359 msgid "Backordered" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1773 +#: includes/abstracts/abstract-wc-order.php:1819 msgid "via %s" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1778 +#: includes/abstracts/abstract-wc-order.php:1824 #: includes/abstracts/abstract-wc-product.php:1023 #: includes/abstracts/abstract-wc-product.php:1029 -#: includes/class-wc-cart.php:1605 includes/class-wc-product-variable.php:364 +#: includes/class-wc-cart.php:1576 includes/class-wc-product-variable.php:365 #: includes/class-wc-product-variation.php:318 msgid "Free!" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1842 +#: includes/abstracts/abstract-wc-order.php:1888 msgid "Subtotal:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1849 +#: includes/abstracts/abstract-wc-order.php:1895 msgid "Discount:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1856 +#: includes/abstracts/abstract-wc-order.php:1902 msgid "Shipping:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1871 +#: includes/abstracts/abstract-wc-order.php:1917 #: includes/admin/meta-boxes/views/html-order-fee.php:20 msgid "Fee" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1909 +#: includes/abstracts/abstract-wc-order.php:1955 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:292 #: includes/shortcodes/class-wc-shortcode-checkout.php:154 -#: templates/checkout/thankyou.php:54 +#: templates/checkout/thankyou.php:55 msgid "Payment Method:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1917 +#: includes/abstracts/abstract-wc-order.php:1963 #: includes/admin/meta-boxes/views/html-order-items.php:245 #: includes/admin/meta-boxes/views/html-order-refund.php:18 msgid "Refund" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1924 +#: includes/abstracts/abstract-wc-order.php:1970 #: includes/shortcodes/class-wc-shortcode-checkout.php:149 -#: templates/checkout/thankyou.php:49 +#: templates/checkout/thankyou.php:50 msgid "Total:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:2191 -#: templates/emails/plain/email-order-items.php:57 +#: includes/abstracts/abstract-wc-order.php:2238 +#: templates/emails/plain/email-order-items.php:58 msgid "Download %d" msgstr "" -#: includes/abstracts/abstract-wc-order.php:2191 -#: templates/emails/plain/email-order-items.php:59 +#: includes/abstracts/abstract-wc-order.php:2238 +#: templates/emails/plain/email-order-items.php:60 +#: templates/myaccount/downloads.php:81 msgid "Download" msgstr "" @@ -4916,38 +4932,46 @@ msgstr "" msgid "WooCommerce" msgstr "" -#: includes/abstracts/abstract-wc-order.php:2281 +#: includes/abstracts/abstract-wc-order.php:2341 +msgid "Unable to update order from %s to %s." +msgstr "" + +#: includes/abstracts/abstract-wc-order.php:2350 msgid "Order status changed from %s to %s." msgstr "" -#: includes/abstracts/abstract-wc-order.php:2534 +#: includes/abstracts/abstract-wc-order.php:2354 +msgid "Order status changed to %s." +msgstr "" + +#: includes/abstracts/abstract-wc-order.php:2597 msgid "Item %s variation #%s stock reduced from %s to %s." msgstr "" -#: includes/abstracts/abstract-wc-order.php:2536 -#: includes/class-wc-ajax.php:1370 +#: includes/abstracts/abstract-wc-order.php:2599 +#: includes/class-wc-ajax.php:1391 msgid "Item %s stock reduced from %s to %s." msgstr "" -#: includes/abstracts/abstract-wc-payment-gateway.php:302 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:295 -msgid "Card Number" +#: includes/abstracts/abstract-wc-payment-gateway.php:429 +#: includes/wc-account-functions.php:221 includes/wc-account-functions.php:308 +msgid "eCheck" msgstr "" -#: includes/abstracts/abstract-wc-payment-gateway.php:306 -msgid "Expiry (MM/YY)" +#: includes/abstracts/abstract-wc-payment-gateway.php:436 +msgid "ending in %s" msgstr "" -#: includes/abstracts/abstract-wc-payment-gateway.php:307 -msgid "MM / YY" +#: includes/abstracts/abstract-wc-payment-gateway.php:440 +msgid "(expires %s)" msgstr "" -#: includes/abstracts/abstract-wc-payment-gateway.php:310 -msgid "Card Code" +#: includes/abstracts/abstract-wc-payment-gateway.php:462 +msgid "Save to Account" msgstr "" -#: includes/abstracts/abstract-wc-payment-gateway.php:311 -msgid "CVC" +#: includes/abstracts/abstract-wc-payment-gateway.php:474 +msgid "Use a new payment method" msgstr "" #: includes/abstracts/abstract-wc-product.php:586 @@ -4963,12 +4987,12 @@ msgstr "" #: includes/abstracts/abstract-wc-product.php:678 #: includes/abstracts/abstract-wc-product.php:689 #: includes/abstracts/abstract-wc-product.php:711 -#: includes/admin/class-wc-admin-post-types.php:399 +#: includes/admin/class-wc-admin-post-types.php:401 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:335 #: includes/admin/reports/class-wc-report-stock.php:115 #: includes/admin/views/html-bulk-edit-product.php:223 #: includes/admin/views/html-quick-edit-product.php:166 -#: includes/class-wc-ajax.php:845 includes/class-wc-ajax.php:2442 +#: includes/class-wc-ajax.php:866 includes/class-wc-ajax.php:2478 #: includes/class-wc-product-variation.php:539 #: includes/class-wc-product-variation.php:549 #: includes/class-wc-product-variation.php:565 @@ -4993,47 +5017,47 @@ msgid "%s in stock" msgstr "" #: includes/abstracts/abstract-wc-product.php:706 -#: includes/class-wc-product-variation.php:562 templates/cart/cart.php:90 +#: includes/class-wc-product-variation.php:562 templates/cart/cart.php:91 msgid "Available on backorder" msgstr "" #: includes/abstracts/abstract-wc-product.php:716 #: includes/abstracts/abstract-wc-product.php:722 -#: includes/admin/class-wc-admin-post-types.php:401 +#: includes/admin/class-wc-admin-post-types.php:403 #: includes/admin/class-wc-admin-reports.php:100 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:336 #: includes/admin/reports/class-wc-report-stock.php:117 #: includes/admin/views/html-bulk-edit-product.php:224 #: includes/admin/views/html-quick-edit-product.php:167 -#: includes/class-wc-ajax.php:846 includes/class-wc-ajax.php:2443 +#: includes/class-wc-ajax.php:867 includes/class-wc-ajax.php:2479 #: includes/class-wc-product-variation.php:568 #: includes/class-wc-product-variation.php:572 msgid "Out of stock" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1164 -#: includes/class-wc-embed.php:132 templates/single-product/rating.php:35 +#: includes/abstracts/abstract-wc-product.php:1184 +#: includes/class-wc-embed.php:132 templates/single-product/rating.php:36 msgid "Rated %s out of 5" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1166 +#: includes/abstracts/abstract-wc-product.php:1186 #: includes/admin/class-wc-admin-dashboard.php:192 -#: templates/single-product/review.php:39 +#: templates/single-product/review-rating.php:29 msgid "out of 5" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1543 +#: includes/abstracts/abstract-wc-product.php:1564 msgid "%s – %s" msgstr "" -#: includes/abstracts/abstract-wc-settings-api.php:693 -#: includes/admin/class-wc-admin-settings.php:607 +#: includes/abstracts/abstract-wc-settings-api.php:685 +#: includes/admin/class-wc-admin-settings.php:605 #: includes/admin/meta-boxes/views/html-product-attribute.php:40 msgid "Select all" msgstr "" -#: includes/abstracts/abstract-wc-settings-api.php:693 -#: includes/admin/class-wc-admin-settings.php:607 +#: includes/abstracts/abstract-wc-settings-api.php:685 +#: includes/admin/class-wc-admin-settings.php:605 #: includes/admin/meta-boxes/views/html-product-attribute.php:41 msgid "Select none" msgstr "" @@ -5059,15 +5083,17 @@ msgid "keys" msgstr "" #: includes/admin/class-wc-admin-api-keys-table-list.php:40 -#: includes/admin/class-wc-admin-post-types.php:251 +#: includes/admin/class-wc-admin-post-types.php:253 #: includes/admin/class-wc-admin-setup-wizard.php:227 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:15 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:16 #: includes/admin/settings/views/html-keys-edit.php:16 -#: includes/gateways/bacs/class-wc-gateway-bacs.php:87 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:86 #: includes/gateways/cheque/class-wc-gateway-cheque.php:67 #: includes/gateways/cod/class-wc-gateway-cod.php:75 #: includes/gateways/paypal/includes/settings-paypal.php:25 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:200 -#: includes/wc-template-functions.php:1083 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:202 +#: includes/wc-template-functions.php:1096 msgid "Description" msgstr "" @@ -5109,29 +5135,29 @@ msgid "Revoke API Key" msgstr "" #: includes/admin/class-wc-admin-api-keys-table-list.php:81 -#: includes/admin/class-wc-admin-api-keys-table-list.php:171 +#: includes/admin/class-wc-admin-api-keys-table-list.php:169 msgid "Revoke" msgstr "" -#: includes/admin/class-wc-admin-api-keys-table-list.php:136 +#: includes/admin/class-wc-admin-api-keys-table-list.php:134 #: includes/admin/settings/views/html-keys-edit.php:47 #: includes/class-wc-auth.php:79 msgid "Read" msgstr "" -#: includes/admin/class-wc-admin-api-keys-table-list.php:137 +#: includes/admin/class-wc-admin-api-keys-table-list.php:135 #: includes/admin/settings/views/html-keys-edit.php:48 #: includes/class-wc-auth.php:80 msgid "Write" msgstr "" -#: includes/admin/class-wc-admin-api-keys-table-list.php:138 +#: includes/admin/class-wc-admin-api-keys-table-list.php:136 #: includes/admin/settings/views/html-keys-edit.php:49 #: includes/class-wc-auth.php:81 msgid "Read/Write" msgstr "" -#: includes/admin/class-wc-admin-api-keys-table-list.php:161 +#: includes/admin/class-wc-admin-api-keys-table-list.php:159 #: includes/admin/settings/views/html-keys-edit.php:79 msgid "Unknown" msgstr "" @@ -5165,264 +5191,268 @@ msgstr "" msgid "Action failed. Please refresh the page and retry." msgstr "" -#: includes/admin/class-wc-admin-assets.php:142 +#: includes/admin/class-wc-admin-assets.php:146 msgid "Please enter in decimal (%s) format without thousand separators." msgstr "" -#: includes/admin/class-wc-admin-assets.php:143 +#: includes/admin/class-wc-admin-assets.php:147 msgid "" "Please enter in monetary decimal (%s) format without thousand separators " "and currency symbols." msgstr "" -#: includes/admin/class-wc-admin-assets.php:144 +#: includes/admin/class-wc-admin-assets.php:148 msgid "Please enter in country code with two capital letters." msgstr "" -#: includes/admin/class-wc-admin-assets.php:145 +#: includes/admin/class-wc-admin-assets.php:149 msgid "Please enter in a value less than the regular price." msgstr "" -#: includes/admin/class-wc-admin-assets.php:184 +#: includes/admin/class-wc-admin-assets.php:188 msgid "" "Are you sure you want to link all variations? This will create a new " "variation for each and every possible combination of variation attributes " "(max 50 per run)." msgstr "" -#: includes/admin/class-wc-admin-assets.php:185 +#: includes/admin/class-wc-admin-assets.php:189 msgid "Enter a value" msgstr "" -#: includes/admin/class-wc-admin-assets.php:186 +#: includes/admin/class-wc-admin-assets.php:190 msgid "Variation menu order (determines position in the list of variations)" msgstr "" -#: includes/admin/class-wc-admin-assets.php:187 +#: includes/admin/class-wc-admin-assets.php:191 msgid "Enter a value (fixed or %)" msgstr "" -#: includes/admin/class-wc-admin-assets.php:188 +#: includes/admin/class-wc-admin-assets.php:192 msgid "Are you sure you want to delete all variations? This cannot be undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:189 +#: includes/admin/class-wc-admin-assets.php:193 msgid "Last warning, are you sure?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:190 -#: includes/admin/class-wc-admin-taxonomies.php:131 -#: includes/admin/class-wc-admin-taxonomies.php:222 +#: includes/admin/class-wc-admin-assets.php:194 +#: includes/admin/class-wc-admin-taxonomies.php:130 +#: includes/admin/class-wc-admin-taxonomies.php:221 msgid "Choose an image" msgstr "" -#: includes/admin/class-wc-admin-assets.php:191 +#: includes/admin/class-wc-admin-assets.php:195 msgid "Set variation image" msgstr "" -#: includes/admin/class-wc-admin-assets.php:192 +#: includes/admin/class-wc-admin-assets.php:196 msgid "variation added" msgstr "" -#: includes/admin/class-wc-admin-assets.php:193 +#: includes/admin/class-wc-admin-assets.php:197 msgid "variations added" msgstr "" -#: includes/admin/class-wc-admin-assets.php:194 +#: includes/admin/class-wc-admin-assets.php:198 msgid "No variations added" msgstr "" -#: includes/admin/class-wc-admin-assets.php:195 +#: includes/admin/class-wc-admin-assets.php:199 msgid "Are you sure you want to remove this variation?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:196 +#: includes/admin/class-wc-admin-assets.php:200 msgid "Sale start date (YYYY-MM-DD format or leave blank)" msgstr "" -#: includes/admin/class-wc-admin-assets.php:197 +#: includes/admin/class-wc-admin-assets.php:201 msgid "Sale end date (YYYY-MM-DD format or leave blank)" msgstr "" -#: includes/admin/class-wc-admin-assets.php:198 +#: includes/admin/class-wc-admin-assets.php:202 msgid "Save changes before changing page?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:199 +#: includes/admin/class-wc-admin-assets.php:203 msgid "%qty% variation" msgstr "" -#: includes/admin/class-wc-admin-assets.php:200 +#: includes/admin/class-wc-admin-assets.php:204 msgid "%qty% variations" msgstr "" -#: includes/admin/class-wc-admin-assets.php:215 -#: includes/admin/class-wc-admin-assets.php:343 +#: includes/admin/class-wc-admin-assets.php:219 +#: includes/admin/class-wc-admin-assets.php:348 #: includes/admin/settings/views/html-webhooks-edit.php:50 -#: includes/class-wc-frontend-scripts.php:324 +#: includes/class-wc-frontend-scripts.php:326 msgid "Select an option…" msgstr "" -#: includes/admin/class-wc-admin-assets.php:226 +#: includes/admin/class-wc-admin-assets.php:230 msgid "" "Are you sure you want to remove the selected items? If you have previously " "reduced this item's stock, or this order was submitted by a customer, you " "will need to manually restore the item's stock." msgstr "" -#: includes/admin/class-wc-admin-assets.php:227 +#: includes/admin/class-wc-admin-assets.php:231 msgid "Please select some items." msgstr "" -#: includes/admin/class-wc-admin-assets.php:228 +#: includes/admin/class-wc-admin-assets.php:232 msgid "Are you sure you wish to process this refund? This action cannot be undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:229 +#: includes/admin/class-wc-admin-assets.php:233 msgid "Are you sure you wish to delete this refund? This action cannot be undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:230 +#: includes/admin/class-wc-admin-assets.php:234 msgid "" "Are you sure you wish to delete this tax column? This action cannot be " "undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:231 +#: includes/admin/class-wc-admin-assets.php:235 msgid "Remove this item meta?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:232 +#: includes/admin/class-wc-admin-assets.php:236 msgid "Remove this attribute?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:233 +#: includes/admin/class-wc-admin-assets.php:237 #: includes/admin/class-wc-admin-attributes.php:267 #: includes/admin/class-wc-admin-attributes.php:322 #: includes/admin/class-wc-admin-attributes.php:356 #: includes/admin/class-wc-admin-attributes.php:379 #: includes/admin/class-wc-admin-attributes.php:435 #: includes/admin/class-wc-admin-attributes.php:476 -#: includes/admin/class-wc-admin-post-types.php:219 -#: includes/admin/class-wc-admin-setup-wizard.php:502 +#: includes/admin/class-wc-admin-post-types.php:221 +#: includes/admin/class-wc-admin-setup-wizard.php:490 #: includes/admin/class-wc-admin-webhooks-table-list.php:40 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:180 #: includes/admin/meta-boxes/views/html-product-attribute.php:12 #: includes/admin/meta-boxes/views/html-variation-admin.php:258 -#: includes/admin/settings/class-wc-settings-shipping.php:189 #: includes/admin/settings/views/html-webhooks-edit.php:15 -#: includes/admin/views/html-admin-page-status-report.php:592 -#: includes/class-wc-ajax.php:1452 +#: includes/admin/views/html-admin-page-status-report.php:601 +#: includes/class-wc-ajax.php:1473 #: includes/widgets/class-wc-widget-product-categories.php:52 -#: templates/single-product-reviews.php:73 +#: templates/single-product-reviews.php:74 msgid "Name" msgstr "" -#: includes/admin/class-wc-admin-assets.php:234 +#: includes/admin/class-wc-admin-assets.php:238 #: includes/admin/meta-boxes/views/html-product-attribute.php:3 #: includes/admin/meta-boxes/views/html-variation-admin.php:17 msgid "Remove" msgstr "" -#: includes/admin/class-wc-admin-assets.php:235 +#: includes/admin/class-wc-admin-assets.php:239 #: includes/admin/meta-boxes/views/html-order-download-permission.php:11 #: includes/admin/meta-boxes/views/html-product-attribute.php:4 #: includes/admin/meta-boxes/views/html-variation-admin.php:18 msgid "Click to toggle" msgstr "" -#: includes/admin/class-wc-admin-assets.php:236 +#: includes/admin/class-wc-admin-assets.php:240 #: includes/admin/meta-boxes/views/html-product-attribute.php:25 msgid "Value(s)" msgstr "" -#: includes/admin/class-wc-admin-assets.php:237 +#: includes/admin/class-wc-admin-assets.php:241 msgid "Enter some text, or some attributes by pipe (|) separating values." msgstr "" -#: includes/admin/class-wc-admin-assets.php:238 +#: includes/admin/class-wc-admin-assets.php:242 #: includes/admin/meta-boxes/views/html-product-attribute.php:66 msgid "Visible on the product page" msgstr "" -#: includes/admin/class-wc-admin-assets.php:239 +#: includes/admin/class-wc-admin-assets.php:243 #: includes/admin/meta-boxes/views/html-product-attribute.php:72 msgid "Used for variations" msgstr "" -#: includes/admin/class-wc-admin-assets.php:240 +#: includes/admin/class-wc-admin-assets.php:244 msgid "Enter a name for the new attribute term:" msgstr "" -#: includes/admin/class-wc-admin-assets.php:241 +#: includes/admin/class-wc-admin-assets.php:245 msgid "Calculate totals based on order items, discounts, and shipping?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:242 +#: includes/admin/class-wc-admin-assets.php:246 msgid "" "Calculate line taxes? This will calculate taxes based on the customers " "country. If no billing/shipping is set it will use the store base country." msgstr "" -#: includes/admin/class-wc-admin-assets.php:243 +#: includes/admin/class-wc-admin-assets.php:247 msgid "" "Copy billing information to shipping information? This will remove any " "currently entered shipping information." msgstr "" -#: includes/admin/class-wc-admin-assets.php:244 +#: includes/admin/class-wc-admin-assets.php:248 msgid "" "Load the customer's billing information? This will remove any currently " "entered billing information." msgstr "" -#: includes/admin/class-wc-admin-assets.php:245 +#: includes/admin/class-wc-admin-assets.php:249 msgid "" "Load the customer's shipping information? This will remove any currently " "entered shipping information." msgstr "" -#: includes/admin/class-wc-admin-assets.php:246 -#: includes/admin/class-wc-admin-post-types.php:232 -#: includes/admin/class-wc-admin-post-types.php:2159 +#: includes/admin/class-wc-admin-assets.php:250 +#: includes/admin/class-wc-admin-post-types.php:234 +#: includes/admin/class-wc-admin-post-types.php:2147 #: includes/admin/views/html-bulk-edit-product.php:199 #: includes/admin/views/html-quick-edit-product.php:157 msgid "Featured" msgstr "" -#: includes/admin/class-wc-admin-assets.php:250 +#: includes/admin/class-wc-admin-assets.php:254 msgid "No customer selected" msgstr "" -#: includes/admin/class-wc-admin-assets.php:274 +#: includes/admin/class-wc-admin-assets.php:278 msgid "" "Could not grant access - the user may already have permission for this file " "or billing email is not set. Ensure the billing email is set, and the order " "has been saved." msgstr "" -#: includes/admin/class-wc-admin-assets.php:275 +#: includes/admin/class-wc-admin-assets.php:279 msgid "Are you sure you want to revoke access to this download?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:276 +#: includes/admin/class-wc-admin-assets.php:280 msgid "You cannot add the same tax rate twice!" msgstr "" -#: includes/admin/class-wc-admin-assets.php:277 +#: includes/admin/class-wc-admin-assets.php:281 msgid "" "Your product has variations! Before changing the product type, it is a good " "idea to delete the variations to avoid errors in the stock reports." msgstr "" +#: includes/admin/class-wc-admin-assets.php:330 +#: includes/admin/views/html-admin-page-status-report.php:18 +msgid "Copying to clipboard failed. Please press Ctrl/Cmd+C to copy." +msgstr "" + #: includes/admin/class-wc-admin-attributes.php:98 -#: includes/api/class-wc-api-products.php:2595 +#: includes/api/class-wc-api-products.php:2624 #: includes/api/v2/class-wc-api-products.php:2051 msgid "Slug \"%s\" is too long (28 characters max). Shorten it, please." msgstr "" #: includes/admin/class-wc-admin-attributes.php:100 -#: includes/api/class-wc-api-products.php:2597 +#: includes/api/class-wc-api-products.php:2626 #: includes/api/v2/class-wc-api-products.php:2053 msgid "Slug \"%s\" is not allowed because it is a reserved term. Change it, please." msgstr "" @@ -5434,7 +5464,7 @@ msgstr "" #: includes/admin/class-wc-admin-attributes.php:121 #: includes/admin/class-wc-admin-attributes.php:154 -#: includes/api/class-wc-api-products.php:2599 +#: includes/api/class-wc-api-products.php:2628 #: includes/api/v2/class-wc-api-products.php:2055 msgid "Slug \"%s\" is already in use. Change it, please." msgstr "" @@ -5459,6 +5489,8 @@ msgstr "" #: includes/admin/class-wc-admin-attributes.php:276 #: includes/admin/class-wc-admin-attributes.php:357 #: includes/admin/class-wc-admin-attributes.php:441 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:14 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:45 msgid "Slug" msgstr "" @@ -5482,7 +5514,8 @@ msgstr "" #: includes/admin/class-wc-admin-attributes.php:294 #: includes/admin/class-wc-admin-attributes.php:358 #: includes/admin/class-wc-admin-attributes.php:453 -#: includes/admin/class-wc-admin-post-types.php:233 +#: includes/admin/class-wc-admin-post-types.php:235 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:14 msgid "Type" msgstr "" @@ -5546,18 +5579,19 @@ msgid "Terms" msgstr "" #: includes/admin/class-wc-admin-attributes.php:372 -#: includes/admin/class-wc-admin-post-types.php:438 -#: includes/admin/class-wc-admin-post-types.php:568 -#: includes/admin/class-wc-admin-post-types.php:2163 +#: includes/admin/class-wc-admin-post-types.php:440 +#: includes/admin/class-wc-admin-post-types.php:570 +#: includes/admin/class-wc-admin-post-types.php:2151 #: includes/admin/class-wc-admin-webhooks-table-list.php:99 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:244 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:328 #: includes/admin/meta-boxes/views/html-order-items.php:223 #: includes/admin/reports/class-wc-report-customer-list.php:169 #: includes/admin/reports/class-wc-report-stock.php:133 -#: includes/class-wc-post-types.php:244 includes/class-wc-post-types.php:296 -#: includes/class-wc-post-types.php:355 includes/class-wc-post-types.php:393 -#: templates/myaccount/my-address.php:53 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:56 +#: includes/class-wc-post-types.php:246 includes/class-wc-post-types.php:303 +#: includes/class-wc-post-types.php:365 includes/class-wc-post-types.php:406 +#: templates/myaccount/my-address.php:54 msgid "Edit" msgstr "" @@ -5566,6 +5600,10 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-images.php:79 #: includes/admin/meta-boxes/views/html-product-download.php:6 #: includes/admin/meta-boxes/views/html-product-variation-download.php:5 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:55 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:61 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:120 +#: includes/wc-account-functions.php:251 msgid "Delete" msgstr "" @@ -5704,7 +5742,7 @@ msgid "Webhook Settings" msgstr "" #: includes/admin/class-wc-admin-help.php:73 -#: includes/admin/class-wc-admin-setup-wizard.php:649 +#: includes/admin/class-wc-admin-setup-wizard.php:644 msgid "PayPal Standard" msgstr "" @@ -5718,90 +5756,89 @@ msgid "Shipping Settings" msgstr "" #: includes/admin/class-wc-admin-help.php:85 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:38 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:78 +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:30 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:80 msgid "Free Shipping" msgstr "" #: includes/admin/class-wc-admin-help.php:89 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:24 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:98 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:107 msgid "Local Delivery" msgstr "" #: includes/admin/class-wc-admin-help.php:93 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:84 #: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:24 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:76 +#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:79 msgid "Local Pickup" msgstr "" #: includes/admin/class-wc-admin-help.php:97 #: includes/admin/class-wc-admin-help.php:101 #: includes/admin/class-wc-admin-help.php:105 -#: includes/admin/class-wc-admin-help.php:109 msgid "Product Categories, Tags, Shipping Classes, & Attributes" msgstr "" -#: includes/admin/class-wc-admin-help.php:113 +#: includes/admin/class-wc-admin-help.php:109 msgid "Simple Products" msgstr "" -#: includes/admin/class-wc-admin-help.php:117 -#: includes/admin/class-wc-admin-help.php:184 -#: includes/admin/class-wc-admin-help.php:202 +#: includes/admin/class-wc-admin-help.php:113 +#: includes/admin/class-wc-admin-help.php:180 +#: includes/admin/class-wc-admin-help.php:198 #: includes/admin/class-wc-admin-menus.php:97 -#: includes/admin/views/html-admin-page-status.php:16 +#: includes/admin/views/html-admin-page-status.php:12 msgid "System Status" msgstr "" -#: includes/admin/class-wc-admin-help.php:121 +#: includes/admin/class-wc-admin-help.php:117 #: includes/admin/class-wc-admin-menus.php:70 msgid "Reports" msgstr "" +#: includes/admin/class-wc-admin-help.php:121 #: includes/admin/class-wc-admin-help.php:125 -#: includes/admin/class-wc-admin-help.php:129 #: includes/admin/settings/class-wc-settings-checkout.php:75 -#: includes/class-wc-post-types.php:350 +#: includes/class-wc-post-types.php:360 msgid "Coupons" msgstr "" +#: includes/admin/class-wc-admin-help.php:129 #: includes/admin/class-wc-admin-help.php:133 -#: includes/admin/class-wc-admin-help.php:137 msgid "Managing Orders" msgstr "" -#: includes/admin/class-wc-admin-help.php:160 -#: includes/admin/class-wc-admin-help.php:162 +#: includes/admin/class-wc-admin-help.php:156 +#: includes/admin/class-wc-admin-help.php:158 msgid "WooCommerce 101" msgstr "" -#: includes/admin/class-wc-admin-help.php:169 -#: includes/admin/class-wc-admin-help.php:171 +#: includes/admin/class-wc-admin-help.php:165 +#: includes/admin/class-wc-admin-help.php:167 msgid "Documentation" msgstr "" -#: includes/admin/class-wc-admin-help.php:172 +#: includes/admin/class-wc-admin-help.php:168 msgid "" "Should you need help understanding, using, or extending WooCommerce, please " "read our documentation. You will find all kinds of resources including " "snippets, tutorials and much more." msgstr "" -#: includes/admin/class-wc-admin-help.php:173 +#: includes/admin/class-wc-admin-help.php:169 msgid "WooCommerce Documentation" msgstr "" -#: includes/admin/class-wc-admin-help.php:173 +#: includes/admin/class-wc-admin-help.php:169 msgid "Developer API Docs" msgstr "" -#: includes/admin/class-wc-admin-help.php:179 -#: includes/admin/class-wc-admin-help.php:181 +#: includes/admin/class-wc-admin-help.php:175 +#: includes/admin/class-wc-admin-help.php:177 msgid "Support" msgstr "" -#: includes/admin/class-wc-admin-help.php:182 +#: includes/admin/class-wc-admin-help.php:178 msgid "" "After %sreading the documentation%s, for further assistance you can use the " "%scommunity forums%s on WordPress.org to talk with other users. If however " @@ -5809,41 +5846,41 @@ msgid "" "WooThemes, please %suse our helpdesk%s." msgstr "" -#: includes/admin/class-wc-admin-help.php:183 +#: includes/admin/class-wc-admin-help.php:179 msgid "" "Before asking for help we recommend checking the system status page to " "identify any problems with your configuration." msgstr "" -#: includes/admin/class-wc-admin-help.php:184 +#: includes/admin/class-wc-admin-help.php:180 msgid "WordPress.org Forums" msgstr "" -#: includes/admin/class-wc-admin-help.php:184 +#: includes/admin/class-wc-admin-help.php:180 msgid "WooThemes Customer Support" msgstr "" -#: includes/admin/class-wc-admin-help.php:189 -#: includes/admin/class-wc-admin-help.php:191 +#: includes/admin/class-wc-admin-help.php:185 +#: includes/admin/class-wc-admin-help.php:187 msgid "Education" msgstr "" -#: includes/admin/class-wc-admin-help.php:192 +#: includes/admin/class-wc-admin-help.php:188 msgid "" "If you would like to learn about using WooCommerce from an expert, consider " "following a WooCommerce course ran by one of our educational partners." msgstr "" -#: includes/admin/class-wc-admin-help.php:193 +#: includes/admin/class-wc-admin-help.php:189 msgid "View Education Partners" msgstr "" -#: includes/admin/class-wc-admin-help.php:198 -#: includes/admin/class-wc-admin-help.php:200 +#: includes/admin/class-wc-admin-help.php:194 +#: includes/admin/class-wc-admin-help.php:196 msgid "Found a bug?" msgstr "" -#: includes/admin/class-wc-admin-help.php:201 +#: includes/admin/class-wc-admin-help.php:197 msgid "" "If you find a bug within WooCommerce core you can create a ticket via Github issues. Ensure you read the system status report." msgstr "" -#: includes/admin/class-wc-admin-help.php:202 +#: includes/admin/class-wc-admin-help.php:198 msgid "Report a bug" msgstr "" +#: includes/admin/class-wc-admin-help.php:204 +#: includes/admin/class-wc-admin-help.php:206 #: includes/admin/class-wc-admin-help.php:208 -#: includes/admin/class-wc-admin-help.php:210 -#: includes/admin/class-wc-admin-help.php:212 msgid "Setup Wizard" msgstr "" -#: includes/admin/class-wc-admin-help.php:211 +#: includes/admin/class-wc-admin-help.php:207 msgid "" "If you need to access the setup wizard again, please click on the button " "below." msgstr "" -#: includes/admin/class-wc-admin-help.php:217 +#: includes/admin/class-wc-admin-help.php:213 msgid "For more information:" msgstr "" -#: includes/admin/class-wc-admin-help.php:218 +#: includes/admin/class-wc-admin-help.php:214 msgid "About WooCommerce" msgstr "" -#: includes/admin/class-wc-admin-help.php:219 +#: includes/admin/class-wc-admin-help.php:215 msgid "WordPress.org Project" msgstr "" -#: includes/admin/class-wc-admin-help.php:220 +#: includes/admin/class-wc-admin-help.php:216 msgid "Github Project" msgstr "" -#: includes/admin/class-wc-admin-help.php:221 +#: includes/admin/class-wc-admin-help.php:217 msgid "Official Themes" msgstr "" -#: includes/admin/class-wc-admin-help.php:222 +#: includes/admin/class-wc-admin-help.php:218 msgid "Official Extensions" msgstr "" @@ -5908,8 +5945,16 @@ msgstr "" msgid "WooCommerce Settings" msgstr "" +#: includes/admin/class-wc-admin-menus.php:80 +#: includes/admin/settings/class-wc-settings-api.php:45 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:61 +#: includes/admin/views/html-admin-page-status-report.php:429 +#: includes/class-wc-install.php:799 +msgid "Settings" +msgstr "" + #: includes/admin/class-wc-admin-menus.php:105 -#: includes/admin/views/html-admin-page-addons.php:15 +#: includes/admin/views/html-admin-page-addons.php:16 msgid "WooCommerce Add-ons/Extensions" msgstr "" @@ -5979,8 +6024,8 @@ msgid "Coupon Data" msgstr "" #: includes/admin/class-wc-admin-meta-boxes.php:169 -#: includes/admin/settings/class-wc-settings-products.php:463 -#: templates/single-product-reviews.php:34 +#: includes/admin/settings/class-wc-settings-products.php:462 +#: templates/single-product-reviews.php:35 msgid "Reviews" msgstr "" @@ -5988,8 +6033,8 @@ msgstr "" #: includes/class-wc-checkout.php:74 includes/class-wc-checkout.php:83 #: includes/class-wc-emails.php:48 includes/class-wc-emails.php:57 #: includes/class-wc-payment-gateways.php:51 -#: includes/class-wc-payment-gateways.php:60 includes/class-wc-shipping.php:65 -#: includes/class-wc-shipping.php:74 includes/emails/class-wc-email.php:682 +#: includes/class-wc-payment-gateways.php:60 includes/class-wc-shipping.php:69 +#: includes/class-wc-shipping.php:78 includes/emails/class-wc-email.php:682 #: woocommerce.php:126 woocommerce.php:134 msgid "Cheatin’ huh?" msgstr "" @@ -6015,8 +6060,8 @@ msgid "These settings control the permalinks used specifically for products." msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:115 -#: includes/admin/class-wc-admin-taxonomies.php:95 -#: includes/admin/class-wc-admin-taxonomies.php:184 +#: includes/admin/class-wc-admin-taxonomies.php:94 +#: includes/admin/class-wc-admin-taxonomies.php:183 msgid "Default" msgstr "" @@ -6049,7 +6094,7 @@ msgid "" msgstr "" #: includes/admin/class-wc-admin-pointers.php:73 -#: templates/single-product/tabs/description.php:24 +#: templates/single-product/tabs/description.php:25 msgid "Product Description" msgstr "" @@ -6093,7 +6138,7 @@ msgstr "" #: includes/admin/class-wc-admin-pointers.php:124 #: includes/admin/settings/class-wc-settings-products.php:47 -#: includes/admin/settings/class-wc-settings-products.php:364 +#: includes/admin/settings/class-wc-settings-products.php:363 msgid "Downloadable Products" msgstr "" @@ -6129,7 +6174,7 @@ msgid "" msgstr "" #: includes/admin/class-wc-admin-pointers.php:180 -#: includes/class-wc-post-types.php:98 includes/class-wc-post-types.php:100 +#: includes/class-wc-post-types.php:99 includes/class-wc-post-types.php:101 #: includes/widgets/class-wc-widget-product-tag-cloud.php:29 msgid "Product Tags" msgstr "" @@ -6162,51 +6207,51 @@ msgid "" "publish your product to your store." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:122 +#: includes/admin/class-wc-admin-post-types.php:124 msgid "Product updated. View Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:123 -#: includes/admin/class-wc-admin-post-types.php:138 -#: includes/admin/class-wc-admin-post-types.php:154 +#: includes/admin/class-wc-admin-post-types.php:125 +#: includes/admin/class-wc-admin-post-types.php:140 +#: includes/admin/class-wc-admin-post-types.php:156 msgid "Custom field updated." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:124 -#: includes/admin/class-wc-admin-post-types.php:139 -#: includes/admin/class-wc-admin-post-types.php:155 +#: includes/admin/class-wc-admin-post-types.php:126 +#: includes/admin/class-wc-admin-post-types.php:141 +#: includes/admin/class-wc-admin-post-types.php:157 msgid "Custom field deleted." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:125 +#: includes/admin/class-wc-admin-post-types.php:127 msgid "Product updated." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:126 +#: includes/admin/class-wc-admin-post-types.php:128 msgid "Product restored to revision from %s" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:127 +#: includes/admin/class-wc-admin-post-types.php:129 msgid "Product published. View Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:128 +#: includes/admin/class-wc-admin-post-types.php:130 msgid "Product saved." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:129 +#: includes/admin/class-wc-admin-post-types.php:131 msgid "Product submitted. Preview Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:130 +#: includes/admin/class-wc-admin-post-types.php:132 msgid "" "Product scheduled for: %1$s. Preview Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:131 -#: includes/admin/class-wc-admin-post-types.php:146 -#: includes/admin/class-wc-admin-post-types.php:162 +#: includes/admin/class-wc-admin-post-types.php:133 +#: includes/admin/class-wc-admin-post-types.php:148 +#: includes/admin/class-wc-admin-post-types.php:164 #: includes/admin/settings/views/html-webhook-log.php:10 #: includes/admin/settings/views/html-webhooks-edit.php:126 #: includes/admin/settings/views/html-webhooks-edit.php:135 @@ -6214,169 +6259,169 @@ msgstr "" msgid "M j, Y @ G:i" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:132 +#: includes/admin/class-wc-admin-post-types.php:134 msgid "Product draft updated. Preview Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:137 -#: includes/admin/class-wc-admin-post-types.php:140 +#: includes/admin/class-wc-admin-post-types.php:139 #: includes/admin/class-wc-admin-post-types.php:142 +#: includes/admin/class-wc-admin-post-types.php:144 msgid "Order updated." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:141 +#: includes/admin/class-wc-admin-post-types.php:143 msgid "Order restored to revision from %s" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:143 +#: includes/admin/class-wc-admin-post-types.php:145 msgid "Order saved." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:144 +#: includes/admin/class-wc-admin-post-types.php:146 msgid "Order submitted." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:145 +#: includes/admin/class-wc-admin-post-types.php:147 msgid "Order scheduled for: %1$s." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:147 +#: includes/admin/class-wc-admin-post-types.php:149 msgid "Order draft updated." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:148 +#: includes/admin/class-wc-admin-post-types.php:150 msgid "Order updated and email sent." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:153 -#: includes/admin/class-wc-admin-post-types.php:156 +#: includes/admin/class-wc-admin-post-types.php:155 #: includes/admin/class-wc-admin-post-types.php:158 +#: includes/admin/class-wc-admin-post-types.php:160 msgid "Coupon updated." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:157 +#: includes/admin/class-wc-admin-post-types.php:159 msgid "Coupon restored to revision from %s" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:159 +#: includes/admin/class-wc-admin-post-types.php:161 msgid "Coupon saved." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:160 +#: includes/admin/class-wc-admin-post-types.php:162 msgid "Coupon submitted." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:161 +#: includes/admin/class-wc-admin-post-types.php:163 msgid "Coupon scheduled for: %1$s." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:163 +#: includes/admin/class-wc-admin-post-types.php:165 msgid "Coupon draft updated." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:178 +#: includes/admin/class-wc-admin-post-types.php:180 msgid "%s product updated." msgid_plural "%s products updated." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:179 +#: includes/admin/class-wc-admin-post-types.php:181 msgid "%s product not updated, somebody is editing it." msgid_plural "%s products not updated, somebody is editing them." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:180 +#: includes/admin/class-wc-admin-post-types.php:182 msgid "%s product permanently deleted." msgid_plural "%s products permanently deleted." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:181 +#: includes/admin/class-wc-admin-post-types.php:183 msgid "%s product moved to the Trash." msgid_plural "%s products moved to the Trash." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:182 +#: includes/admin/class-wc-admin-post-types.php:184 msgid "%s product restored from the Trash." msgid_plural "%s products restored from the Trash." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:186 +#: includes/admin/class-wc-admin-post-types.php:188 msgid "%s order updated." msgid_plural "%s orders updated." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:187 +#: includes/admin/class-wc-admin-post-types.php:189 msgid "%s order not updated, somebody is editing it." msgid_plural "%s orders not updated, somebody is editing them." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:188 +#: includes/admin/class-wc-admin-post-types.php:190 msgid "%s order permanently deleted." msgid_plural "%s orders permanently deleted." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:189 +#: includes/admin/class-wc-admin-post-types.php:191 msgid "%s order moved to the Trash." msgid_plural "%s orders moved to the Trash." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:190 +#: includes/admin/class-wc-admin-post-types.php:192 msgid "%s order restored from the Trash." msgid_plural "%s orders restored from the Trash." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:194 +#: includes/admin/class-wc-admin-post-types.php:196 msgid "%s coupon updated." msgid_plural "%s coupons updated." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:195 +#: includes/admin/class-wc-admin-post-types.php:197 msgid "%s coupon not updated, somebody is editing it." msgid_plural "%s coupons not updated, somebody is editing them." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:196 +#: includes/admin/class-wc-admin-post-types.php:198 msgid "%s coupon permanently deleted." msgid_plural "%s coupons permanently deleted." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:197 +#: includes/admin/class-wc-admin-post-types.php:199 msgid "%s coupon moved to the Trash." msgid_plural "%s coupons moved to the Trash." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:198 +#: includes/admin/class-wc-admin-post-types.php:200 msgid "%s coupon restored from the Trash." msgid_plural "%s coupons restored from the Trash." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:218 -#: includes/admin/class-wc-admin-taxonomies.php:302 +#: includes/admin/class-wc-admin-post-types.php:220 +#: includes/admin/class-wc-admin-taxonomies.php:294 msgid "Image" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:222 +#: includes/admin/class-wc-admin-post-types.php:224 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:291 #: includes/admin/meta-boxes/views/html-variation-admin.php:68 #: includes/admin/views/html-quick-edit-product.php:22 msgid "SKU" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:226 +#: includes/admin/class-wc-admin-post-types.php:228 #: includes/admin/class-wc-admin-reports.php:91 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:694 #: includes/admin/reports/class-wc-report-stock.php:34 @@ -6384,112 +6429,113 @@ msgstr "" msgid "Stock" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:229 +#: includes/admin/class-wc-admin-post-types.php:231 #: includes/admin/views/html-bulk-edit-product.php:21 #: includes/admin/views/html-quick-edit-product.php:33 -#: includes/widgets/class-wc-widget-products.php:56 templates/cart/cart.php:36 -#: templates/cart/cart.php:95 templates/emails/email-order-details.php:35 +#: includes/widgets/class-wc-widget-products.php:56 templates/cart/cart.php:37 +#: templates/cart/cart.php:96 templates/emails/email-order-details.php:36 msgid "Price" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:230 +#: includes/admin/class-wc-admin-post-types.php:232 #: includes/admin/reports/class-wc-report-sales-by-category.php:192 msgid "Categories" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:231 +#: includes/admin/class-wc-admin-post-types.php:233 msgid "Tags" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:234 -#: includes/admin/class-wc-admin-post-types.php:274 +#: includes/admin/class-wc-admin-post-types.php:236 +#: includes/admin/class-wc-admin-post-types.php:276 #: includes/admin/reports/class-wc-report-coupon-usage.php:350 #: includes/admin/reports/class-wc-report-customers.php:226 #: includes/admin/reports/class-wc-report-sales-by-category.php:263 #: includes/admin/reports/class-wc-report-sales-by-date.php:472 -#: includes/admin/reports/class-wc-report-sales-by-product.php:387 +#: includes/admin/reports/class-wc-report-sales-by-product.php:375 #: includes/admin/settings/views/html-webhook-logs.php:17 #: includes/admin/settings/views/html-webhook-logs.php:25 +#: includes/wc-account-functions.php:143 #: includes/widgets/class-wc-widget-products.php:55 -#: templates/myaccount/my-orders.php:26 +#: templates/myaccount/my-orders.php:28 msgid "Date" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:248 +#: includes/admin/class-wc-admin-post-types.php:250 msgid "Code" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:249 +#: includes/admin/class-wc-admin-post-types.php:251 msgid "Coupon type" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:250 +#: includes/admin/class-wc-admin-post-types.php:252 #: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php:70 #: includes/admin/reports/class-wc-report-sales-by-date.php:583 msgid "Coupon amount" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:252 +#: includes/admin/class-wc-admin-post-types.php:254 msgid "Product IDs" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:253 +#: includes/admin/class-wc-admin-post-types.php:255 msgid "Usage / Limit" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:254 +#: includes/admin/class-wc-admin-post-types.php:256 msgid "Expiry date" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:267 +#: includes/admin/class-wc-admin-post-types.php:269 #: includes/admin/class-wc-admin-webhooks-table-list.php:41 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:678 #: includes/admin/settings/views/html-webhook-log.php:25 #: includes/admin/settings/views/html-webhooks-edit.php:24 -#: templates/myaccount/my-orders.php:27 +#: includes/wc-account-functions.php:144 templates/myaccount/my-orders.php:29 msgid "Status" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:268 +#: includes/admin/class-wc-admin-post-types.php:270 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:165 #: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:191 -#: templates/myaccount/my-orders.php:25 +#: includes/wc-account-functions.php:142 templates/myaccount/my-orders.php:27 msgid "Order" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:269 +#: includes/admin/class-wc-admin-post-types.php:271 msgid "Purchased" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:270 +#: includes/admin/class-wc-admin-post-types.php:272 msgid "Billing" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:271 +#: includes/admin/class-wc-admin-post-types.php:273 msgid "Ship to" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:272 +#: includes/admin/class-wc-admin-post-types.php:274 msgid "Customer Message" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:273 +#: includes/admin/class-wc-admin-post-types.php:275 #: includes/class-wc-checkout.php:125 msgid "Order Notes" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:275 +#: includes/admin/class-wc-admin-post-types.php:277 #: includes/admin/meta-boxes/views/html-order-items.php:57 #: includes/admin/reports/class-wc-report-taxes-by-code.php:177 -#: templates/cart/cart-totals.php:91 templates/cart/cart-totals.php:92 -#: templates/cart/cart.php:38 templates/cart/cart.php:118 -#: templates/checkout/review-order.php:26 -#: templates/checkout/review-order.php:105 templates/myaccount/my-orders.php:28 -#: templates/order/order-details.php:31 +#: includes/wc-account-functions.php:145 templates/cart/cart-totals.php:92 +#: templates/cart/cart-totals.php:93 templates/cart/cart.php:39 +#: templates/cart/cart.php:119 templates/checkout/review-order.php:27 +#: templates/checkout/review-order.php:106 templates/myaccount/my-orders.php:30 +#: templates/order/order-details.php:33 msgid "Total" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:276 +#: includes/admin/class-wc-admin-post-types.php:278 #: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:43 #: includes/admin/meta-boxes/views/html-order-items.php:221 #: includes/admin/reports/class-wc-report-customer-list.php:237 @@ -6497,106 +6543,106 @@ msgstr "" msgid "Actions" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:351 +#: includes/admin/class-wc-admin-post-types.php:353 msgid "Grouped" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:353 +#: includes/admin/class-wc-admin-post-types.php:355 msgid "External/Affiliate" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:357 -#: includes/admin/class-wc-admin-post-types.php:1691 +#: includes/admin/class-wc-admin-post-types.php:359 +#: includes/admin/class-wc-admin-post-types.php:1697 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:59 #: includes/admin/meta-boxes/views/html-variation-admin.php:80 msgid "Virtual" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:359 -#: includes/admin/class-wc-admin-post-types.php:1683 +#: includes/admin/class-wc-admin-post-types.php:361 +#: includes/admin/class-wc-admin-post-types.php:1689 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:66 #: includes/admin/meta-boxes/views/html-variation-admin.php:78 msgid "Downloadable" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:361 +#: includes/admin/class-wc-admin-post-types.php:363 msgid "Simple" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:365 +#: includes/admin/class-wc-admin-post-types.php:367 msgid "Variable" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:389 +#: includes/admin/class-wc-admin-post-types.php:391 msgid "Toggle featured" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:391 -#: includes/admin/class-wc-admin-post-types.php:630 -#: includes/admin/class-wc-admin-post-types.php:711 +#: includes/admin/class-wc-admin-post-types.php:393 +#: includes/admin/class-wc-admin-post-types.php:632 #: includes/admin/class-wc-admin-post-types.php:713 #: includes/admin/class-wc-admin-post-types.php:715 -#: includes/admin/settings/class-wc-settings-checkout.php:316 +#: includes/admin/class-wc-admin-post-types.php:717 +#: includes/admin/settings/class-wc-settings-checkout.php:332 #: includes/admin/settings/class-wc-settings-emails.php:269 -#: includes/admin/settings/class-wc-settings-shipping.php:211 +#: includes/admin/settings/class-wc-settings-shipping.php:214 #: includes/admin/views/html-bulk-edit-product.php:205 #: includes/admin/views/html-bulk-edit-product.php:242 #: includes/admin/views/html-bulk-edit-product.php:303 msgid "Yes" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:393 +#: includes/admin/class-wc-admin-post-types.php:395 #: includes/admin/views/html-bulk-edit-product.php:206 #: includes/admin/views/html-bulk-edit-product.php:243 #: includes/admin/views/html-bulk-edit-product.php:304 msgid "No" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:438 +#: includes/admin/class-wc-admin-post-types.php:440 msgid "Edit this item" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:439 +#: includes/admin/class-wc-admin-post-types.php:441 msgid "Edit this item inline" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:439 +#: includes/admin/class-wc-admin-post-types.php:441 msgid "Quick Edit" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:443 -#: includes/admin/class-wc-admin-post-types.php:574 +#: includes/admin/class-wc-admin-post-types.php:445 +#: includes/admin/class-wc-admin-post-types.php:576 #: includes/admin/class-wc-admin-webhooks-table-list.php:104 msgid "Restore this item from the Trash" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:443 -#: includes/admin/class-wc-admin-post-types.php:574 +#: includes/admin/class-wc-admin-post-types.php:445 +#: includes/admin/class-wc-admin-post-types.php:576 #: includes/admin/class-wc-admin-webhooks-table-list.php:104 #: includes/admin/class-wc-admin-webhooks-table-list.php:246 msgid "Restore" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:445 -#: includes/admin/class-wc-admin-post-types.php:576 +#: includes/admin/class-wc-admin-post-types.php:447 +#: includes/admin/class-wc-admin-post-types.php:578 #: includes/admin/class-wc-admin-webhooks-table-list.php:106 msgid "Move this item to the Trash" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:445 -#: includes/admin/class-wc-admin-post-types.php:576 +#: includes/admin/class-wc-admin-post-types.php:447 +#: includes/admin/class-wc-admin-post-types.php:578 #: includes/admin/class-wc-admin-webhooks-table-list.php:106 msgid "Trash" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:449 -#: includes/admin/class-wc-admin-post-types.php:580 +#: includes/admin/class-wc-admin-post-types.php:451 +#: includes/admin/class-wc-admin-post-types.php:582 #: includes/admin/class-wc-admin-webhooks-table-list.php:109 msgid "Delete this item permanently" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:449 -#: includes/admin/class-wc-admin-post-types.php:580 +#: includes/admin/class-wc-admin-post-types.php:451 +#: includes/admin/class-wc-admin-post-types.php:582 #: includes/admin/class-wc-admin-webhooks-table-list.php:109 #: includes/admin/class-wc-admin-webhooks-table-list.php:247 #: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:76 @@ -6604,228 +6650,220 @@ msgstr "" msgid "Delete Permanently" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:455 +#: includes/admin/class-wc-admin-post-types.php:457 msgid "Preview “%s”" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:455 +#: includes/admin/class-wc-admin-post-types.php:457 msgid "Preview" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:457 +#: includes/admin/class-wc-admin-post-types.php:459 msgid "View “%s”" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:457 -#: includes/admin/class-wc-admin-post-types.php:791 +#: includes/admin/class-wc-admin-post-types.php:459 +#: includes/admin/class-wc-admin-post-types.php:793 #: includes/admin/reports/class-wc-report-stock.php:140 -#: includes/admin/views/html-admin-page-status-logs.php:24 -#: templates/myaccount/my-orders.php:88 +#: includes/admin/views/html-admin-page-status-logs.php:23 +#: templates/myaccount/my-orders.php:90 templates/myaccount/orders.php:81 msgid "View" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:528 +#: includes/admin/class-wc-admin-post-types.php:530 msgid "%s / %s" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:530 +#: includes/admin/class-wc-admin-post-types.php:532 msgid "%s / ∞" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:619 +#: includes/admin/class-wc-admin-post-types.php:621 msgid "Unpublished" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:621 +#: includes/admin/class-wc-admin-post-types.php:623 msgid "Y/m/d g:i:s A" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:622 +#: includes/admin/class-wc-admin-post-types.php:624 msgid "Y/m/d" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:638 +#: includes/admin/class-wc-admin-post-types.php:640 #: includes/admin/reports/class-wc-report-sales-by-date.php:409 msgid "%d item" msgid_plural "%d items" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:678 +#: includes/admin/class-wc-admin-post-types.php:680 msgid "Tel:" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:691 -#: includes/admin/class-wc-admin-post-types.php:727 +#: includes/admin/class-wc-admin-post-types.php:693 +#: includes/admin/class-wc-admin-post-types.php:729 msgid "Via" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:713 +#: includes/admin/class-wc-admin-post-types.php:715 msgid "plus %d other note" msgid_plural "plus %d other notes" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:715 +#: includes/admin/class-wc-admin-post-types.php:717 msgid "%d note" msgid_plural "%d notes" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:752 +#: includes/admin/class-wc-admin-post-types.php:754 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:237 msgid "Guest" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:762 +#: includes/admin/class-wc-admin-post-types.php:764 msgid "Show more details" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:776 +#: includes/admin/class-wc-admin-post-types.php:778 msgid "Processing" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:784 +#: includes/admin/class-wc-admin-post-types.php:786 msgid "Complete" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:934 +#: includes/admin/class-wc-admin-post-types.php:936 msgid "Sort Products" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1415 -#: includes/admin/class-wc-admin-post-types.php:1416 +#: includes/admin/class-wc-admin-post-types.php:1417 +#: includes/admin/class-wc-admin-post-types.php:1418 msgid "Mark processing" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1418 -#: includes/admin/class-wc-admin-post-types.php:1419 +#: includes/admin/class-wc-admin-post-types.php:1420 +#: includes/admin/class-wc-admin-post-types.php:1421 msgid "Mark on-hold" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1421 -#: includes/admin/class-wc-admin-post-types.php:1422 +#: includes/admin/class-wc-admin-post-types.php:1423 +#: includes/admin/class-wc-admin-post-types.php:1424 msgid "Mark complete" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1458 +#: includes/admin/class-wc-admin-post-types.php:1460 msgid "Order status changed by bulk edit:" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1492 +#: includes/admin/class-wc-admin-post-types.php:1494 msgid "Order status changed." msgid_plural "%s order statuses changed." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:1643 +#: includes/admin/class-wc-admin-post-types.php:1649 msgid "Show all product types" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1656 +#: includes/admin/class-wc-admin-post-types.php:1662 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:42 -#: includes/wc-product-functions.php:520 +#: includes/wc-product-functions.php:521 msgid "Grouped product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1659 +#: includes/admin/class-wc-admin-post-types.php:1665 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:43 -#: includes/wc-product-functions.php:521 +#: includes/wc-product-functions.php:522 msgid "External/Affiliate product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1662 +#: includes/admin/class-wc-admin-post-types.php:1668 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:44 -#: includes/wc-product-functions.php:522 +#: includes/wc-product-functions.php:523 msgid "Variable product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1665 +#: includes/admin/class-wc-admin-post-types.php:1671 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:41 -#: includes/wc-product-functions.php:519 +#: includes/wc-product-functions.php:520 msgid "Simple product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1706 +#: includes/admin/class-wc-admin-post-types.php:1712 msgid "Show all types" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1735 +#: includes/admin/class-wc-admin-post-types.php:1741 #: includes/admin/settings/views/html-keys-edit.php:35 msgid "Search for a customer…" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2080 +#: includes/admin/class-wc-admin-post-types.php:2086 msgid "Product name" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2083 -#: templates/cart/cart.php:136 templates/checkout/form-coupon.php:35 +#: includes/admin/class-wc-admin-post-types.php:2089 +#: templates/cart/cart.php:137 templates/checkout/form-coupon.php:36 msgid "Coupon code" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2097 +#: includes/admin/class-wc-admin-post-types.php:2103 msgid "Description (optional)" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2113 -msgid "Insert into %s" -msgstr "" - -#: includes/admin/class-wc-admin-post-types.php:2114 -msgid "Uploaded to this %s" -msgstr "" - -#: includes/admin/class-wc-admin-post-types.php:2148 +#: includes/admin/class-wc-admin-post-types.php:2136 msgid "Catalog/search" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2149 +#: includes/admin/class-wc-admin-post-types.php:2137 #: includes/admin/views/html-bulk-edit-product.php:187 #: includes/admin/views/html-quick-edit-product.php:144 msgid "Catalog" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2150 +#: includes/admin/class-wc-admin-post-types.php:2138 #: includes/admin/views/html-bulk-edit-product.php:188 #: includes/admin/views/html-quick-edit-product.php:145 msgid "Search" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2151 +#: includes/admin/class-wc-admin-post-types.php:2139 #: includes/admin/views/html-bulk-edit-product.php:189 #: includes/admin/views/html-quick-edit-product.php:146 msgid "Hidden" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2155 +#: includes/admin/class-wc-admin-post-types.php:2143 msgid "Catalog visibility:" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2171 +#: includes/admin/class-wc-admin-post-types.php:2159 msgid "" "Choose where this product should be displayed in your catalog. The product " "will always be accessible directly." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2177 +#: includes/admin/class-wc-admin-post-types.php:2165 msgid "Enable this option to feature this product." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2179 +#: includes/admin/class-wc-admin-post-types.php:2167 msgid "Featured Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2182 +#: includes/admin/class-wc-admin-post-types.php:2170 msgid "OK" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2183 +#: includes/admin/class-wc-admin-post-types.php:2171 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:164 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:742 #: includes/admin/meta-boxes/views/html-order-items.php:261 #: includes/admin/meta-boxes/views/html-order-items.php:307 -#: templates/myaccount/my-orders.php:92 +#: templates/myaccount/my-orders.php:94 templates/myaccount/orders.php:85 msgid "Cancel" msgstr "" @@ -6835,13 +6873,13 @@ msgstr "" #: includes/admin/class-wc-admin-profile.php:44 #: includes/admin/class-wc-admin-profile.php:97 -#: templates/myaccount/form-edit-account.php:30 +#: templates/myaccount/form-edit-account.php:33 msgid "First name" msgstr "" #: includes/admin/class-wc-admin-profile.php:48 #: includes/admin/class-wc-admin-profile.php:101 -#: templates/myaccount/form-edit-account.php:34 +#: templates/myaccount/form-edit-account.php:37 msgid "Last name" msgstr "" @@ -6870,9 +6908,9 @@ msgstr "" #: includes/admin/class-wc-admin-profile.php:117 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:63 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:112 -#: includes/admin/settings/class-wc-settings-tax.php:169 +#: includes/admin/settings/class-wc-settings-tax.php:180 #: includes/admin/settings/views/html-settings-tax.php:22 -#: templates/cart/shipping-calculator.php:82 +#: templates/cart/shipping-calculator.php:83 msgid "City" msgstr "" @@ -6880,18 +6918,18 @@ msgstr "" #: includes/admin/class-wc-admin-profile.php:121 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:67 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:116 -#: includes/class-wc-countries.php:608 includes/class-wc-countries.php:869 +#: includes/class-wc-countries.php:637 includes/class-wc-countries.php:898 msgid "Postcode" msgstr "" #: includes/admin/class-wc-admin-profile.php:72 #: includes/admin/class-wc-admin-profile.php:125 -#: includes/admin/class-wc-admin-settings.php:574 -#: includes/admin/class-wc-admin-settings.php:599 -#: includes/admin/class-wc-admin-setup-wizard.php:499 +#: includes/admin/class-wc-admin-settings.php:572 +#: includes/admin/class-wc-admin-settings.php:597 +#: includes/admin/class-wc-admin-setup-wizard.php:487 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:71 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:120 -#: includes/class-wc-countries.php:516 +#: includes/class-wc-countries.php:545 msgid "Country" msgstr "" @@ -6899,8 +6937,8 @@ msgstr "" #: includes/admin/class-wc-admin-profile.php:129 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:75 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:124 -#: includes/wc-template-functions.php:1764 -#: templates/cart/shipping-calculator.php:38 +#: includes/wc-template-functions.php:1822 +#: templates/cart/shipping-calculator.php:39 msgid "Select a country…" msgstr "" @@ -6924,7 +6962,7 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:83 #: includes/admin/reports/class-wc-report-customer-list.php:232 #: includes/admin/settings/class-wc-settings-emails.php:233 -#: includes/class-wc-emails.php:351 templates/single-product-reviews.php:75 +#: includes/class-wc-emails.php:352 templates/single-product-reviews.php:76 msgid "Email" msgstr "" @@ -6934,7 +6972,9 @@ msgstr "" #: includes/admin/class-wc-admin-reports.php:45 #: includes/admin/reports/class-wc-report-customer-list.php:234 -#: includes/class-wc-post-types.php:292 +#: includes/admin/settings/class-wc-settings-accounts.php:61 +#: includes/class-wc-post-types.php:299 includes/class-wc-query.php:102 +#: includes/wc-account-functions.php:81 msgid "Orders" msgstr "" @@ -6987,34 +7027,34 @@ msgstr "" msgid "Taxes by date" msgstr "" -#: includes/admin/class-wc-admin-settings.php:86 +#: includes/admin/class-wc-admin-settings.php:83 msgid "Your settings have been saved." msgstr "" -#: includes/admin/class-wc-admin-settings.php:144 +#: includes/admin/class-wc-admin-settings.php:142 msgid "The changes you made will be lost if you navigate away from this page." msgstr "" -#: includes/admin/class-wc-admin-settings.php:516 +#: includes/admin/class-wc-admin-settings.php:514 msgid "" "The settings of this image size have been disabled because its values are " "being overwritten by a filter." msgstr "" -#: includes/admin/class-wc-admin-settings.php:525 +#: includes/admin/class-wc-admin-settings.php:523 msgid "Hard Crop?" msgstr "" -#: includes/admin/class-wc-admin-settings.php:552 +#: includes/admin/class-wc-admin-settings.php:550 msgid "Select a page…" msgstr "" -#: includes/admin/class-wc-admin-settings.php:574 +#: includes/admin/class-wc-admin-settings.php:572 #: includes/admin/class-wc-admin-setup-wizard.php:300 msgid "Choose a country…" msgstr "" -#: includes/admin/class-wc-admin-settings.php:599 +#: includes/admin/class-wc-admin-settings.php:597 msgid "Choose countries…" msgstr "" @@ -7036,7 +7076,7 @@ msgid "Shipping & Tax" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:79 -#: includes/admin/class-wc-admin-setup-wizard.php:643 +#: includes/admin/class-wc-admin-setup-wizard.php:638 msgid "Payments" msgstr "" @@ -7117,15 +7157,15 @@ msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:257 #: includes/admin/class-wc-admin-setup-wizard.php:373 -#: includes/admin/class-wc-admin-setup-wizard.php:532 -#: includes/admin/class-wc-admin-setup-wizard.php:685 +#: includes/admin/class-wc-admin-setup-wizard.php:520 +#: includes/admin/class-wc-admin-setup-wizard.php:680 msgid "Continue" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:258 #: includes/admin/class-wc-admin-setup-wizard.php:374 -#: includes/admin/class-wc-admin-setup-wizard.php:533 -#: includes/admin/class-wc-admin-setup-wizard.php:686 +#: includes/admin/class-wc-admin-setup-wizard.php:521 +#: includes/admin/class-wc-admin-setup-wizard.php:681 msgid "Skip this step" msgstr "" @@ -7151,46 +7191,46 @@ msgid "If your currency is not listed you can %sadd it later%s." msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:320 -#: includes/admin/settings/class-wc-settings-general.php:137 -#: includes/admin/views/html-admin-page-status-report.php:438 +#: includes/admin/settings/class-wc-settings-general.php:169 +#: includes/admin/views/html-admin-page-status-report.php:444 msgid "Currency Position" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:323 -#: includes/admin/settings/class-wc-settings-general.php:145 +#: includes/admin/settings/class-wc-settings-general.php:177 msgid "Left" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:324 -#: includes/admin/settings/class-wc-settings-general.php:146 +#: includes/admin/settings/class-wc-settings-general.php:178 msgid "Right" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:325 -#: includes/admin/settings/class-wc-settings-general.php:147 +#: includes/admin/settings/class-wc-settings-general.php:179 msgid "Left with space" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:326 -#: includes/admin/settings/class-wc-settings-general.php:148 +#: includes/admin/settings/class-wc-settings-general.php:180 msgid "Right with space" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:331 -#: includes/admin/settings/class-wc-settings-general.php:154 -#: includes/admin/views/html-admin-page-status-report.php:443 +#: includes/admin/settings/class-wc-settings-general.php:186 +#: includes/admin/views/html-admin-page-status-report.php:449 msgid "Thousand Separator" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:337 -#: includes/admin/settings/class-wc-settings-general.php:164 -#: includes/admin/views/html-admin-page-status-report.php:448 +#: includes/admin/settings/class-wc-settings-general.php:196 +#: includes/admin/views/html-admin-page-status-report.php:454 msgid "Decimal Separator" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:343 -#: includes/admin/settings/class-wc-settings-general.php:174 -#: includes/admin/views/html-admin-page-status-report.php:453 +#: includes/admin/settings/class-wc-settings-general.php:206 +#: includes/admin/views/html-admin-page-status-report.php:459 msgid "Number of Decimals" msgstr "" @@ -7199,22 +7239,22 @@ msgid "Which unit should be used for product weights?" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:352 -#: includes/admin/settings/class-wc-settings-products.php:431 +#: includes/admin/settings/class-wc-settings-products.php:430 msgid "kg" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:353 -#: includes/admin/settings/class-wc-settings-products.php:432 +#: includes/admin/settings/class-wc-settings-products.php:431 msgid "g" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:354 -#: includes/admin/settings/class-wc-settings-products.php:433 +#: includes/admin/settings/class-wc-settings-products.php:432 msgid "lbs" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:355 -#: includes/admin/settings/class-wc-settings-products.php:434 +#: includes/admin/settings/class-wc-settings-products.php:433 msgid "oz" msgstr "" @@ -7224,35 +7264,35 @@ msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:363 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:195 -#: includes/admin/settings/class-wc-settings-products.php:448 +#: includes/admin/settings/class-wc-settings-products.php:447 msgid "m" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:364 -#: includes/admin/settings/class-wc-settings-products.php:449 +#: includes/admin/settings/class-wc-settings-products.php:448 msgid "cm" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:365 -#: includes/admin/settings/class-wc-settings-products.php:450 +#: includes/admin/settings/class-wc-settings-products.php:449 msgid "mm" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:366 -#: includes/admin/settings/class-wc-settings-products.php:451 +#: includes/admin/settings/class-wc-settings-products.php:450 msgid "in" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:367 -#: includes/admin/settings/class-wc-settings-products.php:452 +#: includes/admin/settings/class-wc-settings-products.php:451 msgid "yd" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:426 +#: includes/admin/class-wc-admin-setup-wizard.php:414 msgid "Shipping & Tax Setup" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:428 +#: includes/admin/class-wc-admin-setup-wizard.php:416 msgid "" "If you will be charging sales tax, or shipping physical goods to customers, " "you can configure the basic options below. This is optional and can be " @@ -7260,189 +7300,193 @@ msgid "" "> Settings > Shipping%3$s." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:432 +#: includes/admin/class-wc-admin-setup-wizard.php:420 msgid "Basic Shipping Setup" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:436 +#: includes/admin/class-wc-admin-setup-wizard.php:424 msgid "Will you be shipping products?" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:439 +#: includes/admin/class-wc-admin-setup-wizard.php:427 msgid "Yes, I will be shipping physical goods to customers" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:443 -msgid "Domestic shipping costs:" +#: includes/admin/class-wc-admin-setup-wizard.php:431 +msgid "Domestic shipping cost:" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:445 -#: includes/admin/class-wc-admin-setup-wizard.php:451 +#: includes/admin/class-wc-admin-setup-wizard.php:433 +#: includes/admin/class-wc-admin-setup-wizard.php:439 msgid "A total of %s per order and/or %s per item" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:449 -msgid "International shipping costs:" +#: includes/admin/class-wc-admin-setup-wizard.php:437 +msgid "Worldwide shipping cost:" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:456 +#: includes/admin/class-wc-admin-setup-wizard.php:444 msgid "Basic Tax Setup" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:460 +#: includes/admin/class-wc-admin-setup-wizard.php:448 msgid "Will you be charging sales tax?" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:463 +#: includes/admin/class-wc-admin-setup-wizard.php:451 msgid "Yes, I will be charging sales tax" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:467 +#: includes/admin/class-wc-admin-setup-wizard.php:455 msgid "How will you enter product prices?" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:469 +#: includes/admin/class-wc-admin-setup-wizard.php:457 msgid "I will enter prices inclusive of tax" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:470 +#: includes/admin/class-wc-admin-setup-wizard.php:458 msgid "I will enter prices exclusive of tax" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:492 +#: includes/admin/class-wc-admin-setup-wizard.php:480 msgid "Import Tax Rates?" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:494 +#: includes/admin/class-wc-admin-setup-wizard.php:482 msgid "Yes, please import some starter tax rates" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:500 -#: includes/class-wc-countries.php:611 includes/class-wc-countries.php:864 +#: includes/admin/class-wc-admin-setup-wizard.php:488 +#: includes/class-wc-countries.php:640 includes/class-wc-countries.php:893 msgid "State" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:501 +#: includes/admin/class-wc-admin-setup-wizard.php:489 msgid "Rate (%)" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:503 +#: includes/admin/class-wc-admin-setup-wizard.php:491 msgid "Tax Shipping" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:522 +#: includes/admin/class-wc-admin-setup-wizard.php:510 msgid "" "Please note: you may still need to add local and product specific tax rates " "depending on your business location. If in doubt, speak to an accountant." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:524 +#: includes/admin/class-wc-admin-setup-wizard.php:512 msgid "" "You can edit tax rates later from the %1$stax settings%3$s screen and read " "more about taxes in %2$sour documentation%3$s." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:645 +#: includes/admin/class-wc-admin-setup-wizard.php:549 +msgid "Domestic" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:640 msgid "" "WooCommerce can accept both online and offline payments. %2$sAdditional " "payment methods%3$s can be installed later and managed from the " "%1$scheckout settings%3$s screen." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:650 +#: includes/admin/class-wc-admin-setup-wizard.php:645 msgid "" "To accept payments via PayPal on your store, simply enter your PayPal email " "address below." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:654 +#: includes/admin/class-wc-admin-setup-wizard.php:649 msgid "PayPal Email Address:" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:661 +#: includes/admin/class-wc-admin-setup-wizard.php:656 msgid "Offline Payments" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:662 +#: includes/admin/class-wc-admin-setup-wizard.php:657 msgid "" "Offline gateways require manual processing, but can be useful in certain " "circumstances or for testing payments." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:666 +#: includes/admin/class-wc-admin-setup-wizard.php:661 msgid "Cheque Payments" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:668 +#: includes/admin/class-wc-admin-setup-wizard.php:663 msgid "Enable payment via Cheques" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:672 +#: includes/admin/class-wc-admin-setup-wizard.php:667 #: includes/gateways/cod/class-wc-gateway-cod.php:26 #: includes/gateways/cod/class-wc-gateway-cod.php:71 msgid "Cash on Delivery" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:674 +#: includes/admin/class-wc-admin-setup-wizard.php:669 msgid "Enable cash on delivery" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:678 +#: includes/admin/class-wc-admin-setup-wizard.php:673 msgid "Bank Transfer (BACS)" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:680 +#: includes/admin/class-wc-admin-setup-wizard.php:675 msgid "Enable BACS payments" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:747 +#: includes/admin/class-wc-admin-setup-wizard.php:742 msgid "Your Store is Ready!" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:751 +#: includes/admin/class-wc-admin-setup-wizard.php:746 msgid "" "Want to help make WooCommerce even more awesome? Allow WooThemes to collect " "non-sensitive diagnostic data and usage information. %sFind out more%s." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:753 +#: includes/admin/class-wc-admin-setup-wizard.php:748 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:324 #: includes/admin/views/html-bulk-edit-product.php:284 #: includes/admin/views/html-notice-tracking.php:13 #: includes/admin/views/html-quick-edit-product.php:203 -#: includes/class-wc-ajax.php:840 includes/class-wc-ajax.php:2437 +#: includes/class-wc-ajax.php:861 includes/class-wc-ajax.php:2473 msgid "Allow" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:754 +#: includes/admin/class-wc-admin-setup-wizard.php:749 msgid "No thanks" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:761 +#: includes/admin/class-wc-admin-setup-wizard.php:756 msgid "Next Steps" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:763 +#: includes/admin/class-wc-admin-setup-wizard.php:758 msgid "Create your first product!" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:767 +#: includes/admin/class-wc-admin-setup-wizard.php:762 msgid "Learn More" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:769 +#: includes/admin/class-wc-admin-setup-wizard.php:764 msgid "Watch the WC 101 video walkthroughs" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:770 +#: includes/admin/class-wc-admin-setup-wizard.php:765 msgid "Get eCommerce advice in your inbox" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:771 +#: includes/admin/class-wc-admin-setup-wizard.php:766 msgid "Follow Sidekick interactive walkthroughs" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:772 +#: includes/admin/class-wc-admin-setup-wizard.php:767 msgid "Read more about getting started" msgstr "" @@ -7454,197 +7498,197 @@ msgstr "" msgid "%d Transients Rows Cleared" msgstr "" -#: includes/admin/class-wc-admin-status.php:83 +#: includes/admin/class-wc-admin-status.php:82 msgid "Roles successfully reset" msgstr "" -#: includes/admin/class-wc-admin-status.php:95 +#: includes/admin/class-wc-admin-status.php:94 msgid "Terms successfully recounted" msgstr "" -#: includes/admin/class-wc-admin-status.php:103 +#: includes/admin/class-wc-admin-status.php:102 msgid "Sessions successfully cleared" msgstr "" -#: includes/admin/class-wc-admin-status.php:107 +#: includes/admin/class-wc-admin-status.php:106 msgid "All missing WooCommerce pages was installed successfully." msgstr "" -#: includes/admin/class-wc-admin-status.php:115 +#: includes/admin/class-wc-admin-status.php:114 msgid "Tax rates successfully deleted" msgstr "" -#: includes/admin/class-wc-admin-status.php:121 +#: includes/admin/class-wc-admin-status.php:120 msgid "Usage tracking settings successfully reset." msgstr "" -#: includes/admin/class-wc-admin-status.php:130 +#: includes/admin/class-wc-admin-status.php:129 msgid "There was an error calling %s::%s" msgstr "" -#: includes/admin/class-wc-admin-status.php:133 +#: includes/admin/class-wc-admin-status.php:131 msgid "There was an error calling %s" msgstr "" -#: includes/admin/class-wc-admin-status.php:143 +#: includes/admin/class-wc-admin-status.php:141 msgid "Your changes have been saved." msgstr "" -#: includes/admin/class-wc-admin-status.php:156 +#: includes/admin/class-wc-admin-status.php:154 msgid "WC Transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:157 +#: includes/admin/class-wc-admin-status.php:155 msgid "Clear transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:158 +#: includes/admin/class-wc-admin-status.php:156 msgid "This tool will clear the product/shop transients cache." msgstr "" -#: includes/admin/class-wc-admin-status.php:161 +#: includes/admin/class-wc-admin-status.php:159 msgid "Expired Transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:162 +#: includes/admin/class-wc-admin-status.php:160 msgid "Clear expired transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:163 +#: includes/admin/class-wc-admin-status.php:161 msgid "This tool will clear ALL expired transients from WordPress." msgstr "" -#: includes/admin/class-wc-admin-status.php:166 +#: includes/admin/class-wc-admin-status.php:164 msgid "Term counts" msgstr "" -#: includes/admin/class-wc-admin-status.php:167 +#: includes/admin/class-wc-admin-status.php:165 msgid "Recount terms" msgstr "" -#: includes/admin/class-wc-admin-status.php:168 +#: includes/admin/class-wc-admin-status.php:166 msgid "" "This tool will recount product terms - useful when changing your settings " "in a way which hides products from the catalog." msgstr "" -#: includes/admin/class-wc-admin-status.php:171 +#: includes/admin/class-wc-admin-status.php:169 msgid "Capabilities" msgstr "" -#: includes/admin/class-wc-admin-status.php:172 +#: includes/admin/class-wc-admin-status.php:170 msgid "Reset capabilities" msgstr "" -#: includes/admin/class-wc-admin-status.php:173 +#: includes/admin/class-wc-admin-status.php:171 msgid "" "This tool will reset the admin, customer and shop_manager roles to default. " "Use this if your users cannot access all of the WooCommerce admin pages." msgstr "" -#: includes/admin/class-wc-admin-status.php:176 +#: includes/admin/class-wc-admin-status.php:174 msgid "Customer Sessions" msgstr "" -#: includes/admin/class-wc-admin-status.php:177 +#: includes/admin/class-wc-admin-status.php:175 msgid "Clear all sessions" msgstr "" -#: includes/admin/class-wc-admin-status.php:178 +#: includes/admin/class-wc-admin-status.php:176 msgid "" "Warning: This tool will delete all customer " "session data from the database, including any current live carts." msgstr "" -#: includes/admin/class-wc-admin-status.php:181 +#: includes/admin/class-wc-admin-status.php:179 msgid "Install WooCommerce Pages" msgstr "" -#: includes/admin/class-wc-admin-status.php:182 +#: includes/admin/class-wc-admin-status.php:180 msgid "Install pages" msgstr "" -#: includes/admin/class-wc-admin-status.php:183 +#: includes/admin/class-wc-admin-status.php:181 msgid "" "Note: This tool will install all the missing " "WooCommerce pages. Pages already defined and set up will not be replaced." msgstr "" -#: includes/admin/class-wc-admin-status.php:186 +#: includes/admin/class-wc-admin-status.php:184 msgid "Delete all WooCommerce tax rates" msgstr "" -#: includes/admin/class-wc-admin-status.php:187 +#: includes/admin/class-wc-admin-status.php:185 msgid "Delete ALL tax rates" msgstr "" -#: includes/admin/class-wc-admin-status.php:188 +#: includes/admin/class-wc-admin-status.php:186 msgid "" "Note: This option will delete ALL of your " "tax rates, use with caution." msgstr "" -#: includes/admin/class-wc-admin-status.php:191 +#: includes/admin/class-wc-admin-status.php:189 msgid "Reset Usage Tracking Settings" msgstr "" -#: includes/admin/class-wc-admin-status.php:192 +#: includes/admin/class-wc-admin-status.php:190 msgid "Reset usage tracking settings" msgstr "" -#: includes/admin/class-wc-admin-status.php:193 +#: includes/admin/class-wc-admin-status.php:191 msgid "" "This will reset your usage tracking settings, causing it to show the opt-in " "banner again and not sending any data." msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:93 -#: includes/admin/class-wc-admin-taxonomies.php:181 +#: includes/admin/class-wc-admin-taxonomies.php:92 +#: includes/admin/class-wc-admin-taxonomies.php:180 #: includes/widgets/class-wc-widget-layered-nav.php:86 msgid "Display type" msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:96 -#: includes/admin/class-wc-admin-taxonomies.php:185 +#: includes/admin/class-wc-admin-taxonomies.php:95 +#: includes/admin/class-wc-admin-taxonomies.php:184 #: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php:101 #: includes/admin/settings/class-wc-settings-products.php:28 -#: includes/class-wc-post-types.php:239 +#: includes/class-wc-post-types.php:241 #: includes/widgets/class-wc-widget-products.php:29 msgid "Products" msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:97 -#: includes/admin/class-wc-admin-taxonomies.php:186 +#: includes/admin/class-wc-admin-taxonomies.php:96 +#: includes/admin/class-wc-admin-taxonomies.php:185 msgid "Subcategories" msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:98 -#: includes/admin/class-wc-admin-taxonomies.php:187 +#: includes/admin/class-wc-admin-taxonomies.php:97 +#: includes/admin/class-wc-admin-taxonomies.php:186 msgid "Both" msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:102 -#: includes/admin/class-wc-admin-taxonomies.php:192 -#: includes/admin/class-wc-admin-taxonomies.php:333 +#: includes/admin/class-wc-admin-taxonomies.php:101 +#: includes/admin/class-wc-admin-taxonomies.php:191 +#: includes/admin/class-wc-admin-taxonomies.php:325 msgid "Thumbnail" msgstr "" +#: includes/admin/class-wc-admin-taxonomies.php:105 +#: includes/admin/class-wc-admin-taxonomies.php:196 +msgid "Upload/Add image" +msgstr "" + #: includes/admin/class-wc-admin-taxonomies.php:106 #: includes/admin/class-wc-admin-taxonomies.php:197 -msgid "Upload/Add image" -msgstr "" - -#: includes/admin/class-wc-admin-taxonomies.php:107 -#: includes/admin/class-wc-admin-taxonomies.php:198 msgid "Remove image" msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:133 -#: includes/admin/class-wc-admin-taxonomies.php:224 +#: includes/admin/class-wc-admin-taxonomies.php:132 +#: includes/admin/class-wc-admin-taxonomies.php:223 msgid "Use image" msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:276 +#: includes/admin/class-wc-admin-taxonomies.php:275 msgid "" "Product categories for your store can be managed here. To change the order " "of categories on the front-end you can drag and drop to sort them. To see " @@ -7652,14 +7696,7 @@ msgid "" "page." msgstr "" -#: includes/admin/class-wc-admin-taxonomies.php:283 -msgid "" -"Shipping classes can be used to group products of similar type. These " -"groups can then be used by certain shipping methods to provide different " -"rates to different products." -msgstr "" - -#: includes/admin/class-wc-admin-taxonomies.php:290 +#: includes/admin/class-wc-admin-taxonomies.php:282 msgid "" "Attribute terms can be assigned to products and " "variations.

    Note: Deleting a term will remove it from all " @@ -7757,17 +7794,17 @@ msgstr "" #: includes/admin/class-wc-admin-webhooks.php:403 #: includes/admin/settings/class-wc-settings-api.php:47 -#: includes/class-wc-post-types.php:388 +#: includes/class-wc-post-types.php:401 msgid "Webhooks" msgstr "" #: includes/admin/class-wc-admin-webhooks.php:403 -#: includes/class-wc-post-types.php:391 +#: includes/class-wc-post-types.php:404 msgid "Add Webhook" msgstr "" #: includes/admin/class-wc-admin-webhooks.php:413 -#: includes/class-wc-post-types.php:398 +#: includes/class-wc-post-types.php:411 msgid "Search Webhooks" msgstr "" @@ -7964,7 +8001,7 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:504 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:524 #: includes/admin/meta-boxes/views/html-order-items.php:325 -#: includes/admin/reports/class-wc-report-sales-by-product.php:203 +#: includes/admin/reports/class-wc-report-sales-by-product.php:202 msgid "Search for a product…" msgstr "" @@ -8087,18 +8124,18 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:43 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:92 -#: includes/class-wc-countries.php:497 includes/class-wc-form-handler.php:177 +#: includes/class-wc-countries.php:526 includes/class-wc-form-handler.php:177 msgid "First Name" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:47 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:96 -#: includes/class-wc-countries.php:503 includes/class-wc-form-handler.php:178 +#: includes/class-wc-countries.php:532 includes/class-wc-form-handler.php:178 msgid "Last Name" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:86 -#: includes/class-wc-countries.php:963 +#: includes/class-wc-countries.php:992 msgid "Phone" msgstr "" @@ -8127,9 +8164,7 @@ msgid "Order status:" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:202 -#: includes/admin/settings/class-wc-settings-checkout.php:179 -#: templates/checkout/thankyou.php:29 templates/myaccount/my-orders.php:84 -msgid "Pay" +msgid "Customer payment page" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:216 @@ -8141,7 +8176,7 @@ msgid "View other orders" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:243 -#: templates/checkout/form-billing.php:32 +#: templates/checkout/form-billing.php:33 msgid "Billing Details" msgstr "" @@ -8153,7 +8188,7 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:254 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:337 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:339 -#: includes/class-wc-countries.php:522 +#: includes/class-wc-countries.php:551 msgid "Address" msgstr "" @@ -8162,23 +8197,27 @@ msgid "No billing address set." msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:294 -#: includes/admin/meta-boxes/views/html-order-shipping.php:26 +#: includes/admin/meta-boxes/views/html-order-shipping.php:27 #: includes/admin/settings/class-wc-settings-emails.php:101 #: includes/admin/settings/class-wc-settings-emails.php:112 -#: includes/admin/settings/views/settings-tax.php:103 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:82 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:91 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:108 -#: templates/order/order-details-customer.php:60 -#: templates/order/order-details-customer.php:71 -#: templates/single-product/meta.php:34 +#: includes/admin/settings/views/settings-tax.php:95 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:62 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:71 +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:69 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:83 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:92 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:110 +#: includes/wc-account-functions.php:246 +#: templates/order/order-details-customer.php:61 +#: templates/order/order-details-customer.php:72 +#: templates/single-product/meta.php:35 msgid "N/A" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:308 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:310 -#: includes/admin/meta-boxes/views/html-order-shipping.php:42 -#: includes/admin/meta-boxes/views/html-order-shipping.php:44 +#: includes/admin/meta-boxes/views/html-order-shipping.php:43 +#: includes/admin/meta-boxes/views/html-order-shipping.php:45 msgid "Other" msgstr "" @@ -8213,7 +8252,7 @@ msgid "Customer's notes about the order" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php:57 -#: includes/class-wc-ajax.php:1070 +#: includes/class-wc-ajax.php:1091 msgid "File %d" msgstr "" @@ -8234,7 +8273,7 @@ msgid "by %s" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-notes.php:60 -#: includes/class-wc-ajax.php:1714 +#: includes/class-wc-ajax.php:1741 msgid "Delete note" msgstr "" @@ -8291,10 +8330,10 @@ msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:154 #: includes/admin/meta-boxes/views/html-order-shipping.php:20 #: includes/admin/settings/class-wc-settings-shipping.php:27 -#: includes/admin/settings/class-wc-settings-tax.php:174 +#: includes/admin/settings/class-wc-settings-tax.php:185 #: includes/admin/settings/views/html-settings-tax.php:27 -#: includes/wc-cart-functions.php:188 templates/cart/cart-totals.php:54 -#: templates/cart/cart-totals.php:55 +#: includes/wc-cart-functions.php:188 templates/cart/cart-totals.php:55 +#: templates/cart/cart-totals.php:56 msgid "Shipping" msgstr "" @@ -8303,7 +8342,7 @@ msgid "Linked Products" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:116 -#: includes/class-wc-post-types.php:278 +#: includes/class-wc-post-types.php:285 msgid "Variations" msgstr "" @@ -8328,13 +8367,13 @@ msgid "This text will be shown on the button linking to the external product." msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:151 -#: includes/admin/views/html-quick-edit-product.php:35 -msgid "Regular Price" +#: includes/admin/meta-boxes/views/html-variation-admin.php:93 +msgid "Regular price" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:154 -#: includes/admin/views/html-quick-edit-product.php:42 -msgid "Sale Price" +#: includes/admin/meta-boxes/views/html-variation-admin.php:97 +msgid "Sale price" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:154 @@ -8343,7 +8382,7 @@ msgid "Schedule" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:161 -msgid "Sale Price Dates" +msgid "Sale price dates" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:164 @@ -8352,7 +8391,7 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:175 #: includes/admin/meta-boxes/views/html-variation-admin.php:254 -msgid "Downloadable Files" +msgid "Downloadable files" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:180 @@ -8378,7 +8417,9 @@ msgid "Add File" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:216 -msgid "Download Limit" +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:703 +#: includes/admin/meta-boxes/views/html-variation-admin.php:298 +msgid "Download limit" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:216 @@ -8394,11 +8435,14 @@ msgid "Leave blank for unlimited re-downloads." msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:222 -msgid "Download Expiry" +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:704 +#: includes/admin/meta-boxes/views/html-variation-admin.php:302 +msgid "Download expiry" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:222 #: includes/admin/meta-boxes/views/html-order-download-permission.php:27 +#: templates/myaccount/downloads.php:73 msgid "Never" msgstr "" @@ -8408,7 +8452,7 @@ msgid "Enter the number of days before a download link expires, or leave blank." msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:228 -msgid "Download Type" +msgid "Download type" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:228 @@ -8428,16 +8472,14 @@ msgid "Music" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:245 -#: includes/admin/views/html-bulk-edit-product.php:70 -#: includes/admin/views/html-quick-edit-product.php:50 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:48 -msgid "Tax Status" +msgid "Tax status" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:247 #: includes/admin/views/html-bulk-edit-product.php:76 #: includes/admin/views/html-quick-edit-product.php:55 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:53 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:32 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:53 msgid "Taxable" msgstr "" @@ -8456,19 +8498,18 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:257 #: includes/admin/meta-boxes/views/html-order-items.php:21 #: includes/admin/settings/views/html-settings-tax.php:13 -#: includes/admin/settings/views/settings-tax.php:53 +#: includes/admin/settings/views/settings-tax.php:45 #: includes/admin/views/html-bulk-edit-product.php:95 #: includes/admin/views/html-quick-edit-product.php:73 -#: includes/class-wc-ajax.php:828 includes/class-wc-ajax.php:2425 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:213 +#: includes/class-wc-ajax.php:849 includes/class-wc-ajax.php:2461 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:215 msgid "Standard" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:267 -#: includes/admin/settings/class-wc-settings-tax.php:175 -#: includes/admin/views/html-bulk-edit-product.php:89 -#: includes/admin/views/html-quick-edit-product.php:68 -msgid "Tax Class" +#: includes/admin/meta-boxes/views/html-order-items.php:356 +#: includes/admin/meta-boxes/views/html-variation-admin.php:223 +msgid "Tax class" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:270 @@ -8499,10 +8540,8 @@ msgid "Enable stock management at product level" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:310 -#: includes/admin/views/html-bulk-edit-product.php:255 -#: includes/admin/views/html-bulk-edit-product.php:271 -#: includes/admin/views/html-quick-edit-product.php:186 -msgid "Stock Qty" +#: includes/admin/meta-boxes/views/html-variation-admin.php:129 +msgid "Stock quantity" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:312 @@ -8514,20 +8553,20 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:321 #: includes/admin/meta-boxes/views/html-variation-admin.php:133 -msgid "Allow Backorders?" +msgid "Allow backorders?" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:322 #: includes/admin/views/html-bulk-edit-product.php:282 #: includes/admin/views/html-quick-edit-product.php:201 -#: includes/class-wc-ajax.php:838 includes/class-wc-ajax.php:2435 +#: includes/class-wc-ajax.php:859 includes/class-wc-ajax.php:2471 msgid "Do not allow" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:323 #: includes/admin/views/html-bulk-edit-product.php:283 #: includes/admin/views/html-quick-edit-product.php:202 -#: includes/class-wc-ajax.php:839 includes/class-wc-ajax.php:2436 +#: includes/class-wc-ajax.php:860 includes/class-wc-ajax.php:2472 msgid "Allow, but notify customer" msgstr "" @@ -8551,7 +8590,7 @@ msgid "" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:346 -msgid "Sold Individually" +msgid "Sold individually" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:346 @@ -8563,7 +8602,7 @@ msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:175 #: includes/admin/views/html-bulk-edit-product.php:117 #: includes/admin/views/html-quick-edit-product.php:98 -#: templates/single-product/product-attributes.php:37 +#: templates/single-product/product-attributes.php:38 msgid "Weight" msgstr "" @@ -8572,7 +8611,7 @@ msgid "Weight in decimal form" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:371 -#: templates/single-product/product-attributes.php:44 +#: templates/single-product/product-attributes.php:45 msgid "Dimensions" msgstr "" @@ -8605,6 +8644,7 @@ msgid "No shipping class" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:404 +#: includes/admin/meta-boxes/views/html-variation-admin.php:207 #: includes/admin/views/html-bulk-edit-product.php:165 #: includes/admin/views/html-quick-edit-product.php:123 msgid "Shipping class" @@ -8635,11 +8675,11 @@ msgid "Custom product attribute" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:477 -msgid "Save Attributes" +msgid "Save attributes" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:486 -msgid "Up-Sells" +msgid "Up-sells" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:499 @@ -8650,7 +8690,7 @@ msgid "" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:503 -msgid "Cross-Sells" +msgid "Cross-sells" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:516 @@ -8668,7 +8708,7 @@ msgid "Set this option to make this product part of a grouped product." msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:553 -msgid "Purchase Note" +msgid "Purchase note" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:553 @@ -8694,7 +8734,7 @@ msgid "" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:623 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:96 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:98 msgid "Learn more" msgstr "" @@ -8774,16 +8814,8 @@ msgstr "" msgid "Downloadable products" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:703 -msgid "Download limit" -msgstr "" - -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:704 -msgid "Download expiry" -msgstr "" - #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:708 -#: includes/admin/views/html-report-by-date.php:41 +#: includes/admin/views/html-report-by-date.php:44 msgid "Go" msgstr "" @@ -8825,43 +8857,44 @@ msgid "Go to the last page" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:741 -#: includes/admin/settings/views/html-keys-edit.php:96 -#: includes/admin/views/html-admin-page-status-tools.php:69 -msgid "Save Changes" +#: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php:10 +#: includes/admin/views/html-admin-settings.php:32 +#: templates/myaccount/form-edit-account.php:69 +msgid "Save changes" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:852 msgid "Product SKU must be unique." msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1164 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1181 msgid "" "The downloadable file %s cannot be used as it does not have an allowed file " "type. Allowed types include: %s" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1177 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1194 msgid "The downloadable file %s cannot be used as it does not exist on the server." msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1288 -#: includes/api/class-wc-api-products.php:1703 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1305 +#: includes/api/class-wc-api-products.php:1732 #: includes/api/v2/class-wc-api-products.php:1241 #: includes/cli/class-wc-cli-product.php:1538 msgid "Variation #%s of %s" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1341 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1358 msgid "#%s – Variation SKU must be unique." msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1461 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1478 msgid "" "#%s – The downloadable file %s cannot be used as it does not have an " "allowed file type. Allowed types include: %s" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1468 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1485 msgid "" "#%s – The downloadable file %s cannot be used as it does not exist on " "the server." @@ -8899,17 +8932,21 @@ msgstr[0] "" msgstr[1] "" #: includes/admin/meta-boxes/views/html-order-download-permission.php:20 -msgid "Downloads Remaining" +msgid "Downloads remaining" msgstr "" #: includes/admin/meta-boxes/views/html-order-download-permission.php:26 -msgid "Access Expires" +msgid "Access expires" msgstr "" #: includes/admin/meta-boxes/views/html-order-fee.php:23 msgid "Fee Name" msgstr "" +#: includes/admin/meta-boxes/views/html-order-item-meta.php:90 +msgid "Add meta" +msgstr "" + #: includes/admin/meta-boxes/views/html-order-item.php:19 msgid "Product ID:" msgstr "" @@ -8927,33 +8964,30 @@ msgstr "" msgid "Product SKU:" msgstr "" -#: includes/admin/meta-boxes/views/html-order-item.php:142 -msgid "Add meta" -msgstr "" - -#: includes/admin/meta-boxes/views/html-order-item.php:204 -#: includes/admin/meta-boxes/views/html-order-item.php:247 +#: includes/admin/meta-boxes/views/html-order-item.php:112 +#: includes/admin/meta-boxes/views/html-order-item.php:155 msgid "After pre-tax discounts." msgstr "" -#: includes/admin/meta-boxes/views/html-order-item.php:207 -#: includes/admin/meta-boxes/views/html-order-item.php:250 +#: includes/admin/meta-boxes/views/html-order-item.php:115 +#: includes/admin/meta-boxes/views/html-order-item.php:158 msgid "Before pre-tax discounts." msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:51 -#: includes/class-wc-form-handler.php:406 +#: includes/class-wc-form-handler.php:405 #: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:302 msgid "Item" msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:55 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:58 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:37 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:58 msgid "Cost" msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:56 -#: templates/checkout/form-pay.php:29 +#: templates/checkout/form-pay.php:30 msgid "Qty" msgstr "" @@ -8961,7 +8995,7 @@ msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:64 #: includes/admin/reports/class-wc-report-taxes-by-code.php:149 #: includes/admin/settings/class-wc-settings-tax.php:33 -#: includes/class-wc-countries.php:294 includes/class-wc-tax.php:649 +#: includes/class-wc-countries.php:323 includes/class-wc-tax.php:649 msgid "Tax" msgstr "" @@ -9042,7 +9076,7 @@ msgid "Add shipping cost" msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:262 -#: templates/myaccount/form-lost-password.php:58 +#: templates/myaccount/form-lost-password.php:59 msgid "Save" msgstr "" @@ -9095,16 +9129,12 @@ msgstr "" msgid "Rate name" msgstr "" -#: includes/admin/meta-boxes/views/html-order-items.php:356 -msgid "Tax class" -msgstr "" - #: includes/admin/meta-boxes/views/html-order-items.php:357 msgid "Rate code" msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:358 -#: includes/admin/settings/class-wc-settings-tax.php:170 +#: includes/admin/settings/class-wc-settings-tax.php:181 msgid "Rate %" msgstr "" @@ -9124,11 +9154,11 @@ msgstr "" msgid "ID: " msgstr "" -#: includes/admin/meta-boxes/views/html-order-shipping.php:23 +#: includes/admin/meta-boxes/views/html-order-shipping.php:24 msgid "Shipping Name" msgstr "" -#: includes/admin/meta-boxes/views/html-order-shipping.php:25 +#: includes/admin/meta-boxes/views/html-order-shipping.php:26 msgid "Shipping Method" msgstr "" @@ -9190,12 +9220,12 @@ msgid "Enter a SKU for this variation or leave blank to use the parent product S msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:76 -#: includes/admin/settings/class-wc-settings-checkout.php:276 +#: includes/admin/settings/class-wc-settings-checkout.php:292 #: includes/admin/settings/class-wc-settings-emails.php:269 -#: includes/admin/settings/class-wc-settings-shipping.php:191 -#: includes/admin/views/html-admin-page-status-tools.php:37 -#: includes/admin/views/html-admin-page-status-tools.php:48 -#: includes/admin/views/html-admin-page-status-tools.php:59 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:15 +#: includes/admin/views/html-admin-page-status-tools.php:31 +#: includes/admin/views/html-admin-page-status-tools.php:42 +#: includes/admin/views/html-admin-page-status-tools.php:53 msgid "Enabled" msgstr "" @@ -9213,32 +9243,20 @@ msgstr "" msgid "Enable this option to enable stock management at variation level" msgstr "" -#: includes/admin/meta-boxes/views/html-variation-admin.php:93 -msgid "Regular Price:" -msgstr "" - #: includes/admin/meta-boxes/views/html-variation-admin.php:94 msgid "Variation price (required)" msgstr "" -#: includes/admin/meta-boxes/views/html-variation-admin.php:97 -msgid "Sale Price:" -msgstr "" - #: includes/admin/meta-boxes/views/html-variation-admin.php:97 msgid "Cancel schedule" msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:103 -msgid "Sale start date:" +msgid "Sale start date" msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:107 -msgid "Sale end date:" -msgstr "" - -#: includes/admin/meta-boxes/views/html-variation-admin.php:129 -msgid "Stock Qty:" +msgid "Sale end date" msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:129 @@ -9257,29 +9275,13 @@ msgstr "" msgid "Dimensions (L×W×H)" msgstr "" -#: includes/admin/meta-boxes/views/html-variation-admin.php:207 -msgid "Shipping class:" -msgstr "" - #: includes/admin/meta-boxes/views/html-variation-admin.php:211 #: includes/admin/meta-boxes/views/html-variation-admin.php:225 msgid "Same as parent" msgstr "" -#: includes/admin/meta-boxes/views/html-variation-admin.php:223 -msgid "Tax class:" -msgstr "" - #: includes/admin/meta-boxes/views/html-variation-admin.php:248 -msgid "Variation Description:" -msgstr "" - -#: includes/admin/meta-boxes/views/html-variation-admin.php:298 -msgid "Download Limit:" -msgstr "" - -#: includes/admin/meta-boxes/views/html-variation-admin.php:302 -msgid "Download Expiry:" +msgid "Variation description" msgstr "" #: includes/admin/reports/class-wc-admin-report.php:484 @@ -9304,7 +9306,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customers.php:162 #: includes/admin/reports/class-wc-report-sales-by-category.php:113 #: includes/admin/reports/class-wc-report-sales-by-date.php:432 -#: includes/admin/reports/class-wc-report-sales-by-product.php:127 +#: includes/admin/reports/class-wc-report-sales-by-product.php:126 #: includes/admin/reports/class-wc-report-taxes-by-code.php:49 #: includes/admin/reports/class-wc-report-taxes-by-date.php:49 msgid "Year" @@ -9314,7 +9316,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customers.php:163 #: includes/admin/reports/class-wc-report-sales-by-category.php:114 #: includes/admin/reports/class-wc-report-sales-by-date.php:433 -#: includes/admin/reports/class-wc-report-sales-by-product.php:128 +#: includes/admin/reports/class-wc-report-sales-by-product.php:127 #: includes/admin/reports/class-wc-report-taxes-by-code.php:50 #: includes/admin/reports/class-wc-report-taxes-by-date.php:50 msgid "Last Month" @@ -9324,7 +9326,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customers.php:164 #: includes/admin/reports/class-wc-report-sales-by-category.php:115 #: includes/admin/reports/class-wc-report-sales-by-date.php:434 -#: includes/admin/reports/class-wc-report-sales-by-product.php:129 +#: includes/admin/reports/class-wc-report-sales-by-product.php:128 #: includes/admin/reports/class-wc-report-taxes-by-code.php:51 #: includes/admin/reports/class-wc-report-taxes-by-date.php:51 msgid "This Month" @@ -9334,7 +9336,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customers.php:165 #: includes/admin/reports/class-wc-report-sales-by-category.php:116 #: includes/admin/reports/class-wc-report-sales-by-date.php:435 -#: includes/admin/reports/class-wc-report-sales-by-product.php:130 +#: includes/admin/reports/class-wc-report-sales-by-product.php:129 msgid "Last 7 Days" msgstr "" @@ -9352,7 +9354,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-coupon-usage.php:207 #: includes/admin/reports/class-wc-report-sales-by-category.php:223 -#: includes/admin/reports/class-wc-report-sales-by-product.php:204 +#: includes/admin/reports/class-wc-report-sales-by-product.php:203 #: includes/widgets/class-wc-widget-products.php:43 msgid "Show" msgstr "" @@ -9378,7 +9380,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customers.php:229 #: includes/admin/reports/class-wc-report-sales-by-category.php:266 #: includes/admin/reports/class-wc-report-sales-by-date.php:476 -#: includes/admin/reports/class-wc-report-sales-by-product.php:390 +#: includes/admin/reports/class-wc-report-sales-by-product.php:378 #: includes/admin/reports/class-wc-report-taxes-by-code.php:38 #: includes/admin/reports/class-wc-report-taxes-by-date.php:38 #: includes/admin/settings/views/html-settings-tax.php:35 @@ -9395,7 +9397,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customer-list.php:27 #: includes/admin/settings/class-wc-settings-emails.php:260 -#: includes/class-wc-install.php:486 +#: includes/class-wc-install.php:570 msgid "Customer" msgstr "" @@ -9434,7 +9436,7 @@ msgid "Name (Last, First)" msgstr "" #: includes/admin/reports/class-wc-report-customer-list.php:231 -#: templates/myaccount/form-login.php:83 +#: templates/myaccount/form-login.php:84 msgid "Username" msgstr "" @@ -9573,7 +9575,7 @@ msgid "%s worth of coupons used" msgstr "" #: includes/admin/reports/class-wc-report-sales-by-date.php:547 -#: includes/admin/reports/class-wc-report-sales-by-product.php:504 +#: includes/admin/reports/class-wc-report-sales-by-product.php:492 msgid "Number of items sold" msgstr "" @@ -9601,49 +9603,49 @@ msgstr "" msgid "Net Sales amount" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:107 +#: includes/admin/reports/class-wc-report-sales-by-product.php:106 msgid "%s sales for the selected items" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:113 +#: includes/admin/reports/class-wc-report-sales-by-product.php:112 msgid "%s purchases for the selected items" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:159 +#: includes/admin/reports/class-wc-report-sales-by-product.php:158 msgid "Showing reports for:" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:191 +#: includes/admin/reports/class-wc-report-sales-by-product.php:190 msgid "Reset" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:199 +#: includes/admin/reports/class-wc-report-sales-by-product.php:198 msgid "Product Search" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:214 +#: includes/admin/reports/class-wc-report-sales-by-product.php:213 msgid "Top Sellers" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:258 -#: includes/admin/reports/class-wc-report-sales-by-product.php:308 -#: includes/admin/reports/class-wc-report-sales-by-product.php:348 +#: includes/admin/reports/class-wc-report-sales-by-product.php:248 +#: includes/admin/reports/class-wc-report-sales-by-product.php:296 +#: includes/admin/reports/class-wc-report-sales-by-product.php:336 msgid "No products found in range" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:263 +#: includes/admin/reports/class-wc-report-sales-by-product.php:253 msgid "Top Freebies" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:313 +#: includes/admin/reports/class-wc-report-sales-by-product.php:301 msgid "Top Earners" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:406 +#: includes/admin/reports/class-wc-report-sales-by-product.php:394 msgid "← Choose a product to view stats" msgstr "" -#: includes/admin/reports/class-wc-report-sales-by-product.php:512 +#: includes/admin/reports/class-wc-report-sales-by-product.php:500 msgid "Sales amount" msgstr "" @@ -9656,11 +9658,11 @@ msgid "product" msgstr "" #: includes/admin/reports/class-wc-report-stock.php:164 -#: includes/class-wc-post-types.php:240 templates/cart/cart.php:35 -#: templates/cart/cart.php:77 templates/checkout/form-pay.php:28 -#: templates/checkout/review-order.php:25 -#: templates/emails/email-order-details.php:33 -#: templates/order/order-details.php:30 +#: includes/class-wc-post-types.php:242 templates/cart/cart.php:36 +#: templates/cart/cart.php:78 templates/checkout/form-pay.php:29 +#: templates/checkout/review-order.php:26 +#: templates/emails/email-order-details.php:34 +#: templates/order/order-details.php:32 msgid "Product" msgstr "" @@ -9741,7 +9743,7 @@ msgid "Total sales minus shipping and tax." msgstr "" #: includes/admin/reports/class-wc-report-taxes-by-date.php:190 -#: templates/checkout/form-pay.php:30 +#: templates/checkout/form-pay.php:31 msgid "Totals" msgstr "" @@ -9764,8 +9766,8 @@ msgid "My Account Page" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:47 -#: includes/admin/settings/class-wc-settings-checkout.php:139 -#: includes/admin/settings/class-wc-settings-checkout.php:150 +#: includes/admin/settings/class-wc-settings-checkout.php:138 +#: includes/admin/settings/class-wc-settings-checkout.php:149 msgid "Page contents:" msgstr "" @@ -9779,87 +9781,109 @@ msgid "" "accounts pages. They should be unique." msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:61 -#: includes/class-wc-post-types.php:299 includes/class-wc-post-types.php:300 -msgid "View Order" -msgstr "" - #: includes/admin/settings/class-wc-settings-accounts.php:62 -msgid "Endpoint for the My Account → View Order page" +msgid "Endpoint for the My Account → Orders page" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:70 -msgid "Edit Account" +#: includes/class-wc-post-types.php:306 includes/class-wc-post-types.php:307 +msgid "View Order" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:71 -msgid "Endpoint for the My Account → Edit Account page" +msgid "Endpoint for the My Account → View Order page" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:79 -#: includes/class-wc-query.php:123 -msgid "Edit Address" +#: includes/class-wc-query.php:110 includes/wc-account-functions.php:82 +msgid "Downloads" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:80 -msgid "Endpoint for the My Account → Edit Address page" +msgid "Endpoint for the My Account → Downloads page" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:88 -#: includes/class-wc-query.php:129 -msgid "Lost Password" +msgid "Edit Account" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:89 -msgid "Endpoint for the My Account → Lost Password page" +msgid "Endpoint for the My Account → Edit Account page" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:97 -#: templates/auth/form-grant-access.php:38 -msgid "Logout" +#: includes/class-wc-query.php:116 +msgid "Edit Address" msgstr "" #: includes/admin/settings/class-wc-settings-accounts.php:98 +msgid "Endpoint for the My Account → Edit Address page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:106 +#: includes/class-wc-query.php:119 includes/wc-account-functions.php:84 +msgid "Payment Methods" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:107 +msgid "Endpoint for the My Account → Payment Methods page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:115 +#: includes/class-wc-query.php:125 +msgid "Lost Password" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:116 +msgid "Endpoint for the My Account → Lost Password page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:124 +#: includes/wc-account-functions.php:86 templates/auth/form-grant-access.php:39 +msgid "Logout" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:125 msgid "" "Endpoint for the triggering logout. You can add this to your menus via a " "custom link: yoursite.com/?customer-logout=true" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:107 +#: includes/admin/settings/class-wc-settings-accounts.php:134 msgid "Registration Options" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:110 +#: includes/admin/settings/class-wc-settings-accounts.php:137 msgid "Enable Registration" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:111 +#: includes/admin/settings/class-wc-settings-accounts.php:138 msgid "Enable registration on the \"Checkout\" page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:120 +#: includes/admin/settings/class-wc-settings-accounts.php:147 msgid "Enable registration on the \"My Account\" page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:129 +#: includes/admin/settings/class-wc-settings-accounts.php:156 msgid "Display returning customer login reminder on the \"Checkout\" page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:138 +#: includes/admin/settings/class-wc-settings-accounts.php:165 msgid "Account Creation" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:139 +#: includes/admin/settings/class-wc-settings-accounts.php:166 msgid "Automatically generate username from customer email" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:148 +#: includes/admin/settings/class-wc-settings-accounts.php:175 msgid "Automatically generate customer password" msgstr "" #: includes/admin/settings/class-wc-settings-api.php:27 #: includes/admin/settings/class-wc-settings-api.php:68 -#: includes/admin/views/html-admin-page-status-report.php:462 +#: includes/admin/views/html-admin-page-status-report.php:468 msgid "API" msgstr "" @@ -9888,120 +9912,143 @@ msgstr "" msgid "Coupons can be applied from the cart and checkout pages." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:86 +#: includes/admin/settings/class-wc-settings-checkout.php:85 msgid "Calculate coupon discounts sequentially" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:90 +#: includes/admin/settings/class-wc-settings-checkout.php:89 msgid "" "When applying multiple coupons, apply the first coupon to the full price " "and the second coupon to the discounted price and so on." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:97 +#: includes/admin/settings/class-wc-settings-checkout.php:96 msgid "Enable guest checkout" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:98 +#: includes/admin/settings/class-wc-settings-checkout.php:97 msgid "Allows customers to checkout without creating an account." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:107 +#: includes/admin/settings/class-wc-settings-checkout.php:106 msgid "Force secure checkout" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:113 +#: includes/admin/settings/class-wc-settings-checkout.php:112 msgid "Force SSL (HTTPS) on the checkout pages (an SSL Certificate is required)." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:117 +#: includes/admin/settings/class-wc-settings-checkout.php:116 msgid "Force HTTP when leaving the checkout" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:131 +#: includes/admin/settings/class-wc-settings-checkout.php:130 msgid "Checkout Pages" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:132 +#: includes/admin/settings/class-wc-settings-checkout.php:131 msgid "" "These pages need to be set so that WooCommerce knows where to send users to " "checkout." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:138 +#: includes/admin/settings/class-wc-settings-checkout.php:137 msgid "Cart Page" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:149 +#: includes/admin/settings/class-wc-settings-checkout.php:148 msgid "Checkout Page" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:160 +#: includes/admin/settings/class-wc-settings-checkout.php:159 msgid "Terms and Conditions" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:161 +#: includes/admin/settings/class-wc-settings-checkout.php:160 msgid "" "If you define a \"Terms\" page the customer will be asked if they accept " "them when checking out." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:176 +#: includes/admin/settings/class-wc-settings-checkout.php:175 msgid "Checkout Endpoints" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:176 +#: includes/admin/settings/class-wc-settings-checkout.php:175 msgid "" "Endpoints are appended to your page URLs to handle specific actions during " "the checkout process. They should be unique." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:180 +#: includes/admin/settings/class-wc-settings-checkout.php:178 +#: templates/checkout/thankyou.php:30 templates/myaccount/my-orders.php:86 +#: templates/myaccount/orders.php:77 +msgid "Pay" +msgstr "" + +#: includes/admin/settings/class-wc-settings-checkout.php:179 msgid "Endpoint for the Checkout → Pay page" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:188 -#: includes/class-wc-query.php:113 +#: includes/admin/settings/class-wc-settings-checkout.php:187 +#: includes/class-wc-query.php:96 msgid "Order Received" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:189 +#: includes/admin/settings/class-wc-settings-checkout.php:188 msgid "Endpoint for the Checkout → Order Received page" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:197 -#: includes/class-wc-query.php:126 -#: templates/myaccount/form-add-payment-method.php:50 +#: includes/admin/settings/class-wc-settings-checkout.php:196 +#: includes/class-wc-query.php:122 +#: templates/myaccount/form-add-payment-method.php:56 +#: templates/myaccount/payment-methods.php:83 msgid "Add Payment Method" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:198 +#: includes/admin/settings/class-wc-settings-checkout.php:197 msgid "Endpoint for the Checkout → Add Payment Method page" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:211 +#: includes/admin/settings/class-wc-settings-checkout.php:205 +msgid "Delete Payment Method" +msgstr "" + +#: includes/admin/settings/class-wc-settings-checkout.php:206 +msgid "Endpoint for the delete payment method page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-checkout.php:214 +msgid "Set Default Payment Method" +msgstr "" + +#: includes/admin/settings/class-wc-settings-checkout.php:215 +msgid "Endpoint for the setting a default payment page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-checkout.php:229 msgid "Payment Gateways" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:212 +#: includes/admin/settings/class-wc-settings-checkout.php:230 msgid "" "Installed gateways are listed below. Drag and drop gateways to control " "their display order on the frontend." msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:266 +#: includes/admin/settings/class-wc-settings-checkout.php:282 msgid "Gateway Display Order" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:274 +#: includes/admin/settings/class-wc-settings-checkout.php:290 msgid "Gateway" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:275 +#: includes/admin/settings/class-wc-settings-checkout.php:291 msgid "Gateway ID" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:302 +#: includes/admin/settings/class-wc-settings-checkout.php:318 msgid "(no title)" msgstr "" @@ -10166,102 +10213,126 @@ msgid "Sell to specific countries only" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:78 -#: includes/admin/settings/class-wc-settings-shipping.php:132 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:33 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:37 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:88 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:92 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:137 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:141 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:94 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:98 -msgid "Specific Countries" +msgid "Sell to Specific Countries" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:87 -msgid "Default Customer Address" +msgid "Shipping Location(s)" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:89 +#: includes/admin/settings/class-wc-settings-general.php:88 msgid "" -"This option determines the customers default address (before they input " -"their details)." -msgstr "" - -#: includes/admin/settings/class-wc-settings-general.php:90 -msgid "" -"The %sMaxMind GeoLite Database%s will be periodically downloaded to your " -"wp-content directory if using geolocation." +"Choose which countries you want to ship to, or choose to ship to all " +"locations you sell to." msgstr "" #: includes/admin/settings/class-wc-settings-general.php:95 -msgid "No address" +msgid "Ship to all countries you sell to" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:96 -#: includes/admin/settings/views/settings-tax.php:41 -msgid "Shop base address" +msgid "Ship to all countries" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:97 -msgid "Geolocate" +msgid "Ship to specific countries only" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:98 -msgid "Geolocate (with page caching support)" +msgid "Disable shipping & shipping calculations" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:103 -msgid "Store Notice" +msgid "Ship to Specific Countries" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:104 -msgid "Enable site-wide store notice text" -msgstr "" - -#: includes/admin/settings/class-wc-settings-general.php:111 -msgid "Store Notice Text" +#: includes/admin/settings/class-wc-settings-general.php:112 +msgid "Default Customer Location" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:114 -#: includes/wc-template-functions.php:437 +msgid "" +"This option determines a customers default location. The MaxMind GeoLite " +"Database will be periodically downloaded to your wp-content directory if " +"using geolocation." +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:119 +msgid "No location by default" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:120 +#: includes/admin/settings/views/settings-tax.php:33 +msgid "Shop base address" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:121 +msgid "Geolocate" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:122 +msgid "Geolocate (with page caching support)" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:127 +msgid "Enable Taxes" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:128 +msgid "Enable taxes and tax calculations" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:135 +msgid "Store Notice" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:136 +msgid "Enable site-wide store notice text" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:143 +msgid "Store Notice Text" +msgstr "" + +#: includes/admin/settings/class-wc-settings-general.php:146 +#: includes/wc-template-functions.php:447 msgid "" "This is a demo store for testing purposes — no orders shall be " "fulfilled." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:122 +#: includes/admin/settings/class-wc-settings-general.php:154 msgid "Currency Options" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:122 +#: includes/admin/settings/class-wc-settings-general.php:154 msgid "The following options affect how prices are displayed on the frontend." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:125 -#: includes/admin/views/html-admin-page-status-report.php:433 +#: includes/admin/settings/class-wc-settings-general.php:157 +#: includes/admin/views/html-admin-page-status-report.php:439 msgid "Currency" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:126 +#: includes/admin/settings/class-wc-settings-general.php:158 msgid "" "This controls what currency prices are listed at in the catalog and which " "currency gateways will take payments in." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:138 +#: includes/admin/settings/class-wc-settings-general.php:170 msgid "This controls the position of the currency symbol." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:155 +#: includes/admin/settings/class-wc-settings-general.php:187 msgid "This sets the thousand separator of displayed prices." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:165 +#: includes/admin/settings/class-wc-settings-general.php:197 msgid "This sets the decimal separator of displayed prices." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:175 +#: includes/admin/settings/class-wc-settings-general.php:207 msgid "This sets the number of decimal points shown in displayed prices." msgstr "" @@ -10344,6 +10415,7 @@ msgid "Popularity (sales)" msgstr "" #: includes/admin/settings/class-wc-settings-products.php:145 +#: includes/widgets/class-wc-widget-rating-filter.php:30 msgid "Average Rating" msgstr "" @@ -10463,39 +10535,39 @@ msgstr "" msgid "Out Of Stock Threshold" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:331 +#: includes/admin/settings/class-wc-settings-products.php:330 msgid "Out Of Stock Visibility" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:332 +#: includes/admin/settings/class-wc-settings-products.php:331 msgid "Hide out of stock items from the catalog" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:339 +#: includes/admin/settings/class-wc-settings-products.php:338 msgid "Stock Display Format" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:340 +#: includes/admin/settings/class-wc-settings-products.php:339 msgid "This controls how stock is displayed on the frontend." msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:347 +#: includes/admin/settings/class-wc-settings-products.php:346 msgid "Always show stock e.g. \"12 in stock\"" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:348 +#: includes/admin/settings/class-wc-settings-products.php:347 msgid "Only show stock when low e.g. \"Only 2 left in stock\" vs. \"In Stock\"" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:349 +#: includes/admin/settings/class-wc-settings-products.php:348 msgid "Never show stock amount" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:370 +#: includes/admin/settings/class-wc-settings-products.php:369 msgid "File Download Method" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:371 +#: includes/admin/settings/class-wc-settings-products.php:370 msgid "" "Forcing downloads will keep URLs hidden, but some servers may serve large " "files unreliably. If supported, X-Accel-Redirect/ " @@ -10503,213 +10575,419 @@ msgid "" "requires mod_xsendfile)." msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:379 +#: includes/admin/settings/class-wc-settings-products.php:378 msgid "Force Downloads" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:380 +#: includes/admin/settings/class-wc-settings-products.php:379 msgid "X-Accel-Redirect/X-Sendfile" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:381 +#: includes/admin/settings/class-wc-settings-products.php:380 msgid "Redirect only" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:387 +#: includes/admin/settings/class-wc-settings-products.php:386 msgid "Access Restriction" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:388 +#: includes/admin/settings/class-wc-settings-products.php:387 msgid "Downloads require login" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:392 +#: includes/admin/settings/class-wc-settings-products.php:391 msgid "This setting does not apply to guest purchases." msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:398 +#: includes/admin/settings/class-wc-settings-products.php:397 msgid "Grant access to downloadable products after payment" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:402 +#: includes/admin/settings/class-wc-settings-products.php:401 msgid "" "Enable this option to grant access to downloads when orders are " "\"processing\", rather than \"completed\"." msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:417 +#: includes/admin/settings/class-wc-settings-products.php:416 msgid "Measurements" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:423 +#: includes/admin/settings/class-wc-settings-products.php:422 msgid "Weight Unit" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:424 +#: includes/admin/settings/class-wc-settings-products.php:423 msgid "This controls what unit you will define weights in." msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:440 +#: includes/admin/settings/class-wc-settings-products.php:439 msgid "Dimensions Unit" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:441 +#: includes/admin/settings/class-wc-settings-products.php:440 msgid "This controls what unit you will define lengths in." msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:470 +#: includes/admin/settings/class-wc-settings-products.php:469 msgid "Product Ratings" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:471 +#: includes/admin/settings/class-wc-settings-products.php:470 msgid "Enable ratings on reviews" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:481 +#: includes/admin/settings/class-wc-settings-products.php:479 msgid "Ratings are required to leave a review" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:491 +#: includes/admin/settings/class-wc-settings-products.php:489 msgid "Show \"verified owner\" label for customer reviews" msgstr "" -#: includes/admin/settings/class-wc-settings-products.php:501 +#: includes/admin/settings/class-wc-settings-products.php:499 msgid "Only allow reviews from \"verified owners\"" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:43 -#: includes/admin/settings/class-wc-settings-shipping.php:71 +#: includes/admin/settings/class-wc-settings-shipping.php:48 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:7 +msgid "Shipping Zones" +msgstr "" + +#: includes/admin/settings/class-wc-settings-shipping.php:49 +#: includes/admin/settings/class-wc-settings-shipping.php:77 msgid "Shipping Options" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:74 -msgid "Shipping Calculations" +#: includes/admin/settings/class-wc-settings-shipping.php:50 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:7 +#: includes/class-wc-post-types.php:136 includes/class-wc-post-types.php:138 +msgid "Shipping Classes" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:75 -msgid "Enable shipping" +#: includes/admin/settings/class-wc-settings-shipping.php:80 +msgid "Calculations" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:83 +#: includes/admin/settings/class-wc-settings-shipping.php:81 msgid "Enable the shipping calculator on the cart page" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:92 +#: includes/admin/settings/class-wc-settings-shipping.php:90 msgid "Hide shipping costs until an address is entered" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:101 +#: includes/admin/settings/class-wc-settings-shipping.php:99 msgid "Shipping Destination" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:102 +#: includes/admin/settings/class-wc-settings-shipping.php:100 msgid "This controls which shipping address is used by default." msgstr "" +#: includes/admin/settings/class-wc-settings-shipping.php:105 +msgid "Default to customer shipping address" +msgstr "" + +#: includes/admin/settings/class-wc-settings-shipping.php:106 +msgid "Default to customer billing address" +msgstr "" + #: includes/admin/settings/class-wc-settings-shipping.php:107 -msgid "Default to shipping address" +msgid "Force shipping to the customer billing address" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:108 -msgid "Default to billing address" +#: includes/admin/settings/class-wc-settings-shipping.php:203 +#: includes/admin/settings/class-wc-settings-shipping.php:261 +msgid "Zone does not exist!" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:109 -msgid "Only ship to the customer's billing address" +#: includes/admin/settings/class-wc-settings-shipping.php:211 +#: includes/admin/settings/class-wc-settings-shipping.php:238 +#: includes/admin/settings/class-wc-settings-shipping.php:294 +#: includes/admin/settings/class-wc-settings-tax.php:175 +msgid "Your changed data will be lost if you leave this page without saving." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:117 -msgid "Restrict shipping to Location(s)" +#: includes/admin/settings/class-wc-settings-shipping.php:212 +#: includes/admin/settings/class-wc-settings-shipping.php:239 +#: includes/admin/settings/class-wc-settings-shipping.php:295 +msgid "Your changes were not saved. Please retry." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:118 -msgid "" -"Choose which countries you want to ship to, or choose to ship to all locations you sell to." +#: includes/admin/settings/class-wc-settings-shipping.php:213 +msgid "Shipping method could not be added. Please retry." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:125 -msgid "Ship to all countries you sell to" +#: includes/admin/settings/class-wc-settings-shipping.php:240 +#: includes/admin/settings/class-wc-settings-shipping.php:241 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:34 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:44 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:51 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:130 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:154 +msgid "Add Shipping Method" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:126 -msgid "Ship to all countries" +#: includes/admin/settings/class-wc-settings-shipping.php:258 +msgid "Invalid shipping method!" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:127 -msgid "Ship to specific countries only" +#: includes/admin/settings/class-wc-settings-shipping.php:264 +msgid "This shipping method does not have any settings to configure." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:183 -msgid "Shipping Methods" +#: includes/admin/settings/class-wc-settings-shipping.php:270 +msgid "Edit failed. Please try again." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:190 -msgid "ID" -msgstr "" - -#: includes/admin/settings/class-wc-settings-shipping.php:192 -msgid "Selection Priority" -msgstr "" - -#: includes/admin/settings/class-wc-settings-shipping.php:192 -msgid "" -"Available methods will be chosen by default in this order. If multiple " -"methods have the same priority, they will be sorted by cost." -msgstr "" - -#: includes/admin/settings/class-wc-settings-shipping.php:225 -msgid "Drag and drop the above shipping methods to control their display order." -msgstr "" - -#: includes/admin/settings/class-wc-settings-tax.php:44 +#: includes/admin/settings/class-wc-settings-tax.php:55 #: includes/admin/settings/views/settings-tax.php:9 msgid "Tax Options" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:45 +#: includes/admin/settings/class-wc-settings-tax.php:56 msgid "Standard Rates" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:52 +#: includes/admin/settings/class-wc-settings-tax.php:63 msgid "%s Rates" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:163 +#: includes/admin/settings/class-wc-settings-tax.php:174 msgid "No row(s) selected" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:164 -msgid "Your changed data will be lost if you leave this page without saving." -msgstr "" - -#: includes/admin/settings/class-wc-settings-tax.php:166 +#: includes/admin/settings/class-wc-settings-tax.php:177 msgid "Country Code" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:167 +#: includes/admin/settings/class-wc-settings-tax.php:178 msgid "State Code" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:168 +#: includes/admin/settings/class-wc-settings-tax.php:179 #: includes/admin/settings/views/html-settings-tax.php:21 msgid "ZIP/Postcode" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:171 +#: includes/admin/settings/class-wc-settings-tax.php:182 msgid "Tax Name" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:172 +#: includes/admin/settings/class-wc-settings-tax.php:183 #: includes/admin/settings/views/html-settings-tax.php:25 msgid "Priority" msgstr "" -#: includes/admin/settings/class-wc-settings-tax.php:173 +#: includes/admin/settings/class-wc-settings-tax.php:184 #: includes/admin/settings/views/html-settings-tax.php:26 msgid "Compound" msgstr "" +#: includes/admin/settings/class-wc-settings-tax.php:186 +#: includes/admin/views/html-bulk-edit-product.php:89 +#: includes/admin/views/html-quick-edit-product.php:68 +msgid "Tax Class" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:8 +msgid "" +"Shipping classes can be used to group products of similar type. Assign " +"classes to a product on the product edit screen. Once assigned, Shipping " +"Classes can be used by some Shipping Methods (such as Flat Rate Shipping) " +"to provide different rates to different classes of product." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:13 +#: includes/class-wc-post-types.php:139 +msgid "Shipping Class" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:16 +msgid "Product Count" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:23 +msgid "Add Shipping Class" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:24 +msgid "Save Shipping Classes" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:33 +msgid "No Shipping Classes have been created." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:41 +msgid "Shipping Class Name" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:49 +msgid "Description for your reference" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:7 +msgid "Shipping Methods" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:7 +msgid "Return to Shipping Zones" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:8 +msgid "" +"The following Shipping Methods apply to customers with shipping addresses " +"within this zone." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:13 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:79 +#: includes/gateways/cheque/class-wc-gateway-cheque.php:60 +#: includes/gateways/cod/class-wc-gateway-cod.php:68 +#: includes/gateways/paypal/includes/settings-paypal.php:18 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:195 +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:57 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:104 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:81 +#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:76 +#: includes/widgets/class-wc-widget-cart.php:32 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:30 +#: includes/widgets/class-wc-widget-layered-nav.php:75 +#: includes/widgets/class-wc-widget-price-filter.php:32 +#: includes/widgets/class-wc-widget-product-categories.php:44 +#: includes/widgets/class-wc-widget-product-search.php:30 +#: includes/widgets/class-wc-widget-product-tag-cloud.php:30 +#: includes/widgets/class-wc-widget-products.php:30 +#: includes/widgets/class-wc-widget-rating-filter.php:31 +#: includes/widgets/class-wc-widget-recent-reviews.php:30 +#: includes/widgets/class-wc-widget-recently-viewed.php:30 +#: includes/widgets/class-wc-widget-top-rated-products.php:32 +msgid "Title" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:36 +msgid "Save Shipping Methods" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:46 +msgid "Add Shipping Methods to this zone" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:47 +msgid "" +"You can add multiple Shipping Methods within this zone. Only customers " +"within the zone will see them." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:48 +msgid "" +"Choose a method from the dropdown below and click \"Add Shipping Method\" " +"to get started." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php:7 +msgid "Return to Shipping Methods" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:7 +msgid "" +"Shipping Zones let you group regions with similar Shipping Methods and " +"rates. WooCommerce will automatically choose the correct Shipping Zone " +"based on your customer‘s shipping address and present the Shipping " +"Methods within that zone to them." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:13 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:82 +msgid "Zone Name" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:14 +msgid "Region(s)" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:15 +msgid "Shipping Method(s)" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:22 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:67 +msgid "Add Shipping Zone" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:23 +msgid "Save Shipping Zones" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:32 +#: includes/class-wc-shipping-zone.php:48 +msgid "Rest of the World" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:34 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:79 +msgid "Edit Shipping Methods" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:37 +msgid "" +"Shipping Methods added here will apply to shipping addresses that " +"aren‘t included in any other Shipping Zone." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:64 +msgid "" +"Shipping Zones let you group regions with similar Shipping Methods and " +"rates." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:65 +msgid "" +"You can add as many Shipping Zones as you want, for example you could have " +"\"Local\", \"Domestic\", and \"Europe\" zones." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:66 +msgid "" +"Once a Shipping Zone has been added, you can add one or more Shipping " +"Methods to it. Customers will only see Shipping Methods that apply to their " +"address." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:79 +msgid "Edit Zone" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:87 +msgid "Select regions within this zone" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:106 +msgid "Limit to specific ZIP/postcodes" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:108 +msgid "List 1 postcode per line" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:109 +msgid "" +"Wildcards and numerical ranges are supported too, for example, 90210-99000 " +"and CB23*" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:117 +msgid "" +"Save changes " +"before adding methods." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:132 +msgid "Close modal panel" +msgstr "" + #: includes/admin/settings/views/html-keys-edit.php:8 msgid "Key Details" msgstr "" @@ -10730,31 +11008,36 @@ msgstr "" msgid "Generate API Key" msgstr "" +#: includes/admin/settings/views/html-keys-edit.php:96 +#: includes/admin/views/html-admin-page-status-tools.php:63 +msgid "Save Changes" +msgstr "" + #: includes/admin/settings/views/html-keys-edit.php:97 -#: includes/class-wc-ajax.php:2377 +#: includes/class-wc-ajax.php:2413 msgid "Revoke Key" msgstr "" -#: includes/admin/settings/views/html-keys-edit.php:109 +#: includes/admin/settings/views/html-keys-edit.php:110 msgid "Consumer Key" msgstr "" -#: includes/admin/settings/views/html-keys-edit.php:112 -#: includes/admin/settings/views/html-keys-edit.php:120 +#: includes/admin/settings/views/html-keys-edit.php:113 +#: includes/admin/settings/views/html-keys-edit.php:121 #: includes/admin/views/html-admin-page-status-report.php:17 msgid "Copied!" msgstr "" -#: includes/admin/settings/views/html-keys-edit.php:112 -#: includes/admin/settings/views/html-keys-edit.php:120 +#: includes/admin/settings/views/html-keys-edit.php:113 +#: includes/admin/settings/views/html-keys-edit.php:121 msgid "Copy" msgstr "" -#: includes/admin/settings/views/html-keys-edit.php:117 +#: includes/admin/settings/views/html-keys-edit.php:118 msgid "Consumer Secret" msgstr "" -#: includes/admin/settings/views/html-keys-edit.php:125 +#: includes/admin/settings/views/html-keys-edit.php:126 msgid "QRCode" msgstr "" @@ -10873,6 +11156,7 @@ msgid "Last page" msgstr "" #: includes/admin/settings/views/html-webhook-log.php:13 +#: includes/wc-account-functions.php:206 msgid "Method" msgstr "" @@ -11035,106 +11319,98 @@ msgid "Webhook Logs" msgstr "" #: includes/admin/settings/views/settings-tax.php:12 -msgid "Enable Taxes" -msgstr "" - -#: includes/admin/settings/views/settings-tax.php:13 -msgid "Enable taxes and tax calculations" -msgstr "" - -#: includes/admin/settings/views/settings-tax.php:20 msgid "Prices Entered With Tax" msgstr "" -#: includes/admin/settings/views/settings-tax.php:24 +#: includes/admin/settings/views/settings-tax.php:16 msgid "" "This option is important as it will affect how you input prices. Changing " "it will not update existing products." msgstr "" -#: includes/admin/settings/views/settings-tax.php:26 +#: includes/admin/settings/views/settings-tax.php:18 msgid "Yes, I will enter prices inclusive of tax" msgstr "" -#: includes/admin/settings/views/settings-tax.php:27 +#: includes/admin/settings/views/settings-tax.php:19 msgid "No, I will enter prices exclusive of tax" msgstr "" -#: includes/admin/settings/views/settings-tax.php:32 -msgid "Calculate Tax Based On:" +#: includes/admin/settings/views/settings-tax.php:24 +msgid "Calculate Tax Based On" msgstr "" -#: includes/admin/settings/views/settings-tax.php:34 +#: includes/admin/settings/views/settings-tax.php:26 msgid "This option determines which address is used to calculate tax." msgstr "" -#: includes/admin/settings/views/settings-tax.php:39 +#: includes/admin/settings/views/settings-tax.php:31 msgid "Customer shipping address" msgstr "" -#: includes/admin/settings/views/settings-tax.php:40 +#: includes/admin/settings/views/settings-tax.php:32 msgid "Customer billing address" msgstr "" -#: includes/admin/settings/views/settings-tax.php:46 -msgid "Shipping Tax Class:" +#: includes/admin/settings/views/settings-tax.php:38 +msgid "Shipping Tax Class" msgstr "" -#: includes/admin/settings/views/settings-tax.php:47 +#: includes/admin/settings/views/settings-tax.php:39 msgid "" "Optionally control which tax class shipping gets, or leave it so shipping " "tax is based on the cart items themselves." msgstr "" -#: includes/admin/settings/views/settings-tax.php:53 +#: includes/admin/settings/views/settings-tax.php:45 msgid "Shipping tax class based on cart items" msgstr "" -#: includes/admin/settings/views/settings-tax.php:58 +#: includes/admin/settings/views/settings-tax.php:50 msgid "Rounding" msgstr "" -#: includes/admin/settings/views/settings-tax.php:59 +#: includes/admin/settings/views/settings-tax.php:51 msgid "Round tax at subtotal level, instead of rounding per line" msgstr "" -#: includes/admin/settings/views/settings-tax.php:66 +#: includes/admin/settings/views/settings-tax.php:58 msgid "Additional Tax Classes" msgstr "" -#: includes/admin/settings/views/settings-tax.php:67 +#: includes/admin/settings/views/settings-tax.php:59 msgid "" "List additional tax classes below (1 per line). This is in addition to the " "default \"Standard Rate\"." msgstr "" -#: includes/admin/settings/views/settings-tax.php:71 +#: includes/admin/settings/views/settings-tax.php:63 msgid "Reduced Rate%sZero Rate" msgstr "" -#: includes/admin/settings/views/settings-tax.php:75 -msgid "Display Prices in the Shop:" +#: includes/admin/settings/views/settings-tax.php:67 +msgid "Display Prices in the Shop" msgstr "" -#: includes/admin/settings/views/settings-tax.php:81 -#: includes/admin/settings/views/settings-tax.php:93 +#: includes/admin/settings/views/settings-tax.php:73 +#: includes/admin/settings/views/settings-tax.php:85 msgid "Including tax" msgstr "" -#: includes/admin/settings/views/settings-tax.php:82 -#: includes/admin/settings/views/settings-tax.php:94 +#: includes/admin/settings/views/settings-tax.php:74 +#: includes/admin/settings/views/settings-tax.php:86 msgid "Excluding tax" msgstr "" -#: includes/admin/settings/views/settings-tax.php:87 -msgid "Display Prices During Cart and Checkout:" +#: includes/admin/settings/views/settings-tax.php:79 +msgid "Display Prices During Cart and Checkout" msgstr "" -#: includes/admin/settings/views/settings-tax.php:100 -msgid "Price Display Suffix:" +#: includes/admin/settings/views/settings-tax.php:92 +msgid "Price Display Suffix" msgstr "" -#: includes/admin/settings/views/settings-tax.php:105 +#: includes/admin/settings/views/settings-tax.php:97 msgid "" "Define text to show after your product prices. This could be, for example, " "\"inc. Vat\" to explain your pricing. You can also have prices substituted " @@ -11142,56 +11418,60 @@ msgid "" "{price_excluding_tax}." msgstr "" -#: includes/admin/settings/views/settings-tax.php:109 -msgid "Display Tax Totals:" +#: includes/admin/settings/views/settings-tax.php:101 +msgid "Display Tax Totals" msgstr "" -#: includes/admin/settings/views/settings-tax.php:115 +#: includes/admin/settings/views/settings-tax.php:107 msgid "As a single total" msgstr "" -#: includes/admin/settings/views/settings-tax.php:116 +#: includes/admin/settings/views/settings-tax.php:108 msgid "Itemized" msgstr "" -#: includes/admin/views/html-admin-page-addons.php:16 +#: includes/admin/views/html-admin-page-addons.php:17 msgid "Browse all extensions" msgstr "" -#: includes/admin/views/html-admin-page-addons.php:44 +#: includes/admin/views/html-admin-page-addons.php:45 msgid "" "Our catalog of WooCommerce Extensions can be found on WooThemes.com here: " "WooCommerce Extensions Catalog" msgstr "" -#: includes/admin/views/html-admin-page-addons.php:50 +#: includes/admin/views/html-admin-page-addons.php:51 msgid "Looking for a WooCommerce theme?" msgstr "" -#: includes/admin/views/html-admin-page-addons.php:51 +#: includes/admin/views/html-admin-page-addons.php:52 msgid "We recommend Storefront, the %sofficial%s WooCommerce theme." msgstr "" -#: includes/admin/views/html-admin-page-addons.php:52 +#: includes/admin/views/html-admin-page-addons.php:53 msgid "" -"Storefront is an intuitive & flexible, %sfree%s WordPress theme " -"offering deep integration with WooCommerce and many of the most popular " +"Storefront is an intuitive, flexible and %sfree%s WordPress theme offering " +"deep integration with WooCommerce and many of the most popular " "customer-facing extensions." msgstr "" -#: includes/admin/views/html-admin-page-addons.php:54 +#: includes/admin/views/html-admin-page-addons.php:55 msgid "Read all about it" msgstr "" -#: includes/admin/views/html-admin-page-addons.php:55 +#: includes/admin/views/html-admin-page-addons.php:56 msgid "Download & install" msgstr "" -#: includes/admin/views/html-admin-page-status-logs.php:15 +#: includes/admin/views/html-admin-page-reports.php:13 +msgid "%s Report" +msgstr "" + +#: includes/admin/views/html-admin-page-status-logs.php:14 msgid "Log file: %s (%s)" msgstr "" -#: includes/admin/views/html-admin-page-status-logs.php:33 +#: includes/admin/views/html-admin-page-status-logs.php:32 msgid "There are currently no logs to view." msgstr "" @@ -11213,171 +11493,171 @@ msgstr "" msgid "Copy for Support" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:23 +#: includes/admin/views/html-admin-page-status-report.php:24 msgid "WordPress Environment" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:28 +#: includes/admin/views/html-admin-page-status-report.php:29 msgid "Home URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:29 +#: includes/admin/views/html-admin-page-status-report.php:30 msgid "The URL of your site's homepage." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:33 +#: includes/admin/views/html-admin-page-status-report.php:34 msgid "Site URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:34 +#: includes/admin/views/html-admin-page-status-report.php:35 msgid "The root URL of your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:38 +#: includes/admin/views/html-admin-page-status-report.php:39 msgid "WC Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:39 +#: includes/admin/views/html-admin-page-status-report.php:40 msgid "The version of WooCommerce installed on your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:43 +#: includes/admin/views/html-admin-page-status-report.php:44 msgid "Log Directory Writable" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:44 +#: includes/admin/views/html-admin-page-status-report.php:45 msgid "" "Several WooCommerce extensions can write logs which makes debugging " "problems easier. The directory must be writable for this to happen." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:49 +#: includes/admin/views/html-admin-page-status-report.php:50 msgid "" "To allow logging, make %s writable or define a custom " "WC_LOG_DIR." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:54 +#: includes/admin/views/html-admin-page-status-report.php:55 msgid "WP Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:55 +#: includes/admin/views/html-admin-page-status-report.php:56 msgid "The version of WordPress installed on your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:59 +#: includes/admin/views/html-admin-page-status-report.php:60 msgid "WP Multisite" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:60 +#: includes/admin/views/html-admin-page-status-report.php:61 msgid "Whether or not you have WordPress Multisite enabled." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:64 +#: includes/admin/views/html-admin-page-status-report.php:65 msgid "WP Memory Limit" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:65 +#: includes/admin/views/html-admin-page-status-report.php:66 msgid "The maximum amount of memory (RAM) that your site can use at one time." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:75 +#: includes/admin/views/html-admin-page-status-report.php:76 msgid "%s - We recommend setting memory to at least 64MB. See: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:75 +#: includes/admin/views/html-admin-page-status-report.php:76 msgid "Increasing memory allocated to PHP" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:82 +#: includes/admin/views/html-admin-page-status-report.php:83 msgid "WP Debug Mode" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:83 +#: includes/admin/views/html-admin-page-status-report.php:84 msgid "Displays whether or not WordPress is in Debug Mode." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:93 +#: includes/admin/views/html-admin-page-status-report.php:94 msgid "WP Cron" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:94 +#: includes/admin/views/html-admin-page-status-report.php:95 msgid "Displays whether or not WP Cron Jobs are enabled." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:104 +#: includes/admin/views/html-admin-page-status-report.php:105 msgid "Language" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:105 +#: includes/admin/views/html-admin-page-status-report.php:106 msgid "The current language used by WordPress. Default = English" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:113 +#: includes/admin/views/html-admin-page-status-report.php:114 msgid "Server Environment" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:118 +#: includes/admin/views/html-admin-page-status-report.php:119 msgid "Server Info" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:119 +#: includes/admin/views/html-admin-page-status-report.php:120 msgid "Information about the web server that is currently hosting your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:123 +#: includes/admin/views/html-admin-page-status-report.php:124 msgid "PHP Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:124 +#: includes/admin/views/html-admin-page-status-report.php:125 msgid "The version of PHP installed on your hosting server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:131 +#: includes/admin/views/html-admin-page-status-report.php:132 msgid "%s - We recommend a minimum PHP version of 5.4. See: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:131 +#: includes/admin/views/html-admin-page-status-report.php:132 msgid "How to update your PHP version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:136 +#: includes/admin/views/html-admin-page-status-report.php:137 msgid "Couldn't determine PHP version because phpversion() doesn't exist." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:142 +#: includes/admin/views/html-admin-page-status-report.php:143 msgid "PHP Post Max Size" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:143 +#: includes/admin/views/html-admin-page-status-report.php:144 msgid "The largest filesize that can be contained in one post." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:147 +#: includes/admin/views/html-admin-page-status-report.php:148 msgid "PHP Time Limit" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:148 +#: includes/admin/views/html-admin-page-status-report.php:149 msgid "" "The amount of time (in seconds) that your site will spend on a single " "operation before timing out (to avoid server lockups)" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:152 +#: includes/admin/views/html-admin-page-status-report.php:153 msgid "PHP Max Input Vars" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:153 +#: includes/admin/views/html-admin-page-status-report.php:154 msgid "" "The maximum number of variables your server can use for a single function " "to avoid overloads." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:157 +#: includes/admin/views/html-admin-page-status-report.php:158 msgid "SUHOSIN Installed" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:158 +#: includes/admin/views/html-admin-page-status-report.php:159 msgid "" "Suhosin is an advanced protection system for PHP installations. It was " "designed to protect your servers on the one hand against a number of well " @@ -11387,396 +11667,395 @@ msgid "" "its data submission limits." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:163 +#: includes/admin/views/html-admin-page-status-report.php:164 msgid "MySQL Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:164 +#: includes/admin/views/html-admin-page-status-report.php:165 msgid "The version of MySQL installed on your hosting server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:174 +#: includes/admin/views/html-admin-page-status-report.php:175 msgid "Max Upload Size" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:175 +#: includes/admin/views/html-admin-page-status-report.php:176 msgid "The largest filesize that can be uploaded to your WordPress installation." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:179 +#: includes/admin/views/html-admin-page-status-report.php:180 msgid "Default Timezone is UTC" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:180 +#: includes/admin/views/html-admin-page-status-report.php:181 msgid "The default timezone for your server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:184 +#: includes/admin/views/html-admin-page-status-report.php:185 msgid "Default timezone is %s - it should be UTC" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:195 +#: includes/admin/views/html-admin-page-status-report.php:196 msgid "" "Payment gateways can use cURL to communicate with remote servers to " "authorize payments, other plugins may also use it when communicating with " "remote services." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:201 +#: includes/admin/views/html-admin-page-status-report.php:202 msgid "" "Your server does not have fsockopen or cURL enabled - PayPal IPN and other " "scripts which communicate with other servers will not work. Contact your " "hosting provider." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:206 +#: includes/admin/views/html-admin-page-status-report.php:207 msgid "" "Some webservices like shipping use SOAP to get information from remote " "servers, for example, live shipping quotes from FedEx require SOAP to be " "installed." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:212 +#: includes/admin/views/html-admin-page-status-report.php:213 msgid "" "Your server does not have the %s class enabled - some gateway plugins which " "use SOAP may not work as expected." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:217 +#: includes/admin/views/html-admin-page-status-report.php:218 msgid "HTML/Multipart emails use DOMDocument to generate inline CSS in templates." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:223 +#: includes/admin/views/html-admin-page-status-report.php:224 msgid "" "Your server does not have the %s class enabled - HTML/Multipart emails, and " "also some extensions, will not work without DOMDocument." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:228 +#: includes/admin/views/html-admin-page-status-report.php:229 msgid "GZip (gzopen) is used to open the GEOIP database from MaxMind." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:234 +#: includes/admin/views/html-admin-page-status-report.php:235 msgid "" "Your server does not support the %s function - this is required to use the " "GeoIP database from MaxMind. The API fallback will be used instead for " "geolocation." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:239 +#: includes/admin/views/html-admin-page-status-report.php:240 msgid "" "Multibyte String (mbstring) is used to convert character encoding, like for " "emails or converting characters to lowercase." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:245 +#: includes/admin/views/html-admin-page-status-report.php:246 msgid "" "Your server does not support the %s functions - this is required for better " "character encoding. Some fallbacks will be used instead for it." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:249 +#: includes/admin/views/html-admin-page-status-report.php:250 msgid "Remote Post" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:250 +#: includes/admin/views/html-admin-page-status-report.php:251 msgid "" "PayPal uses this method of communicating when sending back transaction " "information." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:263 +#: includes/admin/views/html-admin-page-status-report.php:264 msgid "" "wp_remote_post() failed. PayPal IPN won't work with your server. Contact " "your hosting provider." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:265 -#: includes/admin/views/html-admin-page-status-report.php:283 +#: includes/admin/views/html-admin-page-status-report.php:266 +#: includes/admin/views/html-admin-page-status-report.php:284 #: includes/class-wc-auth.php:356 msgid "Error: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:267 -#: includes/admin/views/html-admin-page-status-report.php:285 +#: includes/admin/views/html-admin-page-status-report.php:268 +#: includes/admin/views/html-admin-page-status-report.php:286 msgid "Status code: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:273 +#: includes/admin/views/html-admin-page-status-report.php:274 msgid "Remote Get" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:274 +#: includes/admin/views/html-admin-page-status-report.php:275 msgid "" "WooCommerce plugins may use this method of communication when checking for " "plugin updates." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:281 +#: includes/admin/views/html-admin-page-status-report.php:282 msgid "" "wp_remote_get() failed. The WooCommerce plugin updater won't work with your " "server. Contact your hosting provider." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:312 +#: includes/admin/views/html-admin-page-status-report.php:313 msgid "Database" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:317 +#: includes/admin/views/html-admin-page-status-report.php:318 msgid "WC Database Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:318 +#: includes/admin/views/html-admin-page-status-report.php:319 msgid "" "The version of WooCommerce that the database is formatted for. This should " "be the same as your WooCommerce Version." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:340 +#: includes/admin/views/html-admin-page-status-report.php:346 msgid "Table does not exist" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:351 +#: includes/admin/views/html-admin-page-status-report.php:357 msgid "Active Plugins" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:376 +#: includes/admin/views/html-admin-page-status-report.php:382 msgid "Visit plugin homepage" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:404 +#: includes/admin/views/html-admin-page-status-report.php:410 msgid "Network enabled" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:428 +#: includes/admin/views/html-admin-page-status-report.php:434 msgid "Force SSL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:429 +#: includes/admin/views/html-admin-page-status-report.php:435 msgid "Does your site force a SSL Certificate for transactions?" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:434 +#: includes/admin/views/html-admin-page-status-report.php:440 msgid "" "What currency prices are listed at in the catalog and which currency " "gateways will take payments in." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:439 +#: includes/admin/views/html-admin-page-status-report.php:445 msgid "The position of the currency symbol." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:444 +#: includes/admin/views/html-admin-page-status-report.php:450 msgid "The thousand separator of displayed prices." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:449 +#: includes/admin/views/html-admin-page-status-report.php:455 msgid "The decimal separator of displayed prices." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:454 +#: includes/admin/views/html-admin-page-status-report.php:460 msgid "The number of decimal points shown in displayed prices." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:467 +#: includes/admin/views/html-admin-page-status-report.php:473 msgid "API Enabled" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:468 +#: includes/admin/views/html-admin-page-status-report.php:474 msgid "Does your site have REST API enabled?" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:472 +#: includes/admin/views/html-admin-page-status-report.php:478 msgid "API Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:473 +#: includes/admin/views/html-admin-page-status-report.php:479 msgid "What version of the REST API does your site use?" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:481 +#: includes/admin/views/html-admin-page-status-report.php:487 msgid "WC Pages" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:490 +#: includes/admin/views/html-admin-page-status-report.php:496 msgid "The URL of your WooCommerce shop's homepage (along with the Page ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:495 +#: includes/admin/views/html-admin-page-status-report.php:501 msgid "The URL of your WooCommerce shop's cart (along with the page ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:500 +#: includes/admin/views/html-admin-page-status-report.php:506 msgid "The URL of your WooCommerce shop's checkout (along with the page ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:505 +#: includes/admin/views/html-admin-page-status-report.php:511 msgid "" "The URL of your WooCommerce shop's “My Account” Page (along with the page " "ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:526 +#: includes/admin/views/html-admin-page-status-report.php:532 msgid "Page not set" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:536 +#: includes/admin/views/html-admin-page-status-report.php:535 +msgid "Page visibility should be %spublic%s" +msgstr "" + +#: includes/admin/views/html-admin-page-status-report.php:545 msgid "Page does not exist" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:541 +#: includes/admin/views/html-admin-page-status-report.php:550 msgid "Page does not contain the shortcode: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:559 +#: includes/admin/views/html-admin-page-status-report.php:568 msgid "Taxonomies" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:559 +#: includes/admin/views/html-admin-page-status-report.php:568 msgid "" "A list of taxonomy terms that can be used in regard to order/product " "statuses." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:564 +#: includes/admin/views/html-admin-page-status-report.php:573 msgid "Product Types" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:580 +#: includes/admin/views/html-admin-page-status-report.php:589 msgid "Theme" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:593 +#: includes/admin/views/html-admin-page-status-report.php:602 msgid "The name of the current active theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:597 +#: includes/admin/views/html-admin-page-status-report.php:606 msgid "Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:598 +#: includes/admin/views/html-admin-page-status-report.php:607 msgid "The installed version of the current active theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:603 -#: includes/admin/views/html-admin-page-status-report.php:636 +#: includes/admin/views/html-admin-page-status-report.php:612 +#: includes/admin/views/html-admin-page-status-report.php:645 msgid "%s is available" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:608 +#: includes/admin/views/html-admin-page-status-report.php:617 msgid "Author URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:609 +#: includes/admin/views/html-admin-page-status-report.php:618 msgid "The theme developers URL." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:613 +#: includes/admin/views/html-admin-page-status-report.php:622 msgid "Child Theme" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:614 +#: includes/admin/views/html-admin-page-status-report.php:623 msgid "Displays whether or not the current theme is a child theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:616 +#: includes/admin/views/html-admin-page-status-report.php:625 msgid "" "If you're modifying WooCommerce on a parent theme you didn't build " "personally, then we recommend using a child theme. See: How to create a child theme" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:625 +#: includes/admin/views/html-admin-page-status-report.php:634 msgid "Parent Theme Name" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:626 +#: includes/admin/views/html-admin-page-status-report.php:635 msgid "The name of the parent theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:630 +#: includes/admin/views/html-admin-page-status-report.php:639 msgid "Parent Theme Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:631 +#: includes/admin/views/html-admin-page-status-report.php:640 msgid "The installed version of the parent theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:641 +#: includes/admin/views/html-admin-page-status-report.php:650 msgid "Parent Theme Author URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:642 +#: includes/admin/views/html-admin-page-status-report.php:651 msgid "The parent theme developers URL." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:647 +#: includes/admin/views/html-admin-page-status-report.php:656 msgid "WooCommerce Support" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:648 +#: includes/admin/views/html-admin-page-status-report.php:657 msgid "" "Displays whether or not the current active theme declares WooCommerce " "support." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:651 +#: includes/admin/views/html-admin-page-status-report.php:660 msgid "Not Declared" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:662 +#: includes/admin/views/html-admin-page-status-report.php:671 msgid "Templates" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:662 +#: includes/admin/views/html-admin-page-status-report.php:671 msgid "" "This section shows any files that are overriding the default WooCommerce " "template pages." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:698 +#: includes/admin/views/html-admin-page-status-report.php:707 msgid "" "%s version %s is out of " "date. The core version is %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:710 #: includes/admin/views/html-admin-page-status-report.php:719 +#: includes/admin/views/html-admin-page-status-report.php:728 msgid "Overrides" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:731 +#: includes/admin/views/html-admin-page-status-report.php:740 msgid "Learn how to update outdated templates" msgstr "" -#: includes/admin/views/html-admin-page-status-tools.php:18 -#: includes/admin/views/html-admin-page-status.php:17 -msgid "Tools" -msgstr "" - -#: includes/admin/views/html-admin-page-status-tools.php:34 +#: includes/admin/views/html-admin-page-status-tools.php:28 msgid "Shipping Debug Mode" msgstr "" -#: includes/admin/views/html-admin-page-status-tools.php:40 +#: includes/admin/views/html-admin-page-status-tools.php:34 msgid "This tool will disable shipping rate caching." msgstr "" -#: includes/admin/views/html-admin-page-status-tools.php:45 +#: includes/admin/views/html-admin-page-status-tools.php:39 msgid "Template Debug Mode" msgstr "" -#: includes/admin/views/html-admin-page-status-tools.php:51 +#: includes/admin/views/html-admin-page-status-tools.php:45 msgid "" "This tool will disable template overrides for logged-in administrators for " "debugging purposes." msgstr "" -#: includes/admin/views/html-admin-page-status-tools.php:56 +#: includes/admin/views/html-admin-page-status-tools.php:50 msgid "Remove All Data" msgstr "" -#: includes/admin/views/html-admin-page-status-tools.php:62 +#: includes/admin/views/html-admin-page-status-tools.php:56 msgid "" "This tool will remove all WooCommerce, Product and Order data when using " "the \"Delete\" link on the plugins screen. It will also remove any " @@ -11784,13 +12063,12 @@ msgid "" "WooCommerce Extensions." msgstr "" -#: includes/admin/views/html-admin-page-status.php:18 -msgid "Logs" +#: includes/admin/views/html-admin-page-status.php:13 +msgid "Tools" msgstr "" -#: includes/admin/views/html-admin-settings.php:35 -#: templates/myaccount/form-edit-account.php:66 -msgid "Save changes" +#: includes/admin/views/html-admin-page-status.php:14 +msgid "Logs" msgstr "" #: includes/admin/views/html-bulk-edit-product.php:26 @@ -11845,6 +12123,13 @@ msgstr "" msgid "Enter sale price (%s)" msgstr "" +#: includes/admin/views/html-bulk-edit-product.php:70 +#: includes/admin/views/html-quick-edit-product.php:50 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:27 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:48 +msgid "Tax Status" +msgstr "" + #: includes/admin/views/html-bulk-edit-product.php:133 msgid "%s (%s)" msgstr "" @@ -11881,6 +12166,12 @@ msgstr "" msgid "In stock?" msgstr "" +#: includes/admin/views/html-bulk-edit-product.php:255 +#: includes/admin/views/html-bulk-edit-product.php:271 +#: includes/admin/views/html-quick-edit-product.php:186 +msgid "Stock Qty" +msgstr "" + #: includes/admin/views/html-bulk-edit-product.php:276 #: includes/admin/views/html-quick-edit-product.php:196 msgid "Backorders?" @@ -11965,7 +12256,15 @@ msgid "" "Are you sure you wish to run the updater now?" msgstr "" -#: includes/admin/views/html-report-by-date.php:23 +#: includes/admin/views/html-quick-edit-product.php:35 +msgid "Regular Price" +msgstr "" + +#: includes/admin/views/html-quick-edit-product.php:42 +msgid "Sale Price" +msgstr "" + +#: includes/admin/views/html-report-by-date.php:26 msgid "Custom:" msgstr "" @@ -12061,16 +12360,16 @@ msgid "Invalid coupon code" msgstr "" #: includes/api/class-wc-api-coupons.php:213 -#: includes/api/class-wc-api-customers.php:345 -#: includes/api/class-wc-api-orders.php:415 -#: includes/api/class-wc-api-orders.php:1323 -#: includes/api/class-wc-api-orders.php:1615 +#: includes/api/class-wc-api-customers.php:346 +#: includes/api/class-wc-api-orders.php:416 +#: includes/api/class-wc-api-orders.php:1329 +#: includes/api/class-wc-api-orders.php:1621 #: includes/api/class-wc-api-products.php:255 #: includes/api/class-wc-api-products.php:653 -#: includes/api/class-wc-api-products.php:902 -#: includes/api/class-wc-api-products.php:2627 -#: includes/api/class-wc-api-products.php:2958 -#: includes/api/class-wc-api-products.php:3292 +#: includes/api/class-wc-api-products.php:906 +#: includes/api/class-wc-api-products.php:2656 +#: includes/api/class-wc-api-products.php:2987 +#: includes/api/class-wc-api-products.php:3321 #: includes/api/class-wc-api-taxes.php:184 #: includes/api/class-wc-api-taxes.php:564 #: includes/api/class-wc-api-webhooks.php:169 @@ -12091,10 +12390,10 @@ msgid "You do not have permission to create coupons" msgstr "" #: includes/api/class-wc-api-coupons.php:227 -#: includes/api/class-wc-api-customers.php:359 +#: includes/api/class-wc-api-customers.php:360 #: includes/api/class-wc-api-products.php:269 -#: includes/api/class-wc-api-products.php:2591 -#: includes/api/class-wc-api-products.php:2978 +#: includes/api/class-wc-api-products.php:2620 +#: includes/api/class-wc-api-products.php:3007 #: includes/api/class-wc-api-server.php:427 #: includes/api/class-wc-api-taxes.php:575 #: includes/api/v1/class-wc-api-server.php:409 @@ -12128,16 +12427,16 @@ msgid "Invalid coupon type - the coupon type must be any of these: %s" msgstr "" #: includes/api/class-wc-api-coupons.php:329 -#: includes/api/class-wc-api-customers.php:400 -#: includes/api/class-wc-api-orders.php:552 -#: includes/api/class-wc-api-orders.php:1380 -#: includes/api/class-wc-api-orders.php:1692 +#: includes/api/class-wc-api-customers.php:401 +#: includes/api/class-wc-api-orders.php:558 +#: includes/api/class-wc-api-orders.php:1386 +#: includes/api/class-wc-api-orders.php:1698 #: includes/api/class-wc-api-products.php:358 -#: includes/api/class-wc-api-products.php:728 -#: includes/api/class-wc-api-products.php:946 -#: includes/api/class-wc-api-products.php:2709 -#: includes/api/class-wc-api-products.php:3021 -#: includes/api/class-wc-api-products.php:3348 +#: includes/api/class-wc-api-products.php:730 +#: includes/api/class-wc-api-products.php:951 +#: includes/api/class-wc-api-products.php:2738 +#: includes/api/class-wc-api-products.php:3050 +#: includes/api/class-wc-api-products.php:3379 #: includes/api/class-wc-api-taxes.php:254 #: includes/api/class-wc-api-webhooks.php:245 #: includes/api/v2/class-wc-api-coupons.php:329 @@ -12160,9 +12459,9 @@ msgid "Failed to update coupon" msgstr "" #: includes/api/class-wc-api-coupons.php:526 -#: includes/api/class-wc-api-customers.php:777 -#: includes/api/class-wc-api-orders.php:1805 -#: includes/api/class-wc-api-products.php:3142 +#: includes/api/class-wc-api-customers.php:778 +#: includes/api/class-wc-api-orders.php:1811 +#: includes/api/class-wc-api-products.php:3171 #: includes/api/class-wc-api-taxes.php:457 #: includes/api/v2/class-wc-api-coupons.php:526 #: includes/api/v2/class-wc-api-customers.php:789 @@ -12172,9 +12471,9 @@ msgid "No %1$s data specified to create/edit %1$s" msgstr "" #: includes/api/class-wc-api-coupons.php:534 -#: includes/api/class-wc-api-customers.php:785 -#: includes/api/class-wc-api-orders.php:1813 -#: includes/api/class-wc-api-products.php:3150 +#: includes/api/class-wc-api-customers.php:786 +#: includes/api/class-wc-api-orders.php:1819 +#: includes/api/class-wc-api-products.php:3179 #: includes/api/class-wc-api-taxes.php:465 #: includes/api/v2/class-wc-api-coupons.php:534 #: includes/api/v2/class-wc-api-customers.php:797 @@ -12183,50 +12482,50 @@ msgstr "" msgid "Unable to accept more than %s items for this request" msgstr "" -#: includes/api/class-wc-api-customers.php:217 -#: includes/api/class-wc-api-customers.php:220 +#: includes/api/class-wc-api-customers.php:218 +#: includes/api/class-wc-api-customers.php:221 #: includes/api/v2/class-wc-api-customers.php:217 #: includes/api/v2/class-wc-api-customers.php:220 msgid "Invalid customer Email" msgstr "" -#: includes/api/class-wc-api-customers.php:239 +#: includes/api/class-wc-api-customers.php:240 #: includes/api/v1/class-wc-api-customers.php:195 #: includes/api/v2/class-wc-api-customers.php:239 msgid "You do not have permission to read the customers count" msgstr "" -#: includes/api/class-wc-api-customers.php:352 +#: includes/api/class-wc-api-customers.php:353 #: includes/api/v1/class-wc-api-customers.php:211 #: includes/api/v2/class-wc-api-customers.php:352 msgid "You do not have permission to create this customer" msgstr "" -#: includes/api/class-wc-api-customers.php:714 +#: includes/api/class-wc-api-customers.php:715 #: includes/api/v1/class-wc-api-customers.php:461 #: includes/api/v2/class-wc-api-customers.php:726 msgid "Invalid customer ID" msgstr "" -#: includes/api/class-wc-api-customers.php:721 +#: includes/api/class-wc-api-customers.php:722 #: includes/api/v1/class-wc-api-customers.php:467 #: includes/api/v2/class-wc-api-customers.php:733 msgid "Invalid customer" msgstr "" -#: includes/api/class-wc-api-customers.php:729 +#: includes/api/class-wc-api-customers.php:730 #: includes/api/v1/class-wc-api-customers.php:474 #: includes/api/v2/class-wc-api-customers.php:741 msgid "You do not have permission to read this customer" msgstr "" -#: includes/api/class-wc-api-customers.php:735 +#: includes/api/class-wc-api-customers.php:736 #: includes/api/v1/class-wc-api-customers.php:479 #: includes/api/v2/class-wc-api-customers.php:747 msgid "You do not have permission to edit this customer" msgstr "" -#: includes/api/class-wc-api-customers.php:741 +#: includes/api/class-wc-api-customers.php:742 #: includes/api/v1/class-wc-api-customers.php:484 #: includes/api/v2/class-wc-api-customers.php:753 msgid "You do not have permission to delete this customer" @@ -12244,19 +12543,19 @@ msgstr "" msgid "The JSONP callback function is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:349 +#: includes/api/class-wc-api-orders.php:350 #: includes/api/v1/class-wc-api-orders.php:258 #: includes/api/v2/class-wc-api-orders.php:318 msgid "You do not have permission to read the orders count" msgstr "" -#: includes/api/class-wc-api-orders.php:422 +#: includes/api/class-wc-api-orders.php:423 #: includes/api/v2/class-wc-api-orders.php:391 msgid "You do not have permission to create orders" msgstr "" -#: includes/api/class-wc-api-orders.php:438 -#: includes/api/class-wc-api-orders.php:583 +#: includes/api/class-wc-api-orders.php:439 +#: includes/api/class-wc-api-orders.php:589 #: includes/api/v2/class-wc-api-orders.php:407 #: includes/api/v2/class-wc-api-orders.php:552 #: includes/cli/class-wc-cli-order.php:114 @@ -12264,20 +12563,20 @@ msgstr "" msgid "Customer ID is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:448 +#: includes/api/class-wc-api-orders.php:449 #: includes/api/v2/class-wc-api-orders.php:417 #: includes/cli/class-wc-cli-order.php:122 msgid "Cannot create order: %s" msgstr "" -#: includes/api/class-wc-api-orders.php:482 +#: includes/api/class-wc-api-orders.php:488 #: includes/api/v2/class-wc-api-orders.php:451 #: includes/cli/class-wc-cli-order.php:151 msgid "Payment method ID and title are required" msgstr "" -#: includes/api/class-wc-api-orders.php:498 -#: includes/api/class-wc-api-orders.php:648 +#: includes/api/class-wc-api-orders.php:504 +#: includes/api/class-wc-api-orders.php:654 #: includes/api/v2/class-wc-api-orders.php:467 #: includes/api/v2/class-wc-api-orders.php:617 #: includes/cli/class-wc-cli-order.php:166 @@ -12285,243 +12584,243 @@ msgstr "" msgid "Provided order currency is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:569 -#: includes/api/class-wc-api-orders.php:1628 +#: includes/api/class-wc-api-orders.php:575 +#: includes/api/class-wc-api-orders.php:1634 #: includes/api/v2/class-wc-api-orders.php:538 #: includes/api/v2/class-wc-api-orders.php:1590 #: includes/cli/class-wc-cli-order.php:429 msgid "Order ID is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:609 +#: includes/api/class-wc-api-orders.php:615 #: includes/api/v2/class-wc-api-orders.php:578 #: includes/cli/class-wc-cli-order.php:476 msgid "Order item ID is required" msgstr "" -#: includes/api/class-wc-api-orders.php:879 +#: includes/api/class-wc-api-orders.php:885 #: includes/api/v2/class-wc-api-orders.php:842 #: includes/cli/class-wc-cli-order.php:891 msgid "Order item ID provided is not associated with order" msgstr "" -#: includes/api/class-wc-api-orders.php:902 +#: includes/api/class-wc-api-orders.php:908 #: includes/api/v2/class-wc-api-orders.php:865 #: includes/cli/class-wc-cli-order.php:913 msgid "Product ID or SKU is required" msgstr "" -#: includes/api/class-wc-api-orders.php:912 +#: includes/api/class-wc-api-orders.php:918 #: includes/api/v2/class-wc-api-orders.php:875 #: includes/cli/class-wc-cli-order.php:923 msgid "Product ID provided does not match this line item" msgstr "" -#: includes/api/class-wc-api-orders.php:927 +#: includes/api/class-wc-api-orders.php:933 #: includes/api/v2/class-wc-api-orders.php:890 #: includes/cli/class-wc-cli-order.php:938 msgid "The product variation is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:938 +#: includes/api/class-wc-api-orders.php:944 #: includes/api/v2/class-wc-api-orders.php:901 #: includes/cli/class-wc-cli-order.php:949 msgid "Product is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:943 +#: includes/api/class-wc-api-orders.php:949 #: includes/api/v2/class-wc-api-orders.php:906 #: includes/cli/class-wc-cli-order.php:954 msgid "Product quantity must be a positive float" msgstr "" -#: includes/api/class-wc-api-orders.php:948 +#: includes/api/class-wc-api-orders.php:954 #: includes/api/v2/class-wc-api-orders.php:911 #: includes/cli/class-wc-cli-order.php:959 msgid "Product quantity is required" msgstr "" -#: includes/api/class-wc-api-orders.php:981 +#: includes/api/class-wc-api-orders.php:987 #: includes/api/v2/class-wc-api-orders.php:944 #: includes/cli/class-wc-cli-order.php:994 msgid "Cannot create line item, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:989 +#: includes/api/class-wc-api-orders.php:995 #: includes/api/v2/class-wc-api-orders.php:952 #: includes/cli/class-wc-cli-order.php:1002 msgid "Cannot update line item, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1058 +#: includes/api/class-wc-api-orders.php:1064 #: includes/api/v2/class-wc-api-orders.php:1020 #: includes/cli/class-wc-cli-order.php:1076 msgid "Shipping total must be a positive amount" msgstr "" -#: includes/api/class-wc-api-orders.php:1065 +#: includes/api/class-wc-api-orders.php:1071 #: includes/api/v2/class-wc-api-orders.php:1027 #: includes/cli/class-wc-cli-order.php:1083 msgid "Shipping method ID is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1073 +#: includes/api/class-wc-api-orders.php:1079 #: includes/api/v2/class-wc-api-orders.php:1035 #: includes/cli/class-wc-cli-order.php:1091 msgid "Cannot create shipping method, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1095 +#: includes/api/class-wc-api-orders.php:1101 #: includes/api/v2/class-wc-api-orders.php:1057 #: includes/cli/class-wc-cli-order.php:1113 msgid "Cannot update shipping method, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1115 +#: includes/api/class-wc-api-orders.php:1121 #: includes/api/v2/class-wc-api-orders.php:1077 #: includes/cli/class-wc-cli-order.php:1133 msgid "Fee title is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1131 +#: includes/api/class-wc-api-orders.php:1137 #: includes/api/v2/class-wc-api-orders.php:1093 #: includes/cli/class-wc-cli-order.php:1149 msgid "Fee tax class is required when fee is taxable" msgstr "" -#: includes/api/class-wc-api-orders.php:1150 +#: includes/api/class-wc-api-orders.php:1156 #: includes/api/v2/class-wc-api-orders.php:1112 #: includes/cli/class-wc-cli-order.php:1168 msgid "Cannot create fee, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1176 +#: includes/api/class-wc-api-orders.php:1182 #: includes/api/v2/class-wc-api-orders.php:1138 #: includes/cli/class-wc-cli-order.php:1194 msgid "Cannot update fee, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1194 +#: includes/api/class-wc-api-orders.php:1200 #: includes/api/v2/class-wc-api-orders.php:1156 #: includes/cli/class-wc-cli-order.php:1212 msgid "Coupon discount total must be a positive amount" msgstr "" -#: includes/api/class-wc-api-orders.php:1201 +#: includes/api/class-wc-api-orders.php:1207 #: includes/api/v2/class-wc-api-orders.php:1163 #: includes/cli/class-wc-cli-order.php:1219 msgid "Coupon code is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1207 +#: includes/api/class-wc-api-orders.php:1213 #: includes/api/v2/class-wc-api-orders.php:1169 #: includes/cli/class-wc-cli-order.php:1225 msgid "Cannot create coupon, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1225 +#: includes/api/class-wc-api-orders.php:1231 #: includes/api/v2/class-wc-api-orders.php:1187 #: includes/cli/class-wc-cli-order.php:1243 msgid "Cannot update coupon, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1290 -#: includes/api/class-wc-api-orders.php:1398 -#: includes/api/class-wc-api-orders.php:1460 +#: includes/api/class-wc-api-orders.php:1296 +#: includes/api/class-wc-api-orders.php:1404 +#: includes/api/class-wc-api-orders.php:1466 #: includes/api/v2/class-wc-api-orders.php:1252 #: includes/api/v2/class-wc-api-orders.php:1360 #: includes/api/v2/class-wc-api-orders.php:1422 msgid "Invalid order note ID" msgstr "" -#: includes/api/class-wc-api-orders.php:1296 -#: includes/api/class-wc-api-orders.php:1405 -#: includes/api/class-wc-api-orders.php:1467 +#: includes/api/class-wc-api-orders.php:1302 +#: includes/api/class-wc-api-orders.php:1411 +#: includes/api/class-wc-api-orders.php:1473 #: includes/api/v2/class-wc-api-orders.php:1258 #: includes/api/v2/class-wc-api-orders.php:1367 #: includes/api/v2/class-wc-api-orders.php:1429 msgid "An order note with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-orders.php:1330 +#: includes/api/class-wc-api-orders.php:1336 #: includes/api/v2/class-wc-api-orders.php:1292 msgid "You do not have permission to create order notes" msgstr "" -#: includes/api/class-wc-api-orders.php:1345 +#: includes/api/class-wc-api-orders.php:1351 #: includes/api/v2/class-wc-api-orders.php:1307 msgid "Order note is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1354 +#: includes/api/class-wc-api-orders.php:1360 #: includes/api/v2/class-wc-api-orders.php:1316 msgid "Cannot create order note, please try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1410 -#: includes/api/class-wc-api-orders.php:1472 +#: includes/api/class-wc-api-orders.php:1416 +#: includes/api/class-wc-api-orders.php:1478 #: includes/api/v2/class-wc-api-orders.php:1372 #: includes/api/v2/class-wc-api-orders.php:1434 msgid "The order note ID provided is not associated with the order" msgstr "" -#: includes/api/class-wc-api-orders.php:1479 +#: includes/api/class-wc-api-orders.php:1485 #: includes/api/v2/class-wc-api-orders.php:1441 msgid "This order note cannot be deleted" msgstr "" -#: includes/api/class-wc-api-orders.php:1484 +#: includes/api/class-wc-api-orders.php:1490 #: includes/api/v2/class-wc-api-orders.php:1446 msgid "Permanently deleted order note" msgstr "" -#: includes/api/class-wc-api-orders.php:1545 -#: includes/api/class-wc-api-orders.php:1708 -#: includes/api/class-wc-api-orders.php:1767 +#: includes/api/class-wc-api-orders.php:1551 +#: includes/api/class-wc-api-orders.php:1714 +#: includes/api/class-wc-api-orders.php:1773 #: includes/api/v2/class-wc-api-orders.php:1507 #: includes/api/v2/class-wc-api-orders.php:1670 #: includes/api/v2/class-wc-api-orders.php:1729 msgid "Invalid order refund ID" msgstr "" -#: includes/api/class-wc-api-orders.php:1552 -#: includes/api/class-wc-api-orders.php:1715 -#: includes/api/class-wc-api-orders.php:1774 +#: includes/api/class-wc-api-orders.php:1558 +#: includes/api/class-wc-api-orders.php:1721 +#: includes/api/class-wc-api-orders.php:1780 #: includes/api/v2/class-wc-api-orders.php:1514 #: includes/api/v2/class-wc-api-orders.php:1677 #: includes/api/v2/class-wc-api-orders.php:1736 msgid "An order refund with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-orders.php:1622 +#: includes/api/class-wc-api-orders.php:1628 #: includes/api/v2/class-wc-api-orders.php:1584 msgid "You do not have permission to create order refunds" msgstr "" -#: includes/api/class-wc-api-orders.php:1635 +#: includes/api/class-wc-api-orders.php:1641 #: includes/api/v2/class-wc-api-orders.php:1597 msgid "Refund amount is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1637 +#: includes/api/class-wc-api-orders.php:1643 #: includes/api/v2/class-wc-api-orders.php:1599 msgid "Refund amount must be positive" msgstr "" -#: includes/api/class-wc-api-orders.php:1647 +#: includes/api/class-wc-api-orders.php:1653 #: includes/api/v2/class-wc-api-orders.php:1609 msgid "Cannot create order refund, please try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1664 +#: includes/api/class-wc-api-orders.php:1670 #: includes/api/v2/class-wc-api-orders.php:1626 msgid "" "An error occurred while attempting to create the refund using the payment " "gateway API" msgstr "" -#: includes/api/class-wc-api-orders.php:1720 -#: includes/api/class-wc-api-orders.php:1779 +#: includes/api/class-wc-api-orders.php:1726 +#: includes/api/class-wc-api-orders.php:1785 #: includes/api/v2/class-wc-api-orders.php:1682 #: includes/api/v2/class-wc-api-orders.php:1741 msgid "The order refund ID provided is not associated with the order" @@ -12548,7 +12847,7 @@ msgid "Invalid product type - the product type must be any of these: %s" msgstr "" #: includes/api/class-wc-api-products.php:464 -#: includes/api/class-wc-api-products.php:3093 +#: includes/api/class-wc-api-products.php:3122 #: includes/api/class-wc-api-resource.php:377 #: includes/api/v1/class-wc-api-resource.php:316 #: includes/api/v2/class-wc-api-products.php:413 @@ -12565,11 +12864,11 @@ msgid "Permanently deleted %s" msgstr "" #: includes/api/class-wc-api-products.php:477 -#: includes/api/class-wc-api-products.php:813 -#: includes/api/class-wc-api-products.php:1000 -#: includes/api/class-wc-api-products.php:2832 -#: includes/api/class-wc-api-products.php:3100 -#: includes/api/class-wc-api-products.php:3404 +#: includes/api/class-wc-api-products.php:817 +#: includes/api/class-wc-api-products.php:1005 +#: includes/api/class-wc-api-products.php:2861 +#: includes/api/class-wc-api-products.php:3129 +#: includes/api/class-wc-api-products.php:3435 #: includes/api/class-wc-api-resource.php:386 #: includes/api/class-wc-api-taxes.php:354 #: includes/api/class-wc-api-taxes.php:665 @@ -12605,57 +12904,57 @@ msgstr "" msgid "Product category parent is invalid" msgstr "" -#: includes/api/class-wc-api-products.php:736 +#: includes/api/class-wc-api-products.php:738 msgid "You do not have permission to edit product categories" msgstr "" -#: includes/api/class-wc-api-products.php:766 +#: includes/api/class-wc-api-products.php:768 msgid "Could not edit the category" msgstr "" -#: includes/api/class-wc-api-products.php:799 +#: includes/api/class-wc-api-products.php:801 msgid "You do not have permission to delete product category" msgstr "" -#: includes/api/class-wc-api-products.php:805 +#: includes/api/class-wc-api-products.php:807 msgid "Could not delete the category" msgstr "" -#: includes/api/class-wc-api-products.php:830 -#: includes/api/class-wc-api-products.php:866 +#: includes/api/class-wc-api-products.php:834 +#: includes/api/class-wc-api-products.php:870 msgid "You do not have permission to read product tags" msgstr "" -#: includes/api/class-wc-api-products.php:861 +#: includes/api/class-wc-api-products.php:865 msgid "Invalid product tag ID" msgstr "" -#: includes/api/class-wc-api-products.php:872 +#: includes/api/class-wc-api-products.php:876 msgid "A product tag with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-products.php:907 +#: includes/api/class-wc-api-products.php:911 msgid "You do not have permission to create product tags" msgstr "" -#: includes/api/class-wc-api-products.php:954 +#: includes/api/class-wc-api-products.php:959 msgid "You do not have permission to edit product tags" msgstr "" -#: includes/api/class-wc-api-products.php:966 +#: includes/api/class-wc-api-products.php:971 msgid "Could not edit the tag" msgstr "" -#: includes/api/class-wc-api-products.php:989 +#: includes/api/class-wc-api-products.php:994 msgid "You do not have permission to delete product tag" msgstr "" -#: includes/api/class-wc-api-products.php:995 +#: includes/api/class-wc-api-products.php:1000 msgid "Could not delete the tag" msgstr "" -#: includes/api/class-wc-api-products.php:1309 -#: includes/api/class-wc-api-products.php:1750 +#: includes/api/class-wc-api-products.php:1333 +#: includes/api/class-wc-api-products.php:1779 #: includes/api/v2/class-wc-api-products.php:852 #: includes/api/v2/class-wc-api-products.php:1288 #: includes/cli/class-wc-cli-product.php:1126 @@ -12663,150 +12962,150 @@ msgstr "" msgid "The SKU already exists on another product" msgstr "" -#: includes/api/class-wc-api-products.php:2196 -#: includes/api/class-wc-api-products.php:2197 +#: includes/api/class-wc-api-products.php:2225 +#: includes/api/class-wc-api-products.php:2226 #: includes/api/v1/class-wc-api-products.php:461 #: includes/api/v1/class-wc-api-products.php:462 #: includes/api/v2/class-wc-api-products.php:1711 #: includes/api/v2/class-wc-api-products.php:1712 #: includes/cli/class-wc-cli-product.php:914 #: includes/cli/class-wc-cli-product.php:915 -#: includes/wc-product-functions.php:293 -#: templates/single-product/product-image.php:46 +#: includes/wc-product-functions.php:294 +#: templates/single-product/product-image.php:47 msgid "Placeholder" msgstr "" -#: includes/api/class-wc-api-products.php:2307 +#: includes/api/class-wc-api-products.php:2336 #: includes/api/v2/class-wc-api-products.php:1788 -#: includes/cli/class-wc-cli-product.php:2016 +#: includes/cli/class-wc-cli-product.php:2012 msgid "Invalid URL %s" msgstr "" -#: includes/api/class-wc-api-products.php:2319 +#: includes/api/class-wc-api-products.php:2348 #: includes/api/v2/class-wc-api-products.php:1800 -#: includes/cli/class-wc-cli-product.php:2028 +#: includes/cli/class-wc-cli-product.php:2024 msgid "Error getting remote image %s" msgstr "" -#: includes/api/class-wc-api-products.php:2348 +#: includes/api/class-wc-api-products.php:2377 #: includes/api/v2/class-wc-api-products.php:1829 -#: includes/cli/class-wc-cli-product.php:2057 +#: includes/cli/class-wc-cli-product.php:2053 msgid "Zero size file downloaded" msgstr "" -#: includes/api/class-wc-api-products.php:2505 -#: includes/api/class-wc-api-products.php:2549 +#: includes/api/class-wc-api-products.php:2534 +#: includes/api/class-wc-api-products.php:2578 #: includes/api/v2/class-wc-api-products.php:1961 #: includes/api/v2/class-wc-api-products.php:2005 msgid "You do not have permission to read product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2544 -#: includes/api/class-wc-api-products.php:2912 +#: includes/api/class-wc-api-products.php:2573 +#: includes/api/class-wc-api-products.php:2941 #: includes/api/v2/class-wc-api-products.php:2000 msgid "Invalid product attribute ID" msgstr "" -#: includes/api/class-wc-api-products.php:2559 -#: includes/api/class-wc-api-products.php:2803 -#: includes/api/class-wc-api-products.php:2856 -#: includes/api/class-wc-api-products.php:2923 -#: includes/api/class-wc-api-products.php:2971 -#: includes/api/class-wc-api-products.php:3035 -#: includes/api/class-wc-api-products.php:3086 +#: includes/api/class-wc-api-products.php:2588 +#: includes/api/class-wc-api-products.php:2832 +#: includes/api/class-wc-api-products.php:2885 +#: includes/api/class-wc-api-products.php:2952 +#: includes/api/class-wc-api-products.php:3000 +#: includes/api/class-wc-api-products.php:3064 +#: includes/api/class-wc-api-products.php:3115 #: includes/api/v2/class-wc-api-products.php:2015 #: includes/api/v2/class-wc-api-products.php:2257 msgid "A product attribute with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-products.php:2604 +#: includes/api/class-wc-api-products.php:2633 #: includes/api/v2/class-wc-api-products.php:2060 msgid "" "Invalid product attribute type - the product attribute type must be any of " "these: %s" msgstr "" -#: includes/api/class-wc-api-products.php:2609 +#: includes/api/class-wc-api-products.php:2638 #: includes/api/v2/class-wc-api-products.php:2065 msgid "" "Invalid product attribute order_by type - the product attribute order_by " "type must be any of these: %s" msgstr "" -#: includes/api/class-wc-api-products.php:2634 -#: includes/api/class-wc-api-products.php:2965 +#: includes/api/class-wc-api-products.php:2663 +#: includes/api/class-wc-api-products.php:2994 #: includes/api/v2/class-wc-api-products.php:2090 msgid "You do not have permission to create product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2717 -#: includes/api/class-wc-api-products.php:3029 +#: includes/api/class-wc-api-products.php:2746 +#: includes/api/class-wc-api-products.php:3058 #: includes/api/v2/class-wc-api-products.php:2172 msgid "You do not have permission to edit product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2763 +#: includes/api/class-wc-api-products.php:2792 #: includes/api/v2/class-wc-api-products.php:2218 msgid "Could not edit the attribute" msgstr "" -#: includes/api/class-wc-api-products.php:2791 +#: includes/api/class-wc-api-products.php:2820 #: includes/api/v2/class-wc-api-products.php:2245 msgid "You do not have permission to delete product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2813 +#: includes/api/class-wc-api-products.php:2842 #: includes/api/v2/class-wc-api-products.php:2267 msgid "Could not delete the attribute" msgstr "" -#: includes/api/class-wc-api-products.php:2850 -#: includes/api/class-wc-api-products.php:2917 +#: includes/api/class-wc-api-products.php:2879 +#: includes/api/class-wc-api-products.php:2946 msgid "You do not have permission to read product attribute terms" msgstr "" -#: includes/api/class-wc-api-products.php:2929 +#: includes/api/class-wc-api-products.php:2958 msgid "A product attribute term with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-products.php:3080 +#: includes/api/class-wc-api-products.php:3109 msgid "You do not have permission to delete product attribute terms" msgstr "" -#: includes/api/class-wc-api-products.php:3218 -#: includes/api/class-wc-api-products.php:3253 +#: includes/api/class-wc-api-products.php:3247 +#: includes/api/class-wc-api-products.php:3282 msgid "You do not have permission to read product shipping classes" msgstr "" -#: includes/api/class-wc-api-products.php:3248 +#: includes/api/class-wc-api-products.php:3277 msgid "Invalid product shipping class ID" msgstr "" -#: includes/api/class-wc-api-products.php:3259 +#: includes/api/class-wc-api-products.php:3288 msgid "A product shipping class with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-products.php:3297 +#: includes/api/class-wc-api-products.php:3326 msgid "You do not have permission to create product shipping classes" msgstr "" -#: includes/api/class-wc-api-products.php:3315 +#: includes/api/class-wc-api-products.php:3344 msgid "Product shipping class parent is invalid" msgstr "" -#: includes/api/class-wc-api-products.php:3356 +#: includes/api/class-wc-api-products.php:3387 msgid "You do not have permission to edit product shipping classes" msgstr "" -#: includes/api/class-wc-api-products.php:3368 +#: includes/api/class-wc-api-products.php:3399 msgid "Could not edit the shipping class" msgstr "" -#: includes/api/class-wc-api-products.php:3393 +#: includes/api/class-wc-api-products.php:3424 msgid "You do not have permission to delete product shipping classes" msgstr "" -#: includes/api/class-wc-api-products.php:3399 +#: includes/api/class-wc-api-products.php:3430 msgid "Could not delete the shipping class" msgstr "" @@ -13001,80 +13300,84 @@ msgstr "" msgid "Invalid product SKU" msgstr "" -#: includes/class-wc-ajax.php:211 +#: includes/class-wc-ajax.php:216 msgid "Sorry there was a problem removing this coupon." msgstr "" -#: includes/class-wc-ajax.php:217 +#: includes/class-wc-ajax.php:222 msgid "Coupon has been removed." msgstr "" -#: includes/class-wc-ajax.php:268 +#: includes/class-wc-ajax.php:289 msgid "Sorry, your session has expired." msgstr "" -#: includes/class-wc-ajax.php:268 +#: includes/class-wc-ajax.php:289 msgid "Return to homepage" msgstr "" -#: includes/class-wc-ajax.php:1381 +#: includes/class-wc-ajax.php:1402 msgid "" "No products had their stock reduced - they may not have stock management " "enabled." msgstr "" -#: includes/class-wc-ajax.php:1423 +#: includes/class-wc-ajax.php:1444 msgid "Item %s stock increased from %s to %s." msgstr "" -#: includes/class-wc-ajax.php:1433 +#: includes/class-wc-ajax.php:1454 msgid "" "No products had their stock increased - they may not have stock management " "enabled." msgstr "" -#: includes/class-wc-ajax.php:1452 +#: includes/class-wc-ajax.php:1473 msgid "Value" msgstr "" -#: includes/class-wc-ajax.php:2161 +#: includes/class-wc-ajax.php:2197 msgid "Invalid refund amount" msgstr "" -#: includes/class-wc-ajax.php:2206 +#: includes/class-wc-ajax.php:2242 msgid "Refund failed" msgstr "" -#: includes/class-wc-ajax.php:2221 +#: includes/class-wc-ajax.php:2257 msgid "Item #%s stock increased from %s to %s." msgstr "" -#: includes/class-wc-ajax.php:2310 +#: includes/class-wc-ajax.php:2346 msgid "Description is missing." msgstr "" -#: includes/class-wc-ajax.php:2313 +#: includes/class-wc-ajax.php:2349 msgid "User is missing." msgstr "" -#: includes/class-wc-ajax.php:2316 +#: includes/class-wc-ajax.php:2352 msgid "Permissions is missing." msgstr "" -#: includes/class-wc-ajax.php:2345 +#: includes/class-wc-ajax.php:2381 msgid "API Key updated successfully." msgstr "" -#: includes/class-wc-ajax.php:2376 +#: includes/class-wc-ajax.php:2412 msgid "" "API Key generated successfully. Make sure to copy your new API keys now. " "You won't be able to see it again!" msgstr "" -#: includes/class-wc-ajax.php:2589 +#: includes/class-wc-ajax.php:2625 msgid "Dismiss this notice." msgstr "" +#: includes/class-wc-ajax.php:3285 +msgid "Shipping Class name is required" +msgstr "" + #: includes/class-wc-auth.php:100 msgid "View coupons" msgstr "" @@ -13196,67 +13499,67 @@ msgid "" "in W3 Total Cache settings here." msgstr "" -#: includes/class-wc-cart.php:268 +#: includes/class-wc-cart.php:238 msgid "" "%s has been removed from your cart because it can no longer be purchased. " "Please contact us if you need assistance." msgstr "" -#: includes/class-wc-cart.php:487 +#: includes/class-wc-cart.php:457 msgid "An item which is no longer available was removed from your cart." msgstr "" -#: includes/class-wc-cart.php:513 +#: includes/class-wc-cart.php:483 msgid "" "Sorry, \"%s\" is not in stock. Please edit your cart and try again. We " "apologise for any inconvenience caused." msgstr "" -#: includes/class-wc-cart.php:527 +#: includes/class-wc-cart.php:497 msgid "" "Sorry, we do not have enough \"%s\" in stock to fulfill your order (%s in " "stock). Please edit your cart and try again. We apologise for any " "inconvenience caused." msgstr "" -#: includes/class-wc-cart.php:562 +#: includes/class-wc-cart.php:532 msgid "" "Sorry, we do not have enough \"%s\" in stock to fulfill your order right " "now. Please try again in %d minutes or edit your cart and try again. We " "apologise for any inconvenience caused." msgstr "" -#: includes/class-wc-cart.php:725 +#: includes/class-wc-cart.php:695 msgid "Get cart should not be called before the wp_loaded action." msgstr "" -#: includes/class-wc-cart.php:932 includes/class-wc-cart.php:967 -#: includes/class-wc-frontend-scripts.php:305 includes/wc-cart-functions.php:93 -#: templates/cart/mini-cart.php:84 +#: includes/class-wc-cart.php:902 includes/class-wc-cart.php:937 +#: includes/class-wc-frontend-scripts.php:307 includes/wc-cart-functions.php:93 +#: templates/cart/mini-cart.php:85 msgid "View Cart" msgstr "" -#: includes/class-wc-cart.php:932 +#: includes/class-wc-cart.php:902 msgid "You cannot add another "%s" to your cart." msgstr "" -#: includes/class-wc-cart.php:938 +#: includes/class-wc-cart.php:908 msgid "Sorry, this product cannot be purchased." msgstr "" -#: includes/class-wc-cart.php:943 +#: includes/class-wc-cart.php:913 msgid "" "You cannot add "%s" to the cart because the product is out of " "stock." msgstr "" -#: includes/class-wc-cart.php:947 +#: includes/class-wc-cart.php:917 msgid "" "You cannot add that amount of "%s" to the cart because there is " "not enough stock (%s remaining)." msgstr "" -#: includes/class-wc-cart.php:968 +#: includes/class-wc-cart.php:938 msgid "" "You cannot add that amount to the cart — we have %s in stock and you " "already have %s in your cart." @@ -13288,7 +13591,7 @@ msgid "" msgstr "" #: includes/class-wc-checkout.php:449 includes/class-wc-form-handler.php:85 -#: includes/class-wc-form-handler.php:184 +#: includes/class-wc-form-handler.php:185 msgid "is a required field." msgstr "" @@ -13309,7 +13612,7 @@ msgstr "" msgid "is not valid. Please enter one of the following:" msgstr "" -#: includes/class-wc-checkout.php:551 includes/class-wc-form-handler.php:296 +#: includes/class-wc-checkout.php:551 includes/class-wc-form-handler.php:297 msgid "You must accept our Terms & Conditions." msgstr "" @@ -13323,7 +13626,7 @@ msgstr "" msgid "Invalid shipping method." msgstr "" -#: includes/class-wc-checkout.php:578 includes/class-wc-form-handler.php:306 +#: includes/class-wc-checkout.php:578 includes/class-wc-form-handler.php:307 msgid "Invalid payment method." msgstr "" @@ -13331,182 +13634,182 @@ msgstr "" msgid "Please rate the product." msgstr "" -#: includes/class-wc-countries.php:272 +#: includes/class-wc-countries.php:301 msgid "to the" msgstr "" -#: includes/class-wc-countries.php:272 +#: includes/class-wc-countries.php:301 msgid "to" msgstr "" -#: includes/class-wc-countries.php:284 +#: includes/class-wc-countries.php:313 msgid "the" msgstr "" -#: includes/class-wc-countries.php:294 +#: includes/class-wc-countries.php:323 msgid "VAT" msgstr "" -#: includes/class-wc-countries.php:304 +#: includes/class-wc-countries.php:333 msgid "(incl. VAT)" msgstr "" -#: includes/class-wc-countries.php:304 +#: includes/class-wc-countries.php:333 msgid "(incl. tax)" msgstr "" -#: includes/class-wc-countries.php:314 +#: includes/class-wc-countries.php:343 msgid "(ex. VAT)" msgstr "" -#: includes/class-wc-countries.php:314 +#: includes/class-wc-countries.php:343 msgid "(ex. tax)" msgstr "" -#: includes/class-wc-countries.php:510 +#: includes/class-wc-countries.php:539 msgid "Company Name" msgstr "" -#: includes/class-wc-countries.php:535 +#: includes/class-wc-countries.php:564 msgid "Town / City" msgstr "" -#: includes/class-wc-countries.php:542 +#: includes/class-wc-countries.php:571 msgid "State / County" msgstr "" -#: includes/class-wc-countries.php:549 -#: templates/cart/shipping-calculator.php:90 +#: includes/class-wc-countries.php:578 +#: templates/cart/shipping-calculator.php:91 msgid "Postcode / ZIP" msgstr "" -#: includes/class-wc-countries.php:605 +#: includes/class-wc-countries.php:634 msgid "Suburb" msgstr "" -#: includes/class-wc-countries.php:625 +#: includes/class-wc-countries.php:654 msgid "District" msgstr "" -#: includes/class-wc-countries.php:632 includes/class-wc-countries.php:654 -#: includes/class-wc-countries.php:677 includes/class-wc-countries.php:738 -#: includes/class-wc-countries.php:757 includes/class-wc-countries.php:774 -#: includes/class-wc-countries.php:832 includes/class-wc-countries.php:856 -#: includes/class-wc-countries.php:898 +#: includes/class-wc-countries.php:661 includes/class-wc-countries.php:683 +#: includes/class-wc-countries.php:706 includes/class-wc-countries.php:767 +#: includes/class-wc-countries.php:786 includes/class-wc-countries.php:803 +#: includes/class-wc-countries.php:861 includes/class-wc-countries.php:885 +#: includes/class-wc-countries.php:927 msgid "Province" msgstr "" -#: includes/class-wc-countries.php:660 +#: includes/class-wc-countries.php:689 msgid "Canton" msgstr "" -#: includes/class-wc-countries.php:672 includes/class-wc-countries.php:728 +#: includes/class-wc-countries.php:701 includes/class-wc-countries.php:757 msgid "Region" msgstr "" -#: includes/class-wc-countries.php:725 +#: includes/class-wc-countries.php:754 msgid "Town / District" msgstr "" -#: includes/class-wc-countries.php:733 includes/class-wc-countries.php:872 +#: includes/class-wc-countries.php:762 includes/class-wc-countries.php:901 msgid "County" msgstr "" -#: includes/class-wc-countries.php:762 +#: includes/class-wc-countries.php:791 msgid "Prefecture" msgstr "" -#: includes/class-wc-countries.php:790 +#: includes/class-wc-countries.php:819 msgid "State / Zone" msgstr "" -#: includes/class-wc-countries.php:838 +#: includes/class-wc-countries.php:867 msgid "Municipality" msgstr "" -#: includes/class-wc-countries.php:861 +#: includes/class-wc-countries.php:890 msgid "ZIP" msgstr "" -#: includes/class-wc-countries.php:955 +#: includes/class-wc-countries.php:984 msgid "Email Address" msgstr "" -#: includes/class-wc-coupon.php:783 +#: includes/class-wc-coupon.php:784 msgid "Coupon code applied successfully." msgstr "" -#: includes/class-wc-coupon.php:786 +#: includes/class-wc-coupon.php:787 msgid "Coupon code removed successfully." msgstr "" -#: includes/class-wc-coupon.php:804 +#: includes/class-wc-coupon.php:805 msgid "Coupon is not valid." msgstr "" -#: includes/class-wc-coupon.php:807 +#: includes/class-wc-coupon.php:808 msgid "Coupon \"%s\" does not exist!" msgstr "" -#: includes/class-wc-coupon.php:810 +#: includes/class-wc-coupon.php:811 msgid "" "Sorry, it seems the coupon \"%s\" is invalid - it has now been removed from " "your order." msgstr "" -#: includes/class-wc-coupon.php:813 +#: includes/class-wc-coupon.php:814 msgid "" "Sorry, it seems the coupon \"%s\" is not yours - it has now been removed " "from your order." msgstr "" -#: includes/class-wc-coupon.php:816 +#: includes/class-wc-coupon.php:817 msgid "Coupon code already applied!" msgstr "" -#: includes/class-wc-coupon.php:819 +#: includes/class-wc-coupon.php:820 msgid "" "Sorry, coupon \"%s\" has already been applied and cannot be used in " "conjunction with other coupons." msgstr "" -#: includes/class-wc-coupon.php:822 +#: includes/class-wc-coupon.php:823 msgid "Coupon usage limit has been reached." msgstr "" -#: includes/class-wc-coupon.php:825 +#: includes/class-wc-coupon.php:826 msgid "This coupon has expired." msgstr "" -#: includes/class-wc-coupon.php:828 +#: includes/class-wc-coupon.php:829 msgid "The minimum spend for this coupon is %s." msgstr "" -#: includes/class-wc-coupon.php:831 +#: includes/class-wc-coupon.php:832 msgid "The maximum spend for this coupon is %s." msgstr "" -#: includes/class-wc-coupon.php:834 +#: includes/class-wc-coupon.php:835 msgid "Sorry, this coupon is not applicable to your cart contents." msgstr "" -#: includes/class-wc-coupon.php:847 +#: includes/class-wc-coupon.php:848 msgid "Sorry, this coupon is not applicable to the products: %s." msgstr "" -#: includes/class-wc-coupon.php:866 +#: includes/class-wc-coupon.php:867 msgid "Sorry, this coupon is not applicable to the categories: %s." msgstr "" -#: includes/class-wc-coupon.php:869 +#: includes/class-wc-coupon.php:870 msgid "Sorry, this coupon is not valid for sale items." msgstr "" -#: includes/class-wc-coupon.php:889 +#: includes/class-wc-coupon.php:890 msgid "Coupon does not exist!" msgstr "" -#: includes/class-wc-coupon.php:892 +#: includes/class-wc-coupon.php:893 msgid "Please enter a coupon code." msgstr "" @@ -13515,9 +13818,9 @@ msgid "Invalid download link." msgstr "" #: includes/class-wc-download-handler.php:98 -#: includes/class-wc-form-handler.php:583 +#: includes/class-wc-form-handler.php:582 #: includes/shortcodes/class-wc-shortcode-checkout.php:176 -#: includes/shortcodes/class-wc-shortcode-my-account.php:108 +#: includes/shortcodes/class-wc-shortcode-my-account.php:94 msgid "Invalid order." msgstr "" @@ -13534,9 +13837,9 @@ msgstr "" msgid "You must be logged in to download files." msgstr "" -#: includes/class-wc-download-handler.php:136 templates/auth/form-login.php:43 -#: templates/global/form-login.php:47 templates/myaccount/form-login.php:36 -#: templates/myaccount/form-login.php:55 +#: includes/class-wc-download-handler.php:136 templates/auth/form-login.php:44 +#: templates/global/form-login.php:48 templates/myaccount/form-login.php:37 +#: templates/myaccount/form-login.php:56 msgid "Login" msgstr "" @@ -13560,39 +13863,39 @@ msgstr "" msgid "Go to homepage" msgstr "" -#: includes/class-wc-emails.php:344 +#: includes/class-wc-emails.php:345 msgid "Note" msgstr "" -#: includes/class-wc-emails.php:358 +#: includes/class-wc-emails.php:359 msgid "Tel" msgstr "" -#: includes/class-wc-emails.php:397 +#: includes/class-wc-emails.php:398 msgid "Product low in stock" msgstr "" -#: includes/class-wc-emails.php:398 +#: includes/class-wc-emails.php:399 msgid "%s is low in stock." msgstr "" -#: includes/class-wc-emails.php:398 +#: includes/class-wc-emails.php:399 msgid "There are %d left" msgstr "" -#: includes/class-wc-emails.php:415 +#: includes/class-wc-emails.php:416 msgid "Product out of stock" msgstr "" -#: includes/class-wc-emails.php:416 +#: includes/class-wc-emails.php:417 msgid "%s is out of stock." msgstr "" -#: includes/class-wc-emails.php:445 +#: includes/class-wc-emails.php:446 msgid "Product Backorder" msgstr "" -#: includes/class-wc-emails.php:446 +#: includes/class-wc-emails.php:447 msgid "%s units of %s have been backordered in order #%s." msgstr "" @@ -13610,132 +13913,132 @@ msgid "Address changed successfully." msgstr "" #: includes/class-wc-form-handler.php:179 -#: templates/myaccount/form-edit-account.php:40 -#: templates/myaccount/form-login.php:90 +#: templates/myaccount/form-edit-account.php:43 +#: templates/myaccount/form-login.php:91 msgid "Email address" msgstr "" -#: includes/class-wc-form-handler.php:190 includes/wc-user-functions.php:48 +#: includes/class-wc-form-handler.php:191 includes/wc-user-functions.php:48 msgid "Please provide a valid email address." msgstr "" -#: includes/class-wc-form-handler.php:192 +#: includes/class-wc-form-handler.php:193 msgid "This email address is already registered." msgstr "" -#: includes/class-wc-form-handler.php:198 +#: includes/class-wc-form-handler.php:199 msgid "Your current password is incorrect." msgstr "" -#: includes/class-wc-form-handler.php:203 +#: includes/class-wc-form-handler.php:204 msgid "Please fill out all password fields." msgstr "" -#: includes/class-wc-form-handler.php:206 +#: includes/class-wc-form-handler.php:207 msgid "Please enter your current password." msgstr "" -#: includes/class-wc-form-handler.php:209 +#: includes/class-wc-form-handler.php:210 msgid "Please re-enter your password." msgstr "" -#: includes/class-wc-form-handler.php:212 +#: includes/class-wc-form-handler.php:213 msgid "New passwords do not match." msgstr "" -#: includes/class-wc-form-handler.php:233 +#: includes/class-wc-form-handler.php:234 msgid "Account details changed successfully." msgstr "" -#: includes/class-wc-form-handler.php:371 +#: includes/class-wc-form-handler.php:370 msgid "Payment method added." msgstr "" -#: includes/class-wc-form-handler.php:411 +#: includes/class-wc-form-handler.php:410 msgid "%s removed. %sUndo?%s" msgstr "" -#: includes/class-wc-form-handler.php:413 +#: includes/class-wc-form-handler.php:412 msgid "%s removed." msgstr "" -#: includes/class-wc-form-handler.php:460 +#: includes/class-wc-form-handler.php:459 msgid "You can only have 1 %s in your cart." msgstr "" -#: includes/class-wc-form-handler.php:484 +#: includes/class-wc-form-handler.php:483 msgid "Cart updated." msgstr "" -#: includes/class-wc-form-handler.php:550 +#: includes/class-wc-form-handler.php:549 msgid "The cart has been filled with the items from your previous order." msgstr "" -#: includes/class-wc-form-handler.php:573 +#: includes/class-wc-form-handler.php:572 msgid "Order cancelled by customer." msgstr "" -#: includes/class-wc-form-handler.php:576 +#: includes/class-wc-form-handler.php:575 msgid "Your order was cancelled." msgstr "" -#: includes/class-wc-form-handler.php:581 +#: includes/class-wc-form-handler.php:580 msgid "" "Your order can no longer be cancelled. Please contact us if you need " "assistance." msgstr "" -#: includes/class-wc-form-handler.php:691 +#: includes/class-wc-form-handler.php:690 msgid "Please choose the quantity of items you wish to add to your cart…" msgstr "" -#: includes/class-wc-form-handler.php:699 +#: includes/class-wc-form-handler.php:698 msgid "Please choose a product to add to your cart…" msgstr "" -#: includes/class-wc-form-handler.php:752 +#: includes/class-wc-form-handler.php:751 msgid "%s is a required field" msgid_plural "%s are required fields" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-form-handler.php:754 +#: includes/class-wc-form-handler.php:753 msgid "Please choose product options…" msgstr "" -#: includes/class-wc-form-handler.php:781 -#: includes/class-wc-form-handler.php:785 -#: includes/class-wc-form-handler.php:789 -#: includes/class-wc-form-handler.php:798 -#: includes/class-wc-form-handler.php:929 +#: includes/class-wc-form-handler.php:780 +#: includes/class-wc-form-handler.php:784 +#: includes/class-wc-form-handler.php:788 +#: includes/class-wc-form-handler.php:797 +#: includes/class-wc-form-handler.php:928 msgid "Error" msgstr "" -#: includes/class-wc-form-handler.php:785 +#: includes/class-wc-form-handler.php:784 msgid "Username is required." msgstr "" -#: includes/class-wc-form-handler.php:789 +#: includes/class-wc-form-handler.php:788 msgid "Password is required." msgstr "" -#: includes/class-wc-form-handler.php:798 +#: includes/class-wc-form-handler.php:797 msgid "A user could not be found with this email address." msgstr "" -#: includes/class-wc-form-handler.php:825 +#: includes/class-wc-form-handler.php:824 msgid "You are now logged in as %s" msgstr "" -#: includes/class-wc-form-handler.php:869 +#: includes/class-wc-form-handler.php:868 msgid "Please enter your password." msgstr "" -#: includes/class-wc-form-handler.php:873 +#: includes/class-wc-form-handler.php:872 msgid "Passwords do not match." msgstr "" -#: includes/class-wc-form-handler.php:912 +#: includes/class-wc-form-handler.php:911 msgid "Anti-spam field was filled in." msgstr "" @@ -13748,75 +14051,75 @@ msgid "Error processing checkout. Please try again." msgstr "" #: includes/class-wc-frontend-scripts.php:284 -#: includes/wc-template-functions.php:1714 +#: includes/wc-template-functions.php:1772 msgid "required" msgstr "" -#: includes/class-wc-frontend-scripts.php:316 +#: includes/class-wc-frontend-scripts.php:318 msgid "" "Sorry, no products matched your selection. Please choose a different " "combination." msgstr "" -#: includes/class-wc-frontend-scripts.php:317 +#: includes/class-wc-frontend-scripts.php:319 msgid "Please select some product options before adding this product to your cart." msgstr "" -#: includes/class-wc-frontend-scripts.php:318 +#: includes/class-wc-frontend-scripts.php:320 #: templates/single-product/add-to-cart/variation.php:31 msgid "Sorry, this product is unavailable. Please choose a different combination." msgstr "" -#: includes/class-wc-frontend-scripts.php:342 +#: includes/class-wc-frontend-scripts.php:344 msgid "Please enter a stronger password." msgstr "" -#: includes/class-wc-frontend-scripts.php:343 +#: includes/class-wc-frontend-scripts.php:345 msgid "" "The password should be at least seven characters long. To make it stronger, " "use upper and lower case letters, numbers and symbols like ! \" ? $ % ^ " "& )." msgstr "" -#: includes/class-wc-install.php:76 +#: includes/class-wc-install.php:77 msgid "" "WooCommerce data update complete. Thank you for updating to the latest " "version!" msgstr "" -#: includes/class-wc-install.php:199 +#: includes/class-wc-install.php:204 msgid "Monthly" msgstr "" -#: includes/class-wc-install.php:491 +#: includes/class-wc-install.php:575 msgid "Shop Manager" msgstr "" -#: includes/class-wc-install.php:715 +#: includes/class-wc-install.php:799 msgid "View WooCommerce Settings" msgstr "" -#: includes/class-wc-install.php:731 +#: includes/class-wc-install.php:815 msgid "View WooCommerce Documentation" msgstr "" -#: includes/class-wc-install.php:731 +#: includes/class-wc-install.php:815 msgid "Docs" msgstr "" -#: includes/class-wc-install.php:732 +#: includes/class-wc-install.php:816 msgid "View WooCommerce API Docs" msgstr "" -#: includes/class-wc-install.php:732 +#: includes/class-wc-install.php:816 msgid "API Docs" msgstr "" -#: includes/class-wc-install.php:733 +#: includes/class-wc-install.php:817 msgid "Visit Premium Customer Support Forum" msgstr "" -#: includes/class-wc-install.php:733 +#: includes/class-wc-install.php:817 msgid "Premium Support" msgstr "" @@ -13860,344 +14163,388 @@ msgstr "" msgid "New Product Category Name" msgstr "" -#: includes/class-wc-post-types.php:101 +#: includes/class-wc-post-types.php:76 +msgid "No Product Category found" +msgstr "" + +#: includes/class-wc-post-types.php:102 msgid "Product Tag" msgstr "" -#: includes/class-wc-post-types.php:103 +#: includes/class-wc-post-types.php:104 msgid "Search Product Tags" msgstr "" -#: includes/class-wc-post-types.php:104 +#: includes/class-wc-post-types.php:105 msgid "All Product Tags" msgstr "" -#: includes/class-wc-post-types.php:105 +#: includes/class-wc-post-types.php:106 msgid "Edit Product Tag" msgstr "" -#: includes/class-wc-post-types.php:106 +#: includes/class-wc-post-types.php:107 msgid "Update Product Tag" msgstr "" -#: includes/class-wc-post-types.php:107 +#: includes/class-wc-post-types.php:108 msgid "Add New Product Tag" msgstr "" -#: includes/class-wc-post-types.php:108 +#: includes/class-wc-post-types.php:109 msgid "New Product Tag Name" msgstr "" -#: includes/class-wc-post-types.php:109 +#: includes/class-wc-post-types.php:110 msgid "Popular Product Tags" msgstr "" -#: includes/class-wc-post-types.php:110 +#: includes/class-wc-post-types.php:111 msgid "Separate Product Tags with commas" msgstr "" -#: includes/class-wc-post-types.php:111 +#: includes/class-wc-post-types.php:112 msgid "Add or remove Product Tags" msgstr "" -#: includes/class-wc-post-types.php:112 +#: includes/class-wc-post-types.php:113 msgid "Choose from the most used Product tags" msgstr "" -#: includes/class-wc-post-types.php:113 +#: includes/class-wc-post-types.php:114 msgid "No Product Tags found" msgstr "" -#: includes/class-wc-post-types.php:135 includes/class-wc-post-types.php:137 -msgid "Shipping Classes" -msgstr "" - -#: includes/class-wc-post-types.php:138 -msgid "Shipping Class" -msgstr "" - -#: includes/class-wc-post-types.php:140 +#: includes/class-wc-post-types.php:141 msgid "Search Shipping Classes" msgstr "" -#: includes/class-wc-post-types.php:141 +#: includes/class-wc-post-types.php:142 msgid "All Shipping Classes" msgstr "" -#: includes/class-wc-post-types.php:142 +#: includes/class-wc-post-types.php:143 msgid "Parent Shipping Class" msgstr "" -#: includes/class-wc-post-types.php:143 +#: includes/class-wc-post-types.php:144 msgid "Parent Shipping Class:" msgstr "" -#: includes/class-wc-post-types.php:144 +#: includes/class-wc-post-types.php:145 msgid "Edit Shipping Class" msgstr "" -#: includes/class-wc-post-types.php:145 +#: includes/class-wc-post-types.php:146 msgid "Update Shipping Class" msgstr "" -#: includes/class-wc-post-types.php:146 +#: includes/class-wc-post-types.php:147 msgid "Add New Shipping Class" msgstr "" -#: includes/class-wc-post-types.php:147 +#: includes/class-wc-post-types.php:148 msgid "New Shipping Class Name" msgstr "" -#: includes/class-wc-post-types.php:179 +#: includes/class-wc-post-types.php:180 msgid "Search %s" msgstr "" -#: includes/class-wc-post-types.php:180 +#: includes/class-wc-post-types.php:181 msgid "All %s" msgstr "" -#: includes/class-wc-post-types.php:181 +#: includes/class-wc-post-types.php:182 msgid "Parent %s" msgstr "" -#: includes/class-wc-post-types.php:182 +#: includes/class-wc-post-types.php:183 msgid "Parent %s:" msgstr "" -#: includes/class-wc-post-types.php:183 +#: includes/class-wc-post-types.php:184 msgid "Edit %s" msgstr "" -#: includes/class-wc-post-types.php:184 +#: includes/class-wc-post-types.php:185 msgid "Update %s" msgstr "" -#: includes/class-wc-post-types.php:185 +#: includes/class-wc-post-types.php:186 msgid "Add New %s" msgstr "" -#: includes/class-wc-post-types.php:186 +#: includes/class-wc-post-types.php:187 msgid "New %s" msgstr "" -#: includes/class-wc-post-types.php:242 +#: includes/class-wc-post-types.php:188 +msgid "No "%s" found" +msgstr "" + +#: includes/class-wc-post-types.php:244 msgid "Add Product" msgstr "" -#: includes/class-wc-post-types.php:243 +#: includes/class-wc-post-types.php:245 msgid "Add New Product" msgstr "" -#: includes/class-wc-post-types.php:245 +#: includes/class-wc-post-types.php:247 msgid "Edit Product" msgstr "" -#: includes/class-wc-post-types.php:246 +#: includes/class-wc-post-types.php:248 msgid "New Product" msgstr "" -#: includes/class-wc-post-types.php:247 includes/class-wc-post-types.php:248 +#: includes/class-wc-post-types.php:249 includes/class-wc-post-types.php:250 msgid "View Product" msgstr "" -#: includes/class-wc-post-types.php:249 +#: includes/class-wc-post-types.php:251 msgid "Search Products" msgstr "" -#: includes/class-wc-post-types.php:250 +#: includes/class-wc-post-types.php:252 msgid "No Products found" msgstr "" -#: includes/class-wc-post-types.php:251 +#: includes/class-wc-post-types.php:253 msgid "No Products found in trash" msgstr "" -#: includes/class-wc-post-types.php:252 +#: includes/class-wc-post-types.php:254 msgid "Parent Product" msgstr "" -#: includes/class-wc-post-types.php:253 -#: templates/emails/email-order-items.php:33 +#: includes/class-wc-post-types.php:255 +#: templates/emails/email-order-items.php:34 msgid "Product Image" msgstr "" -#: includes/class-wc-post-types.php:254 +#: includes/class-wc-post-types.php:256 msgid "Set product image" msgstr "" -#: includes/class-wc-post-types.php:255 +#: includes/class-wc-post-types.php:257 msgid "Remove product image" msgstr "" -#: includes/class-wc-post-types.php:256 +#: includes/class-wc-post-types.php:258 msgid "Use as product image" msgstr "" -#: includes/class-wc-post-types.php:258 +#: includes/class-wc-post-types.php:259 +msgid "Insert into product" +msgstr "" + +#: includes/class-wc-post-types.php:260 +msgid "Uploaded to this product" +msgstr "" + +#: includes/class-wc-post-types.php:261 +msgid "Filter products" +msgstr "" + +#: includes/class-wc-post-types.php:262 +msgid "Products navigation" +msgstr "" + +#: includes/class-wc-post-types.php:263 +msgid "Products list" +msgstr "" + +#: includes/class-wc-post-types.php:265 msgid "This is where you can add new products to your store." msgstr "" -#: includes/class-wc-post-types.php:294 +#: includes/class-wc-post-types.php:301 msgid "Add Order" msgstr "" -#: includes/class-wc-post-types.php:295 +#: includes/class-wc-post-types.php:302 msgid "Add New Order" msgstr "" -#: includes/class-wc-post-types.php:297 +#: includes/class-wc-post-types.php:304 msgid "Edit Order" msgstr "" -#: includes/class-wc-post-types.php:298 +#: includes/class-wc-post-types.php:305 msgid "New Order" msgstr "" -#: includes/class-wc-post-types.php:301 +#: includes/class-wc-post-types.php:308 msgid "Search Orders" msgstr "" -#: includes/class-wc-post-types.php:302 +#: includes/class-wc-post-types.php:309 msgid "No Orders found" msgstr "" -#: includes/class-wc-post-types.php:303 +#: includes/class-wc-post-types.php:310 msgid "No Orders found in trash" msgstr "" -#: includes/class-wc-post-types.php:304 +#: includes/class-wc-post-types.php:311 msgid "Parent Orders" msgstr "" -#: includes/class-wc-post-types.php:307 +#: includes/class-wc-post-types.php:313 +msgid "Filter orders" +msgstr "" + +#: includes/class-wc-post-types.php:314 +msgid "Orders navigation" +msgstr "" + +#: includes/class-wc-post-types.php:315 +msgid "Orders list" +msgstr "" + +#: includes/class-wc-post-types.php:317 msgid "This is where store orders are stored." msgstr "" -#: includes/class-wc-post-types.php:329 +#: includes/class-wc-post-types.php:339 msgid "Refunds" msgstr "" -#: includes/class-wc-post-types.php:351 templates/cart/cart.php:136 +#: includes/class-wc-post-types.php:361 templates/cart/cart.php:137 msgid "Coupon" msgstr "" -#: includes/class-wc-post-types.php:353 +#: includes/class-wc-post-types.php:363 msgid "Add Coupon" msgstr "" -#: includes/class-wc-post-types.php:354 +#: includes/class-wc-post-types.php:364 msgid "Add New Coupon" msgstr "" -#: includes/class-wc-post-types.php:356 +#: includes/class-wc-post-types.php:366 msgid "Edit Coupon" msgstr "" -#: includes/class-wc-post-types.php:357 +#: includes/class-wc-post-types.php:367 msgid "New Coupon" msgstr "" -#: includes/class-wc-post-types.php:358 +#: includes/class-wc-post-types.php:368 msgid "View Coupons" msgstr "" -#: includes/class-wc-post-types.php:359 +#: includes/class-wc-post-types.php:369 msgid "View Coupon" msgstr "" -#: includes/class-wc-post-types.php:360 +#: includes/class-wc-post-types.php:370 msgid "Search Coupons" msgstr "" -#: includes/class-wc-post-types.php:361 +#: includes/class-wc-post-types.php:371 msgid "No Coupons found" msgstr "" -#: includes/class-wc-post-types.php:362 +#: includes/class-wc-post-types.php:372 msgid "No Coupons found in trash" msgstr "" -#: includes/class-wc-post-types.php:363 +#: includes/class-wc-post-types.php:373 msgid "Parent Coupon" msgstr "" -#: includes/class-wc-post-types.php:365 +#: includes/class-wc-post-types.php:374 +msgid "Filter coupons" +msgstr "" + +#: includes/class-wc-post-types.php:375 +msgid "Coupons navigation" +msgstr "" + +#: includes/class-wc-post-types.php:376 +msgid "Coupons list" +msgstr "" + +#: includes/class-wc-post-types.php:378 msgid "This is where you can add new coupons that customers can use in your store." msgstr "" -#: includes/class-wc-post-types.php:389 +#: includes/class-wc-post-types.php:402 msgid "Webhook" msgstr "" -#: includes/class-wc-post-types.php:392 +#: includes/class-wc-post-types.php:405 msgid "Add New Webhook" msgstr "" -#: includes/class-wc-post-types.php:394 +#: includes/class-wc-post-types.php:407 msgid "Edit Webhook" msgstr "" -#: includes/class-wc-post-types.php:395 +#: includes/class-wc-post-types.php:408 msgid "New Webhook" msgstr "" -#: includes/class-wc-post-types.php:396 +#: includes/class-wc-post-types.php:409 msgid "View Webhooks" msgstr "" -#: includes/class-wc-post-types.php:397 +#: includes/class-wc-post-types.php:410 msgid "View Webhook" msgstr "" -#: includes/class-wc-post-types.php:399 +#: includes/class-wc-post-types.php:412 msgid "No Webhooks found" msgstr "" -#: includes/class-wc-post-types.php:400 +#: includes/class-wc-post-types.php:413 msgid "No Webhooks found in trash" msgstr "" -#: includes/class-wc-post-types.php:401 +#: includes/class-wc-post-types.php:414 msgid "Parent Webhook" msgstr "" -#: includes/class-wc-post-types.php:431 +#: includes/class-wc-post-types.php:444 msgid "Pending Payment (%s)" msgid_plural "Pending Payment (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:439 +#: includes/class-wc-post-types.php:452 msgid "Processing (%s)" msgid_plural "Processing (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:447 +#: includes/class-wc-post-types.php:460 msgid "On Hold (%s)" msgid_plural "On Hold (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:455 +#: includes/class-wc-post-types.php:468 msgid "Completed (%s)" msgid_plural "Completed (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:463 +#: includes/class-wc-post-types.php:476 msgid "Cancelled (%s)" msgid_plural "Cancelled (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:471 +#: includes/class-wc-post-types.php:484 msgid "Refunded (%s)" msgid_plural "Refunded (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:479 +#: includes/class-wc-post-types.php:492 msgid "Failed (%s)" msgid_plural "Failed (%s)" msgstr[0] "" @@ -14211,7 +14558,7 @@ msgstr "" msgid "Select options" msgstr "" -#: includes/class-wc-product-variable.php:749 +#: includes/class-wc-product-variable.php:741 msgid "" "This variable product has no active variations. Add or enable variations to " "allow this product to be purchased." @@ -14221,26 +14568,36 @@ msgstr "" msgid "%s – %s%s" msgstr "" -#: includes/class-wc-query.php:110 +#: includes/class-wc-query.php:93 msgid "Pay for Order" msgstr "" -#: includes/class-wc-query.php:117 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:406 -#: templates/emails/email-order-details.php:25 -#: templates/emails/email-order-details.php:27 +#: includes/class-wc-query.php:100 +msgid "Orders (page %d)" +msgstr "" + +#: includes/class-wc-query.php:107 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:616 +#: templates/emails/email-order-details.php:26 +#: templates/emails/email-order-details.php:28 msgid "Order #%s" msgstr "" -#: includes/class-wc-query.php:120 +#: includes/class-wc-query.php:113 msgid "Edit Account Details" msgstr "" -#: includes/class-wc-webhook.php:604 +#: includes/class-wc-shipping-zone.php:208 +msgid "%s and %d other region" +msgid_plural "%s and %d other regions" +msgstr[0] "" +msgstr[1] "" + +#: includes/class-wc-webhook.php:609 msgid "Error: Delivery URL cannot be reached: %s" msgstr "" -#: includes/class-wc-webhook.php:608 +#: includes/class-wc-webhook.php:613 msgid "Error: Delivery URL returned response code: %s" msgstr "" @@ -14291,22 +14648,24 @@ msgstr "" #: includes/emails/class-wc-email-cancelled-order.php:103 #: includes/emails/class-wc-email-customer-completed-order.php:139 -#: includes/emails/class-wc-email-customer-refunded-order.php:199 +#: includes/emails/class-wc-email-customer-refunded-order.php:198 #: includes/emails/class-wc-email-failed-order.php:103 #: includes/emails/class-wc-email-new-order.php:108 #: includes/emails/class-wc-email.php:481 -#: includes/gateways/bacs/class-wc-gateway-bacs.php:74 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:73 #: includes/gateways/cheque/class-wc-gateway-cheque.php:54 #: includes/gateways/paypal/includes/settings-paypal.php:12 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:186 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:188 #: includes/shipping/flat-rate/includes/settings-flat-rate.php:14 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:69 +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:51 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:14 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:71 msgid "Enable/Disable" msgstr "" #: includes/emails/class-wc-email-cancelled-order.php:105 #: includes/emails/class-wc-email-customer-completed-order.php:141 -#: includes/emails/class-wc-email-customer-refunded-order.php:201 +#: includes/emails/class-wc-email-customer-refunded-order.php:200 #: includes/emails/class-wc-email-failed-order.php:105 #: includes/emails/class-wc-email-new-order.php:110 #: includes/emails/class-wc-email.php:483 @@ -14355,7 +14714,7 @@ msgstr "" #: includes/emails/class-wc-email-cancelled-order.php:133 #: includes/emails/class-wc-email-customer-completed-order.php:177 -#: includes/emails/class-wc-email-customer-refunded-order.php:237 +#: includes/emails/class-wc-email-customer-refunded-order.php:236 #: includes/emails/class-wc-email-failed-order.php:133 #: includes/emails/class-wc-email-new-order.php:138 #: includes/emails/class-wc-email.php:503 @@ -14365,7 +14724,7 @@ msgstr "" #: includes/emails/class-wc-email-cancelled-order.php:135 #: includes/emails/class-wc-email-customer-completed-order.php:179 #: includes/emails/class-wc-email-customer-invoice.php:192 -#: includes/emails/class-wc-email-customer-refunded-order.php:239 +#: includes/emails/class-wc-email-customer-refunded-order.php:238 #: includes/emails/class-wc-email-failed-order.php:135 #: includes/emails/class-wc-email-new-order.php:140 #: includes/emails/class-wc-email.php:505 @@ -14406,10 +14765,10 @@ msgstr "" #: includes/emails/class-wc-email-customer-invoice.php:168 #: includes/emails/class-wc-email-customer-invoice.php:176 #: includes/emails/class-wc-email-customer-invoice.php:184 -#: includes/emails/class-wc-email-customer-refunded-order.php:207 -#: includes/emails/class-wc-email-customer-refunded-order.php:215 -#: includes/emails/class-wc-email-customer-refunded-order.php:223 -#: includes/emails/class-wc-email-customer-refunded-order.php:231 +#: includes/emails/class-wc-email-customer-refunded-order.php:206 +#: includes/emails/class-wc-email-customer-refunded-order.php:214 +#: includes/emails/class-wc-email-customer-refunded-order.php:222 +#: includes/emails/class-wc-email-customer-refunded-order.php:230 #: includes/emails/class-wc-email.php:489 #: includes/emails/class-wc-email.php:497 msgid "Defaults to %s" @@ -14546,39 +14905,39 @@ msgstr "" msgid "Your order has been partially refunded" msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:65 +#: includes/emails/class-wc-email-customer-refunded-order.php:68 msgid "Partially Refunded order" msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:66 +#: includes/emails/class-wc-email-customer-refunded-order.php:69 msgid "" "Order partially refunded emails are sent to customers when their orders are " "partially refunded." msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:74 +#: includes/emails/class-wc-email-customer-refunded-order.php:75 msgid "Refunded order" msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:75 +#: includes/emails/class-wc-email-customer-refunded-order.php:76 msgid "" "Order refunded emails are sent to customers when their orders are marked " "refunded." msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:205 +#: includes/emails/class-wc-email-customer-refunded-order.php:204 msgid "Full Refund Subject" msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:213 +#: includes/emails/class-wc-email-customer-refunded-order.php:212 msgid "Partial Refund Subject" msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:221 +#: includes/emails/class-wc-email-customer-refunded-order.php:220 msgid "Full Refund Email Heading" msgstr "" -#: includes/emails/class-wc-email-customer-refunded-order.php:229 +#: includes/emails/class-wc-email-customer-refunded-order.php:228 msgid "Partial Refund Email Heading" msgstr "" @@ -14657,47 +15016,51 @@ msgstr "" msgid "Template file deleted from theme." msgstr "" -#: includes/emails/class-wc-email.php:734 -msgid "HTML template" +#: includes/emails/class-wc-email.php:707 +msgid "Return to Emails" msgstr "" #: includes/emails/class-wc-email.php:735 +msgid "HTML template" +msgstr "" + +#: includes/emails/class-wc-email.php:736 msgid "Plain text template" msgstr "" -#: includes/emails/class-wc-email.php:760 +#: includes/emails/class-wc-email.php:761 msgid "Delete template file" msgstr "" -#: includes/emails/class-wc-email.php:763 +#: includes/emails/class-wc-email.php:764 msgid "" "This template has been overridden by your theme and can be found in: " "%s." msgstr "" -#: includes/emails/class-wc-email.php:776 +#: includes/emails/class-wc-email.php:777 msgid "Copy file to theme" msgstr "" -#: includes/emails/class-wc-email.php:779 +#: includes/emails/class-wc-email.php:780 msgid "" "To override and edit this email template copy %s to your theme " "folder: %s." msgstr "" -#: includes/emails/class-wc-email.php:788 +#: includes/emails/class-wc-email.php:789 msgid "File was not found." msgstr "" -#: includes/emails/class-wc-email.php:815 +#: includes/emails/class-wc-email.php:816 msgid "View template" msgstr "" -#: includes/emails/class-wc-email.php:816 +#: includes/emails/class-wc-email.php:817 msgid "Hide template" msgstr "" -#: includes/emails/class-wc-email.php:827 +#: includes/emails/class-wc-email.php:828 msgid "Are you sure you want to delete this template file?" msgstr "" @@ -14709,148 +15072,132 @@ msgstr "" msgid "Allows payments by BACS, more commonly known as direct bank/wire transfer." msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:76 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:75 msgid "Enable Bank Transfer" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:80 -#: includes/gateways/cheque/class-wc-gateway-cheque.php:60 -#: includes/gateways/cod/class-wc-gateway-cod.php:68 -#: includes/gateways/paypal/includes/settings-paypal.php:18 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:193 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:95 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:73 -#: includes/widgets/class-wc-widget-cart.php:32 -#: includes/widgets/class-wc-widget-layered-nav-filters.php:30 -#: includes/widgets/class-wc-widget-layered-nav.php:75 -#: includes/widgets/class-wc-widget-price-filter.php:32 -#: includes/widgets/class-wc-widget-product-categories.php:44 -#: includes/widgets/class-wc-widget-product-search.php:30 -#: includes/widgets/class-wc-widget-product-tag-cloud.php:30 -#: includes/widgets/class-wc-widget-products.php:30 -#: includes/widgets/class-wc-widget-rating-filter.php:31 -#: includes/widgets/class-wc-widget-recent-reviews.php:30 -#: includes/widgets/class-wc-widget-recently-viewed.php:30 -#: includes/widgets/class-wc-widget-top-rated-products.php:32 -msgid "Title" -msgstr "" - -#: includes/gateways/bacs/class-wc-gateway-bacs.php:82 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:81 #: includes/gateways/cheque/class-wc-gateway-cheque.php:62 #: includes/gateways/paypal/includes/settings-paypal.php:20 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:195 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:197 #: includes/shipping/flat-rate/includes/settings-flat-rate.php:22 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:77 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:97 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:75 +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:59 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:22 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:79 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:106 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:83 +#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:78 msgid "This controls the title which the user sees during checkout." msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:83 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:82 msgid "Direct Bank Transfer" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:89 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:88 #: includes/gateways/cheque/class-wc-gateway-cheque.php:69 #: includes/gateways/cod/class-wc-gateway-cod.php:70 msgid "Payment method description that the customer will see on your checkout." msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:90 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:89 msgid "" "Make your payment directly into our bank account. Please use your Order ID " "as the payment reference. Your order won't be shipped until the funds have " "cleared in our account." msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:94 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:93 #: includes/gateways/cheque/class-wc-gateway-cheque.php:74 #: includes/gateways/cod/class-wc-gateway-cod.php:82 msgid "Instructions" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:96 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:95 #: includes/gateways/cheque/class-wc-gateway-cheque.php:76 msgid "Instructions that will be added to the thank you page and emails." msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:120 -#: includes/gateways/bacs/class-wc-gateway-bacs.php:278 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:119 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:277 msgid "Sort Code" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:124 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:123 +#: includes/wc-account-functions.php:85 msgid "Account Details" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:130 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:129 msgid "Account Name" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:131 -#: includes/gateways/bacs/class-wc-gateway-bacs.php:298 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:130 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:297 +#: includes/gateways/class-wc-payment-gateway-echeck.php:52 msgid "Account Number" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:132 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:131 msgid "Bank Name" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:134 -#: includes/gateways/bacs/class-wc-gateway-bacs.php:306 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:133 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:305 msgid "IBAN" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:135 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:134 msgid "BIC / Swift" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:160 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:159 msgid "+ Add Account" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:160 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:159 msgid "Remove selected account(s)" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:283 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:282 msgid "Our Bank Details" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:310 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:309 msgid "BIC" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:338 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:337 msgid "Awaiting BACS payment" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:367 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:366 msgid "BSB" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:372 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:371 msgid "Bank Transit Number" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:377 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:376 msgid "IFSC" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:382 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:381 msgid "Branch Sort" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:387 -#: includes/gateways/bacs/class-wc-gateway-bacs.php:392 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:386 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:391 msgid "Bank Code" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:397 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:396 +#: includes/gateways/class-wc-payment-gateway-echeck.php:48 msgid "Routing Number" msgstr "" -#: includes/gateways/bacs/class-wc-gateway-bacs.php:402 +#: includes/gateways/bacs/class-wc-gateway-bacs.php:401 msgid "Branch Code" msgstr "" @@ -14883,6 +15230,27 @@ msgstr "" msgid "Awaiting cheque payment" msgstr "" +#: includes/gateways/class-wc-payment-gateway-cc.php:47 +msgid "Card Code" +msgstr "" + +#: includes/gateways/class-wc-payment-gateway-cc.php:48 +msgid "CVC" +msgstr "" + +#: includes/gateways/class-wc-payment-gateway-cc.php:53 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:306 +msgid "Card Number" +msgstr "" + +#: includes/gateways/class-wc-payment-gateway-cc.php:57 +msgid "Expiry (MM/YY)" +msgstr "" + +#: includes/gateways/class-wc-payment-gateway-cc.php:58 +msgid "MM / YY" +msgstr "" + #: includes/gateways/cod/class-wc-gateway-cod.php:27 msgid "Have your customers pay with cash (or by other means) upon delivery." msgstr "" @@ -15044,7 +15412,7 @@ msgid "Enable PayPal standard" msgstr "" #: includes/gateways/paypal/includes/settings-paypal.php:28 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:202 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:204 msgid "This controls the description which the user sees during checkout." msgstr "" @@ -15212,7 +15580,8 @@ msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:94 #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:188 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:317 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:420 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:595 msgid "" "Please make sure your card details have been entered correctly and that " "your browser supports JavaScript." @@ -15220,7 +15589,7 @@ msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:97 #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:191 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:320 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:423 msgid "" "Developers: Please make sure that you're including jQuery and there are no " "JavaScript errors on the page." @@ -15233,6 +15602,7 @@ msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:182 #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:292 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:495 #: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:60 msgid "Sorry, the minimum allowed order total is 0.50 to use this payment method." msgstr "" @@ -15244,30 +15614,32 @@ msgid "Customer not found" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:306 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:329 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:502 msgid "%s - Order #%s" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:322 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:521 #: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:100 msgid "Simplify payment error: %s" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:332 #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:452 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:485 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:531 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:696 #: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:110 msgid "Simplify payment approved (ID: %s, Auth Code: %s)" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:336 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:343 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:535 #: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:114 msgid "Simplify payment declined" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:338 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:345 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:537 #: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:116 msgid "Payment was declined - please try another card." msgstr "" @@ -15291,7 +15663,7 @@ msgid "Payment was declined - the customer need to try another card." msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:501 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:457 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:668 msgid "Payment was declined by Simplify Commerce." msgstr "" @@ -15301,16 +15673,20 @@ msgid "" "tokens and the Simplify Commerce SDK. Requires SSL when sandbox is disabled." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:88 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:26 +msgid "Use a new card" +msgstr "" + +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:90 msgid "Simplify Commerce by MasterCard" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:93 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:95 msgid "Getting started" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:94 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:100 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:96 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:102 msgid "" "Simplify Commerce is your merchant account and payment gateway all rolled " "into one. Choose Simplify Commerce as your WooCommerce payment gateway to " @@ -15318,21 +15694,21 @@ msgid "" "backed by MasterCard." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:96 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:98 msgid "Sign up for Simplify Commerce" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:145 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:147 msgid "" "Simplify Commerce Error: Simplify commerce requires PHP 5.3 and above. You " "are using version %s." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:150 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:152 msgid "Simplify Commerce Error: Please enter your public and private keys" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:155 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:157 msgid "" "Simplify Commerce is enabled, but the force SSL option " "is disabled; your checkout may not be secure! Please enable SSL and ensure " @@ -15340,23 +15716,23 @@ msgid "" "in sandbox mode." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:187 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:189 msgid "Enable Simplify Commerce" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:196 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:198 msgid "Credit card" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:207 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:209 msgid "Payment Mode" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:208 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:210 msgid "Enable Hosted Payments" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:210 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:212 msgid "" "Standard will display the credit card fields on your store (SSL required). " "%1$s Hosted Payments will display a Simplify Commerce modal dialog on your " @@ -15366,86 +15742,91 @@ msgid "" "Commerce docs%3$s." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:214 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:216 msgid "Hosted Payments" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:218 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:220 msgid "Modal Color" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:220 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:222 msgid "Set the color of the buttons and titles on the modal dialog." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:225 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:227 msgid "Sandbox" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:226 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:228 msgid "Enable Sandbox Mode" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:228 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:230 msgid "" "Place the payment gateway in sandbox mode using sandbox API keys (real " "payments will not be taken)." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:232 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:234 msgid "Sandbox Public Key" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:234 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:241 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:248 -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:255 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:236 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:243 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:250 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:257 msgid "Get your API keys from your Simplify account: Settings > API Keys." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:239 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:241 msgid "Sandbox Private Key" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:246 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:248 msgid "Public Key" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:253 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:255 msgid "Private Key" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:269 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:271 msgid "TEST MODE ENABLED. Use a test card: %s" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:296 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:307 msgid "Expiry Month" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:297 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:308 msgid "Expiry Year" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:298 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:309 msgid "is invalid" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:428 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:317 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:331 +msgid "There was a problem adding this card." +msgstr "" + +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:639 msgid "" "Thank you for your order, please click the button below to pay with credit " "card using Simplify Commerce by MasterCard." msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:437 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:648 msgid "Pay Now" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:437 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:648 msgid "Cancel order & restore cart" msgstr "" -#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:521 +#: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:732 msgid "Refund was declined." msgstr "" @@ -15453,20 +15834,23 @@ msgstr "" msgid "%s - Subscription for \"%s\"" msgstr "" -#: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php:28 +#: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php:25 #: includes/shipping/flat-rate/includes/settings-flat-rate.php:23 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:23 msgid "Flat Rate" msgstr "" -#: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php:29 -msgid "Flat Rate Shipping lets you charge a fixed rate for shipping." +#: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php:26 +msgid "Lets you charge a fixed rate for shipping." msgstr "" #: includes/shipping/flat-rate/includes/settings-flat-rate.php:7 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:7 msgid "Enter a cost (excl. tax) or sum, e.g. 10.00 * [qty]." msgstr "" #: includes/shipping/flat-rate/includes/settings-flat-rate.php:7 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:7 msgid "" "Supports the following placeholders: [qty] = number of items, " "[cost] = cost of items, [fee percent=\"10\" " @@ -15478,211 +15862,269 @@ msgid "Enable this shipping method" msgstr "" #: includes/shipping/flat-rate/includes/settings-flat-rate.php:20 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:75 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:20 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:77 msgid "Method Title" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:27 -#: includes/shipping/international-delivery/class-wc-shipping-international-delivery.php:34 -msgid "Availability" -msgstr "" - -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:32 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:87 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:136 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:93 -msgid "All allowed countries" -msgstr "" - -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:44 -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:99 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:148 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:105 -msgid "Select some countries" -msgstr "" - -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:71 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:50 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:71 msgid "Shipping Class Costs" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:73 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:53 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:74 msgid "These costs can optionally be added based on the %sproduct shipping class%s." msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:80 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:60 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:81 msgid "\"%s\" Shipping Class Cost" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:89 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:69 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:90 msgid "No Shipping Class Cost" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:97 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:77 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:98 msgid "Calculation Type" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:102 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:82 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:103 msgid "Per Class: Charge shipping for each shipping class individually" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:103 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:83 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:104 msgid "Per Order: Charge shipping for the most expensive shipping class" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:110 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:115 +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:31 +msgid "" +"Free Shipping is a special method which can be triggered with coupons and " +"minimum spends." +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:53 +msgid "Enable Free Shipping" +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:64 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:105 +msgid "Free Shipping Requires..." +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:70 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:111 +msgid "A valid free shipping coupon" +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:71 +msgid "A minimum order amount" +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:72 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:113 +msgid "A minimum order amount OR a coupon" +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:73 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:114 +msgid "A minimum order amount AND a coupon" +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:77 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:118 +msgid "Minimum Order Amount" +msgstr "" + +#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:80 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:121 +msgid "" +"Users will need to spend this amount to get free shipping (if enabled " +"above)." +msgstr "" + +#: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php:26 +msgid "Flat Rate (Legacy)" +msgstr "" + +#: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php:27 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:31 +#: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php:24 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:25 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:25 +msgid "" +"This method is deprecated in 2.6.0 and will be removed in future " +"versions - we recommend disabling it and instead setting up a new rate " +"within your Shipping Zones." +msgstr "" + +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:16 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:73 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:100 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:77 +msgid "Once disabled, this legacy method will no longer be available." +msgstr "" + +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:27 +#: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php:45 +msgid "Availability" +msgstr "" + +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:32 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:89 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:145 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:101 +msgid "All allowed countries" +msgstr "" + +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:33 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:37 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:90 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:94 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:146 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:150 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:102 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:106 +msgid "Specific Countries" +msgstr "" + +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:44 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:101 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:157 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:113 +msgid "Select some countries" +msgstr "" + +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:111 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:117 msgid "Additional Rates" msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:112 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:114 msgid "" "These rates are extra shipping options with additional costs (based on the " "flat rate)." msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:117 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:119 msgid "" "One per line: Option Name | Additional Cost [+- Percents] | Per Cost Type " "(order, class, or item) Example: Priority Mail | 6.95 [+ 0.2%] | " "order." msgstr "" -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:120 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:122 msgid "" "Option Name | Additional Cost [+- Percents%] | Per Cost Type (order, class, " "or item)" msgstr "" -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:71 -msgid "Enable Free Shipping" +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:30 +msgid "Free Shipping (Legacy)" msgstr "" -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:82 -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:131 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:88 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:84 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:140 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:96 msgid "Method availability" msgstr "" -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:103 -msgid "Free Shipping Requires..." +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:112 +msgid "A minimum order amount (defined below)" msgstr "" -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:109 -msgid "A valid free shipping coupon" +#: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php:23 +msgid "International Flat Rate (Legacy)" msgstr "" -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:110 -msgid "A minimum order amount" -msgstr "" - -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:111 -msgid "A minimum order amount OR a coupon" -msgstr "" - -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:112 -msgid "A minimum order amount AND a coupon" -msgstr "" - -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:116 -msgid "Minimum Order Amount" -msgstr "" - -#: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:119 -msgid "" -"Users will need to spend this amount to get free shipping (if enabled " -"above)." -msgstr "" - -#: includes/shipping/international-delivery/class-wc-shipping-international-delivery.php:21 -msgid "International Flat Rate" -msgstr "" - -#: includes/shipping/international-delivery/class-wc-shipping-international-delivery.php:22 -msgid "International Flat Rate Shipping lets you charge a fixed rate for shipping." -msgstr "" - -#: includes/shipping/international-delivery/class-wc-shipping-international-delivery.php:40 +#: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php:51 msgid "Selected countries" msgstr "" -#: includes/shipping/international-delivery/class-wc-shipping-international-delivery.php:41 +#: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php:52 msgid "Excluding selected countries" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:25 -msgid "Local delivery is a simple shipping method for delivering orders locally." +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:24 +msgid "Local Delivery (Legacy)" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:89 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:67 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:98 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:75 +#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:70 msgid "Enable" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:91 -msgid "Enable local delivery" -msgstr "" - -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:102 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:111 msgid "Fee Type" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:105 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:114 msgid "How to calculate delivery charges" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:108 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:117 msgid "Fixed amount" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:109 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:118 msgid "Percentage of cart total" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:110 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:119 msgid "Fixed amount per product" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:115 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:124 msgid "Delivery Fee" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:117 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:126 msgid "" "What fee do you want to charge for local delivery, disregarded if you " "choose free. Leave blank to disable." msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:123 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:80 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:132 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:88 msgid "Allowed ZIP/Post Codes" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:125 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:134 msgid "What ZIP/post codes are available for local delivery?" msgstr "" -#: includes/shipping/local-delivery/class-wc-shipping-local-delivery.php:127 -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:84 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:136 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:92 msgid "" "Separate codes with a comma. Accepts wildcards, e.g. P* will " "match a postcode of PE30. Also accepts a pattern, e.g. NG1___ " "would match NG1 1AA but not NG10 1AA" msgstr "" +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:24 +msgid "Local Pickup (Legacy)" +msgstr "" + +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:90 +msgid "What ZIP/post codes are available for local pickup?" +msgstr "" + #: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:25 msgid "" -"Local pickup is a simple method which allows customers to pick up orders " -"themselves." +"Allow customers to pick up orders themselves. By default, when using local " +"pickup store base taxes will apply regardless of customer address." msgstr "" -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:69 +#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:72 msgid "Enable local pickup" msgstr "" -#: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:82 -msgid "What ZIP/post codes are available for local pickup?" -msgstr "" - #: includes/shortcodes/class-wc-shortcode-cart.php:42 msgid "Shipping costs updated." msgstr "" @@ -15692,8 +16134,8 @@ msgid "Invalid order. If you have an account please log in and try again." msgstr "" #: includes/shortcodes/class-wc-shortcode-checkout.php:89 -#: includes/shortcodes/class-wc-shortcode-my-account.php:108 -#: templates/checkout/thankyou.php:31 +#: includes/shortcodes/class-wc-shortcode-my-account.php:94 +#: templates/checkout/thankyou.php:32 msgid "My Account" msgstr "" @@ -15714,52 +16156,69 @@ msgid "Sorry, this order is invalid and cannot be paid for." msgstr "" #: includes/shortcodes/class-wc-shortcode-checkout.php:141 -#: templates/checkout/thankyou.php:41 +#: templates/checkout/thankyou.php:42 msgid "Order Number:" msgstr "" #: includes/shortcodes/class-wc-shortcode-checkout.php:145 -#: templates/checkout/thankyou.php:45 +#: templates/checkout/thankyou.php:46 msgid "Date:" msgstr "" -#: includes/shortcodes/class-wc-shortcode-checkout.php:242 +#: includes/shortcodes/class-wc-shortcode-checkout.php:243 msgid "" "The order totals have been updated. Please confirm your order by pressing " "the Place Order button at the bottom of the page." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:196 +#: includes/shortcodes/class-wc-shortcode-my-account.php:181 msgid "Your password has been reset." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:196 +#: includes/shortcodes/class-wc-shortcode-my-account.php:181 msgid "Log in" msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:218 +#: includes/shortcodes/class-wc-shortcode-my-account.php:202 msgid "Enter a username or e-mail address." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:234 -#: includes/shortcodes/class-wc-shortcode-my-account.php:239 +#: includes/shortcodes/class-wc-shortcode-my-account.php:218 +#: includes/shortcodes/class-wc-shortcode-my-account.php:223 msgid "Invalid username or e-mail." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:252 +#: includes/shortcodes/class-wc-shortcode-my-account.php:236 msgid "Password reset is not allowed for this user" msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:279 +#: includes/shortcodes/class-wc-shortcode-my-account.php:263 msgid "Check your e-mail for the confirmation link." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:298 +#: includes/shortcodes/class-wc-shortcode-my-account.php:282 +#: includes/shortcodes/class-wc-shortcode-my-account.php:287 #: includes/shortcodes/class-wc-shortcode-my-account.php:303 -#: includes/shortcodes/class-wc-shortcode-my-account.php:319 msgid "Invalid key" msgstr "" +#: includes/shortcodes/class-wc-shortcode-my-account.php:358 +#: includes/shortcodes/class-wc-shortcode-my-account.php:364 +#: includes/shortcodes/class-wc-shortcode-my-account.php:370 +#: includes/shortcodes/class-wc-shortcode-my-account.php:390 +#: includes/shortcodes/class-wc-shortcode-my-account.php:396 +#: includes/shortcodes/class-wc-shortcode-my-account.php:402 +msgid "Invalid payment method" +msgstr "" + +#: includes/shortcodes/class-wc-shortcode-my-account.php:376 +msgid "Payment method deleted." +msgstr "" + +#: includes/shortcodes/class-wc-shortcode-my-account.php:408 +msgid "This payment method was successfully set as your default." +msgstr "" + #: includes/shortcodes/class-wc-shortcode-order-tracking.php:48 msgid "Please enter a valid order ID" msgstr "" @@ -15777,11 +16236,39 @@ msgstr "" msgid "Order Fully Refunded" msgstr "" -#: includes/wc-attribute-functions.php:143 +#: includes/wc-account-functions.php:80 +msgid "Dashboard" +msgstr "" + +#: includes/wc-account-functions.php:83 +msgid "Addresses" +msgstr "" + +#: includes/wc-account-functions.php:191 +msgid "File" +msgstr "" + +#: includes/wc-account-functions.php:192 +msgid "Remaining" +msgstr "" + +#: includes/wc-account-functions.php:193 includes/wc-account-functions.php:207 +msgid "Expires" +msgstr "" + +#: includes/wc-account-functions.php:220 includes/wc-account-functions.php:286 +msgid "Credit Card" +msgstr "" + +#: includes/wc-account-functions.php:260 +msgid "Make Default" +msgstr "" + +#: includes/wc-attribute-functions.php:158 msgid "Select" msgstr "" -#: includes/wc-attribute-functions.php:144 +#: includes/wc-attribute-functions.php:159 msgid "Text" msgstr "" @@ -15803,242 +16290,262 @@ msgstr "" msgid "and" msgstr "" -#: includes/wc-cart-functions.php:214 +#: includes/wc-cart-functions.php:216 msgid "Coupon:" msgstr "" -#: includes/wc-cart-functions.php:239 +#: includes/wc-cart-functions.php:247 msgid "Free shipping coupon" msgstr "" -#: includes/wc-cart-functions.php:244 +#: includes/wc-cart-functions.php:252 msgid "[Remove]" msgstr "" -#: includes/wc-cart-functions.php:271 templates/cart/cart-totals.php:70 +#: includes/wc-cart-functions.php:279 templates/cart/cart-totals.php:71 msgid "estimated for %s" msgstr "" -#: includes/wc-cart-functions.php:273 +#: includes/wc-cart-functions.php:281 msgid "(includes %s)" msgstr "" -#: includes/wc-cart-functions.php:312 -msgid "Free" -msgstr "" - -#: includes/wc-core-functions.php:82 +#: includes/wc-core-functions.php:83 msgid "Order – %s" msgstr "" -#: includes/wc-core-functions.php:88 +#: includes/wc-core-functions.php:89 msgid "Invalid order status" msgstr "" -#: includes/wc-core-functions.php:135 +#: includes/wc-core-functions.php:136 msgid "Invalid order ID" msgstr "" -#: includes/wc-core-functions.php:276 +#: includes/wc-core-functions.php:277 msgid "United Arab Emirates Dirham" msgstr "" -#: includes/wc-core-functions.php:277 +#: includes/wc-core-functions.php:278 msgid "Argentine Peso" msgstr "" -#: includes/wc-core-functions.php:278 +#: includes/wc-core-functions.php:279 msgid "Australian Dollars" msgstr "" -#: includes/wc-core-functions.php:279 +#: includes/wc-core-functions.php:280 msgid "Bangladeshi Taka" msgstr "" -#: includes/wc-core-functions.php:280 +#: includes/wc-core-functions.php:281 msgid "Bulgarian Lev" msgstr "" -#: includes/wc-core-functions.php:281 +#: includes/wc-core-functions.php:282 msgid "Brazilian Real" msgstr "" -#: includes/wc-core-functions.php:282 +#: includes/wc-core-functions.php:283 msgid "Canadian Dollars" msgstr "" -#: includes/wc-core-functions.php:283 +#: includes/wc-core-functions.php:284 msgid "Swiss Franc" msgstr "" -#: includes/wc-core-functions.php:284 +#: includes/wc-core-functions.php:285 msgid "Chilean Peso" msgstr "" -#: includes/wc-core-functions.php:285 +#: includes/wc-core-functions.php:286 msgid "Chinese Yuan" msgstr "" -#: includes/wc-core-functions.php:286 +#: includes/wc-core-functions.php:287 msgid "Colombian Peso" msgstr "" -#: includes/wc-core-functions.php:287 +#: includes/wc-core-functions.php:288 msgid "Czech Koruna" msgstr "" -#: includes/wc-core-functions.php:288 +#: includes/wc-core-functions.php:289 msgid "Danish Krone" msgstr "" -#: includes/wc-core-functions.php:289 +#: includes/wc-core-functions.php:290 msgid "Dominican Peso" msgstr "" -#: includes/wc-core-functions.php:290 +#: includes/wc-core-functions.php:291 msgid "Egyptian Pound" msgstr "" -#: includes/wc-core-functions.php:291 +#: includes/wc-core-functions.php:292 msgid "Euros" msgstr "" -#: includes/wc-core-functions.php:292 +#: includes/wc-core-functions.php:293 msgid "Pounds Sterling" msgstr "" -#: includes/wc-core-functions.php:293 +#: includes/wc-core-functions.php:294 msgid "Hong Kong Dollar" msgstr "" -#: includes/wc-core-functions.php:294 +#: includes/wc-core-functions.php:295 msgid "Croatia kuna" msgstr "" -#: includes/wc-core-functions.php:295 +#: includes/wc-core-functions.php:296 msgid "Hungarian Forint" msgstr "" -#: includes/wc-core-functions.php:296 +#: includes/wc-core-functions.php:297 msgid "Indonesia Rupiah" msgstr "" -#: includes/wc-core-functions.php:297 +#: includes/wc-core-functions.php:298 msgid "Israeli Shekel" msgstr "" -#: includes/wc-core-functions.php:298 +#: includes/wc-core-functions.php:299 msgid "Indian Rupee" msgstr "" -#: includes/wc-core-functions.php:299 +#: includes/wc-core-functions.php:300 msgid "Icelandic krona" msgstr "" -#: includes/wc-core-functions.php:300 +#: includes/wc-core-functions.php:301 msgid "Japanese Yen" msgstr "" -#: includes/wc-core-functions.php:301 +#: includes/wc-core-functions.php:302 msgid "Kenyan shilling" msgstr "" -#: includes/wc-core-functions.php:302 +#: includes/wc-core-functions.php:303 msgid "South Korean Won" msgstr "" -#: includes/wc-core-functions.php:303 +#: includes/wc-core-functions.php:304 msgid "Lao Kip" msgstr "" -#: includes/wc-core-functions.php:304 +#: includes/wc-core-functions.php:305 msgid "Mexican Peso" msgstr "" -#: includes/wc-core-functions.php:305 +#: includes/wc-core-functions.php:306 msgid "Malaysian Ringgits" msgstr "" -#: includes/wc-core-functions.php:306 +#: includes/wc-core-functions.php:307 msgid "Nigerian Naira" msgstr "" -#: includes/wc-core-functions.php:307 +#: includes/wc-core-functions.php:308 msgid "Norwegian Krone" msgstr "" -#: includes/wc-core-functions.php:308 +#: includes/wc-core-functions.php:309 msgid "Nepali Rupee" msgstr "" -#: includes/wc-core-functions.php:309 +#: includes/wc-core-functions.php:310 msgid "New Zealand Dollar" msgstr "" -#: includes/wc-core-functions.php:310 +#: includes/wc-core-functions.php:311 msgid "Philippine Pesos" msgstr "" -#: includes/wc-core-functions.php:311 +#: includes/wc-core-functions.php:312 msgid "Pakistani Rupee" msgstr "" -#: includes/wc-core-functions.php:312 +#: includes/wc-core-functions.php:313 msgid "Polish Zloty" msgstr "" -#: includes/wc-core-functions.php:313 +#: includes/wc-core-functions.php:314 msgid "Paraguayan Guaraní" msgstr "" -#: includes/wc-core-functions.php:314 +#: includes/wc-core-functions.php:315 msgid "Romanian Leu" msgstr "" -#: includes/wc-core-functions.php:315 +#: includes/wc-core-functions.php:316 msgid "Russian Ruble" msgstr "" -#: includes/wc-core-functions.php:316 +#: includes/wc-core-functions.php:317 msgid "Saudi Riyal" msgstr "" -#: includes/wc-core-functions.php:317 +#: includes/wc-core-functions.php:318 msgid "Swedish Krona" msgstr "" -#: includes/wc-core-functions.php:318 +#: includes/wc-core-functions.php:319 msgid "Singapore Dollar" msgstr "" -#: includes/wc-core-functions.php:319 +#: includes/wc-core-functions.php:320 msgid "Thai Baht" msgstr "" -#: includes/wc-core-functions.php:320 +#: includes/wc-core-functions.php:321 msgid "Turkish Lira" msgstr "" -#: includes/wc-core-functions.php:321 +#: includes/wc-core-functions.php:322 msgid "Taiwan New Dollars" msgstr "" -#: includes/wc-core-functions.php:322 +#: includes/wc-core-functions.php:323 msgid "Ukrainian Hryvnia" msgstr "" -#: includes/wc-core-functions.php:323 +#: includes/wc-core-functions.php:324 msgid "US Dollars" msgstr "" -#: includes/wc-core-functions.php:324 +#: includes/wc-core-functions.php:325 msgid "Vietnamese Dong" msgstr "" -#: includes/wc-core-functions.php:325 +#: includes/wc-core-functions.php:326 msgid "South African rand" msgstr "" +#: includes/wc-core-functions.php:953 +msgid "MasterCard" +msgstr "" + +#: includes/wc-core-functions.php:954 +msgid "Visa" +msgstr "" + +#: includes/wc-core-functions.php:955 +msgid "Discover" +msgstr "" + +#: includes/wc-core-functions.php:956 +msgid "American Express" +msgstr "" + +#: includes/wc-core-functions.php:957 +msgid "Diners" +msgstr "" + +#: includes/wc-core-functions.php:958 +msgid "JCB" +msgstr "" + #: includes/wc-coupon-functions.php:24 msgid "Cart Discount" msgstr "" @@ -16089,81 +16596,85 @@ msgstr "" msgid "wc_get_product should not be called before the woocommerce_init action." msgstr "" -#: includes/wc-template-functions.php:131 +#: includes/wc-template-functions.php:31 +msgid "Checkout is not available whilst your cart is empty." +msgstr "" + +#: includes/wc-template-functions.php:146 msgid "New products" msgstr "" -#: includes/wc-template-functions.php:139 +#: includes/wc-template-functions.php:154 msgid "New products added to %s" msgstr "" -#: includes/wc-template-functions.php:147 +#: includes/wc-template-functions.php:162 msgid "New products tagged %s" msgstr "" -#: includes/wc-template-functions.php:457 +#: includes/wc-template-functions.php:467 msgid "Search Results: “%s”" msgstr "" -#: includes/wc-template-functions.php:460 +#: includes/wc-template-functions.php:470 msgid " – Page %s" msgstr "" -#: includes/wc-template-functions.php:758 +#: includes/wc-template-functions.php:769 msgid "Default sorting" msgstr "" -#: includes/wc-template-functions.php:759 +#: includes/wc-template-functions.php:770 msgid "Sort by popularity" msgstr "" -#: includes/wc-template-functions.php:760 +#: includes/wc-template-functions.php:771 msgid "Sort by average rating" msgstr "" -#: includes/wc-template-functions.php:761 +#: includes/wc-template-functions.php:772 msgid "Sort by newness" msgstr "" -#: includes/wc-template-functions.php:762 +#: includes/wc-template-functions.php:773 msgid "Sort by price: low to high" msgstr "" -#: includes/wc-template-functions.php:763 +#: includes/wc-template-functions.php:774 msgid "Sort by price: high to low" msgstr "" -#: includes/wc-template-functions.php:1092 -#: templates/checkout/form-shipping.php:66 -#: templates/single-product/tabs/additional-information.php:24 +#: includes/wc-template-functions.php:1105 +#: templates/checkout/form-shipping.php:67 +#: templates/single-product/tabs/additional-information.php:25 msgid "Additional Information" msgstr "" -#: includes/wc-template-functions.php:1101 +#: includes/wc-template-functions.php:1114 msgid "Reviews (%d)" msgstr "" -#: includes/wc-template-functions.php:1188 +#: includes/wc-template-functions.php:1246 msgid "" "Use $args argument as an array instead. Deprecated argument will be removed " "in WC 2.2." msgstr "" -#: includes/wc-template-functions.php:1405 +#: includes/wc-template-functions.php:1463 msgid "Place order" msgstr "" -#: includes/wc-template-functions.php:1772 +#: includes/wc-template-functions.php:1830 msgid "Update country" msgstr "" -#: includes/wc-template-functions.php:1793 -#: templates/cart/shipping-calculator.php:62 +#: includes/wc-template-functions.php:1851 +#: templates/cart/shipping-calculator.php:63 msgid "Select a state…" msgstr "" -#: includes/wc-template-functions.php:1838 -#: includes/wc-template-functions.php:1985 +#: includes/wc-template-functions.php:1896 +#: includes/wc-template-functions.php:2043 msgid "Choose an option" msgstr "" @@ -16237,24 +16748,24 @@ msgstr "" msgid "Active Filters" msgstr "" -#: includes/widgets/class-wc-widget-layered-nav-filters.php:84 -#: includes/widgets/class-wc-widget-layered-nav-filters.php:91 -#: includes/widgets/class-wc-widget-layered-nav-filters.php:96 -#: includes/widgets/class-wc-widget-layered-nav-filters.php:101 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:80 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:87 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:92 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:97 msgid "Remove filter" msgstr "" -#: includes/widgets/class-wc-widget-layered-nav-filters.php:91 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:87 msgid "Min" msgstr "" -#: includes/widgets/class-wc-widget-layered-nav-filters.php:96 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:92 msgid "Max" msgstr "" -#: includes/widgets/class-wc-widget-layered-nav-filters.php:101 -#: includes/widgets/class-wc-widget-rating-filter.php:123 -#: includes/widgets/class-wc-widget-rating-filter.php:124 +#: includes/widgets/class-wc-widget-layered-nav-filters.php:97 +#: includes/widgets/class-wc-widget-rating-filter.php:174 +#: includes/widgets/class-wc-widget-rating-filter.php:175 msgid "Rated %s and above" msgstr "" @@ -16296,7 +16807,7 @@ msgstr "" msgid "OR" msgstr "" -#: includes/widgets/class-wc-widget-layered-nav.php:216 +#: includes/widgets/class-wc-widget-layered-nav.php:215 msgid "Any %s" msgstr "" @@ -16314,19 +16825,19 @@ msgstr "" msgid "Filter by price" msgstr "" -#: includes/widgets/class-wc-widget-price-filter.php:180 +#: includes/widgets/class-wc-widget-price-filter.php:149 msgid "Min price" msgstr "" -#: includes/widgets/class-wc-widget-price-filter.php:181 +#: includes/widgets/class-wc-widget-price-filter.php:150 msgid "Max price" msgstr "" -#: includes/widgets/class-wc-widget-price-filter.php:182 +#: includes/widgets/class-wc-widget-price-filter.php:151 msgid "Filter" msgstr "" -#: includes/widgets/class-wc-widget-price-filter.php:184 +#: includes/widgets/class-wc-widget-price-filter.php:153 msgid "Price:" msgstr "" @@ -16433,21 +16944,11 @@ msgid "Show hidden products" msgstr "" #: includes/widgets/class-wc-widget-rating-filter.php:24 -msgid "" -"Shows a rating filter in a widget which lets you narrow down the list of " -"shown products when viewing product categories." +msgid "Filter products by rating when viewing product archives and categories." msgstr "" #: includes/widgets/class-wc-widget-rating-filter.php:26 -msgid "WooCommerce Rating Filter" -msgstr "" - -#: includes/widgets/class-wc-widget-rating-filter.php:30 -msgid "Filter by rating" -msgstr "" - -#: includes/widgets/class-wc-widget-rating-filter.php:127 -msgid "and above" +msgid "WooCommerce Average Rating Filter" msgstr "" #: includes/widgets/class-wc-widget-recent-reviews.php:23 @@ -16486,197 +16987,197 @@ msgstr "" msgid "Top Rated Products" msgstr "" -#: templates/auth/form-grant-access.php:24 templates/auth/form-login.php:26 +#: templates/auth/form-grant-access.php:25 templates/auth/form-login.php:27 msgid "%s would like to connect to your store" msgstr "" -#: templates/auth/form-grant-access.php:28 +#: templates/auth/form-grant-access.php:29 msgid "This will give \"%s\" %s access which will allow it to:" msgstr "" -#: templates/auth/form-grant-access.php:38 +#: templates/auth/form-grant-access.php:39 msgid "Logged in as %s" msgstr "" -#: templates/auth/form-grant-access.php:42 +#: templates/auth/form-grant-access.php:43 msgid "Approve" msgstr "" -#: templates/auth/form-grant-access.php:43 +#: templates/auth/form-grant-access.php:44 msgid "Deny" msgstr "" -#: templates/auth/form-login.php:30 +#: templates/auth/form-login.php:31 msgid "" "To connect to %1$s you need to be logged in. Log in to your store below, or " "%2$scancel and return to %1$s%3$s" msgstr "" -#: templates/auth/form-login.php:34 templates/myaccount/form-login.php:43 +#: templates/auth/form-login.php:35 templates/myaccount/form-login.php:44 msgid "Username or email address" msgstr "" -#: templates/auth/form-login.php:38 templates/global/form-login.php:38 -#: templates/myaccount/form-login.php:47 templates/myaccount/form-login.php:97 +#: templates/auth/form-login.php:39 templates/global/form-login.php:39 +#: templates/myaccount/form-login.php:48 templates/myaccount/form-login.php:98 msgid "Password" msgstr "" -#: templates/auth/header.php:28 +#: templates/auth/header.php:29 msgid "Application Authentication Request" msgstr "" -#: templates/cart/cart-empty.php:27 +#: templates/cart/cart-empty.php:28 msgid "Your cart is currently empty." msgstr "" -#: templates/cart/cart-empty.php:34 +#: templates/cart/cart-empty.php:35 msgid "Return To Shop" msgstr "" -#: templates/cart/cart-shipping.php:47 +#: templates/cart/cart-shipping.php:48 msgid "Shipping costs will be calculated once you have provided your address." msgstr "" -#: templates/cart/cart-shipping.php:49 +#: templates/cart/cart-shipping.php:50 msgid "" "There are no shipping methods available. Please double check your address, " "or contact us if you need any help." msgstr "" -#: templates/cart/cart-totals.php:27 +#: templates/cart/cart-totals.php:28 msgid "Cart Totals" msgstr "" -#: templates/cart/cart-totals.php:32 templates/cart/cart-totals.php:33 -#: templates/cart/mini-cart.php:79 templates/checkout/review-order.php:58 +#: templates/cart/cart-totals.php:33 templates/cart/cart-totals.php:34 +#: templates/cart/mini-cart.php:80 templates/checkout/review-order.php:59 msgid "Subtotal" msgstr "" -#: templates/cart/cart.php:37 templates/cart/cart.php:101 -#: templates/emails/email-order-details.php:34 +#: templates/cart/cart.php:38 templates/cart/cart.php:102 +#: templates/emails/email-order-details.php:35 msgid "Quantity" msgstr "" -#: templates/cart/cart.php:58 templates/cart/mini-cart.php:48 +#: templates/cart/cart.php:59 templates/cart/mini-cart.php:49 msgid "Remove this item" msgstr "" -#: templates/cart/cart.php:136 templates/checkout/form-coupon.php:39 +#: templates/cart/cart.php:137 templates/checkout/form-coupon.php:40 msgid "Apply Coupon" msgstr "" -#: templates/cart/cart.php:142 +#: templates/cart/cart.php:143 msgid "Update Cart" msgstr "" -#: templates/cart/cross-sells.php:48 +#: templates/cart/cross-sells.php:47 msgid "You may be interested in…" msgstr "" -#: templates/cart/mini-cart.php:71 +#: templates/cart/mini-cart.php:72 msgid "No products in the cart." msgstr "" -#: templates/cart/mini-cart.php:85 +#: templates/cart/mini-cart.php:86 msgid "Checkout" msgstr "" -#: templates/cart/proceed-to-checkout-button.php:26 +#: templates/cart/proceed-to-checkout-button.php:27 msgid "Proceed to Checkout" msgstr "" -#: templates/cart/shipping-calculator.php:32 +#: templates/cart/shipping-calculator.php:33 msgid "Calculate Shipping" msgstr "" -#: templates/cart/shipping-calculator.php:55 -#: templates/cart/shipping-calculator.php:61 -#: templates/cart/shipping-calculator.php:73 +#: templates/cart/shipping-calculator.php:56 +#: templates/cart/shipping-calculator.php:62 +#: templates/cart/shipping-calculator.php:74 msgid "State / county" msgstr "" -#: templates/cart/shipping-calculator.php:95 +#: templates/cart/shipping-calculator.php:96 msgid "Update Totals" msgstr "" -#: templates/checkout/cart-errors.php:26 +#: templates/checkout/cart-errors.php:27 msgid "" "There are some issues with the items in your cart (shown above). Please go " "back to the cart page and resolve these issues before checking out." msgstr "" -#: templates/checkout/cart-errors.php:30 +#: templates/checkout/cart-errors.php:31 msgid "Return To Cart" msgstr "" -#: templates/checkout/form-billing.php:28 +#: templates/checkout/form-billing.php:29 msgid "Billing & Shipping" msgstr "" -#: templates/checkout/form-billing.php:51 +#: templates/checkout/form-billing.php:52 msgid "Create an account?" msgstr "" -#: templates/checkout/form-billing.php:62 +#: templates/checkout/form-billing.php:63 msgid "" "Create an account by entering the information below. If you are a returning " "customer please login at the top of the page." msgstr "" -#: templates/checkout/form-checkout.php:28 +#: templates/checkout/form-checkout.php:29 msgid "You must be logged in to checkout." msgstr "" -#: templates/checkout/form-checkout.php:54 +#: templates/checkout/form-checkout.php:55 msgid "Your order" msgstr "" -#: templates/checkout/form-coupon.php:27 +#: templates/checkout/form-coupon.php:28 msgid "Have a coupon?" msgstr "" -#: templates/checkout/form-coupon.php:27 +#: templates/checkout/form-coupon.php:28 msgid "Click here to enter your code" msgstr "" -#: templates/checkout/form-login.php:26 +#: templates/checkout/form-login.php:27 msgid "Returning customer?" msgstr "" -#: templates/checkout/form-login.php:27 +#: templates/checkout/form-login.php:28 msgid "Click here to login" msgstr "" -#: templates/checkout/form-login.php:34 +#: templates/checkout/form-login.php:35 msgid "" "If you have shopped with us before, please enter your details in the boxes " "below. If you are a new customer, please proceed to the Billing & " "Shipping section." msgstr "" -#: templates/checkout/form-pay.php:68 +#: templates/checkout/form-pay.php:69 msgid "" "Sorry, it seems that there are no available payment methods for your " "location. Please contact us if you require assistance or wish to make " "alternate arrangements." msgstr "" -#: templates/checkout/form-shipping.php:40 +#: templates/checkout/form-shipping.php:41 msgid "Ship to a different address?" msgstr "" -#: templates/checkout/payment.php:34 +#: templates/checkout/payment.php:35 msgid "" "Sorry, it seems that there are no available payment methods for your state. " "Please contact us if you require assistance or wish to make alternate " "arrangements." msgstr "" -#: templates/checkout/payment.php:34 +#: templates/checkout/payment.php:35 msgid "Please fill in your details above to see available payment methods." msgstr "" -#: templates/checkout/payment.php:41 +#: templates/checkout/payment.php:42 msgid "" "Since your browser does not support JavaScript, or it is disabled, please " "ensure you click the Update Totals button before placing your " @@ -16684,7 +17185,7 @@ msgid "" "do so." msgstr "" -#: templates/checkout/payment.php:42 +#: templates/checkout/payment.php:43 msgid "Update totals" msgstr "" @@ -16694,524 +17195,533 @@ msgid "" "conditions" msgstr "" -#: templates/checkout/thankyou.php:26 +#: templates/checkout/thankyou.php:27 msgid "" "Unfortunately your order cannot be processed as the originating " "bank/merchant has declined your transaction. Please attempt your purchase " "again." msgstr "" -#: templates/checkout/thankyou.php:37 templates/checkout/thankyou.php:68 +#: templates/checkout/thankyou.php:38 templates/checkout/thankyou.php:69 msgid "Thank you. Your order has been received." msgstr "" -#: templates/emails/admin-cancelled-order.php:27 -#: templates/emails/plain/admin-cancelled-order.php:24 +#: templates/emails/admin-cancelled-order.php:28 +#: templates/emails/plain/admin-cancelled-order.php:25 msgid "The order #%d from %s has been cancelled. The order was as follows:" msgstr "" -#: templates/emails/admin-failed-order.php:27 -#: templates/emails/plain/admin-failed-order.php:24 +#: templates/emails/admin-failed-order.php:28 +#: templates/emails/plain/admin-failed-order.php:25 msgid "Payment for order #%d from %s has failed. The order was as follows:" msgstr "" -#: templates/emails/admin-new-order.php:27 +#: templates/emails/admin-new-order.php:28 msgid "You have received an order from %s. The order is as follows:" msgstr "" -#: templates/emails/customer-completed-order.php:27 -#: templates/emails/plain/customer-completed-order.php:24 +#: templates/emails/customer-completed-order.php:28 +#: templates/emails/plain/customer-completed-order.php:25 msgid "" "Hi there. Your recent order on %s has been completed. Your order details " "are shown below for your reference:" msgstr "" -#: templates/emails/customer-invoice.php:28 -#: templates/emails/plain/customer-invoice.php:25 +#: templates/emails/customer-invoice.php:29 +#: templates/emails/plain/customer-invoice.php:26 msgid "" "An order has been created for you on %s. To pay for this order please use " "the following link: %s" msgstr "" -#: templates/emails/customer-invoice.php:28 +#: templates/emails/customer-invoice.php:29 msgid "pay" msgstr "" -#: templates/emails/customer-new-account.php:26 -#: templates/emails/plain/customer-new-account.php:24 -msgid "Thanks for creating an account on %s. Your username is %s." +#: templates/emails/customer-new-account.php:27 +#: templates/emails/plain/customer-new-account.php:25 +msgid "Thanks for creating an account on %s. Your username is %s" msgstr "" -#: templates/emails/customer-new-account.php:30 +#: templates/emails/customer-new-account.php:31 msgid "Your password has been automatically generated: %s" msgstr "" -#: templates/emails/customer-new-account.php:34 -#: templates/emails/plain/customer-new-account.php:29 +#: templates/emails/customer-new-account.php:35 +#: templates/emails/plain/customer-new-account.php:30 msgid "" "You can access your account area to view your orders and change your " "password here: %s." msgstr "" -#: templates/emails/customer-note.php:27 -#: templates/emails/plain/customer-note.php:24 +#: templates/emails/customer-note.php:28 +#: templates/emails/plain/customer-note.php:25 msgid "Hello, a note has just been added to your order:" msgstr "" -#: templates/emails/customer-note.php:31 -#: templates/emails/plain/customer-note.php:32 +#: templates/emails/customer-note.php:32 +#: templates/emails/plain/customer-note.php:33 msgid "For your reference, your order details are shown below." msgstr "" -#: templates/emails/customer-on-hold-order.php:27 -#: templates/emails/plain/customer-on-hold-order.php:24 +#: templates/emails/customer-on-hold-order.php:28 +#: templates/emails/plain/customer-on-hold-order.php:25 msgid "" "Your order is on-hold until we confirm payment has been received. Your " "order details are shown below for your reference:" msgstr "" -#: templates/emails/customer-processing-order.php:27 -#: templates/emails/plain/customer-processing-order.php:24 +#: templates/emails/customer-processing-order.php:28 +#: templates/emails/plain/customer-processing-order.php:25 msgid "" "Your order has been received and is now being processed. Your order details " "are shown below for your reference:" msgstr "" -#: templates/emails/customer-refunded-order.php:29 +#: templates/emails/customer-refunded-order.php:30 msgid "Hi there. Your order on %s has been partially refunded." msgstr "" -#: templates/emails/customer-refunded-order.php:32 +#: templates/emails/customer-refunded-order.php:33 msgid "Hi there. Your order on %s has been refunded." msgstr "" -#: templates/emails/customer-reset-password.php:26 -#: templates/emails/plain/customer-reset-password.php:24 -msgid "Someone requested that the password be reset for the following account:" -msgstr "" - #: templates/emails/customer-reset-password.php:27 -#: templates/emails/plain/customer-reset-password.php:26 -msgid "Username: %s" +#: templates/emails/plain/customer-reset-password.php:25 +msgid "Someone requested that the password be reset for the following account:" msgstr "" #: templates/emails/customer-reset-password.php:28 #: templates/emails/plain/customer-reset-password.php:27 -msgid "If this was a mistake, just ignore this email and nothing will happen." +msgid "Username: %s" msgstr "" #: templates/emails/customer-reset-password.php:29 #: templates/emails/plain/customer-reset-password.php:28 +msgid "If this was a mistake, just ignore this email and nothing will happen." +msgstr "" + +#: templates/emails/customer-reset-password.php:30 +#: templates/emails/plain/customer-reset-password.php:29 msgid "To reset your password, visit the following address:" msgstr "" -#: templates/emails/customer-reset-password.php:32 +#: templates/emails/customer-reset-password.php:33 msgid "Click here to reset your password" msgstr "" -#: templates/emails/email-addresses.php:25 -#: templates/emails/plain/email-addresses.php:22 +#: templates/emails/email-addresses.php:26 +#: templates/emails/plain/email-addresses.php:23 msgid "Billing address" msgstr "" -#: templates/emails/email-addresses.php:31 -#: templates/emails/plain/email-addresses.php:26 +#: templates/emails/email-addresses.php:32 +#: templates/emails/plain/email-addresses.php:27 msgid "Shipping address" msgstr "" -#: templates/emails/email-customer-details.php:25 -#: templates/emails/plain/email-customer-details.php:24 +#: templates/emails/email-customer-details.php:26 +#: templates/emails/plain/email-customer-details.php:25 msgid "Customer details" msgstr "" -#: templates/emails/plain/admin-new-order.php:24 +#: templates/emails/plain/admin-new-order.php:25 msgid "You have received an order from %s." msgstr "" -#: templates/emails/plain/customer-new-account.php:27 +#: templates/emails/plain/customer-new-account.php:28 msgid "Your password is %s." msgstr "" -#: templates/emails/plain/customer-refunded-order.php:24 +#: templates/emails/plain/customer-refunded-order.php:25 msgid "" "Hi there. Your order on %s has been refunded. Your order details are shown " "below for your reference:" msgstr "" -#: templates/emails/plain/email-order-details.php:24 +#: templates/emails/plain/email-order-details.php:25 msgid "Order number: %s" msgstr "" -#: templates/emails/plain/email-order-details.php:25 +#: templates/emails/plain/email-order-details.php:26 msgid "jS F Y" msgstr "" -#: templates/emails/plain/email-order-details.php:42 +#: templates/emails/plain/email-order-details.php:43 msgid "View order: %s" msgstr "" -#: templates/emails/plain/email-order-items.php:43 +#: templates/emails/plain/email-order-items.php:44 msgid "Quantity: %s" msgstr "" -#: templates/emails/plain/email-order-items.php:46 +#: templates/emails/plain/email-order-items.php:47 msgid "Cost: %s" msgstr "" -#: templates/global/form-login.php:34 -#: templates/myaccount/form-lost-password.php:32 +#: templates/global/form-login.php:35 +#: templates/myaccount/form-lost-password.php:33 msgid "Username or email" msgstr "" -#: templates/global/form-login.php:50 templates/myaccount/form-login.php:57 +#: templates/global/form-login.php:51 templates/myaccount/form-login.php:58 msgid "Remember me" msgstr "" -#: templates/global/form-login.php:54 templates/myaccount/form-login.php:61 +#: templates/global/form-login.php:55 templates/myaccount/form-login.php:62 msgid "Lost your password?" msgstr "" -#: templates/loop/no-products-found.php:23 +#: templates/loop/no-products-found.php:24 msgid "No products were found matching your selection." msgstr "" -#: templates/loop/result-count.php:38 +#: templates/loop/result-count.php:39 msgid "Showing the single result" -msgstr "" +msgid_plural "Showing all %d results" +msgstr[0] "" +msgstr[1] "" -#: templates/loop/result-count.php:40 -msgid "Showing all %d results" -msgstr "" - -#: templates/loop/sale-flash.php:27 templates/single-product/sale-flash.php:27 +#: templates/loop/sale-flash.php:28 templates/single-product/sale-flash.php:28 msgid "Sale!" msgstr "" -#: templates/myaccount/form-add-payment-method.php:54 +#: templates/myaccount/downloads.php:65 +msgid "∞" +msgstr "" + +#: templates/myaccount/form-add-payment-method.php:62 msgid "" "Sorry, it seems that there are no payment methods which support adding a " "new payment method. Please contact us if you require assistance or wish to " "make alternate arrangements." msgstr "" -#: templates/myaccount/form-edit-account.php:45 +#: templates/myaccount/form-edit-account.php:48 msgid "Password Change" msgstr "" -#: templates/myaccount/form-edit-account.php:48 +#: templates/myaccount/form-edit-account.php:51 msgid "Current Password (leave blank to leave unchanged)" msgstr "" -#: templates/myaccount/form-edit-account.php:52 +#: templates/myaccount/form-edit-account.php:55 msgid "New Password (leave blank to leave unchanged)" msgstr "" -#: templates/myaccount/form-edit-account.php:56 +#: templates/myaccount/form-edit-account.php:59 msgid "Confirm New Password" msgstr "" -#: templates/myaccount/form-edit-address.php:22 -#: templates/myaccount/my-address.php:27 templates/myaccount/my-address.php:33 -#: templates/order/order-details-customer.php:57 +#: templates/myaccount/form-edit-address.php:23 +#: templates/myaccount/my-address.php:28 templates/myaccount/my-address.php:34 +#: templates/order/order-details-customer.php:58 msgid "Billing Address" msgstr "" -#: templates/myaccount/form-edit-address.php:22 -#: templates/myaccount/my-address.php:28 -#: templates/order/order-details-customer.php:68 +#: templates/myaccount/form-edit-address.php:23 +#: templates/myaccount/my-address.php:29 +#: templates/order/order-details-customer.php:69 msgid "Shipping Address" msgstr "" -#: templates/myaccount/form-edit-address.php:48 +#: templates/myaccount/form-edit-address.php:49 msgid "Save Address" msgstr "" -#: templates/myaccount/form-login.php:74 templates/myaccount/form-login.php:111 +#: templates/myaccount/form-login.php:75 templates/myaccount/form-login.php:112 msgid "Register" msgstr "" -#: templates/myaccount/form-login.php:104 +#: templates/myaccount/form-login.php:105 msgid "Anti-spam" msgstr "" -#: templates/myaccount/form-lost-password.php:30 +#: templates/myaccount/form-lost-password.php:31 msgid "" "Lost your password? Please enter your username or email address. You will " "receive a link to create a new password via email." msgstr "" -#: templates/myaccount/form-lost-password.php:36 +#: templates/myaccount/form-lost-password.php:37 msgid "Enter a new password below." msgstr "" -#: templates/myaccount/form-lost-password.php:39 +#: templates/myaccount/form-lost-password.php:40 msgid "New password" msgstr "" -#: templates/myaccount/form-lost-password.php:43 +#: templates/myaccount/form-lost-password.php:44 msgid "Re-enter new password" msgstr "" -#: templates/myaccount/form-lost-password.php:58 +#: templates/myaccount/form-lost-password.php:59 msgid "Reset Password" msgstr "" -#: templates/myaccount/my-account.php:27 +#: templates/myaccount/my-account.php:31 msgid "Hello %1$s (not %1$s? Sign out)." msgstr "" -#: templates/myaccount/my-account.php:32 +#: templates/myaccount/my-account.php:36 msgid "" "From your account dashboard you can view your recent orders, manage your " -"shipping and billing addresses and edit your password and " -"account details." +"shipping and billing addresses and edit your password and account details." msgstr "" -#: templates/myaccount/my-address.php:25 +#: templates/myaccount/my-address.php:26 msgid "My Addresses" msgstr "" -#: templates/myaccount/my-address.php:31 +#: templates/myaccount/my-address.php:32 msgid "My Address" msgstr "" -#: templates/myaccount/my-address.php:43 +#: templates/myaccount/my-address.php:44 msgid "The following addresses will be used on the checkout page by default." msgstr "" -#: templates/myaccount/my-address.php:72 +#: templates/myaccount/my-address.php:73 msgid "You have not set up this type of address yet." msgstr "" -#: templates/myaccount/my-downloads.php:28 +#: templates/myaccount/my-downloads.php:30 msgid "Available Downloads" msgstr "" -#: templates/myaccount/my-downloads.php:37 +#: templates/myaccount/my-downloads.php:39 msgid "%s download remaining" msgid_plural "%s downloads remaining" msgstr[0] "" msgstr[1] "" -#: templates/myaccount/my-orders.php:42 +#: templates/myaccount/my-orders.php:44 msgid "Recent Orders" msgstr "" -#: templates/myaccount/my-orders.php:77 +#: templates/myaccount/my-orders.php:79 templates/myaccount/orders.php:70 msgid "%s for %s item" msgid_plural "%s for %s items" msgstr[0] "" msgstr[1] "" -#: templates/myaccount/view-order.php:28 +#: templates/myaccount/orders.php:116 +msgid "Previous" +msgstr "" + +#: templates/myaccount/orders.php:120 +msgid "Next" +msgstr "" + +#: templates/myaccount/orders.php:128 +msgid "Go Shop" +msgstr "" + +#: templates/myaccount/orders.php:130 +msgid "No order has been made yet." +msgstr "" + +#: templates/myaccount/payment-methods.php:56 +msgid "%s ending in %s" +msgstr "" + +#: templates/myaccount/payment-methods.php:77 +msgid "No saved methods found." +msgstr "" + +#: templates/myaccount/view-order.php:30 templates/order/tracking.php:24 msgid "" "Order #%s was placed on %s and is currently %s." msgstr "" -#: templates/myaccount/view-order.php:32 templates/order/tracking.php:33 +#: templates/myaccount/view-order.php:33 templates/order/tracking.php:27 msgid "Order Updates" msgstr "" -#: templates/myaccount/view-order.php:38 templates/order/tracking.php:39 +#: templates/myaccount/view-order.php:39 templates/order/tracking.php:33 msgid "l jS \\o\\f F Y, h:ia" msgstr "" -#: templates/order/form-tracking.php:28 +#: templates/order/form-tracking.php:29 msgid "" "To track your order please enter your Order ID in the box below and press " "the \"Track\" button. This was given to you on your receipt and in the " "confirmation email you should have received." msgstr "" -#: templates/order/form-tracking.php:30 +#: templates/order/form-tracking.php:31 msgid "Order ID" msgstr "" -#: templates/order/form-tracking.php:30 +#: templates/order/form-tracking.php:31 msgid "Found in your order confirmation email." msgstr "" -#: templates/order/form-tracking.php:31 +#: templates/order/form-tracking.php:32 msgid "Billing Email" msgstr "" -#: templates/order/form-tracking.php:31 +#: templates/order/form-tracking.php:32 msgid "Email you used during checkout." msgstr "" -#: templates/order/form-tracking.php:34 +#: templates/order/form-tracking.php:35 msgid "Track" msgstr "" -#: templates/order/order-again.php:24 +#: templates/order/order-again.php:25 msgid "Order Again" msgstr "" -#: templates/order/order-details-customer.php:22 +#: templates/order/order-details-customer.php:23 msgid "Customer Details" msgstr "" -#: templates/order/order-details-customer.php:27 +#: templates/order/order-details-customer.php:28 msgid "Note:" msgstr "" -#: templates/order/order-details-customer.php:34 +#: templates/order/order-details-customer.php:35 msgid "Email:" msgstr "" -#: templates/order/order-details-customer.php:41 +#: templates/order/order-details-customer.php:42 msgid "Telephone:" msgstr "" -#: templates/order/order-details.php:26 +#: templates/order/order-details.php:28 msgid "Order Details" msgstr "" -#: templates/order/tracking.php:22 -msgid "Order #%s which was made %s has the status “%s”" -msgstr "" - -#: templates/order/tracking.php:22 -msgid "ago" -msgstr "" - -#: templates/order/tracking.php:24 -msgid "and was completed" -msgstr "" - -#: templates/order/tracking.php:24 -msgid " ago" -msgstr "" - -#: templates/product-searchform.php:26 +#: templates/product-searchform.php:27 msgid "Search for:" msgstr "" -#: templates/single-product/add-to-cart/variable.php:31 +#: templates/single-product/add-to-cart/variable.php:32 msgid "This product is currently out of stock and unavailable." msgstr "" -#: templates/single-product/add-to-cart/variable.php:42 +#: templates/single-product/add-to-cart/variable.php:43 msgid "Clear" msgstr "" -#: templates/single-product/meta.php:34 +#: templates/single-product/meta.php:35 msgid "SKU:" msgstr "" -#: templates/single-product/meta.php:38 +#: templates/single-product/meta.php:39 msgid "Category:" msgid_plural "Categories:" msgstr[0] "" msgstr[1] "" -#: templates/single-product/meta.php:40 +#: templates/single-product/meta.php:41 msgid "Tag:" msgid_plural "Tags:" msgstr[0] "" msgstr[1] "" -#: templates/single-product/rating.php:37 +#: templates/single-product/rating.php:38 msgid "out of %s5%s" msgstr "" -#: templates/single-product/rating.php:38 +#: templates/single-product/rating.php:39 msgid "based on %s customer rating" msgid_plural "based on %s customer ratings" msgstr[0] "" msgstr[1] "" -#: templates/single-product/rating.php:41 +#: templates/single-product/rating.php:42 msgid "%s customer review" msgid_plural "%s customer reviews" msgstr[0] "" msgstr[1] "" -#: templates/single-product/related.php:50 +#: templates/single-product/related.php:51 msgid "Related Products" msgstr "" -#: templates/single-product/review.php:38 -msgid "Rated %d out of 5" -msgstr "" - -#: templates/single-product/review.php:48 +#: templates/single-product/review-meta.php:28 msgid "Your comment is awaiting approval" msgstr "" -#: templates/single-product/review.php:57 +#: templates/single-product/review-meta.php:36 msgid "verified owner" msgstr "" -#: templates/single-product/up-sells.php:51 +#: templates/single-product/review-rating.php:28 +msgid "Rated %d out of 5" +msgstr "" + +#: templates/single-product/up-sells.php:48 msgid "You may also like…" msgstr "" -#: templates/single-product-reviews.php:32 +#: templates/single-product-reviews.php:33 msgid "%s review for %s" msgid_plural "%s reviews for %s" msgstr[0] "" msgstr[1] "" -#: templates/single-product-reviews.php:55 +#: templates/single-product-reviews.php:56 msgid "There are no reviews yet." msgstr "" -#: templates/single-product-reviews.php:68 +#: templates/single-product-reviews.php:69 msgid "Add a review" msgstr "" -#: templates/single-product-reviews.php:68 +#: templates/single-product-reviews.php:69 msgid "Be the first to review “%s”" msgstr "" -#: templates/single-product-reviews.php:69 +#: templates/single-product-reviews.php:70 msgid "Leave a Reply to %s" msgstr "" -#: templates/single-product-reviews.php:78 +#: templates/single-product-reviews.php:79 msgid "Submit" msgstr "" -#: templates/single-product-reviews.php:84 +#: templates/single-product-reviews.php:85 msgid "You must be logged in to post a review." msgstr "" -#: templates/single-product-reviews.php:88 +#: templates/single-product-reviews.php:89 msgid "Your Rating" msgstr "" -#: templates/single-product-reviews.php:89 +#: templates/single-product-reviews.php:90 msgid "Rate…" msgstr "" -#: templates/single-product-reviews.php:90 +#: templates/single-product-reviews.php:91 msgid "Perfect" msgstr "" -#: templates/single-product-reviews.php:91 +#: templates/single-product-reviews.php:92 msgid "Good" msgstr "" -#: templates/single-product-reviews.php:92 +#: templates/single-product-reviews.php:93 msgid "Average" msgstr "" -#: templates/single-product-reviews.php:93 +#: templates/single-product-reviews.php:94 msgid "Not that bad" msgstr "" -#: templates/single-product-reviews.php:94 +#: templates/single-product-reviews.php:95 msgid "Very Poor" msgstr "" -#: templates/single-product-reviews.php:98 +#: templates/single-product-reviews.php:99 msgid "Your Review" msgstr "" -#: templates/single-product-reviews.php:107 +#: templates/single-product-reviews.php:108 msgid "Only logged in customers who have purchased this product may leave a review." msgstr "" @@ -17236,10 +17746,10 @@ msgctxt "US state of Georgia" msgid "Georgia" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1104 -#: includes/abstracts/abstract-wc-order.php:1115 -#: includes/admin/class-wc-admin-post-types.php:741 -#: includes/admin/class-wc-admin-post-types.php:750 +#: includes/abstracts/abstract-wc-order.php:1150 +#: includes/abstracts/abstract-wc-order.php:1161 +#: includes/admin/class-wc-admin-post-types.php:743 +#: includes/admin/class-wc-admin-post-types.php:752 msgctxt "full name" msgid "%1$s %2$s" msgstr "" @@ -17249,98 +17759,98 @@ msgctxt "min_price" msgid "From:" msgstr "" -#: includes/admin/class-wc-admin-api-keys-table-list.php:156 +#: includes/admin/class-wc-admin-api-keys-table-list.php:154 #: includes/admin/settings/views/html-keys-edit.php:75 msgctxt "date and time" msgid "%1$s at %2$s" msgstr "" -#: includes/admin/class-wc-admin-assets.php:108 +#: includes/admin/class-wc-admin-assets.php:112 #: includes/admin/class-wc-admin-setup-wizard.php:96 -#: includes/class-wc-frontend-scripts.php:325 +#: includes/class-wc-frontend-scripts.php:327 msgctxt "enhanced select" msgid "One result is available, press enter to select it." msgstr "" -#: includes/admin/class-wc-admin-assets.php:109 +#: includes/admin/class-wc-admin-assets.php:113 #: includes/admin/class-wc-admin-setup-wizard.php:97 -#: includes/class-wc-frontend-scripts.php:326 +#: includes/class-wc-frontend-scripts.php:328 msgctxt "enhanced select" msgid "%qty% results are available, use up and down arrow keys to navigate." msgstr "" -#: includes/admin/class-wc-admin-assets.php:110 +#: includes/admin/class-wc-admin-assets.php:114 #: includes/admin/class-wc-admin-setup-wizard.php:98 -#: includes/class-wc-frontend-scripts.php:327 +#: includes/class-wc-frontend-scripts.php:329 msgctxt "enhanced select" msgid "No matches found" msgstr "" -#: includes/admin/class-wc-admin-assets.php:111 +#: includes/admin/class-wc-admin-assets.php:115 #: includes/admin/class-wc-admin-setup-wizard.php:99 -#: includes/class-wc-frontend-scripts.php:328 +#: includes/class-wc-frontend-scripts.php:330 msgctxt "enhanced select" msgid "Loading failed" msgstr "" -#: includes/admin/class-wc-admin-assets.php:112 +#: includes/admin/class-wc-admin-assets.php:116 #: includes/admin/class-wc-admin-setup-wizard.php:100 -#: includes/class-wc-frontend-scripts.php:329 +#: includes/class-wc-frontend-scripts.php:331 msgctxt "enhanced select" msgid "Please enter 1 or more characters" msgstr "" -#: includes/admin/class-wc-admin-assets.php:113 +#: includes/admin/class-wc-admin-assets.php:117 #: includes/admin/class-wc-admin-setup-wizard.php:101 -#: includes/class-wc-frontend-scripts.php:330 +#: includes/class-wc-frontend-scripts.php:332 msgctxt "enhanced select" msgid "Please enter %qty% or more characters" msgstr "" -#: includes/admin/class-wc-admin-assets.php:114 +#: includes/admin/class-wc-admin-assets.php:118 #: includes/admin/class-wc-admin-setup-wizard.php:102 -#: includes/class-wc-frontend-scripts.php:331 +#: includes/class-wc-frontend-scripts.php:333 msgctxt "enhanced select" msgid "Please delete 1 character" msgstr "" -#: includes/admin/class-wc-admin-assets.php:115 +#: includes/admin/class-wc-admin-assets.php:119 #: includes/admin/class-wc-admin-setup-wizard.php:103 -#: includes/class-wc-frontend-scripts.php:332 +#: includes/class-wc-frontend-scripts.php:334 msgctxt "enhanced select" msgid "Please delete %qty% characters" msgstr "" -#: includes/admin/class-wc-admin-assets.php:116 +#: includes/admin/class-wc-admin-assets.php:120 #: includes/admin/class-wc-admin-setup-wizard.php:104 -#: includes/class-wc-frontend-scripts.php:333 +#: includes/class-wc-frontend-scripts.php:335 msgctxt "enhanced select" msgid "You can only select 1 item" msgstr "" -#: includes/admin/class-wc-admin-assets.php:117 +#: includes/admin/class-wc-admin-assets.php:121 #: includes/admin/class-wc-admin-setup-wizard.php:105 -#: includes/class-wc-frontend-scripts.php:334 +#: includes/class-wc-frontend-scripts.php:336 msgctxt "enhanced select" msgid "You can only select %qty% items" msgstr "" -#: includes/admin/class-wc-admin-assets.php:118 +#: includes/admin/class-wc-admin-assets.php:122 #: includes/admin/class-wc-admin-setup-wizard.php:106 -#: includes/class-wc-frontend-scripts.php:335 +#: includes/class-wc-frontend-scripts.php:337 msgctxt "enhanced select" msgid "Loading more results…" msgstr "" -#: includes/admin/class-wc-admin-assets.php:119 +#: includes/admin/class-wc-admin-assets.php:123 #: includes/admin/class-wc-admin-setup-wizard.php:107 -#: includes/class-wc-frontend-scripts.php:336 +#: includes/class-wc-frontend-scripts.php:338 msgctxt "enhanced select" msgid "Searching…" msgstr "" #: includes/admin/class-wc-admin-menus.php:142 -#: includes/class-wc-post-types.php:305 +#: includes/class-wc-post-types.php:312 msgctxt "Admin menu name" msgid "Orders" msgstr "" @@ -17350,54 +17860,54 @@ msgctxt "Admin menu name" msgid "Categories" msgstr "" -#: includes/class-wc-post-types.php:102 +#: includes/class-wc-post-types.php:103 msgctxt "Admin menu name" msgid "Tags" msgstr "" -#: includes/class-wc-post-types.php:139 +#: includes/class-wc-post-types.php:140 msgctxt "Admin menu name" msgid "Shipping Classes" msgstr "" -#: includes/class-wc-post-types.php:241 +#: includes/class-wc-post-types.php:243 msgctxt "Admin menu name" msgid "Products" msgstr "" -#: includes/class-wc-post-types.php:352 +#: includes/class-wc-post-types.php:362 msgctxt "Admin menu name" msgid "Coupons" msgstr "" -#: includes/class-wc-post-types.php:390 +#: includes/class-wc-post-types.php:403 msgctxt "Admin menu name" msgid "Webhooks" msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:68 -#: includes/class-wc-post-types.php:86 +#: includes/class-wc-post-types.php:87 #: includes/updates/woocommerce-update-2.0.php:46 msgctxt "slug" msgid "product-category" msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:78 -#: includes/class-wc-post-types.php:124 +#: includes/class-wc-post-types.php:125 #: includes/updates/woocommerce-update-2.0.php:47 msgctxt "slug" msgid "product-tag" msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:196 -#: includes/class-wc-post-types.php:233 +#: includes/class-wc-post-types.php:235 #: includes/updates/woocommerce-update-2.0.php:55 -#: includes/wc-core-functions.php:563 includes/wc-core-functions.php:598 +#: includes/wc-core-functions.php:564 includes/wc-core-functions.php:599 msgctxt "slug" msgid "product" msgstr "" -#: includes/wc-product-functions.php:240 +#: includes/wc-product-functions.php:241 msgctxt "slug" msgid "uncategorized" msgstr "" @@ -17413,31 +17923,31 @@ msgctxt "default-slug" msgid "product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:756 +#: includes/admin/class-wc-admin-post-types.php:758 msgctxt "Order number by X" msgid "%s by %s" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:232 -#: includes/class-wc-install.php:238 +#: includes/class-wc-install.php:243 msgctxt "Page title" msgid "Shop" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:236 -#: includes/class-wc-install.php:243 +#: includes/class-wc-install.php:248 msgctxt "Page title" msgid "Cart" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:240 -#: includes/class-wc-install.php:248 +#: includes/class-wc-install.php:253 msgctxt "Page title" msgid "Checkout" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:246 -#: includes/class-wc-install.php:253 +#: includes/class-wc-install.php:258 msgctxt "Page title" msgid "My Account" msgstr "" @@ -17506,17 +18016,17 @@ msgctxt "placeholder" msgid "Notes about your order, e.g. special notes for delivery." msgstr "" -#: includes/class-wc-countries.php:523 +#: includes/class-wc-countries.php:552 msgctxt "placeholder" msgid "Street address" msgstr "" -#: includes/class-wc-countries.php:529 +#: includes/class-wc-countries.php:558 msgctxt "placeholder" msgid "Apartment, suite, unit etc. (optional)" msgstr "" -#: templates/product-searchform.php:27 +#: templates/product-searchform.php:28 msgctxt "placeholder" msgid "Search Products…" msgstr "" @@ -17529,7 +18039,8 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:249 #: includes/admin/views/html-bulk-edit-product.php:78 #: includes/admin/views/html-quick-edit-product.php:57 -#: includes/shipping/flat-rate/includes/settings-flat-rate.php:54 +#: includes/shipping/flat-rate/includes/settings-flat-rate.php:33 +#: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:54 msgctxt "Tax status" msgid "None" msgstr "" @@ -17556,7 +18067,7 @@ msgid "by" msgstr "" #: includes/admin/reports/class-wc-report-customer-list.php:146 -#: templates/myaccount/my-orders.php:67 +#: templates/myaccount/my-orders.php:69 templates/myaccount/orders.php:60 msgctxt "hash before order number" msgid "#" msgstr "" @@ -17573,9 +18084,9 @@ msgctxt "Settings tab label" msgid "Checkout" msgstr "" -#: includes/admin/settings/class-wc-settings-checkout.php:96 +#: includes/admin/settings/class-wc-settings-checkout.php:95 msgctxt "Settings group label" -msgid "Checkout" +msgid "Checkout Process" msgstr "" #: includes/admin/settings/views/html-settings-tax.php:98 @@ -17588,129 +18099,129 @@ msgctxt "Pagination, like `1 of 3`" msgid "%1$s of %2$s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:400 +#: includes/admin/views/html-admin-page-status-report.php:406 msgctxt "Version info" msgid "%s is available" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:412 +#: includes/admin/views/html-admin-page-status-report.php:418 msgctxt "by author" msgid "by %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:487 +#: includes/admin/views/html-admin-page-status-report.php:493 msgctxt "Page setting" msgid "Shop Base" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:492 +#: includes/admin/views/html-admin-page-status-report.php:498 msgctxt "Page setting" msgid "Cart" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:497 +#: includes/admin/views/html-admin-page-status-report.php:503 msgctxt "Page setting" msgid "Checkout" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:502 +#: includes/admin/views/html-admin-page-status-report.php:508 msgctxt "Page setting" msgid "My Account" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:516 +#: includes/admin/views/html-admin-page-status-report.php:522 msgctxt "WC Pages links in the System Status" msgid "Edit %s page" msgstr "" -#: includes/class-wc-install.php:237 +#: includes/class-wc-install.php:242 msgctxt "Page slug" msgid "shop" msgstr "" -#: includes/class-wc-install.php:242 +#: includes/class-wc-install.php:247 msgctxt "Page slug" msgid "cart" msgstr "" -#: includes/class-wc-install.php:247 +#: includes/class-wc-install.php:252 msgctxt "Page slug" msgid "checkout" msgstr "" -#: includes/class-wc-install.php:252 +#: includes/class-wc-install.php:257 msgctxt "Page slug" msgid "my-account" msgstr "" -#: includes/class-wc-post-types.php:293 +#: includes/class-wc-post-types.php:300 msgctxt "shop_order post type singular name" msgid "Order" msgstr "" -#: includes/class-wc-post-types.php:426 includes/wc-order-functions.php:25 +#: includes/class-wc-post-types.php:439 includes/wc-order-functions.php:25 msgctxt "Order status" msgid "Pending Payment" msgstr "" -#: includes/class-wc-post-types.php:434 includes/wc-order-functions.php:26 +#: includes/class-wc-post-types.php:447 includes/wc-order-functions.php:26 msgctxt "Order status" msgid "Processing" msgstr "" -#: includes/class-wc-post-types.php:442 includes/wc-order-functions.php:27 +#: includes/class-wc-post-types.php:455 includes/wc-order-functions.php:27 msgctxt "Order status" msgid "On Hold" msgstr "" -#: includes/class-wc-post-types.php:450 includes/wc-order-functions.php:28 +#: includes/class-wc-post-types.php:463 includes/wc-order-functions.php:28 msgctxt "Order status" msgid "Completed" msgstr "" -#: includes/class-wc-post-types.php:458 includes/wc-order-functions.php:29 +#: includes/class-wc-post-types.php:471 includes/wc-order-functions.php:29 msgctxt "Order status" msgid "Cancelled" msgstr "" -#: includes/class-wc-post-types.php:466 includes/wc-order-functions.php:30 +#: includes/class-wc-post-types.php:479 includes/wc-order-functions.php:30 msgctxt "Order status" msgid "Refunded" msgstr "" -#: includes/class-wc-post-types.php:474 includes/wc-order-functions.php:31 +#: includes/class-wc-post-types.php:487 includes/wc-order-functions.php:31 msgctxt "Order status" msgid "Failed" msgstr "" -#: includes/class-wc-product-grouped.php:158 -#: includes/class-wc-product-variable.php:355 -#: includes/class-wc-product-variable.php:361 +#: includes/class-wc-product-grouped.php:155 +#: includes/class-wc-product-variable.php:356 +#: includes/class-wc-product-variable.php:362 msgctxt "Price range: from-to" msgid "%1$s–%2$s" msgstr "" +#: includes/wc-account-functions.php:57 +msgctxt "edit-address-slug" +msgid "billing" +msgstr "" + +#: includes/wc-account-functions.php:58 +msgctxt "edit-address-slug" +msgid "shipping" +msgstr "" + #: includes/wc-cart-functions.php:81 msgctxt "Item name in quotes" msgid "“%s”" msgstr "" -#: includes/wc-core-functions.php:82 includes/wc-order-functions.php:643 +#: includes/wc-core-functions.php:83 includes/wc-order-functions.php:643 msgctxt "Order date parsed by strftime" msgid "%b %d, %Y @ %I:%M %p" msgstr "" -#: includes/wc-page-functions.php:120 -msgctxt "edit-address-slug" -msgid "billing" -msgstr "" - -#: includes/wc-page-functions.php:121 -msgctxt "edit-address-slug" -msgid "shipping" -msgstr "" - -#: includes/wc-template-functions.php:1360 +#: includes/wc-template-functions.php:1418 msgctxt "breadcrumb" msgid "Home" msgstr "" @@ -17725,22 +18236,24 @@ msgctxt "by comment author" msgid "by %1$s" msgstr "" -#: templates/global/quantity-input.php:23 +#: templates/global/quantity-input.php:24 msgctxt "Product quantity input tooltip" msgid "Qty" msgstr "" -#: templates/loop/result-count.php:42 +#: templates/loop/result-count.php:41 msgctxt "%1$d = first, %2$d = last, %3$d = total" -msgid "Showing %1$d–%2$d of %3$d results" -msgstr "" +msgid "Showing the single result" +msgid_plural "Showing %1$d–%2$d of %3$d results" +msgstr[0] "" +msgstr[1] "" -#: templates/product-searchform.php:27 +#: templates/product-searchform.php:28 msgctxt "label" msgid "Search for:" msgstr "" -#: templates/product-searchform.php:28 +#: templates/product-searchform.php:29 msgctxt "submit button" msgid "Search" -msgstr "" +msgstr "" \ No newline at end of file