@zonos/elements 1.3.22 → 1.3.23

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.
Files changed (204) hide show
  1. package/dist/cjs/{ILanguage-d247b45b.js → ILanguage-98b04442.js} +2 -2
  2. package/dist/cjs/{cart-f963b239.js → cart-c734e909.js} +219 -220
  3. package/dist/cjs/{getBorderRadius-332422ab.js → getBorderRadius-ea0984bb.js} +1 -1
  4. package/dist/cjs/index.cjs.js +3 -3
  5. package/dist/cjs/{isDarkColor-3ddf6511.js → isDarkColor-b14d5752.js} +1 -1
  6. package/dist/cjs/{submitGtag-8d562ad4.js → submitGtag-336b437c.js} +2 -2
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  8. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  11. package/dist/cjs/zonos-card_2.cjs.entry.js +5 -5
  12. package/dist/cjs/zonos-cart-items_11.cjs.entry.js +6 -6
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
  14. package/dist/cjs/zonos-controller.cjs.entry.js +8 -6
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-country-select_3.cjs.entry.js +7 -7
  17. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +13 -11
  18. package/dist/cjs/zonos-hello.cjs.entry.js +7 -5
  19. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
  23. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  26. package/dist/cjs/{zonosStore-768d6ca0.js → zonosStore-3958bbeb.js} +0 -2
  27. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +3 -1
  28. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -3
  29. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +9 -7
  30. package/dist/collection/components/store/hello/localization.js +1 -1
  31. package/dist/collection/components/store/translationStore/strings.arabic.js +10 -10
  32. package/dist/collection/components/store/translationStore/strings.base.js +10 -10
  33. package/dist/collection/components/store/translationStore/strings.chinese.js +10 -10
  34. package/dist/collection/components/store/translationStore/strings.danish.js +10 -10
  35. package/dist/collection/components/store/translationStore/strings.dutch.js +10 -10
  36. package/dist/collection/components/store/translationStore/strings.french.js +10 -10
  37. package/dist/collection/components/store/translationStore/strings.german.js +10 -10
  38. package/dist/collection/components/store/translationStore/strings.hebrew.js +10 -10
  39. package/dist/collection/components/store/translationStore/strings.indonesian.js +10 -10
  40. package/dist/collection/components/store/translationStore/strings.italian.js +10 -10
  41. package/dist/collection/components/store/translationStore/strings.japanese.js +10 -10
  42. package/dist/collection/components/store/translationStore/strings.korean.js +10 -10
  43. package/dist/collection/components/store/translationStore/strings.norwegian.js +10 -10
  44. package/dist/collection/components/store/translationStore/strings.polish.js +10 -10
  45. package/dist/collection/components/store/translationStore/strings.portuguese.js +10 -10
  46. package/dist/collection/components/store/translationStore/strings.russian.js +10 -10
  47. package/dist/collection/components/store/translationStore/strings.spanish.js +10 -10
  48. package/dist/collection/components/store/translationStore/strings.swedish.js +10 -10
  49. package/dist/collection/components/store/translationStore/strings.turkish.js +10 -10
  50. package/dist/collection/components/store/translationStore/strings.vietnamese.js +10 -10
  51. package/dist/collection/components/store/translationStore.js +2 -2
  52. package/dist/collection/components/store/zonosStore.js +0 -2
  53. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +1 -15
  54. package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +14 -2
  55. package/dist/collection/components/utils/hello/initHello.js +4 -2
  56. package/dist/collection/types/ILanguage.js +2 -2
  57. package/dist/esm/{ILanguage-97790bee.js → ILanguage-cd6acb72.js} +2 -2
  58. package/dist/esm/{cart-efecbea6.js → cart-67471b37.js} +219 -220
  59. package/dist/esm/{getBorderRadius-a2e46e26.js → getBorderRadius-5e5a5800.js} +1 -1
  60. package/dist/esm/index.js +3 -3
  61. package/dist/esm/{isDarkColor-69ed8e39.js → isDarkColor-5185b62c.js} +1 -1
  62. package/dist/esm/{submitGtag-a7b8a86e.js → submitGtag-1f42c748.js} +2 -2
  63. package/dist/esm/zonos-address_8.entry.js +4 -4
  64. package/dist/esm/zonos-badge_2.entry.js +1 -1
  65. package/dist/esm/zonos-banner.entry.js +1 -1
  66. package/dist/esm/zonos-button_3.entry.js +3 -3
  67. package/dist/esm/zonos-card_2.entry.js +5 -5
  68. package/dist/esm/zonos-cart-items_11.entry.js +6 -6
  69. package/dist/esm/zonos-checkout.entry.js +5 -5
  70. package/dist/esm/zonos-controller.entry.js +8 -6
  71. package/dist/esm/zonos-country-flag.entry.js +4 -4
  72. package/dist/esm/zonos-country-select_3.entry.js +7 -7
  73. package/dist/esm/zonos-hello-dialog.entry.js +13 -11
  74. package/dist/esm/zonos-hello.entry.js +7 -5
  75. package/dist/esm/zonos-input.entry.js +2 -2
  76. package/dist/esm/zonos-logo.entry.js +1 -1
  77. package/dist/esm/zonos-notification.entry.js +1 -1
  78. package/dist/esm/zonos-payment.entry.js +4 -4
  79. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  80. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  81. package/dist/esm/zonos-text.entry.js +1 -1
  82. package/dist/esm/{zonosStore-93da32b4.js → zonosStore-8b9ea19c.js} +0 -2
  83. package/dist/esm-es5/ILanguage-cd6acb72.js +1 -0
  84. package/dist/esm-es5/cart-67471b37.js +1 -0
  85. package/dist/esm-es5/{getBorderRadius-a2e46e26.js → getBorderRadius-5e5a5800.js} +1 -1
  86. package/dist/esm-es5/index.js +1 -1
  87. package/dist/esm-es5/{isDarkColor-69ed8e39.js → isDarkColor-5185b62c.js} +1 -1
  88. package/dist/esm-es5/{submitGtag-a7b8a86e.js → submitGtag-1f42c748.js} +1 -1
  89. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  90. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  91. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  92. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  93. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  94. package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -1
  95. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  96. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  97. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  98. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  99. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  100. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  101. package/dist/esm-es5/zonos-input.entry.js +1 -1
  102. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  103. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  104. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  105. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  106. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  107. package/dist/esm-es5/zonos-text.entry.js +1 -1
  108. package/dist/esm-es5/{zonosStore-93da32b4.js → zonosStore-8b9ea19c.js} +1 -1
  109. package/dist/scripts/index.d.ts +21 -9
  110. package/dist/scripts/index.js +1 -1
  111. package/dist/scripts/loadZonos.js +1 -1
  112. package/dist/scripts/zonos.js +1 -1
  113. package/dist/types/components/store/translationStore/strings.arabic.d.ts +8 -8
  114. package/dist/types/components/store/translationStore/strings.base.d.ts +8 -8
  115. package/dist/types/components/store/translationStore/strings.chinese.d.ts +8 -8
  116. package/dist/types/components/store/translationStore/strings.danish.d.ts +8 -8
  117. package/dist/types/components/store/translationStore/strings.dutch.d.ts +8 -8
  118. package/dist/types/components/store/translationStore/strings.french.d.ts +8 -8
  119. package/dist/types/components/store/translationStore/strings.german.d.ts +8 -8
  120. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +8 -8
  121. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +8 -8
  122. package/dist/types/components/store/translationStore/strings.italian.d.ts +8 -8
  123. package/dist/types/components/store/translationStore/strings.japanese.d.ts +8 -8
  124. package/dist/types/components/store/translationStore/strings.korean.d.ts +8 -8
  125. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +8 -8
  126. package/dist/types/components/store/translationStore/strings.polish.d.ts +8 -8
  127. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +8 -8
  128. package/dist/types/components/store/translationStore/strings.russian.d.ts +8 -8
  129. package/dist/types/components/store/translationStore/strings.spanish.d.ts +8 -8
  130. package/dist/types/components/store/translationStore/strings.swedish.d.ts +8 -8
  131. package/dist/types/components/store/translationStore/strings.turkish.d.ts +8 -8
  132. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +8 -8
  133. package/dist/types/components/store/translationStore.d.ts +7 -7
  134. package/dist/types/components/utils/hello/currencyConversion/getCurrencyElements.d.ts +1 -1
  135. package/dist/types/scripts/_zonosBase.d.ts +21 -2
  136. package/dist/types/types/ILanguage.d.ts +2 -2
  137. package/dist/types/types/hello/HelloConfig.d.ts +1 -3
  138. package/dist/zonos-elements/index.esm.js +1 -1
  139. package/dist/zonos-elements/{p-c77c056d.system.entry.js → p-02a01106.system.entry.js} +1 -1
  140. package/dist/zonos-elements/p-065ada8a.system.js +1 -0
  141. package/dist/zonos-elements/{p-18432252.js → p-083850d3.js} +1 -1
  142. package/dist/zonos-elements/{p-283aa6f9.system.entry.js → p-088d6460.system.entry.js} +1 -1
  143. package/dist/zonos-elements/p-08d1cfc4.entry.js +1 -0
  144. package/dist/zonos-elements/{p-8df58197.system.entry.js → p-0d30f36e.system.entry.js} +1 -1
  145. package/dist/zonos-elements/{p-13940c52.entry.js → p-0ea19a4d.entry.js} +1 -1
  146. package/dist/zonos-elements/{p-7d2fc0fd.entry.js → p-1752853e.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-5b7438ef.entry.js → p-18464027.entry.js} +1 -1
  148. package/dist/zonos-elements/{p-33f83b9a.system.entry.js → p-1e2fbb1d.system.entry.js} +1 -1
  149. package/dist/zonos-elements/{p-36f8a3df.system.js → p-234f8729.system.js} +1 -1
  150. package/dist/zonos-elements/p-33b054d9.system.js +1 -0
  151. package/dist/zonos-elements/p-440ac320.js +1 -0
  152. package/dist/zonos-elements/{p-bbe5d0f0.entry.js → p-44250644.entry.js} +1 -1
  153. package/dist/zonos-elements/{p-8a65433a.entry.js → p-4a3b5fc8.entry.js} +1 -1
  154. package/dist/zonos-elements/{p-d6f829c2.entry.js → p-52900b33.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-20ab8daf.system.entry.js → p-5437dd24.system.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-1e07c616.system.entry.js → p-5992c6fb.system.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-c53f7199.entry.js → p-607b5560.entry.js} +1 -1
  158. package/dist/zonos-elements/{p-ecaed308.system.entry.js → p-65671a64.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-140bb400.system.entry.js → p-6f132cee.system.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-6e717c40.system.entry.js → p-713bb92e.system.entry.js} +1 -1
  161. package/dist/zonos-elements/p-7d61e6e5.entry.js +1 -0
  162. package/dist/zonos-elements/{p-a20f6ba3.entry.js → p-7fa5a6ea.entry.js} +1 -1
  163. package/dist/zonos-elements/p-8473827d.system.entry.js +1 -0
  164. package/dist/zonos-elements/{p-884b41a8.system.js → p-8853e051.system.js} +1 -1
  165. package/dist/zonos-elements/p-8ed0769e.entry.js +1 -0
  166. package/dist/zonos-elements/{p-2641f474.system.entry.js → p-92c64a9c.system.entry.js} +1 -1
  167. package/dist/zonos-elements/p-97aceb11.js +1 -0
  168. package/dist/zonos-elements/{p-2d3940dc.entry.js → p-9c0859b5.entry.js} +1 -1
  169. package/dist/zonos-elements/p-9c3a036e.system.js +1 -0
  170. package/dist/zonos-elements/{p-c0f0edbe.entry.js → p-9c8705ac.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-e5f7ff0f.entry.js → p-a18555c8.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-795a3ed5.js → p-a5e9d372.js} +1 -1
  173. package/dist/zonos-elements/{p-e625f68d.system.entry.js → p-af3ee45d.system.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-edfb5021.entry.js → p-b1ee97d8.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-3bee1a04.system.entry.js → p-b79753bb.system.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-85a49fb8.system.entry.js → p-b9195764.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-a52afd83.system.js → p-be14323b.system.js} +1 -1
  178. package/dist/zonos-elements/{p-95ffff25.js → p-bf9dca26.js} +1 -1
  179. package/dist/zonos-elements/{p-5ca32f4f.entry.js → p-bfc30599.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-d8255adf.entry.js → p-c0ddef11.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-68e3ef26.system.entry.js → p-c1879326.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-df267420.js → p-c53cef11.js} +1 -1
  183. package/dist/zonos-elements/p-c9e433c0.system.js +1 -0
  184. package/dist/zonos-elements/{p-298b5d95.entry.js → p-cbf13745.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-5edc4f18.system.entry.js → p-d6796b73.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-c2328652.system.entry.js → p-d7e6cad0.system.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-57d70603.entry.js → p-db9e87ec.entry.js} +1 -1
  188. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  189. package/dist/zonos-elements/{p-678daa20.system.entry.js → p-f7468131.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-9a299a98.system.entry.js → p-fedafdd2.system.entry.js} +1 -1
  191. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  192. package/package.json +1 -1
  193. package/dist/esm-es5/ILanguage-97790bee.js +0 -1
  194. package/dist/esm-es5/cart-efecbea6.js +0 -1
  195. package/dist/zonos-elements/p-102c670d.entry.js +0 -1
  196. package/dist/zonos-elements/p-16ad90ca.js +0 -1
  197. package/dist/zonos-elements/p-348adf28.js +0 -1
  198. package/dist/zonos-elements/p-49061c5d.entry.js +0 -1
  199. package/dist/zonos-elements/p-968df90a.entry.js +0 -1
  200. package/dist/zonos-elements/p-abe7524f.system.js +0 -1
  201. package/dist/zonos-elements/p-c7360a6c.system.js +0 -1
  202. package/dist/zonos-elements/p-d0a2b1ba.system.entry.js +0 -1
  203. package/dist/zonos-elements/p-d0c53fba.system.js +0 -1
  204. package/dist/zonos-elements/p-dafc6260.system.js +0 -1
