@gem-sdk/components 2.1.13-staging.43 → 2.1.13-staging.45

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.
@@ -47,7 +47,7 @@ const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, i
47
47
  locale += ` | replace: '$locationOrigin', locationOrigin`;
48
48
  }
49
49
  if (isReplaceInventoryQuantity) {
50
- locale += ` | replace: '$quantity$', {{ inventory_quantity }}`;
50
+ locale += ` | replace: '$quantity$', inventory_quantity`;
51
51
  }
52
52
  if (isCapitalize) {
53
53
  locale = `${locale} | downcase`;
@@ -63,6 +63,7 @@ const horizontalThree = [
63
63
  "settings": {
64
64
  "contentType": "text",
65
65
  "displayContent": "SALE {percent_discount}",
66
+ "translate": "displayContent",
66
67
  "displayTrigger": [
67
68
  {
68
69
  "conditionType": "exact_or_above",
@@ -62,6 +62,7 @@ const horizontalTwo = [
62
62
  "settings": {
63
63
  "contentType": "text",
64
64
  "displayContent": "SALE {percent_discount}",
65
+ "translate": "displayContent",
65
66
  "displayTrigger": [
66
67
  {
67
68
  "conditionType": "exact_or_above",
@@ -200,6 +200,7 @@ const verticalThree = [
200
200
  "settings": {
201
201
  "contentType": "text",
202
202
  "displayContent": "SALE {percent_discount}",
203
+ "translate": "displayContent",
203
204
  "displayTrigger": [
204
205
  {
205
206
  "conditionType": "exact_or_above",
@@ -200,6 +200,7 @@ const verticalTwo = [
200
200
  "settings": {
201
201
  "contentType": "text",
202
202
  "displayContent": "SALE {percent_discount}",
203
+ "translate": "displayContent",
203
204
  "displayTrigger": [
204
205
  {
205
206
  "conditionType": "exact_or_above",
@@ -45,7 +45,7 @@ const getDynamicSourceLocales = ({ val, uid, settingId, isLiquid, pageContext, i
45
45
  locale += ` | replace: '$locationOrigin', locationOrigin`;
46
46
  }
47
47
  if (isReplaceInventoryQuantity) {
48
- locale += ` | replace: '$quantity$', {{ inventory_quantity }}`;
48
+ locale += ` | replace: '$quantity$', inventory_quantity`;
49
49
  }
50
50
  if (isCapitalize) {
51
51
  locale = `${locale} | downcase`;
@@ -61,6 +61,7 @@ const horizontalThree = [
61
61
  "settings": {
62
62
  "contentType": "text",
63
63
  "displayContent": "SALE {percent_discount}",
64
+ "translate": "displayContent",
64
65
  "displayTrigger": [
65
66
  {
66
67
  "conditionType": "exact_or_above",
@@ -60,6 +60,7 @@ const horizontalTwo = [
60
60
  "settings": {
61
61
  "contentType": "text",
62
62
  "displayContent": "SALE {percent_discount}",
63
+ "translate": "displayContent",
63
64
  "displayTrigger": [
64
65
  {
65
66
  "conditionType": "exact_or_above",
@@ -198,6 +198,7 @@ const verticalThree = [
198
198
  "settings": {
199
199
  "contentType": "text",
200
200
  "displayContent": "SALE {percent_discount}",
201
+ "translate": "displayContent",
201
202
  "displayTrigger": [
202
203
  {
203
204
  "conditionType": "exact_or_above",
@@ -198,6 +198,7 @@ const verticalTwo = [
198
198
  "settings": {
199
199
  "contentType": "text",
200
200
  "displayContent": "SALE {percent_discount}",
201
+ "translate": "displayContent",
201
202
  "displayTrigger": [
202
203
  {
203
204
  "conditionType": "exact_or_above",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.1.13-staging.43",
3
+ "version": "2.1.13-staging.45",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",