@automattic/newspack-blocks 4.27.1 → 4.28.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- <?php return array('dependencies' => array(), 'version' => '9ede98c6b50c49ec1720');
1
+ <?php return array('dependencies' => array(), 'version' => 'b79d97b30970c302d04a');
package/dist/modal.js CHANGED
@@ -1 +1 @@
1
- (()=>{"use strict";function e(e,t=!1){const n=e.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return!1;const o=n?.[0];let c;o.focus(),t?(document.addEventListener("keydown",function(e){if(("Tab"===e.key||9===e.keyCode)&&e.shiftKey&&document.activeElement===o){const n=t.contentWindow.document,o=n.getElementById("checkout-after-success");c=null!==o?o:n.getElementById("checkout_cancel"),c.focus(),e.preventDefault()}}),document.getElementById("newspack-a11y-last-element").addEventListener("focus",()=>{o.focus()})):(c=n[n.length-1],document.addEventListener("keydown",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===o&&(c.focus(),e.preventDefault()):document.activeElement===c&&(o.focus(),e.preventDefault()))}))}const t=(e,t={})=>({...t,action:e}),n=["action","action_type","amount","currency","product_id","product_type","variation_id","variation_ids","is_variable","is_grouped","child_ids","price_summary","newspack_popup_id","prompt_title","gate_post_id","recurrence","referrer"],o=(e,t="np_modal_checkout_interaction")=>{if("function"==typeof window.gtag&&e){const o={};for(const t of n)e[t]&&("boolean"==typeof e[t]?e[t]=e[t]?"yes":"no":"true"===e[t]?e[t]="yes":"false"===e[t]&&(e[t]="no"),o[t]=e[t].toString());window.gtag("event",t,o)}},c=e=>{if("function"!=typeof window.gtag)return;let n="opened";const{amount:c="",is_variable:a="",is_grouped:r="",price:i="",variation_id:s=""}=e,l={...e};(c||i)&&(l.amount=c||i),a&&!s&&(n="opened_variations"),r&&(n="opened_grouped");const u=t(n,l);o(u)};function a(e,t=null){const n=document.createElement("input");return n.type="hidden",n.name=e,t&&(n.value=t),n}function r(e){e.requestSubmit(e.querySelector('button[type="submit"]'))}function i(e){const t="string"==typeof e?document.getElementById(e):e;if(!t)return console.warn("No container found for checkout data"),{};let n={};if("FORM"===t.tagName){const e=new FormData(t);n=Object.fromEntries(e)}const o=t.dataset.checkout;if(!o)return console.warn("No checkout data found"),n;try{n={...n,...JSON.parse(o)}}catch(e){console.warn("Error parsing checkout data")}const c=new URL(t.ownerDocument.defaultView.location.href);return c.searchParams.get("action_type")&&(n.action_type=c.searchParams.get("action_type")),n}const s=e=>{if("function"!=typeof window.gtag)return;e=e||i("newspack_modal_checkout");const n=t("dismissed",e);o(n)};function l(e){const t=e&&e.dataset?e.dataset.checkout:null;if(!t)return null;try{return JSON.parse(t)}catch(e){return null}}function u(e,t,n=null){const o=e.querySelectorAll(".wp-block-newspack-blocks-checkout-button"),c=null!=n&&""!==String(n);let a=null;return o.forEach(e=>{if(a)return;const o=e.querySelector("form"),r=l(o);r&&String(r.product_id)===String(t)&&(c&&String(r.variation_id)!==String(n)||(a=o))}),a}const d=["after_success_behavior","after_success_url","after_success_button_label","gate_post_id","newspack_popup_id","prompt_title"];const p={gate:"gate_post_id",prompt:"newspack_popup_id"};const m=newspackBlocksModal.newspack_class_prefix,_="newspack_modal_checkout_iframe",h="newspack_modal_checkout_container",y=`${m}__modal`,w="newspack-blocks__modal-variation",f=`${m}__processing-payment-text`,k=newspackBlocksModal.processing_payment_messages;let v=!1,g=newspackBlocksModal.labels.checkout_modal_title,b=null;const S=e=>{e.overlayId&&window.newspackReaderActivation?.overlays&&window.newspackReaderActivation?.overlays.remove(e.overlayId),e.setAttribute("data-state","closed"),document.body.style.overflow="auto"};window.onpageshow=e=>{e.persisted&&(document.querySelectorAll(".modal-processing").forEach(e=>e.classList.remove("modal-processing")),document.querySelectorAll(".non-modal-checkout-loading").forEach(e=>e.classList.remove("non-modal-checkout-loading")),document.querySelectorAll(`.${y}-container`).forEach(e=>S(e)))};const E=new CustomEvent("checkout-closed");var q;window.newspackRAS=window.newspackRAS||[],q=()=>{const t=document.querySelector("#newspack_modal_checkout");if(!t)return;const n=t.querySelector(`.${y}__content`),o=a("modal_checkout","1"),q=n.querySelector(`.${m}__spinner`);let A=document.querySelector(".newspack-reader__account-link")?.[0];const L="600px",$=document.createElement("iframe");$.name=_,$.style.height=L,$.style.visibility="hidden";const R=e=>{P.observe(e),"none"!==q.style.display&&(q.style.display="none"),"visible"!==$.style.visibility&&($.style.visibility="visible"),$._ready=!0};!function(e,t,n){e._ready=!1,e._readyTimer&&clearTimeout(e._readyTimer);let o=!1,c="";function a(){o||(o=!0,clearTimeout(e._readyTimer),t.call(this))}function r(){"complete"===this.readyState&&a.call(this)}function i(){e._ready=!1,n&&n(),e._readyTimer&&clearTimeout(e._readyTimer);const t=e.contentDocument||e.contentWindow?.document;t&&(t.removeEventListener("DOMContentLoaded",a),t.removeEventListener("readystatechange",r))}function s(){if(e._ready)return void i();const t=e.contentDocument||e.contentWindow?.document;t&&0!==t.URL.indexOf("about:")?"complete"===t?.readyState?a.call(t):(t.addEventListener("DOMContentLoaded",a),t.addEventListener("readystatechange",r)):e._readyTimer=setTimeout(s,10)}e._observer||(e._observer=new MutationObserver(e=>{e.forEach(e=>{"attributes"===e.type&&"src"===e.attributeName&&(o=!1,i(),s())})}),e._observer.observe(e,{attributes:!0})),e._locationObserver||(e._locationObserver=setInterval(function(){const t=e.contentDocument||e.contentWindow?.document;t&&t.URL!==c&&(c=t.URL,o=!1,i(),s())},50)),s()}($,function(){const n=$.contentWindow?.location;if(window.newspackReaderActivation&&n?.href?.includes("order-received")){const e=window.newspackReaderActivation,t=new Proxy(new URLSearchParams(n.search),{get:(e,t)=>e.get(t)});t.email&&(e.setReaderEmail(t.email),e.setAuthenticated(!0))}const o=$?.contentDocument?.querySelector(`#${h}`);if(!o)return;const c=o.querySelector("#modal-checkout-product-details"),a=i(c),r=document.createElement("p");r.classList.add(f);let s=[];const l=()=>{s.forEach(e=>clearTimeout(e)),s=[]},u=()=>{q.style.display="none",l(),q.querySelectorAll(`.${f}`).forEach(e=>e.remove())};!function(e,t){e.checkoutCancel?t():e.addEventListener("checkout-cancel",t)}(o,()=>{D()}),function(e,t){e.checkoutPlaceOrderStart?t():e.addEventListener("checkout-place-order-start",t)}(o,e=>{q.querySelectorAll(`.${f}`).forEach(e=>e.remove()),q.style.display="flex",l(),r.textContent=k[0]?.text??"",k.slice(1).forEach(({text:t,delay:n})=>{const o=setTimeout(()=>{e.target.dispatchEvent(new CustomEvent("checkout-place-order-processing")),r.textContent=t},n);s.push(o)}),q.appendChild(r)}),function(e,t){e.checkoutPlaceOrderError?t():e.addEventListener("checkout-place-order-error",t)}(o,u),function(e,t){e.checkoutReady?t():e.addEventListener("checkout-ready",t)}(o,()=>{const e=c?.querySelector("strong");if(e&&(e.textContent=a.price_summary),t.initialErrors){const e=document.createElement("div");e.classList.add("woocommerce-error"),e.textContent=t.initialErrors,o.prepend(e),delete t.initialErrors}I(),N(g),$.contentWindow?.newspackBlocksModalCheckout?.checkout_nonce&&(t.checkout_nonce=$.contentWindow.newspackBlocksModalCheckout.checkout_nonce),R(o)}),function(e,t){e.checkoutComplete?t():e.addEventListener("checkout-complete",t)}(o,()=>{window.newspackRAS.push(["checkout_completed",a]),window?.newspackReaderActivation?.refreshNewslettersSignupModal&&window?.newspackReaderActivation?.getReader()?.email&&window.newspackReaderActivation.refreshNewslettersSignupModal(window.newspackReaderActivation.getReader().email),I("small"),N(newspackBlocksModal.labels.thankyou_modal_title),R(o),e(t.querySelector(`.${y}`)),u()}),function(e,t){e.checkoutPlaceOrderCriticalError?t():e.addEventListener("checkout-place-order-critical-error",t)}(o,()=>{var e;(e=b)&&(D(),q.style.display="none",t.initialErrors=newspackBlocksModal.labels.critical_error,e.requestSubmit(e.querySelector('button[type="submit"]')),u())})},()=>{q.style.display="flex"});const M=e=>new Promise((t,n)=>{const o=new URLSearchParams(e);o.append("action","modal_checkout_request"),fetch(newspackBlocksModal.ajax_url+"?"+o.toString()).then(e=>{e.ok||n(e),e.json().then(e=>{t(e.url)}).catch(n)}).catch(n)}),C=()=>"undefined"!=typeof newspack_ras_config&&!newspack_ras_config?.is_logged_in&&!window?.newspackReaderActivation?.getReader?.()?.authenticated&&newspackBlocksModal?.is_registration_required&&window?.newspackReaderActivation?.openAuthModal,x=t=>{const n=!newspackBlocksModal.has_unsupported_payment_gateway;n||t.preventDefault();const o=t.target;o.classList.add("modal-processing"),function(e){if(!e||"function"!=typeof e.querySelector)return!1;if(e.closest(".newspack-content-gate__gate"))return!1;const t=function(){let e,t;try{e=window.sessionStorage.getItem("newspack_cta_attribution")}catch(e){return null}if(!e)return null;try{t=JSON.parse(e)}catch(e){return null}return t&&1===t.v&&p[t.type]&&t.id?"number"!=typeof t.ts||Date.now()-t.ts>18e5?null:t:null}();if(!t)return!1;const n=p[t.type];if(e.querySelector(`input[name="${n}"]`))return!1;const o=document.createElement("input");o.type="hidden",o.name=n,o.value=t.id,e.prepend(o)}(o);const u=i(o);if(u.newspack_donate){const e=u.donation_frequency,t=[...o.querySelectorAll(`.donation-tier__${e}, .donation-frequency__${e}`)],n=u.donation_tier_index;let c,a;n?(c=t[n],a=u[`donation_value_${e}`]):(c=t[0],u[`donation_value_${e}_untiered`]?a=u[`donation_value_${e}_untiered`]:(a=u[`donation_value_${e}`],"other"===a&&(a=u[`donation_value_${e}_other`])));const r=i(c);for(const e in r)u[e]=r[e];u.amount=a,u.price_summary=u.summary_template.replace("{{PRICE}}",function(e,t="USD"){return parseFloat(e).toLocaleString(document.documentElement.lang,{style:"currency",currency:t,currencyDisplay:"narrowSymbol"})}(u.amount,u.currency))}u&&Object.keys(u).forEach(e=>{0===o.querySelectorAll('input[name="'+e+'"]').length&&o.prepend(a(e,u[e]))}),u.variation_id||(A=t.submitter);const d=document.querySelectorAll(`.${w}`);if(d.forEach(e=>{(C()||n)&&S(e)}),u.is_grouped||u.is_variable&&!u.variation_id){const n=[...d].find(e=>e.dataset.productId===u.product_id);if(n)return n.querySelectorAll(`form[target="${_}"]`).forEach(e=>{["after_success_behavior","after_success_url","after_success_button_label","gate_post_id","newspack_popup_id","prompt_title"].forEach(t=>{0===e.querySelectorAll('input[name="'+t+'"]').length&&e.prepend(a(t,u[t]))});const t=l(e);t&&Object.keys(t).forEach(n=>{0===e.querySelectorAll('input[name="'+n+'"]').length&&e.prepend(a(n,t[n]))})}),t.preventDefault(),o.classList.remove("modal-processing"),T(n),e(n,!1),v||c(u),void document.getElementById("newspack_modal_checkout").setAttribute("data-checkout",JSON.stringify(u))}if(n||C()){if(o.classList.remove("modal-processing"),v||c(u),v=!0,C()){t.preventDefault();const e=u.price_summary,o=e?`<div class="order-details-summary ${m}__box ${m}__box--text-center"><p><strong>${e}</strong></p></div>`:"",c=M(u);c.then(e=>{window.newspackReaderActivation?.setPendingCheckout?.(e)}),window.newspackReaderActivation.openAuthModal({title:newspackBlocksModal.labels.auth_modal_title,onSuccess:(e,t)=>{c.then(e=>{t?.registered&&n&&(e+=`&${newspackBlocksModal.checkout_registration_flag}=1`),n?r(B(e)):M(u).then(window.location.href=e)}).catch(e=>{console.warn("Unable to generate cart:",e),D()})},onError:()=>{D()},onDismiss:()=>{s(u),v=!1,document.getElementById("newspack_modal_checkout").removeAttribute("data-checkout")},skipSuccess:!0,skipNewslettersSignup:!0,labels:{signin:{title:newspackBlocksModal.labels.signin_modal_title},register:{title:newspackBlocksModal.labels.register_modal_title}},content:o,trigger:t.submitter,closeOnSuccess:n})}else O(),document.getElementById("newspack_modal_checkout").setAttribute("data-checkout",JSON.stringify(u));b=o}else M(u).then(e=>{window.location.href=e}),(!u.is_variable||u.variation_id)&&o.querySelectorAll("button[type=submit]:focus").forEach(e=>{e.classList.add("non-modal-checkout-loading");const t=e.innerHTML;e.innerHTML="<span>"+t+"</span>"})},B=e=>{const t=document.createElement("form");t.method="POST",t.action=e,t.target=_,t.style.display="none";const n=document.createElement("button");return n.setAttribute("type","submit"),t.appendChild(n),document.body.appendChild(t),t.addEventListener("submit",x),t},P=new ResizeObserver(e=>{if(!e||!e.length)return;if(!$.contentDocument)return;const o=e[0].contentRect;if(o){const e=.01*Math.max(document.documentElement.clientHeight,window.innerHeight||0)*90-(t.querySelector(`.${y}__header`)?.offsetHeight||0),c=o.top+o.bottom,a=Math.min(c,e);if(0===a)return void($.style.visibility="hidden");n.style.height=a+"px",$.style.height=a+"px"}}),D=()=>{const e=$?.contentDocument?.querySelector(`#${h}`),o=e?.querySelector('input[name="after_success_url"]'),c=e?.querySelector('input[name="after_success_behavior"]'),a=document?.querySelector(".newspack-newsletters-signup-modal"),r=i(e?.querySelector("#modal-checkout-product-details"));e?.checkoutComplete||(async()=>{const e=new FormData;newspackBlocksModal.has_unsupported_payment_gateway||e.append("modal_checkout","1"),e.append("action","abandon_modal_checkout"),e.append("_wpnonce",t.checkout_nonce),t.checkout_nonce=null;try{await fetch(newspackBlocksModal.ajax_url,{method:"POST",body:e})}catch(e){console.warn("Unable to empty cart:",e)}})();const l=!($.contentDocument&&o&&c&&e?.checkoutComplete);if((l||a)&&(q.style.display="flex",$&&n.contains($)&&($._ready=!1,$.src="about:blank",$.style.height=L,$.style.visibility="hidden",n.style.height=L,n.removeChild($)),P&&P.disconnect(),document.querySelectorAll(`.${y}-container`).forEach(e=>S(e)),A&&A.focus(),document.dispatchEvent(E)),e?.checkoutComplete){const e=()=>{if(o&&c){const e=o.getAttribute("value"),t=c.getAttribute("value");"custom"===t?window.location.href=e:"referrer"===t&&window.history.back()}window?.newspackReaderActivation?.setPendingCheckout?.(),v=!1};"subscription_switch"!==r.action_type&&window?.newspackReaderActivation?.openNewslettersSignupModal?window.newspackReaderActivation.openNewslettersSignupModal({onSuccess:e,onError:e,closeOnSuccess:l}):e(),l&&(g=newspackBlocksModal.labels.checkout_modal_title,I(),N(g))}else window?.newspackReaderActivation?.setPendingCheckout?.(),s(),v=!1,document.getElementById("newspack_modal_checkout").removeAttribute("data-checkout");document.removeEventListener("keydown",U)},O=o=>{o&&($.src=o),q.style.display="flex",T(t),n.appendChild($),t.addEventListener("click",e=>{e.target===t&&D()}),e(t,$),document.addEventListener("keydown",U)},T=e=>{window.newspackReaderActivation?.overlays&&(e.overlayId=window.newspackReaderActivation?.overlays.add()),e.setAttribute("data-state","open"),document.body.style.overflow="hidden"},N=e=>{const n=t.querySelector(`.${y}__header h2`);n&&(n.innerText=e)},I=(e="default")=>{const n=t.querySelector(`.${y}`);n&&("small"===e?n.classList.add(`${y}--small`):n.classList.remove(`${y}--small`))};t.querySelectorAll(`.${y}__close`).forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),D()})}),document.querySelectorAll(".newspack-blocks__modal-variation").forEach(e=>{e.addEventListener("click",t=>{t.target===e&&D()}),e.querySelectorAll(`.${y}__close`).forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),D()})})});const U=e=>{"Escape"===e.key&&D()};document.querySelectorAll(".wpbnbd.wpbnbd--platform-wc, .wp-block-newspack-blocks-checkout-button, .newspack-blocks__modal-variation").forEach(e=>{e.querySelectorAll("form").forEach(e=>{newspackBlocksModal.has_unsupported_payment_gateway||e.prepend(o.cloneNode()),e.target=_,e.addEventListener("submit",x)})}),(()=>{const e=new URLSearchParams(window.location.search);if(!e.has("checkout"))return;let t=!0;const n=e.get("type");if("donate"===n){const t=e.get("layout"),n=e.get("frequency"),o=e.get("amount"),c=e.get("other");t&&n&&o&&((e,t,n,o=null)=>{let c;document.querySelectorAll(".wpbnbd.wpbnbd--platform-wc form").forEach(a=>{const r=a.querySelector(`input[name="donation_frequency"][value="${t}"]`);if(r)if("tiered"===e){const e=document.querySelector(`button[data-frequency-slug="${t}"]`);if(!e)return;e.click();const o=a.querySelector(`button[type="submit"][name="donation_value_${t}"][value="${n}"]`);if(!o)return;o.click()}else{const i="untiered"===e?a.querySelector(`input[name="donation_value_${t}_untiered"]`):a.querySelector(`input[name="donation_value_${t}"][value="${n}"]`);if(r&&i){if(r.checked=!0,"untiered"===e)i.value=n;else if("other"===n){i.click();const e=a.querySelector(`input[name="donation_value_${t}_other"]`);e&&o&&(e.value=o)}else i.checked=!0;c=a}}}),c&&r(c)})(t,n,o,c)}else if("checkout_button"===n){const n=e.get("product_id"),o=e.get("variation_id");n?t=((e,t=null)=>{const n=function(e,t,n,o={}){const{allowProductOnlyFallback:c=!1}=o;if(null==n||""===String(n))return u(e,t,null);const a=u(e,t,n);if(a)return a;const r=function(e,t,n,o={}){const{variationModalClassPrefix:c,iframeName:a}=o,r=[...e.querySelectorAll(`.${c}`)].find(e=>String(e.dataset.productId)===String(t));if(!r)return null;const i=r.querySelectorAll("form"),s=a?[...i].find(e=>e.getAttribute("target")===a):i[0];if(!s)return null;const l=[...s.querySelectorAll('input[type="radio"][name="product_id"]')].find(e=>String(e.value)===String(n));return l?(l.checked=!0,s):null}(e,t,n,o);return r?(function(e,t,n=d){if(!e||!t)return;const o=t.ownerDocument,c=new FormData(e);n.forEach(e=>{if(t.querySelector(`input[name="${e}"]`))return;const n=c.getAll(e).filter(e=>"string"==typeof e&&e);if(!n.length)return;const a=o.createElement("input");a.type="hidden",a.name=e,a.value=n[n.length-1],t.prepend(a)})}(u(e,t,null),r),r):c?u(e,t,null):null}(document,e,t,{variationModalClassPrefix:w,iframeName:_});if(n)return r(n),!0;const o=`Newspack modal checkout: no checkout form found for product_id "${e}"`+(t?` and variation_id "${t}"`:"")+". The checkout was not triggered.";return console.warn(o),!1})(n,o):(t=!1,console.warn("Newspack modal checkout: checkout_button trigger is missing product_id. The checkout was not triggered."))}else{const e=window.newspackReaderActivation?.getPendingCheckout?.();e&&r(B(e))}t&&window.history.replaceState(null,null,window.location.pathname)})(),window.newspackOpenModalCheckout=({url:e=null,title:t=null,actionType:n=null,afterSuccess:o={},onCheckoutComplete:c=null,onClose:a=null})=>{if(g=t||newspackBlocksModal.labels.checkout_modal_title,N(g),(e=new URL(e||newspackBlocksModal.checkout_url)).searchParams.has("my_account_checkout")&&e.searchParams.delete("my_account_checkout"),e.searchParams.has("modal_checkout")||e.searchParams.set("modal_checkout","1"),n&&e.searchParams.set("action_type",n),o?.url&&e.searchParams.set("after_success_url",o.url),(o?.behavior||o?.url)&&e.searchParams.set("after_success_behavior",o.behavior||"custom"),o?.buttonLabel&&e.searchParams.set("after_success_button_label",o.buttonLabel),c){const e=({detail:{action:e,data:t}})=>{"checkout_completed"===e&&c(t)};window.newspackRAS.push(t=>{t.on("activity",e);const n=()=>{t.off("activity",e),document.removeEventListener("checkout-closed",n)};document.addEventListener("checkout-closed",n)})}if(a){const e=()=>{a(),document.removeEventListener("checkout-closed",e)};document.addEventListener("checkout-closed",e)}O(e.toString())},window.newspackCloseModalCheckout=D},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",q):q())})();
1
+ (()=>{"use strict";function e(e,t=!1){const n=e.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return!1;const o=n?.[0];let c;o.focus(),t?(document.addEventListener("keydown",function(e){if(("Tab"===e.key||9===e.keyCode)&&e.shiftKey&&document.activeElement===o){const n=t.contentWindow.document,o=n.getElementById("checkout-after-success");c=null!==o?o:n.getElementById("checkout_cancel"),c.focus(),e.preventDefault()}}),document.getElementById("newspack-a11y-last-element").addEventListener("focus",()=>{o.focus()})):(c=n[n.length-1],document.addEventListener("keydown",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===o&&(c.focus(),e.preventDefault()):document.activeElement===c&&(o.focus(),e.preventDefault()))}))}const t=(e,t={})=>({...t,action:e}),n=["action","action_type","amount","currency","product_id","product_type","variation_id","variation_ids","is_variable","is_grouped","child_ids","price_summary","newspack_popup_id","prompt_title","gate_post_id","recurrence","referrer"],o=(e,t="np_modal_checkout_interaction")=>{if("function"==typeof window.gtag&&e){const o={};for(const t of n)e[t]&&("boolean"==typeof e[t]?e[t]=e[t]?"yes":"no":"true"===e[t]?e[t]="yes":"false"===e[t]&&(e[t]="no"),o[t]=e[t].toString());window.gtag("event",t,o)}},c=e=>{if("function"!=typeof window.gtag)return;let n="opened";const{amount:c="",is_variable:a="",is_grouped:r="",price:i="",variation_id:s=""}=e,l={...e};(c||i)&&(l.amount=c||i),a&&!s&&(n="opened_variations"),r&&(n="opened_grouped");const u=t(n,l);o(u)};function a(e,t=null){const n=document.createElement("input");return n.type="hidden",n.name=e,t&&(n.value=t),n}function r(e){e.requestSubmit(e.querySelector('button[type="submit"]'))}function i(e){const t="string"==typeof e?document.getElementById(e):e;if(!t)return console.warn("No container found for checkout data"),{};let n={};if("FORM"===t.tagName){const e=new FormData(t);n=Object.fromEntries(e)}const o=t.dataset.checkout;if(!o)return console.warn("No checkout data found"),n;try{n={...n,...JSON.parse(o)}}catch(e){console.warn("Error parsing checkout data")}const c=new URL(t.ownerDocument.defaultView.location.href);return c.searchParams.get("action_type")&&(n.action_type=c.searchParams.get("action_type")),n}const s=e=>{if("function"!=typeof window.gtag)return;e=e||i("newspack_modal_checkout");const n=t("dismissed",e);o(n)};function l(e){const t=e&&e.dataset?e.dataset.checkout:null;if(!t)return null;try{return JSON.parse(t)}catch(e){return null}}function u(e,t,n=null){const o=e.querySelectorAll(".wp-block-newspack-blocks-checkout-button"),c=null!=n&&""!==String(n);let a=null;return o.forEach(e=>{if(a)return;const o=e.querySelector("form"),r=l(o);r&&String(r.product_id)===String(t)&&(c&&String(r.variation_id)!==String(n)||(a=o))}),a}const d=["after_success_behavior","after_success_url","after_success_button_label","gate_post_id","newspack_popup_id","prompt_title"];const p={gate:"gate_post_id",prompt:"newspack_popup_id"};const m=newspackBlocksModal.newspack_class_prefix,_="newspack_modal_checkout_iframe",h="newspack_modal_checkout_container",y=`${m}__modal`,w="newspack-blocks__modal-variation",f=`${m}__processing-payment-text`,k=newspackBlocksModal.processing_payment_messages;let v=!1,g=newspackBlocksModal.labels.checkout_modal_title,b=null;const S=e=>{e.overlayId&&window.newspackReaderActivation?.overlays&&window.newspackReaderActivation?.overlays.remove(e.overlayId),e.setAttribute("data-state","closed"),document.body.style.overflow="auto"};window.onpageshow=e=>{e.persisted&&(document.querySelectorAll(".modal-processing").forEach(e=>e.classList.remove("modal-processing")),document.querySelectorAll(".non-modal-checkout-loading").forEach(e=>e.classList.remove("non-modal-checkout-loading")),document.querySelectorAll(`.${y}-container`).forEach(e=>S(e)))};const E=new CustomEvent("checkout-closed");var q;window.newspackRAS=window.newspackRAS||[],q=()=>{const t=document.querySelector("#newspack_modal_checkout");if(!t)return;const n=t.querySelector(`.${y}__content`),o=a("modal_checkout","1"),q=n.querySelector(`.${m}__spinner`);let A=document.querySelector(".newspack-reader__account-link")?.[0];const L="600px",$=document.createElement("iframe");$.name=_,$.style.height=L,$.style.visibility="hidden";const R=e=>{P.observe(e),"none"!==q.style.display&&(q.style.display="none"),"visible"!==$.style.visibility&&($.style.visibility="visible"),$._ready=!0};!function(e,t,n){e._ready=!1,e._readyTimer&&clearTimeout(e._readyTimer);let o=!1,c="";function a(){o||(o=!0,clearTimeout(e._readyTimer),t.call(this))}function r(){"complete"===this.readyState&&a.call(this)}function i(){e._ready=!1,n&&n(),e._readyTimer&&clearTimeout(e._readyTimer);const t=e.contentDocument||e.contentWindow?.document;t&&(t.removeEventListener("DOMContentLoaded",a),t.removeEventListener("readystatechange",r))}function s(){if(e._ready)return void i();const t=e.contentDocument||e.contentWindow?.document;t&&0!==t.URL.indexOf("about:")?"complete"===t?.readyState?a.call(t):(t.addEventListener("DOMContentLoaded",a),t.addEventListener("readystatechange",r)):e._readyTimer=setTimeout(s,10)}e._observer||(e._observer=new MutationObserver(e=>{e.forEach(e=>{"attributes"===e.type&&"src"===e.attributeName&&(o=!1,i(),s())})}),e._observer.observe(e,{attributes:!0})),e._locationObserver||(e._locationObserver=setInterval(function(){const t=e.contentDocument||e.contentWindow?.document;t&&t.URL!==c&&(c=t.URL,o=!1,i(),s())},50)),s()}($,function(){const n=$.contentWindow?.location;if(window.newspackReaderActivation&&n?.href?.includes("order-received")){const e=window.newspackReaderActivation,t=new Proxy(new URLSearchParams(n.search),{get:(e,t)=>e.get(t)});t.email&&(e.setReaderEmail(t.email),e.setAuthenticated(!0))}const o=$?.contentDocument?.querySelector(`#${h}`);if(!o)return;const c=o.querySelector("#modal-checkout-product-details"),a=i(c),r=document.createElement("p");r.classList.add(f);let s=[];const l=()=>{s.forEach(e=>clearTimeout(e)),s=[]},u=()=>{q.style.display="none",l(),q.querySelectorAll(`.${f}`).forEach(e=>e.remove())};!function(e,t){e.checkoutCancel?t():e.addEventListener("checkout-cancel",t)}(o,()=>{D()}),function(e,t){e.checkoutPlaceOrderStart?t():e.addEventListener("checkout-place-order-start",t)}(o,e=>{q.querySelectorAll(`.${f}`).forEach(e=>e.remove()),q.style.display="flex",l(),r.textContent=k[0]?.text??"",k.slice(1).forEach(({text:t,delay:n})=>{const o=setTimeout(()=>{e.target.dispatchEvent(new CustomEvent("checkout-place-order-processing")),r.textContent=t},n);s.push(o)}),q.appendChild(r)}),function(e,t){e.checkoutPlaceOrderError?t():e.addEventListener("checkout-place-order-error",t)}(o,u),function(e,t){e.checkoutReady?t():e.addEventListener("checkout-ready",t)}(o,()=>{const e=c?.querySelector("strong");if(e&&(e.textContent=a.price_summary),t.initialErrors){const e=document.createElement("div");e.classList.add("woocommerce-error"),e.textContent=t.initialErrors,o.prepend(e),delete t.initialErrors}I(),N(g),$.contentWindow?.newspackBlocksModalCheckout?.checkout_nonce&&(t.checkout_nonce=$.contentWindow.newspackBlocksModalCheckout.checkout_nonce),R(o)}),function(e,t){e.checkoutComplete?t():e.addEventListener("checkout-complete",t)}(o,()=>{window.newspackRAS.push(["checkout_completed",a]),window?.newspackReaderActivation?.refreshNewslettersSignupModal&&window?.newspackReaderActivation?.getReader()?.email&&window.newspackReaderActivation.refreshNewslettersSignupModal(window.newspackReaderActivation.getReader().email),I("small"),N(newspackBlocksModal.labels.thankyou_modal_title),R(o),e(t.querySelector(`.${y}`)),u()}),function(e,t){e.checkoutPlaceOrderCriticalError?t():e.addEventListener("checkout-place-order-critical-error",t)}(o,()=>{var e;(e=b)&&(D(),q.style.display="none",t.initialErrors=newspackBlocksModal.labels.critical_error,e.requestSubmit(e.querySelector('button[type="submit"]')),u())})},()=>{q.style.display="flex"});const M=e=>new Promise((t,n)=>{const o=new URLSearchParams(e);o.append("action","modal_checkout_request"),fetch(newspackBlocksModal.ajax_url+"?"+o.toString()).then(e=>{e.ok||n(e),e.json().then(e=>{t(e.url)}).catch(n)}).catch(n)}),C=()=>"undefined"!=typeof newspack_ras_config&&!newspack_ras_config?.is_logged_in&&!window?.newspackReaderActivation?.getReader?.()?.authenticated&&newspackBlocksModal?.is_registration_required&&window?.newspackReaderActivation?.openAuthModal,x=t=>{const n=!newspackBlocksModal.has_unsupported_payment_gateway;n||t.preventDefault();const o=t.target;o.classList.add("modal-processing"),function(e){if(!e||"function"!=typeof e.querySelector)return!1;if(e.closest(".newspack-content-gate__gate"))return!1;const t=function(){let e,t;try{e=window.sessionStorage.getItem("newspack_cta_attribution")}catch(e){return null}if(!e)return null;try{t=JSON.parse(e)}catch(e){return null}return t&&1===t.v&&p[t.type]&&t.id?"number"!=typeof t.ts||Date.now()-t.ts>18e5?null:t:null}();if(!t)return!1;const n=p[t.type];if(e.querySelector(`input[name="${n}"]`))return!1;const o=document.createElement("input");o.type="hidden",o.name=n,o.value=t.id,e.prepend(o)}(o);const u=i(o);if(u.newspack_donate){const e=u.donation_frequency,t=[...o.querySelectorAll(`.donation-tier__${e}, .donation-frequency__${e}`)],n=u.donation_tier_index;let c,a;n?(c=t[n],a=u[`donation_value_${e}`]):(c=t[0],u[`donation_value_${e}_untiered`]?a=u[`donation_value_${e}_untiered`]:(a=u[`donation_value_${e}`],"other"===a&&(a=u[`donation_value_${e}_other`])));const r=i(c);for(const e in r)u[e]=r[e];u.amount=a,u.price_summary=u.summary_template.replace("{{PRICE}}",function(e,t="USD"){return parseFloat(e).toLocaleString(document.documentElement.lang,{style:"currency",currency:t,currencyDisplay:"narrowSymbol"})}(u.amount,u.currency))}u&&Object.keys(u).forEach(e=>{0===o.querySelectorAll('input[name="'+e+'"]').length&&o.prepend(a(e,u[e]))}),u.variation_id||(A=t.submitter);const d=document.querySelectorAll(`.${w}`);if(d.forEach(e=>{(C()||n)&&S(e)}),u.is_grouped||u.is_variable&&!u.variation_id){const n=[...d].find(e=>e.dataset.productId===u.product_id);if(n)return n.querySelectorAll(`form[target="${_}"]`).forEach(e=>{["after_success_behavior","after_success_url","after_success_button_label","gate_post_id","newspack_popup_id","prompt_title"].forEach(t=>{0===e.querySelectorAll('input[name="'+t+'"]').length&&e.prepend(a(t,u[t]))});const t=l(e);t&&Object.keys(t).forEach(n=>{0===e.querySelectorAll('input[name="'+n+'"]').length&&e.prepend(a(n,t[n]))})}),t.preventDefault(),o.classList.remove("modal-processing"),T(n),e(n,!1),v||c(u),void document.getElementById("newspack_modal_checkout").setAttribute("data-checkout",JSON.stringify(u))}if(n||C()){if(o.classList.remove("modal-processing"),v||c(u),v=!0,C()){t.preventDefault();const e=u.price_summary,o=e?`<div class="order-details-summary ${m}__box ${m}__box--text-center"><p><strong>${e}</strong></p></div>`:"",c=M(u);c.then(e=>{window.newspackReaderActivation?.setPendingCheckout?.(e)}),window.newspackReaderActivation.openAuthModal({title:newspackBlocksModal.labels.auth_modal_title,onSuccess:(e,t)=>{c.then(e=>{t?.registered&&n&&(e+=`&${newspackBlocksModal.checkout_registration_flag}=1`),n?r(B(e)):M(u).then(window.location.href=e)}).catch(e=>{console.warn("Unable to generate cart:",e),D()})},onError:()=>{D()},onDismiss:()=>{s(u),v=!1,document.getElementById("newspack_modal_checkout").removeAttribute("data-checkout")},skipSuccess:!0,skipNewslettersSignup:!0,labels:{signin:{title:newspackBlocksModal.labels.signin_modal_title},register:{title:newspackBlocksModal.labels.register_modal_title}},content:o,trigger:t.submitter,closeOnSuccess:n})}else O(),document.getElementById("newspack_modal_checkout").setAttribute("data-checkout",JSON.stringify(u));b=o}else M(u).then(e=>{window.location.href=e}),(!u.is_variable||u.variation_id)&&o.querySelectorAll("button[type=submit]:focus").forEach(e=>{e.classList.add("non-modal-checkout-loading");const t=e.innerHTML;e.innerHTML="<span>"+t+"</span>"})},B=e=>{const t=document.createElement("form");t.method="POST",t.action=e,t.target=_,t.style.display="none";const n=document.createElement("button");return n.setAttribute("type","submit"),t.appendChild(n),document.body.appendChild(t),t.addEventListener("submit",x),t},P=new ResizeObserver(e=>{if(!e||!e.length)return;if(!$.contentDocument)return;const o=e[0].contentRect;if(o){const e=.01*Math.max(document.documentElement.clientHeight,window.innerHeight||0)*90-(t.querySelector(`.${y}__header`)?.offsetHeight||0),c=o.top+o.bottom,a=Math.min(c,e);if(0===a)return void($.style.visibility="hidden");n.style.height=a+"px",$.style.height=a+"px"}}),D=()=>{const e=$?.contentDocument?.querySelector(`#${h}`),o=e?.querySelector('input[name="after_success_url"]'),c=e?.querySelector('input[name="after_success_behavior"]'),a=document?.querySelector(".newspack-newsletters-signup-modal"),r=i(e?.querySelector("#modal-checkout-product-details"));e?.checkoutComplete||(async()=>{const e=new FormData;newspackBlocksModal.has_unsupported_payment_gateway||e.append("modal_checkout","1"),e.append("action","abandon_modal_checkout"),e.append("_wpnonce",t.checkout_nonce),t.checkout_nonce=null;try{await fetch(newspackBlocksModal.ajax_url,{method:"POST",body:e})}catch(e){console.warn("Unable to empty cart:",e)}})();const l=!($.contentDocument&&o&&c&&e?.checkoutComplete);if((l||a)&&(q.style.display="flex",$&&n.contains($)&&($._ready=!1,$.src="about:blank",$.style.height=L,$.style.visibility="hidden",n.style.height=L,n.removeChild($)),P&&P.disconnect(),document.querySelectorAll(`.${y}-container`).forEach(e=>S(e)),A&&A.focus(),document.dispatchEvent(E)),e?.checkoutComplete){const e=()=>{if(o&&c){const e=o.getAttribute("value"),t=c.getAttribute("value");if("custom"===t)window.location.href=e;else if("referrer"===t){const e=document.referrer;let t=!1;if(e)try{new URL(e).origin===window.location.origin&&(window.location.href=e,t=!0)}catch(e){}t||window.history.back()}}window?.newspackReaderActivation?.setPendingCheckout?.(),v=!1};"subscription_switch"!==r.action_type&&window?.newspackReaderActivation?.openNewslettersSignupModal?window.newspackReaderActivation.openNewslettersSignupModal({onSuccess:e,onError:e,closeOnSuccess:l}):e(),l&&(g=newspackBlocksModal.labels.checkout_modal_title,I(),N(g))}else window?.newspackReaderActivation?.setPendingCheckout?.(),s(),v=!1,document.getElementById("newspack_modal_checkout").removeAttribute("data-checkout");document.removeEventListener("keydown",U)},O=o=>{o&&($.src=o),q.style.display="flex",T(t),n.appendChild($),t.addEventListener("click",e=>{e.target===t&&D()}),e(t,$),document.addEventListener("keydown",U)},T=e=>{window.newspackReaderActivation?.overlays&&(e.overlayId=window.newspackReaderActivation?.overlays.add()),e.setAttribute("data-state","open"),document.body.style.overflow="hidden"},N=e=>{const n=t.querySelector(`.${y}__header h2`);n&&(n.innerText=e)},I=(e="default")=>{const n=t.querySelector(`.${y}`);n&&("small"===e?n.classList.add(`${y}--small`):n.classList.remove(`${y}--small`))};t.querySelectorAll(`.${y}__close`).forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),D()})}),document.querySelectorAll(".newspack-blocks__modal-variation").forEach(e=>{e.addEventListener("click",t=>{t.target===e&&D()}),e.querySelectorAll(`.${y}__close`).forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),D()})})});const U=e=>{"Escape"===e.key&&D()};document.querySelectorAll(".wpbnbd.wpbnbd--platform-wc, .wp-block-newspack-blocks-checkout-button, .newspack-blocks__modal-variation").forEach(e=>{e.querySelectorAll("form").forEach(e=>{newspackBlocksModal.has_unsupported_payment_gateway||e.prepend(o.cloneNode()),e.target=_,e.addEventListener("submit",x)})}),(()=>{const e=new URLSearchParams(window.location.search);if(!e.has("checkout"))return;let t=!0;const n=e.get("type");if("donate"===n){const t=e.get("layout"),n=e.get("frequency"),o=e.get("amount"),c=e.get("other");t&&n&&o&&((e,t,n,o=null)=>{let c;document.querySelectorAll(".wpbnbd.wpbnbd--platform-wc form").forEach(a=>{const r=a.querySelector(`input[name="donation_frequency"][value="${t}"]`);if(r)if("tiered"===e){const e=document.querySelector(`button[data-frequency-slug="${t}"]`);if(!e)return;e.click();const o=a.querySelector(`button[type="submit"][name="donation_value_${t}"][value="${n}"]`);if(!o)return;o.click()}else{const i="untiered"===e?a.querySelector(`input[name="donation_value_${t}_untiered"]`):a.querySelector(`input[name="donation_value_${t}"][value="${n}"]`);if(r&&i){if(r.checked=!0,"untiered"===e)i.value=n;else if("other"===n){i.click();const e=a.querySelector(`input[name="donation_value_${t}_other"]`);e&&o&&(e.value=o)}else i.checked=!0;c=a}}}),c&&r(c)})(t,n,o,c)}else if("checkout_button"===n){const n=e.get("product_id"),o=e.get("variation_id");n?t=((e,t=null)=>{const n=function(e,t,n,o={}){const{allowProductOnlyFallback:c=!1}=o;if(null==n||""===String(n))return u(e,t,null);const a=u(e,t,n);if(a)return a;const r=function(e,t,n,o={}){const{variationModalClassPrefix:c,iframeName:a}=o,r=[...e.querySelectorAll(`.${c}`)].find(e=>String(e.dataset.productId)===String(t));if(!r)return null;const i=r.querySelectorAll("form"),s=a?[...i].find(e=>e.getAttribute("target")===a):i[0];if(!s)return null;const l=[...s.querySelectorAll('input[type="radio"][name="product_id"]')].find(e=>String(e.value)===String(n));return l?(l.checked=!0,s):null}(e,t,n,o);return r?(function(e,t,n=d){if(!e||!t)return;const o=t.ownerDocument,c=new FormData(e);n.forEach(e=>{if(t.querySelector(`input[name="${e}"]`))return;const n=c.getAll(e).filter(e=>"string"==typeof e&&e);if(!n.length)return;const a=o.createElement("input");a.type="hidden",a.name=e,a.value=n[n.length-1],t.prepend(a)})}(u(e,t,null),r),r):c?u(e,t,null):null}(document,e,t,{variationModalClassPrefix:w,iframeName:_});if(n)return r(n),!0;const o=`Newspack modal checkout: no checkout form found for product_id "${e}"`+(t?` and variation_id "${t}"`:"")+". The checkout was not triggered.";return console.warn(o),!1})(n,o):(t=!1,console.warn("Newspack modal checkout: checkout_button trigger is missing product_id. The checkout was not triggered."))}else{const e=window.newspackReaderActivation?.getPendingCheckout?.();e&&r(B(e))}t&&window.history.replaceState(null,null,window.location.pathname)})(),window.newspackOpenModalCheckout=({url:e=null,title:t=null,actionType:n=null,afterSuccess:o={},onCheckoutComplete:c=null,onClose:a=null})=>{if(g=t||newspackBlocksModal.labels.checkout_modal_title,N(g),(e=new URL(e||newspackBlocksModal.checkout_url)).searchParams.has("my_account_checkout")&&e.searchParams.delete("my_account_checkout"),e.searchParams.has("modal_checkout")||e.searchParams.set("modal_checkout","1"),n&&e.searchParams.set("action_type",n),o?.url&&e.searchParams.set("after_success_url",o.url),(o?.behavior||o?.url)&&e.searchParams.set("after_success_behavior",o.behavior||"custom"),o?.buttonLabel&&e.searchParams.set("after_success_button_label",o.buttonLabel),c){const e=({detail:{action:e,data:t}})=>{"checkout_completed"===e&&c(t)};window.newspackRAS.push(t=>{t.on("activity",e);const n=()=>{t.off("activity",e),document.removeEventListener("checkout-closed",n)};document.addEventListener("checkout-closed",n)})}if(a){const e=()=>{a(),document.removeEventListener("checkout-closed",e)};document.addEventListener("checkout-closed",e)}O(e.toString())},window.newspackCloseModalCheckout=D},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",q):q())})();
@@ -157,6 +157,17 @@ class Newspack_Blocks_API {
157
157
  return false;
158
158
  }
