From 4e285cbb4c4387c4a8d9a23b406c77dffa9518c6 Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 11 Jun 2021 11:47:39 +0200 Subject: [PATCH] fixed ask for a quote translation --- .../assets/dist/module-pricing.bundle.js | 2 +- .../assets/dist/module-pricing.bundle.js.gz | Bin 999 -> 999 bytes .../custom/materiotheme/assets/dist/report.html | 4 ++-- .../commerce-product--4--home-summary.html.twig | 2 +- .../vuejs/components/Content/Product.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js index a9dbb796..b6ea2594 100644 --- a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js +++ b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js @@ -1 +1 @@ -(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[665],{1003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>v});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return s("Product",{key:t.uuid,attrs:{product:t}})})):s("div",{staticClass:"loading"},[s("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};o._withStripped=!0;var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"product"},[s("header",[s("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),s("section",{staticClass:"content"},[s("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():s("aside",[t._l(t.product.variations,(function(e){return s("div",{key:e.id,staticClass:"variation"},[s("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(e.description)}}),t._v(" "),s("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(s){return s.stopPropagation(),t.checkaddtocart(s,e.id)}}},[t._v("\n "+t._s(t.$t(t.variation_btn_txt[e.id]))+"\n ")])])})),t._v(" "),4==t.product.id?s("div",[s("a",{staticClass:"btn",attrs:{href:"mailto:info@materio.com?subject=Multi-Joueurs"}},[t._v("\n "+t._s(t.$t("default.Ask for a quote."))+"\n ")])]):t._e()],2)])};r._withStripped=!0;var i=s(4408),n=s(1423);const a={name:"Product",router:i.Z,props:["product"],mixins:[n.Z],data:()=>({quantity:1,variation_btn_txt:{3:"Yeees!",4:"Yay!",5:"Great!",6:"OKAY!"}}),created(){this.product}};var c=s(1900),d=(0,c.Z)(a,r,[],!1,null,"0f9e2147",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Product.vue";const u=d.exports;var p=s(629);const l={name:"Pricing",computed:{...(0,p.rn)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,p.nv)({getProducts:"Pages/getProducts"})},components:{Product:u}};var _=(0,c.Z)(l,o,[],!1,null,"bdd44e2e",null);_.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue";const v=_.exports}}]); \ No newline at end of file +(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[665],{1003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>v});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return s("Product",{key:t.uuid,attrs:{product:t}})})):s("div",{staticClass:"loading"},[s("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};o._withStripped=!0;var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"product"},[s("header",[s("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),s("section",{staticClass:"content"},[s("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():s("aside",[t._l(t.product.variations,(function(e){return s("div",{key:e.id,staticClass:"variation"},[s("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(e.description)}}),t._v(" "),s("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(s){return s.stopPropagation(),t.checkaddtocart(s,e.id)}}},[t._v("\n "+t._s(t.$t(t.variation_btn_txt[e.id]))+"\n ")])])})),t._v(" "),4==t.product.id?s("div",[s("a",{staticClass:"btn",attrs:{href:"mailto:info@materio.com?subject=Multi-Joueurs"}},[t._v("\n "+t._s(t.$t("default.Ask for a quote"))+"\n ")])]):t._e()],2)])};r._withStripped=!0;var i=s(4408),n=s(1423);const a={name:"Product",router:i.Z,props:["product"],mixins:[n.Z],data:()=>({quantity:1,variation_btn_txt:{3:"Yeees!",4:"Yay!",5:"Great!",6:"OKAY!"}}),created(){this.product}};var c=s(1900),d=(0,c.Z)(a,r,[],!1,null,"0f9e2147",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Product.vue";const u=d.exports;var p=s(629);const l={name:"Pricing",computed:{...(0,p.rn)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,p.nv)({getProducts:"Pages/getProducts"})},components:{Product:u}};var _=(0,c.Z)(l,o,[],!1,null,"bdd44e2e",null);_.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue";const v=_.exports}}]); \ No newline at end of file diff --git a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz index 15b919af071c949363e6363b4f21bd9a612b013b..6465784b05ec08f4a109452abbdc63a015c83bac 100644 GIT binary patch delta 365 zcmV-z0h0db2j>T{gaUu$ISbL6t8QSVGSvI%1>zT)-?F?h$E@$tIos%aZ7^i`?VKqYWHVx;@?#+lcH)B=vu6bm<(VMw0l=RS zHo>KQz{P7peyC>$F3$z|<>#ySC!{u7J5UskntI6WOHx%0kFBU~%?4WM@nqc*{sIL+w z=Nu{I+!-3}r@UnsA$}A1jl6@Ny2rWy1y%O%ncc35-a+Uf`UuZ#AgrwNhfHRRnT|Fg ztUA%~C`6iMJ#|rb4@A*bAnA3_n0=)CLaE6FPGPTm@}G5Y(RI=ttGT{gaUt@Jf|UAchwz?oTl#cJ*;CNO(vsnDKoelPfpM16g$C(fsD(x zVEqtswm~9qC6AiJplL< z!X~(s54d!n=)TRct638q zZVUK;PwXbQ2K(0!uiKe1yxI3_0i=_!h!uzX+`8Z!fH?v@KfTzin;q0`-xI997WGx4 z&0vHX9xfQpqH|M diff --git a/web/themes/custom/materiotheme/assets/dist/report.html b/web/themes/custom/materiotheme/assets/dist/report.html index 72883489..1687724c 100644 --- a/web/themes/custom/materiotheme/assets/dist/report.html +++ b/web/themes/custom/materiotheme/assets/dist/report.html @@ -3,7 +3,7 @@ - materio.com [11 Jun 2021 at 09:40] + materio.com [11 Jun 2021 at 09:47] diff --git a/web/themes/custom/materiotheme/templates/content/commerce-product--4--home-summary.html.twig b/web/themes/custom/materiotheme/templates/content/commerce-product--4--home-summary.html.twig index 07f230ae..c392c0a2 100644 --- a/web/themes/custom/materiotheme/templates/content/commerce-product--4--home-summary.html.twig +++ b/web/themes/custom/materiotheme/templates/content/commerce-product--4--home-summary.html.twig @@ -28,6 +28,6 @@ {{- product|without('variation_attributes') -}} - {% trans %}Ask for a quote.{% endtrans %} + {% trans %}Ask for a quote{% endtrans %} diff --git a/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue b/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue index 38db3c4e..f85891fd 100644 --- a/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue +++ b/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue @@ -23,7 +23,7 @@