@@ -1,10 +1,4 @@
1
1
  export const stringsKorean = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${threshold} 이상의 모든 주문에 대해 ${percentage}의 부가가치세와 함께 수입 통관 수수료 및 MPI 부담금이 부과됩니다.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${threshold} 이상의 모든 주문에 대해 ${percentage}의 부가가치세가 부과됩니다.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: '최소 임계값을 초과하여',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsKorean = {
131
125
  'Order total': {
132
126
  value: '주문 총액',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: '${countryName}으로의 주문은 ${threshold}을(를) 초과해야 합니다.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: '[countryName]으로의 주문은 [threshold]을(를) 초과해야 합니다.',
136
130
  },
137
131
  Pay: {
138
132
  value: '지불',
@@ -239,8 +233,8 @@ export const stringsKorean = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: '주문 세부 정보에 대한 이메일 확인을 보냈습니다. 그리고 저희 팀은 주문을 정성스레 준비하여 제때 도착하도록 하고 있습니다.',
241
235
  },
242
- 'Welcome to': {
243
- value: '환영합니다',
236
+ 'Welcome to [storeName]!': {
237
+ value: '[storeName]에 오신 것을 환영합니다!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: '환영합니다!',
@@ -257,6 +251,12 @@ export const stringsKorean = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: '결제가 성공적으로 완료되었습니다! 저희와 함께 쇼핑해 주셔서 감사합니다! 즐거운 경험을 하셨기를 바라며, 귀하의 지원은 저희에게 매우 소중합니다.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[threshold] 이상의 모든 주문에 대해 [percentage]의 부가가치세와 함께 수입 통관 수수료 및 MPI 부담금이 부과됩니다.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[threshold] 이상의 모든 주문에 대해 [percentage]의 부가가치세가 부과됩니다.',
259
+ },
260
260
  'business days': {
261
261
  value: '영업일',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsNorwegian = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} GST skyldig for enhver ordre over ${threshold}, sammen med et importinngangstransaksjonsgebyr og MPI-avgift.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${percentage} GST skyldig for enhver ordre over ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Over minstegrensen for',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsNorwegian = {
131
125
  'Order total': {
132
126
  value: 'Totalt beløp',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Bestillinger til ${countryName} må være over ${threshold} for å sendes.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Bestillinger til [countryName] må være over [threshold] for å sendes.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Betal',
@@ -239,8 +233,8 @@ export const stringsNorwegian = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Vi har sendt en e-postbekreftelse på ordredetaljene for gjennomgangen din. Og teamet vårt forbereder bestillingen nøye slik at den ankommer i tide.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Velkommen til',
236
+ 'Welcome to [storeName]!': {
237
+ value: 'Velkommen til [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Velkommen!',
@@ -257,6 +251,12 @@ export const stringsNorwegian = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Betalingen din gikk igjennom! Takk for at du handler hos oss! Vi håper du hadde en hyggelig opplevelse og din støtte betyr utrolig mye for oss.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] GST skyldig for enhver ordre over [threshold], sammen med et importinngangstransaksjonsgebyr og MPI-avgift.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[percentage] GST skyldig for enhver ordre over [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'virkedager',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsPolish = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} VAT należny od każdego zamówienia powyżej ${threshold}, wraz z opłatą za transakcję wprowadzania importu i opłatą MPI.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${percentage} VAT należny od każdego zamówienia powyżej ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Powyżej progu minimis dla',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsPolish = {
131
125
  'Order total': {
132
126
  value: 'Łączna kwota zamówienia',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Zamówienia do ${countryName} muszą przekraczać ${threshold}, aby zostały wysłane.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Zamówienia do [countryName] muszą przekraczać [threshold], aby zostały wysłane.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Zapłać',
@@ -239,8 +233,8 @@ export const stringsPolish = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Wysłaliśmy e-mail z potwierdzeniem szczegółów zamówienia do Twojej wiadomości. Nasz zespół starannie przygotowuje Twoje zamówienie, aby dotarło na czas.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Witaj w',
236
+ 'Welcome to [storeName]!': {
237
+ value: 'Witamy w [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Witaj!',
@@ -257,6 +251,12 @@ export const stringsPolish = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Twoja płatność została pomyślnie zrealizowana! Dziękujemy za zakupy u nas! Mamy nadzieję, że miałeś przyjemne doświadczenie, a Twoje wsparcie wiele dla nas znaczy.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] VAT należny od każdego zamówienia powyżej [threshold], wraz z opłatą za transakcję wprowadzania importu i opłatą MPI.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[percentage] VAT należny od każdego zamówienia powyżej [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'dni robocze',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsPortuguese = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} de GST devido em qualquer pedido acima de ${threshold}, juntamente com uma taxa de transação de entrada de importação e cobrança de MPI.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${percentage} de GST devido em qualquer pedido acima de ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Acima do limite de isenção para',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsPortuguese = {
131
125
  'Order total': {
132
126
  value: 'Total do pedido',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Pedidos para ${countryName} devem ser acima de ${threshold} para serem enviados.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Pedidos para [countryName] devem ser acima de [threshold] para serem enviados.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Pagar',
@@ -239,8 +233,8 @@ export const stringsPortuguese = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Enviamos um e-mail de confirmação com os detalhes do pedido para sua revisão. E nossa equipe está preparando cuidadosamente seu pedido para que ele chegue no prazo.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Bem-vindo a',
236
+ 'Welcome to [storeName]!': {
237
+ value: 'Bem-vindo ao [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Bem-vindo!',
@@ -257,6 +251,12 @@ export const stringsPortuguese = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Seu pagamento foi processado com sucesso! Obrigado por comprar conosco! Esperamos que tenha tido uma experiência agradável e seu apoio significa muito para nós.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] de GST devido em qualquer pedido acima de [threshold], juntamente com uma taxa de transação de entrada de importação e cobrança de MPI.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[percentage] de GST devido em qualquer pedido acima de [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'dias úteis',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsRussian = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} НДС за любой заказ свыше ${threshold}, включая комиссию за ввозную транзакцию и сбор MPI.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${percentage} НДС за любой заказ свыше ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Выше минимального порога для',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsRussian = {
131
125
  'Order total': {
132
126
  value: 'Итого',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Заказы в ${countryName} должны превышать ${threshold} для отправки.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Заказы в [countryName] должны превышать [threshold] для отправки.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Оплатить',
@@ -239,8 +233,8 @@ export const stringsRussian = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Мы отправили вам письмо с подтверждением заказа для проверки. Наша команда тщательно готовит ваш заказ к отправке в срок.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Добро пожаловать в',
236
+ 'Welcome to [storeName]!': {
237
+ value: 'Добро пожаловать в [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Добро пожаловать!',
@@ -257,6 +251,12 @@ export const stringsRussian = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Оплата прошла успешно! Благодарим вас за покупку! Надеемся, вам понравилось, и ваша поддержка очень важна для нас.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] НДС за любой заказ свыше [threshold], включая комиссию за ввозную транзакцию и сбор MPI.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[percentage] НДС за любой заказ свыше [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'рабочих дней',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsSpanish = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} del IVA debido en cualquier pedido superior a ${threshold}, junto con una tarifa de transacción de entrada de importación y un gravamen MPI.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: 'El ${percentage} del IVA se debe en cualquier pedido superior a ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Por encima del umbral mínimo para',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsSpanish = {
131
125
  'Order total': {
132
126
  value: 'Total del pedido',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Los pedidos a ${countryName} deben superar los ${threshold} para ser enviados.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Los pedidos a [countryName] deben superar los [threshold] para ser enviados.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Pagar',
@@ -239,8 +233,8 @@ export const stringsSpanish = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Le hemos enviado un correo electrónico de confirmación con los detalles del pedido para su revisión. Y nuestro equipo está preparando cuidadosamente su pedido para que llegue a tiempo.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Bienvenido a',
236
+ 'Welcome to [storeName]!': {
237
+ value: '¡Bienvenido a [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: '¡Bienvenido!',
@@ -257,6 +251,12 @@ export const stringsSpanish = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: '¡Su pago se realizó exitosamente! Gracias por comprar con nosotros. Esperamos que haya tenido una experiencia agradable y su apoyo significa mucho para nosotros.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] del IVA debido en cualquier pedido superior a [threshold], junto con una tarifa de transacción de entrada de importación y un gravamen MPI.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: 'El [percentage] del IVA se debe en cualquier pedido superior a [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'días hábiles',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsSwedish = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} moms på varje beställning över ${threshold}, inklusive en importtransaktionsavgift och MPI-avgift.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${percentage} moms på varje beställning över ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Över minimibeloppet för',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsSwedish = {
131
125
  'Order total': {
132
126
  value: 'Totalt belopp för beställningen',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Beställningar till ${countryName} måste överstiga ${threshold} för att skickas.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Beställningar till [countryName] måste överstiga [threshold] för att skickas.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Betala',
@@ -239,8 +233,8 @@ export const stringsSwedish = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Vi har skickat en e-postbekräftelse av beställningsuppgifterna för din granskning. Och vårt team förbereder noggrant din order så att den kommer i tid.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Välkommen till',
236
+ 'Welcome to [storeName]!': {
237
+ value: 'Välkommen till [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Välkommen!',
@@ -257,6 +251,12 @@ export const stringsSwedish = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Din betalning gick igenom framgångsrikt! Tack för att du handlar med oss! Vi hoppas att du har haft en trevlig upplevelse och ditt stöd betyder mycket för oss.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] moms på varje beställning över [threshold], inklusive en importtransaktionsavgift och MPI-avgift.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[percentage] moms på varje beställning över [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'arbetsdagar',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsTurkish = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${threshold} üzerindeki her sipariş için ${percentage} KDV, ithalat giriş işlem ücreti ve MPI vergisi ile birlikte ödenir.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${threshold} üzerindeki her sipariş için ${percentage} KDV ödenir.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Minimum sınırın üzerinde',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsTurkish = {
131
125
  'Order total': {
132
126
  value: 'Sipariş toplamı',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: '${countryName} ülkesine yapılacak siparişlerin ${threshold} üzerinde olması gerekir.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: '[countryName] ülkesine yapılacak siparişlerin [threshold] üzerinde olması gerekir.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Öde',
@@ -239,8 +233,8 @@ export const stringsTurkish = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Sipariş detaylarınızın onay e-postasını gönderdik. Ekibimiz siparişinizi özenle hazırlıyor, zamanında ulaşması için elimizden geleni yapıyoruz.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Hoş geldiniz',
236
+ 'Welcome to [storeName]!': {
237
+ value: "[storeName]'e hoş geldiniz!",
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Hoş geldiniz!',
@@ -257,6 +251,12 @@ export const stringsTurkish = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Ödemeniz başarıyla tamamlandı! Bizimle alışveriş yaptığınız için teşekkür ederiz! Keyifli bir deneyim yaşadığınızı umuyoruz ve desteğiniz bizim için çok değerli.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[threshold] üzerindeki her sipariş için [percentage] KDV, ithalat giriş işlem ücreti ve MPI vergisi ile birlikte ödenir.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[threshold] üzerindeki her sipariş için [percentage] KDV ödenir.',
259
+ },
260
260
  'business days': {
261
261
  value: 'iş günü',
262
262
  },
@@ -1,10 +1,4 @@
1
1
  export const stringsVietnamese = {
2
- '${percentage} GST due on any order above ${threshold} along with an import entry transaction fee and MPI levy.': {
3
- value: '${percentage} GST phải trả cho bất kỳ đơn hàng nào trên ${threshold}, cùng với phí giao dịch nhập khẩu và thuế MPI.',
4
- },
5
- '${percentage} GST due on any order above ${threshold}.': {
6
- value: '${percentage} GST phải trả cho bất kỳ đơn hàng nào trên ${threshold}.',
7
- },
8
2
  'Above de minimis threshold for': {
9
3
  value: 'Vượt ngưỡng miễn thuế đối với',
10
4
  },
@@ -131,8 +125,8 @@ export const stringsVietnamese = {
131
125
  'Order total': {
132
126
  value: 'Tổng đơn hàng',
133
127
  },
134
- 'Orders to ${countryName} must be over ${threshold} to ship.': {
135
- value: 'Đơn hàng đến ${countryName} phải trên ${threshold} mới được gửi.',
128
+ 'Orders to [countryName] must be over [threshold] to ship.': {
129
+ value: 'Đơn hàng đến [countryName] phải trên [threshold] mới được gửi.',
136
130
  },
137
131
  Pay: {
138
132
  value: 'Thanh toán',
@@ -239,8 +233,8 @@ export const stringsVietnamese = {
239
233
  "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
240
234
  value: 'Chúng tôi đã gửi email xác nhận chi tiết đơn hàng để bạn xem lại. Và đội ngũ của chúng tôi đang cẩn thận chuẩn bị đơn hàng của bạn để đảm bảo giao đúng hạn.',
241
235
  },
242
- 'Welcome to': {
243
- value: 'Chào mừng đến với',
236
+ 'Welcome to [storeName]!': {
237
+ value: 'Chào mừng đến với [storeName]!',
244
238
  },
245
239
  'Welcome!': {
246
240
  value: 'Chào mừng!',
@@ -257,6 +251,12 @@ export const stringsVietnamese = {
257
251
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
258
252
  value: 'Thanh toán của bạn thành công! Cảm ơn bạn đã mua sắm với chúng tôi! Chúng tôi hy vọng bạn có trải nghiệm thú vị và sự ủng hộ của bạn thật sự ý nghĩa với chúng tôi.',
259
253
  },
254
+ '[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.': {
255
+ value: '[percentage] GST phải trả cho bất kỳ đơn hàng nào trên [threshold], cùng với phí giao dịch nhập khẩu và thuế MPI.',
256
+ },
257
+ '[percentage] GST due on any order above [threshold].': {
258
+ value: '[percentage] GST phải trả cho bất kỳ đơn hàng nào trên [threshold].',
259
+ },
260
260
  'business days': {
261
261
  value: 'ngày làm việc',
262
262
  },
@@ -90,7 +90,7 @@ const translationStoreUpdateLanguage = (language) => {
90
90
  * Translate a string with variables if variable pattern is present in the string
91
91
  * @example
92
92
  * // Require variables:
93
- * translate('${percentage} GST due on any order above ${threshold}.', { percentage: '5%', threshold: '$100' })
93
+ * translate('[percentage] GST due on any order above [threshold].', { percentage: '5%', threshold: '$100' })
94
94
  * // No variables:
95
95
  * translate('Above de minimis threshold for')
96
96
  */
@@ -100,7 +100,7 @@ const translate = (...[key, replacement]) => {
100
100
  // replace all variables in the string
101
101
  let translatedString = ((_a = translationStore.translatedChunks[key]) === null || _a === void 0 ? void 0 : _a.value) || key;
102
102
  Object.entries(replacement).forEach(([replacementKey, replaceValue]) => {
103
- translatedString = translatedString.replace(new RegExp(`\\$\\{${replacementKey}\\}`, 'g'), replaceValue);
103
+ translatedString = translatedString.replace(new RegExp(`\\[${replacementKey}\\]`, 'g'), replaceValue);
104
104
  });
105
105
  return translatedString;
106
106
  }
@@ -52,7 +52,6 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
52
52
  countryOverrideBehavior: 'URL_PARAM',
53
53
  currencyBehavior: 'ENABLED',
54
54
  currencyElementSelector: '.money',
55
- dutyTaxEstimationBehavior: 'ENABLED',
56
55
  excludedUrlPatterns: [],
57
56
  homepageUrlPattern: '',
58
57
  mobileLocation: 'BOTTOM_RIGHT',
@@ -64,7 +63,6 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
64
63
  productDescriptionElementSelector: '',
65
64
  productDetailUrlPattern: '',
66
65
  productListUrlPattern: '',
67
- productPriceElementSelector: '',
68
66
  productTitleElementSelector: '',
69
67
  restrictionBehavior: 'DISABLED',
70
68
  },
@@ -1,22 +1,8 @@
1
1
  import { zonosStore } from "../../../store/zonosStore";
2
- import { currencyConvert } from "./currencyConvert";
3
- import { currencyConvertAndFormat } from "./currencyConvertAndFormat";
4
- import { currencyFormat } from "./currencyFormat";
5
2
  import { defaultCurrencyConverter } from "./defaultCurrencyConverter";
6
3
  export const currencyDisplay = () => {
7
4
  if (zonosStore.helloSettings.currencyBehavior === 'DISABLED') {
8
5
  return;
9
6
  }
10
- const { currencyElementSelector } = zonosStore.helloSettings;
11
- if (zonosStore.currencyConverter) {
12
- zonosStore.currencyConverter({
13
- convert: currencyConvert,
14
- convertAndFormat: currencyConvertAndFormat,
15
- format: (value) => currencyFormat({ amount: value }),
16
- selector: currencyElementSelector,
17
- });
18
- }
19
- else {
20
- defaultCurrencyConverter();
21
- }
7
+ defaultCurrencyConverter();
22
8
  };
@@ -1,6 +1,8 @@
1
1
  import { localizationStore } from "../../../store/hello/localization";
2
2
  import { zonosStore } from "../../../store/zonosStore";
3
+ import { currencyConvert } from "./currencyConvert";
3
4
  import { currencyConvertAndFormat } from "./currencyConvertAndFormat";
5
+ import { currencyFormat } from "./currencyFormat";
4
6
  import { getCurrencyElements } from "./getCurrencyElements";
5
7
  import { getInitialElementAmount } from "./getInitialElementAmount";
6
8
  import { logError } from "../../logging/logError";
@@ -27,7 +29,17 @@ const convertCurrency = (element) => {
27
29
  rate !== currentIntlRateValue ||
28
30
  // Update currency when the country code changes
29
31
  currentCountryValue !== localizationStore.selectedCountryCode)) {
30
- const observedFormattedValue = currencyConvertAndFormat(amount);
32
+ const customizedCurrencyFormat = typeof zonosStore.currencyConverter === 'function' &&
33
+ zonosStore.currencyConverter({
34
+ convert: currencyConvert,
35
+ convertAndFormat: currencyConvertAndFormat,
36
+ currencyCode: localizationStore.targetCurrency,
37
+ format: (value) => currencyFormat({ amount: value }),
38
+ originalAmount: amount,
39
+ selector: element,
40
+ });
41
+ // default to the currencyConvertAndFormat if the currencyConverter function does not return a value, or invalid value. This is to make sure we don't break the merchant's price.
42
+ const observedFormattedValue = customizedCurrencyFormat || currencyConvertAndFormat(amount);
31
43
  element.textContent = observedFormattedValue;
32
44
  // save the new rate to the data-zrate attribute
33
45
  element.setAttribute('data-zrate', rate.toString());
@@ -47,7 +59,7 @@ export const defaultCurrencyConverter = () => {
47
59
  logError('Could not display currency. Exchange rate and format data is not available.');
48
60
  return;
49
61
  }
50
- currencyElements.forEach((element) => {
62
+ currencyElements.forEach(element => {
51
63
  // convert the currency and save the formatted value to the data-zintl attribute
52
64
  convertCurrency(element);
53
65
  });
@@ -72,9 +72,11 @@ export const initHello = async (helloSettings) => {
72
72
  childList: true,
73
73
  subtree: true,
74
74
  });
75
- // kill observer after 5 seconds if the hello still not injected, if the hello still not injected after 10 seconds, it's likely that the selector the user doesn't want to use hello
75
+ // kill observer after 1 second if the hello still not injected, if the hello still not injected after 1 second, it's likely that the selector the user doesn't want to use hello
76
76
  setTimeout(() => {
77
77
  observer.disconnect();
78
- }, 5000);
78
+ // inject hello to mobile anchor if hello is still not found
79
+ injectHelloComponent(mobileHelloAnchor);
80
+ }, 1000);
79
81
  }
80
82
  };
@@ -7,11 +7,11 @@ export const languages = [
7
7
  { code: 'it', label: 'Italian', translatedLabel: 'Italiano' },
8
8
  { code: 'pl', label: 'Polish', translatedLabel: 'Polskie' },
9
9
  { code: 'ar', label: 'Arabic', translatedLabel: 'عربى' },
10
- { code: 'de', label: 'German', translatedLabel: 'Deutsche' },
10
+ { code: 'de', label: 'German', translatedLabel: 'Deutsch' },
11
11
  { code: 'ja', label: 'Japanese', translatedLabel: '日本語' },
12
12
  { code: 'no', label: 'Norwegian', translatedLabel: 'norsk' },
13
13
  { code: 'vi', label: 'Vietnamese', translatedLabel: 'Tiếng Việt' },
14
- { code: 'tr', label: 'Turkish', translatedLabel: 'Türk' },
14
+ { code: 'tr', label: 'Turkish', translatedLabel: 'Türkçe' },
15
15
  { code: 'he', label: 'Hebrew', translatedLabel: 'עִברִית' },
16
16
  { code: 'fr', label: 'French', translatedLabel: 'Français' },
17
17
  { code: 'nl', label: 'Dutch', translatedLabel: 'Nederlands' },
@@ -7,11 +7,11 @@ const languages = [
7
7
  { code: 'it', label: 'Italian', translatedLabel: 'Italiano' },
8
8
  { code: 'pl', label: 'Polish', translatedLabel: 'Polskie' },
9
9
  { code: 'ar', label: 'Arabic', translatedLabel: 'عربى' },
10
- { code: 'de', label: 'German', translatedLabel: 'Deutsche' },
10
+ { code: 'de', label: 'German', translatedLabel: 'Deutsch' },
11
11
  { code: 'ja', label: 'Japanese', translatedLabel: '日本語' },
12
12
  { code: 'no', label: 'Norwegian', translatedLabel: 'norsk' },
13
13
  { code: 'vi', label: 'Vietnamese', translatedLabel: 'Tiếng Việt' },
14
- { code: 'tr', label: 'Turkish', translatedLabel: 'Türk' },
14
+ { code: 'tr', label: 'Turkish', translatedLabel: 'Türkçe' },
15
15
  { code: 'he', label: 'Hebrew', translatedLabel: 'עִברִית' },
16
16
  { code: 'fr', label: 'French', translatedLabel: 'Français' },
17
17
  { code: 'nl', label: 'Dutch', translatedLabel: 'Nederlands' },