159
159
 
160
+ /**
161
+ * Get tag labels for the REST API.
162
+ *
163
+ * @param array $object_info The object info.
164
+ * @return array|bool Tag labels, or false if none.
165
+ */
166
+ public static function newspack_blocks_get_tag_labels( $object_info ) {
167
+ $tag_labels = Newspack_Blocks::get_tag_labels( $object_info['id'] );
168
+ return ! empty( $tag_labels ) ? array_values( $tag_labels ) : false;
169
+ }
170
+
160
171
  /**
161
172
  * Pass whether there is a custom excerpt to the editor.
162
173
  *
@@ -269,6 +280,7 @@ class Newspack_Blocks_API {
269
280
  'newspack_post_sponsors' => self::newspack_blocks_sponsor_info( $data ),
270
281
  'newspack_sponsors_show_author' => Newspack_Blocks::newspack_display_sponsors_and_authors( $sponsors ),
271
282
  'newspack_sponsors_show_categories' => Newspack_Blocks::newspack_display_sponsors_and_categories( $sponsors ),
283
+ 'newspack_tag_labels' => self::newspack_blocks_get_tag_labels( $data ),
272
284
  'newspack_post_avatars' => \newspack_blocks_format_avatars( $author_info ),
273
285
  'newspack_post_byline' => \newspack_blocks_format_byline( $author_info ),
274
286
  'post_status' => $post->post_status,
@@ -1096,6 +1096,35 @@ class Newspack_Blocks {
1096
1096
  return false;
1097
1097
  }
1098
1098
 
1099
+ /**
1100
+ * Support for Tag Labels.
1101
+ *
1102
+ * @param int|WP_Post|null $post Post to retrieve tag labels for.
1103
+ *
1104
+ * @return array|null Tag labels, if any, for this post.
1105
+ */
1106
+ public static function get_tag_labels( $post = null ) {
1107
+ if ( class_exists( '\Newspack\Tag_Labels' ) && method_exists( '\Newspack\Tag_Labels', 'get_labels_for_post' ) ) {
1108
+ return \Newspack\Tag_Labels::get_labels_for_post( $post );
1109
+ }
1110
+
1111
+ return null;
1112
+ }
1113
+
1114
+ /**
1115
+ * Outputs HTML for given tag labels.
1116
+ *
1117
+ * @param array|null $labels Labels to display.
1118
+ * @param bool $links Whether to include links to tag archives.
1119
+ *
1120
+ * @return void
1121
+ */
1122
+ public static function display_tag_labels( $labels = null, $links = true ) {
1123
+ if ( class_exists( '\Newspack\Tag_Labels' ) && method_exists( '\Newspack\Tag_Labels', 'display' ) ) {
1124
+ \Newspack\Tag_Labels::display( $labels, $links, 'div' );
1125
+ }
1126
+ }
1127
+
1099
1128
  /**
1100
1129
  * Closure for excerpt filtering that can be added and removed.
1101
1130
  *
@@ -1 +1 @@
1
- {"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":["Spenden"],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":["Standard"],"block style\u0004Centered":[""],"once":[""],"One-time":["Einmal"],"Monthly":["Monatlich"],"Annually":["J\u00e4hrlich"],"Donation amount":["Spendenbetrag"],"Other":["Andere"],"Load more posts":["Mehr Beitr\u00e4ge laden"],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":["(kein Titel)"],"(no name)":["(kein Name)"],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":["Inhalt"],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"Category":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":["Schlagw\u00f6rter"],"Authors":["Autoren"],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":["von"],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"post author\u0004and":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Settings":[""],"Display":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":["Autoplay"],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":["Beitr\u00e4ge"],"articles":["Artikel"],"latest":["letzten"],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"Small":["Klein"],"S":["S"],"Medium":["Mittel"],"M":["M"],"Large":["Gro\u00df"],"L":["L"],"Extra Large":["Extra Gro\u00df"],"XL":["XL"],"Extra-large":["Extra Gro\u00df"],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":["Spalten"],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Edit":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":["Spenden"],"memberships":["Mitgliedschaften"],"subscriptions":["Abonnements"],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Error":["Fehler"],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":["Mindesth\u00f6he"],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":["Entschuldigung, wir konnten keine Beitr\u00e4ge finden."],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":["Rahmen"],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
1
+ {"translation-revision-date":"2024-08-30 08:45-0700","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":["Spenden"],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":["Standard"],"block style\u0004Centered":[""],"once":[""],"One-time":["Einmal"],"Monthly":["Monatlich"],"Annually":["J\u00e4hrlich"],"Donation amount":["Spendenbetrag"],"Other":["Andere"],"Load more posts":["Mehr Beitr\u00e4ge laden"],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":["(kein Titel)"],"(no name)":["(kein Name)"],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":["Inhalt"],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"Category":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":["Schlagw\u00f6rter"],"Authors":["Autoren"],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":["von"],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"post author\u0004and":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Settings":[""],"Display":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":["Autoplay"],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":["Beitr\u00e4ge"],"articles":["Artikel"],"latest":["letzten"],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"Small":["Klein"],"S":["S"],"Medium":["Mittel"],"M":["M"],"Large":["Gro\u00df"],"L":["L"],"Extra Large":["Extra Gro\u00df"],"XL":["XL"],"Extra-large":["Extra Gro\u00df"],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":["Spalten"],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Edit":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":["Spenden"],"memberships":["Mitgliedschaften"],"subscriptions":["Abonnements"],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Error":["Fehler"],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":["Mindesth\u00f6he"],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show tag labels":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":["Entschuldigung, wir konnten keine Beitr\u00e4ge finden."],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":["Rahmen"],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
5
- "POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
5
+ "POT-Creation-Date: 2026-06-25T00:38:06+00:00\n"
6
6
  "PO-Revision-Date: 2024-08-30 08:45-0700\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -291,31 +291,31 @@ msgstr " und "
291
291
  msgid ", "
292
292
  msgstr ""
293
293
 
294
- #: includes/class-newspack-blocks.php:1314
294
+ #: includes/class-newspack-blocks.php:1343
295
295
  msgid "Jetpack donations is disabled in favour of Newspack donations."
296
296
  msgstr ""
297
297
 
298
- #: includes/class-newspack-blocks.php:1347 dist/editor.js:5
298
+ #: includes/class-newspack-blocks.php:1376 dist/editor.js:5
299
299
  #: src/shared/js/utils.js:48
300
300
  msgid "Draft"
301
301
  msgstr ""
302
302
 
303
- #: includes/class-newspack-blocks.php:1348 dist/editor.js:5
303
+ #: includes/class-newspack-blocks.php:1377 dist/editor.js:5
304
304
  #: src/shared/js/utils.js:48
305
305
  msgid "Scheduled"
306
306
  msgstr ""
307
307
 
308
308
  #. Translators: %s is the %s is the frequency.
309
- #: includes/class-newspack-blocks.php:1506 dist/editor.js:39
309
+ #: includes/class-newspack-blocks.php:1535 dist/editor.js:39
310
310
  #, php-format
311
311
  msgid "per %s"
312
312
  msgstr ""
313
313
 
314
- #: includes/class-newspack-blocks.php:1537
314
+ #: includes/class-newspack-blocks.php:1566
315
315
  msgid " once"
316
316
  msgstr ""
317
317
 
318
- #: includes/class-newspack-blocks.php:1540
318
+ #: includes/class-newspack-blocks.php:1569
319
319
  msgid " per "
320
320
  msgstr ""
321
321
 
@@ -1808,6 +1808,10 @@ msgid ""
1808
1808
  "current height."
1809
1809
  msgstr ""
1810
1810
 
1811
+ #: dist/editor.js:51
1812
+ msgid "Show tag labels"
1813
+ msgstr ""
1814
+
1811
1815
  #: dist/editor.js:51
1812
1816
  msgid "Show subtitle"
1813
1817
  msgstr ""
@@ -1 +1 @@
1
- {"translation-revision-date":"2025-08-12T14:56:45+00:00","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"es","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":[""],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":[""],"block style\u0004Centered":[""],"once":[""],"One-time":["Una vez"],"Monthly":["Mensual"],"Annually":["Anual"],"Donation amount":["Monto de la donaci\u00f3n"],"Other":["Otro"],"Load more posts":[""],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":[""],"(no name)":[""],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":[""],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"Category":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":[""],"Authors":[""],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":["por"],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"post author\u0004and":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Settings":[""],"Display":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":[""],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":[""],"articles":[""],"latest":[""],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"Small":[""],"S":[""],"Medium":[""],"M":[""],"Large":[""],"L":[""],"Extra Large":[""],"XL":[""],"Extra-large":[""],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":[""],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Edit":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":[""],"memberships":[""],"subscriptions":[""],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Error":[""],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":[""],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":[""],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":[""],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
1
+ {"translation-revision-date":"2025-08-12T14:56:45+00:00","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"es","plural-forms":"nplurals=2; plural=(n != 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":[""],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":[""],"block style\u0004Centered":[""],"once":[""],"One-time":["Una vez"],"Monthly":["Mensual"],"Annually":["Anual"],"Donation amount":["Monto de la donaci\u00f3n"],"Other":["Otro"],"Load more posts":[""],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":[""],"(no name)":[""],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":[""],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"Category":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":[""],"Authors":[""],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":["por"],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"post author\u0004and":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Settings":[""],"Display":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":[""],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":[""],"articles":[""],"latest":[""],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"Small":[""],"S":[""],"Medium":[""],"M":[""],"Large":[""],"L":[""],"Extra Large":[""],"XL":[""],"Extra-large":[""],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":[""],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Edit":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":[""],"memberships":[""],"subscriptions":[""],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Error":[""],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":[""],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show tag labels":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":[""],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":[""],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
5
- "POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
5
+ "POT-Creation-Date: 2026-06-25T00:38:06+00:00\n"
6
6
  "PO-Revision-Date: 2025-08-12T14:56:45+00:00\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -283,31 +283,31 @@ msgstr " y "
283
283
  msgid ", "
284
284
  msgstr ""
285
285
 
286
- #: includes/class-newspack-blocks.php:1314
286
+ #: includes/class-newspack-blocks.php:1343
287
287
  msgid "Jetpack donations is disabled in favour of Newspack donations."
288
288
  msgstr ""
289
289
 
290
- #: includes/class-newspack-blocks.php:1347 dist/editor.js:5
290
+ #: includes/class-newspack-blocks.php:1376 dist/editor.js:5
291
291
  #: src/shared/js/utils.js:48
292
292
  msgid "Draft"
293
293
  msgstr ""
294
294
 
295
- #: includes/class-newspack-blocks.php:1348 dist/editor.js:5
295
+ #: includes/class-newspack-blocks.php:1377 dist/editor.js:5
296
296
  #: src/shared/js/utils.js:48
297
297
  msgid "Scheduled"
298
298
  msgstr ""
299
299
 
300
300
  #. Translators: %s is the %s is the frequency.
301
- #: includes/class-newspack-blocks.php:1506 dist/editor.js:39
301
+ #: includes/class-newspack-blocks.php:1535 dist/editor.js:39
302
302
  #, php-format
303
303
  msgid "per %s"
304
304
  msgstr ""
305
305
 
306
- #: includes/class-newspack-blocks.php:1537
306
+ #: includes/class-newspack-blocks.php:1566
307
307
  msgid " once"
308
308
  msgstr ""
309
309
 
310
- #: includes/class-newspack-blocks.php:1540
310
+ #: includes/class-newspack-blocks.php:1569
311
311
  msgid " per "
312
312
  msgstr ""
313
313
 
@@ -1800,6 +1800,10 @@ msgid ""
1800
1800
  "current height."
1801
1801
  msgstr ""
1802
1802
 
1803
+ #: dist/editor.js:51
1804
+ msgid "Show tag labels"
1805
+ msgstr ""
1806
+
1803
1807
  #: dist/editor.js:51
1804
1808
  msgid "Show subtitle"
1805
1809
  msgstr ""
@@ -1 +1 @@
1
- {"translation-revision-date":"2024-08-30 08:46-0700","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"fr_BE","plural-forms":"nplurals=2; plural=(n > 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":[""],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":[""],"block style\u0004Centered":[""],"once":[""],"One-time":["Une fois"],"Monthly":["Mensuel"],"Annually":["Annuel"],"Donation amount":["Montant du don"],"Other":["Autre"],"Load more posts":["Charger plus d\u2019articles"],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":[""],"(no name)":[""],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":[""],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"Category":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":[""],"Authors":[""],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":[""],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"post author\u0004and":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Settings":[""],"Display":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":[""],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":[""],"articles":[""],"latest":[""],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"Small":[""],"S":[""],"Medium":[""],"M":[""],"Large":[""],"L":[""],"Extra Large":[""],"XL":[""],"Extra-large":[""],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":[""],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Edit":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":[""],"memberships":[""],"subscriptions":[""],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Error":[""],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":[""],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":[""],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":[""],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
1
+ {"translation-revision-date":"2024-08-30 08:46-0700","generator":"WP-CLI\/2.12.0","source":"dist\/editor.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"fr_BE","plural-forms":"nplurals=2; plural=(n > 1);"},"Cancel":[""],"Draft":[""],"Scheduled":[""],"per %s":[""],"Donate":[""],"Author Profile":[""],"More by %s":[""],"block style\u0004Default":[""],"block style\u0004Centered":[""],"once":[""],"One-time":["Une fois"],"Monthly":["Mensuel"],"Annually":["Annuel"],"Donation amount":["Montant du don"],"Other":["Autre"],"Load more posts":["Charger plus d\u2019articles"],"Slide %s":[""],"Slide %1$s of %2$s":[""],"Image: %s,":[""],"Playing":[""],"Paused":[""],"Listings":[""],"Post Types":[""],"Additional Post Statuses":[""],"Selection here has effect only for editors, regular users will only see published posts.":[""],"(no title)":[""],"(no name)":[""],"Deleted category":[""],"Deleted tag":[""],"Mode":[""],"The block will display only the specifically selected content.":[""],"The block will display content based on the filtering settings below.":[""],"Dynamic":[""],"Static":[""],"Content":[""],"Begin typing any word in a title. Click on an autocomplete result to select it.":[""],"Category":[""],"is one of":[""],"is all of":[""],"Include subcategories":[""],"Tags":[""],"Authors":[""],"Excluded categories":[""],"Excluded tags":[""],"Excluded %s":[""],"Allow duplicate content":[""],"Exclude this block from the page's deduplication logic.":[""],"The post content.":[""],"The post excerpt.":[""],"Full post content.":[""],"Post Subtitle":[""],"Post Title":[""],"by":[""],"Featured image caption":[""],"Biographical info":[""],"Social links":[""],"Email address":[""],"Link to author archive":[""],"Display the following fields:":[""],"post author\u0004and":[""],"Square":[""],"1:1":[""],"4:3":[""],"16:9":[""],"3:4":[""],"9:16":[""],"Settings":[""],"Display":[""],"Hide Controls":[""],"Remove navigation indicators from view.":[""],"Autoplay":[""],"Automatically advance through slides.":[""],"Transition delay":[""],"Set the waiting time between automatic slide transitions in seconds.":[""],"Slides per view":[""],"Choose how many slides appear on screen simultaneously.":[""],"Featured Image":[""],"Aspect ratio":[""],"All slides will share the same aspect ratio, for consistency.":[""],"Fit":[""],"The image will fill the entire slide and will be cropped if necessary.":[""],"The image will be resized to fit inside the slide without being cropped.":[""],"Cover":[""],"Contain":[""],"Show caption":[""],"Show credit":[""],"Post Meta":[""],"Show title":[""],"Show date":[""],"Show category":[""],"Show author":[""],"Show avatar":[""],"Content Carousel":[""],"posts":[""],"articles":[""],"latest":[""],"query":[""],"An advanced block that displays content in a carousel format with customizable parameters and visual configurations.":[""],"Small":[""],"S":[""],"Medium":[""],"M":[""],"Large":[""],"L":[""],"Extra Large":[""],"XL":[""],"Extra-large":[""],"Select a layout to start with:":[""],"No authors or guest authors found for ID %s.":[""],"Error fetching authors for this post.":[""],"Error fetching byline authors.":[""],"Show authors without bio":[""],"Display author profiles even if their bio is empty.":[""],"Text size":[""],"Avatar":[""],"Display avatar":[""],"Hide default avatar":[""],"Size":[""],"Avatar size":[""],"Border radius":[""],"Avatar border radius":[""],"Fetching authors\u2026":[""],"Show avatar on left":[""],"Show avatar on right":[""],"Edit selection":[""],"Select a type:":[""],"Contextual":[""],"Specific":[""],"This block was created with a block theme and is not supported in the current theme. It will render using the classic layout on the frontend.":[""],"Author bio is hidden because Custom Byline is active on this post.":[""],"Search for an author to display":[""],"Begin typing name, click autocomplete result to select.":[""],"author":[""],"authors":[""],"No authors found for this post.":[""],"Preview author":[""],"Previewing 1 of %d authors. All authors display on frontend.":[""],"Post-Checkout Button":[""],"After a successful purchase, a button will be presented to finish the process.":[""],"Close the modal":[""],"Go to a custom URL":[""],"Go to the previous page":[""],"Button Label":[""],"Custom URL":[""],"https:\/\/example.com":[""],"Author List":[""],"profile":[""],"Display a list of author profile cards.":[""],"Error fetching authors.":[""],"Author List Settings":[""],"Author Type":[""],"%s will be displayed.":[""],"Both guest authors and WP users":[""],"%s only":[""],"Guest authors":[""],"WP users":[""],"All authors":[""],"Columns":[""],"WP User Roles":[""],"Display alphabetical separators":[""],"Chunk authors alphabetically.":[""],"Group authors by alphabet":[""],"Display each alphabetical chunk as a discrete section.":[""],"Exclude authors with 0 posts":[""],"Authors with no published posts will be %s.":[""],"hidden":[""],"displayed":[""],"Search by author name":[""],"Authors selected here will not be displayed.":[""],"Author Profile Settings":[""],"Text Size":[""],"List":[""],"Author Name":[""],"Job Title":[""],"Role":[""],"Employer":[""],"Biography":[""],"Avatar left":[""],"Avatar on the left, content on the right.":[""],"Avatar right":[""],"Content on the left, avatar on the right.":[""],"Centered":[""],"Large centered avatar with center-aligned text.":[""],"Compact":[""],"No avatar, vertical stack.":[""],"Display an author profile card.":[""],"Width":[""],"Could not find a product with ID %s. Please select a different product.":[""],"Product":[""],"Change the selected product":[""],"Edit":[""],"Type to search for a product\u2026":[""],"Allow the reader to select the variation before checkout.":[""],"Variation":[""],"Select the product variation to be added to cart.":[""],"After purchase":[""],"Name Your Price":[""],"This product has \"Name Your Price\" toggled on. You can set the custom price for this checkout.":[""],"Suggested price:":[""],"Minimum price:":[""],"Maximum price:":[""],"Custom Price":[""],"per `Frequency`\u0004per %s":[""],"Frequency":[""],"Tiers":[""],"Heading\u2026":[""],"\u2026":[""],"Button text\u2026":[""],"Description\u2026":[""],"Thank you text\u2026":[""],"Low-tier":[""],"Mid-tier":[""],"High-tier":[""],"donate":[""],"memberships":[""],"subscriptions":[""],"Manually place a donation block on any post or page on your site.":[""],"Support reference":[""],"Error":[""],"Go to checkout & payment settings to troubleshoot.":[""],"The Donate block will not be rendered.":[""],"The Reader Revenue platform is set to \"other\".":[""],"Go to checkout & payment settings to update the platform.":[""],"Grid View":[""],"List View":[""],"Warning: suggested donations should be at least the minimum donation amount (%1$s%2$d).":[""],"Layout":[""],"Tiers layout is disabled if the block is set to render untiered.":[""],"Default Tab":[""],"Suggested Donations":[""],"Configure manually":[""],"Tiered":[""],"Minimum donation":[""],"The Donate Block allows you to collect donations from readers. The fields are automatically defined based on your donation settings.":[""],"Edit donation settings":[""],"Styling":[""],"Button Color":[""],"News Revenue Hub Settings":[""],"Campaign ID":[""],"Alternate":[""],"Minimal":[""],"Modern":[""],"Grid":[""],"Show \"Load more posts\" button":[""],"This site is private, therefore this feature is not active.":[""],"Infinite scroll":[""],"Text":[""],"None":[""],"Excerpt":[""],"Full Post":[""],"Max number of words in excerpt":[""],"Keep reading":[""],"Show featured image":[""],"Stack on mobile":[""],"Minimum height":[""],"Sets a minimum height for the block, using a percentage of the screen's current height.":[""],"Show tag labels":[""],"Show subtitle":[""],"Color":[""],"Typography":[""],"Type Scale":[""],"Dimensions":[""],"Grid Spacing":[""],"List view":[""],"Grid view":[""],"Show media on top":[""],"Show media on left":[""],"Show media on right":[""],"Show media behind":[""],"Landscape image shape":[""],"portrait image shape":[""],"Square image shape":[""],"Uncropped":[""],"Write header\u2026":[""],"Sorry, no posts were found.":[""],"Content Loop":[""],"homepage":[""],"An advanced block that allows displaying content based on different parameters and visual configurations.":[""],"block style\u0004Borders":[""],"Upload a document file (PDF, Word, Excel sheet, or a PPT), choose one from the media library, %s.":[""],"embed from a URL, or upload a .zip archive containing HTML assets":[""],"or embed from a URL":[""],"Update":[""],"Upload":[""],"Media Library":[""],"Update from URL":[""],"Embed from URL":[""],"Iframe":[""],"iframe":[""],"project iframe":[""],"Embed an iframe.":[""],"Hide iframe preview":[""],"Show iframe preview":[""],"Iframe Settings":[""],"Fullscreen":[""],"If enabled, the iframe will be full screen and hide all the post content.":[""],"Height":[""],"This block will take over the page content.":[""],"Newspack embedded iframe":[""],"An error occured when uploading the iframe archive.":[""],"An error occured when setting the iframe from the archive media.":[""],"No videos found":[""],"Consider using <a href=\"%1$s\">YouTube Playlists<\/a> instead, which can be <a href=\"%2$s\">embedded<\/a> into post or page content.":[""],"YouTube Video Playlist (DEPRECATED)":[""],"video":[""],"playlist":[""],"youtube":[""],"Embed a playlist of latest YouTube videos.":[""]}}}
@@ -2,7 +2,7 @@ msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
4
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
5
- "POT-Creation-Date: 2026-05-27T09:15:53+00:00\n"
5
+ "POT-Creation-Date: 2026-06-25T00:38:06+00:00\n"
6
6
  "PO-Revision-Date: 2024-08-30 08:46-0700\n"
7
7
  "Last-Translator: \n"
8
8
  "Language-Team: \n"
@@ -281,31 +281,31 @@ msgstr " et "
281
281
  msgid ", "
282
282
  msgstr ""
283
283
 
284
- #: includes/class-newspack-blocks.php:1314
284
+ #: includes/class-newspack-blocks.php:1343
285
285
  msgid "Jetpack donations is disabled in favour of Newspack donations."
286
286
  msgstr ""
287
287
 
288
- #: includes/class-newspack-blocks.php:1347 dist/editor.js:5
288
+ #: includes/class-newspack-blocks.php:1376 dist/editor.js:5
289
289
  #: src/shared/js/utils.js:48
290
290
  msgid "Draft"
291
291
  msgstr ""
292
292
 
293
- #: includes/class-newspack-blocks.php:1348 dist/editor.js:5
293
+ #: includes/class-newspack-blocks.php:1377 dist/editor.js:5
294
294
  #: src/shared/js/utils.js:48
295
295
  msgid "Scheduled"
296
296
  msgstr ""
297
297
 
298
298
  #. Translators: %s is the %s is the frequency.
299
- #: includes/class-newspack-blocks.php:1506 dist/editor.js:39
299
+ #: includes/class-newspack-blocks.php:1535 dist/editor.js:39
300
300
  #, php-format
301
301
  msgid "per %s"
302
302
  msgstr ""
303
303
 
304
- #: includes/class-newspack-blocks.php:1537
304
+ #: includes/class-newspack-blocks.php:1566
305
305
  msgid " once"
306
306
  msgstr ""
307
307
 
308
- #: includes/class-newspack-blocks.php:1540
308
+ #: includes/class-newspack-blocks.php:1569
309
309
  msgid " per "
310
310
  msgstr ""
311
311
 
@@ -1799,6 +1799,10 @@ msgid ""
1799
1799
  "current height."
1800
1800
  msgstr ""
1801
1801
 
1802
+ #: dist/editor.js:51
1803
+ msgid "Show tag labels"
1804
+ msgstr ""
1805
+
1802
1806
  #: dist/editor.js:51
1803
1807
  msgid "Show subtitle"
1804
1808
  msgstr ""