@designcrowd/fe-shared-lib 1.5.10-kp-1 → 1.5.10-kp-3

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 (37) hide show
  1. package/index.js +1 -0
  2. package/package.json +3 -1
  3. package/src/atoms/components/Icon/Icon.stories.js +7 -0
  4. package/src/atoms/components/Icon/Icon.vue +16 -0
  5. package/src/atoms/components/Icon/icons/websites/upgrade-to-add-page.vue +50 -0
  6. package/src/atoms/components/Icon/icons/websites/upgrade-to-contact-form.vue +82 -0
  7. package/src/atoms/components/Icon/icons/websites/upgrade-to-google-ad.vue +92 -0
  8. package/src/atoms/components/Icon/icons/websites/upgrade-to-maps.vue +40 -0
  9. package/src/atoms/components/Icon/icons/websites/upgrade-to-publish.vue +107 -0
  10. package/src/atoms/components/Icon/icons/websites/upgrade-to-remove-watermark.vue +74 -0
  11. package/src/atoms/components/Icon/icons/websites/upgrade-to-videos.vue +16 -0
  12. package/src/bundles/bundled-translations.de-DE.json +27 -3
  13. package/src/bundles/bundled-translations.es-ES.json +27 -3
  14. package/src/bundles/bundled-translations.fr-CA.json +27 -3
  15. package/src/bundles/bundled-translations.fr-FR.json +27 -3
  16. package/src/bundles/bundled-translations.json +27 -3
  17. package/src/bundles/bundled-translations.pt-BR.json +27 -3
  18. package/src/bundles/bundled-translations.pt-PT.json +27 -3
  19. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +0 -5
  20. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +21 -23
  21. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +21 -23
  22. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-CA.json +21 -23
  23. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +21 -23
  24. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +1 -3
  25. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-BR.json +21 -23
  26. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +21 -23
  27. package/src/experiences/components/PublishBrandPageModal/views/PublishWhenNoDomainsView.vue +1 -14
  28. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.stories.js +181 -0
  29. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +2 -2
  30. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.de-DE.json +28 -0
  31. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.es-ES.json +28 -0
  32. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-CA.json +28 -0
  33. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-FR.json +28 -0
  34. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.json +28 -0
  35. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-BR.json +28 -0
  36. package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-PT.json +28 -0
  37. package/src/useSharedLibTranslate.js +4 -0
@@ -1,26 +1,24 @@
1
1
  {
2
- "publishBrandPageModal": {
3
- "firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
4
- "sitePublishedLabel": "Site publicado!",
5
- "publishSuccessLabel": "A sua página {{brandPageDisplayName}} está ativa! Comece a utilizar o link:",
6
- "freePublishCardTitleLabel": "Endereço gratuito",
7
- "freePublishCardDescriptionLabel": "Escolha um endereço gratuito para publicar agora. Pode sempre editar o URL mais tarde",
8
- "slugInputPlaceholderYourNameLabel": "o-seu-nome",
9
- "slugInputPlaceholderYourBusinessNameLabel": "nome-da-sua-empresa",
10
- "freeDomainLabel": "Domínio gratuito",
11
- "purchasedDomainLabel": "Domínio comprado",
12
- "setUrlLabel": "Definir URL",
13
- "publishLabel": "Publicar",
14
- "viewMoreDomainLabel": "VER MAIS DOMÍNIOS",
15
- "viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
16
- "copyLabel": "Copiar",
17
- "copySuccessLabel": "Copiado!",
18
- "publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
19
- "hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado, talvez mais tarde",
20
- "selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
21
- "websiteFriendlyName": "Website",
22
- "digitalBusinessCardFriendlyName": "Cartão de visita digital",
23
- "alreadyHaveADomainLabel": "Já tem um domínio?",
24
- "useExistingDomainLabel": "Utilizar o meu domínio existente"
2
+ "publishBrandPageModal" : {
3
+ "firstTimePublishHeaderLabel" : "Defina o URL para {{brandPageDisplayName}}",
4
+ "sitePublishedLabel" : "Site publicado!",
5
+ "publishSuccessLabel" : "A sua página {{brandPageDisplayName}} está ativa! Comece a utilizar o link:",
6
+ "freePublishCardTitleLabel" : "Endereço gratuito",
7
+ "freePublishCardDescriptionLabel" : "Escolha um endereço gratuito para publicar agora. Pode sempre editar o URL mais tarde",
8
+ "slugInputPlaceholderYourNameLabel" : "o-seu-nome",
9
+ "slugInputPlaceholderYourBusinessNameLabel" : "nome-da-sua-empresa",
10
+ "freeDomainLabel" : "Domínio gratuito",
11
+ "purchasedDomainLabel" : "Domínio comprado",
12
+ "setUrlLabel" : "Definir URL",
13
+ "publishLabel" : "Publicar",
14
+ "viewMoreDomainLabel" : "VER MAIS DOMÍNIOS",
15
+ "viewMyWebsiteLabel" : "Ver {{brandPageDisplayName}}",
16
+ "copyLabel" : "Copiar",
17
+ "copySuccessLabel" : "Copiado!",
18
+ "publishedSuccessDescriptionLabel" : "Compre um nome de domínio que corresponda à sua marca",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel" : "Não, obrigado, talvez mais tarde",
20
+ "selectDomainDropdownPlaceholder" : "Selecionar nome de domínio",
21
+ "websiteFriendlyName" : "Website",
22
+ "digitalBusinessCardFriendlyName" : "Cartão de visita digital"
25
23
  }
26
24
  }
@@ -46,14 +46,6 @@
46
46
  <div class="tw-mt-4">
47
47
  <slot name="recommended" />
48
48
  </div>
49
- <div class="tw-m-4 tw-text-center">
50
- <p :class="{ 'tw-text-grayscale-600': isDesignCom }">
51
- {{ alreadyHaveADomainLabel }}
52
- <a href="#" class="tw-text-primary-500 hover:tw-text-primary-600" @click.prevent="onUseExistingDomain">{{
53
- useExistingDomainLabel
54
- }}</a>
55
- </p>
56
- </div>
57
49
  </div>
58
50
  </template>
59
51
  <script>
@@ -115,7 +107,7 @@ export default {
115
107
  default: '',
116
108
  },
117
109
  },
118
- emits: ['internal-publish-brand-page', 'on-slug-changed', 'on-use-existing-domain'],
110
+ emits: ['internal-publish-brand-page', 'on-slug-changed'],
119
111
  setup() {
120
112
  return {
121
113
  publishBrandPageModalTr,
@@ -124,8 +116,6 @@ export default {
124
116
  slugInputPlaceholderYourNameLabel: publishBrandPageModalTr('slugInputPlaceholderYourNameLabel'),
125
117
  slugInputPlaceholderYourBusinessNameLabel: publishBrandPageModalTr('slugInputPlaceholderYourBusinessNameLabel'),
126
118
  publishLabel: publishBrandPageModalTr('publishLabel'),
127
- alreadyHaveADomainLabel: publishBrandPageModalTr('alreadyHaveADomainLabel'),
128
- useExistingDomainLabel: publishBrandPageModalTr('useExistingDomainLabel'),
129
119
  };
130
120
  },
131
121
  data() {
@@ -173,9 +163,6 @@ export default {
173
163
  onPublish() {
174
164
  this.$emit('internal-publish-brand-page', this.internalSlug);
175
165
  },
176
- onUseExistingDomain() {
177
- this.$emit('on-use-existing-domain');
178
- },
179
166
  },
180
167
  };
181
168
  </script>
@@ -0,0 +1,181 @@
1
+ import WebsiteContextualUpgradeModal from './WebsiteContextualUpgradeModal.vue';
2
+ import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
3
+
4
+ export default {
5
+ title: 'Components/WebsitesContextualUpgradeModal',
6
+ component: WebsiteContextualUpgradeModal,
7
+ };
8
+
9
+ const locale = 'en-US';
10
+
11
+ const loadTranslationAsync = async () => {
12
+ await setSharedLibLocaleAsync(locale);
13
+ };
14
+
15
+ export const UpgradeToAddPage = () => ({
16
+ components: { WebsiteContextualUpgradeModal },
17
+ data() {
18
+ return {
19
+ isUpgradeModalVisible: true,
20
+ isDesignCom: true,
21
+ upgradeUrl: 'https://brand.site/upgrade/add-page',
22
+ brandPageType: 'brandContact',
23
+ contentType: 'AddPage',
24
+ };
25
+ },
26
+ template: `
27
+ <WebsiteContextualUpgradeModal
28
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
29
+ :is-design-com="isDesignCom"
30
+ :upgrade-url="upgradeUrl"
31
+ :brand-page-type="brandPageType"
32
+ :content-type="contentType"
33
+ />
34
+ `,
35
+ });
36
+
37
+ UpgradeToAddPage.loaders = [loadTranslationAsync];
38
+
39
+ export const UpgradeToContactForm = () => ({
40
+ components: { WebsiteContextualUpgradeModal },
41
+ data() {
42
+ return {
43
+ isUpgradeModalVisible: true,
44
+ isDesignCom: true,
45
+ upgradeUrl: 'https://brand.site/upgrade/contact-form',
46
+ brandPageType: 'brandContact',
47
+ contentType: 'ContactForm',
48
+ };
49
+ },
50
+ template: `
51
+ <WebsiteContextualUpgradeModal
52
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
53
+ :is-design-com="isDesignCom"
54
+ :upgrade-url="upgradeUrl"
55
+ :brand-page-type="brandPageType"
56
+ :content-type="contentType"
57
+ />
58
+ `,
59
+ });
60
+
61
+ UpgradeToContactForm.loaders = [loadTranslationAsync];
62
+
63
+ export const UpgradeToMaps = () => ({
64
+ components: { WebsiteContextualUpgradeModal },
65
+ data() {
66
+ return {
67
+ isUpgradeModalVisible: true,
68
+ isDesignCom: true,
69
+ upgradeUrl: 'https://brand.site/upgrade/maps',
70
+ brandPageType: 'brandContact',
71
+ contentType: 'Maps',
72
+ };
73
+ },
74
+ template: `
75
+ <WebsiteContextualUpgradeModal
76
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
77
+ :is-design-com="isDesignCom"
78
+ :upgrade-url="upgradeUrl"
79
+ :brand-page-type="brandPageType"
80
+ :content-type="contentType"
81
+ />
82
+ `,
83
+ });
84
+
85
+ UpgradeToMaps.loaders = [loadTranslationAsync];
86
+
87
+ export const UpgradeToVideos = () => ({
88
+ components: { WebsiteContextualUpgradeModal },
89
+ data() {
90
+ return {
91
+ isUpgradeModalVisible: true,
92
+ isDesignCom: true,
93
+ upgradeUrl: 'https://brand.site/upgrade/videos',
94
+ brandPageType: 'brandContact',
95
+ contentType: 'Videos',
96
+ };
97
+ },
98
+ template: `
99
+ <WebsiteContextualUpgradeModal
100
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
101
+ :is-design-com="isDesignCom"
102
+ :upgrade-url="upgradeUrl"
103
+ :brand-page-type="brandPageType"
104
+ :content-type="contentType"
105
+ />
106
+ `,
107
+ });
108
+
109
+ UpgradeToVideos.loaders = [loadTranslationAsync];
110
+
111
+ export const UpgradeToRemoveWatermark = () => ({
112
+ components: { WebsiteContextualUpgradeModal },
113
+ data() {
114
+ return {
115
+ isUpgradeModalVisible: true,
116
+ isDesignCom: true,
117
+ upgradeUrl: 'https://brand.site/upgrade/remove-watermark',
118
+ brandPageType: 'brandContact',
119
+ contentType: 'RemoveWatermark',
120
+ };
121
+ },
122
+ template: `
123
+ <WebsiteContextualUpgradeModal
124
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
125
+ :is-design-com="isDesignCom"
126
+ :upgrade-url="upgradeUrl"
127
+ :brand-page-type="brandPageType"
128
+ :content-type="contentType"
129
+ />
130
+ `,
131
+ });
132
+
133
+ UpgradeToRemoveWatermark.loaders = [loadTranslationAsync];
134
+
135
+ export const UpgradeToPublish = () => ({
136
+ components: { WebsiteContextualUpgradeModal },
137
+ data() {
138
+ return {
139
+ isUpgradeModalVisible: true,
140
+ isDesignCom: true,
141
+ upgradeUrl: 'https://brand.site/upgrade/publish',
142
+ brandPageType: 'brandContact',
143
+ contentType: 'Publish',
144
+ };
145
+ },
146
+ template: `
147
+ <WebsiteContextualUpgradeModal
148
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
149
+ :is-design-com="isDesignCom"
150
+ :upgrade-url="upgradeUrl"
151
+ :brand-page-type="brandPageType"
152
+ :content-type="contentType"
153
+ />
154
+ `,
155
+ });
156
+
157
+ UpgradeToPublish.loaders = [loadTranslationAsync];
158
+
159
+ export const UpgradeToGoogleAd = () => ({
160
+ components: { WebsiteContextualUpgradeModal },
161
+ data() {
162
+ return {
163
+ isUpgradeModalVisible: true,
164
+ isDesignCom: true,
165
+ upgradeUrl: 'https://brand.site/upgrade/publish',
166
+ brandPageType: 'brandSite',
167
+ contentType: 'GoogleAd',
168
+ };
169
+ },
170
+ template: `
171
+ <WebsiteContextualUpgradeModal
172
+ :is-upgrade-modal-visible="isUpgradeModalVisible"
173
+ :is-design-com="isDesignCom"
174
+ :upgrade-url="upgradeUrl"
175
+ :brand-page-type="brandPageType"
176
+ :content-type="contentType"
177
+ />
178
+ `,
179
+ });
180
+
181
+ UpgradeToGoogleAd.loaders = [loadTranslationAsync];
@@ -7,7 +7,7 @@
7
7
  @close-modal="closeUpgradeModal"
8
8
  >
9
9
  <div class="tw-flex tw-flex-col tw-text-black">
10
- <div class="tw-flex tw-flex-col tw-pb-8 md:tw-pb-0">
10
+ <div class="tw-flex tw-flex-col tw-pb-16 md:tw-pb-0">
11
11
  <Icon
12
12
  v-if="iconName"
13
13
  :name="iconName"
@@ -83,7 +83,7 @@ const props = defineProps<{
83
83
  isDesignCom: boolean;
84
84
  upgradeUrl: string;
85
85
  brandPageType: string;
86
- contentType: string | 'ContactForm' | 'Videos' | 'Maps' | 'AddPage' | 'Publish' | 'RemoveWatermark';
86
+ contentType: string | 'ContactForm' | 'Videos' | 'Maps' | 'AddPage' | 'Publish' | 'RemoveWatermark' | 'GoogleAd';
87
87
  }>();
88
88
  const toKebabCase = (value: string) =>
89
89
  value
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "websiteContextualUpgradeModal": {
3
+ "upgradeButtonText": "Upgrade Now",
4
+ "closeButtonText": "No Thanks",
5
+ "upgradeToAddPageTitle": "Upgrade to add more pages",
6
+ "upgradeToAddPageDescription": "You've reached the free page limit. Upgrade to keep building your site and access all premium features.",
7
+ "upgradeToContactFormTitle": "Upgrade to unlock contact form",
8
+ "upgradeToContactFormDescription": "Let visitors reach you directly. Upgrade to add a contact form to your site and access all premium features.",
9
+ "upgradeToMapsTitle": "Upgrade to unlock maps",
10
+ "upgradeToMapsDescription": "Help visitors find you easily. Upgrade to embed interactive maps to your site and access all premium features.",
11
+ "upgradeToVideosTitle": "Upgrade to unlock videos",
12
+ "upgradeToVideosDescription": "Bring your content to life. Upgrade to embed and play videos to your site and access all premium features.",
13
+ "upgradeToRemoveWatermarkTitle": "Upgrade to remove watermark",
14
+ "upgradeToRemoveWatermarkDescription": "Make it truly yours. Upgrade to remove our watermark from your site and access all premium features.",
15
+ "upgradeToPublishTitle": "Upgrade to publish your site",
16
+ "upgradeToPublishDescription": "Each subscription lets you publish one website. Add another subscription to publish this site and access all premium features.",
17
+ "upgradeToGoogleAdTitle": "Upgrade to unlock Google AdSense",
18
+ "upgradeToGoogleAdDescription": "Connect Google AdSense and start earning from your traffic. Upgrade to unlock all premium features.",
19
+ "featureCustomerCare": "24/7 customer care",
20
+ "featureCustomDomain": "Connect a custom domain",
21
+ "featureNoWatermark": "No {{websiteName}} watermark",
22
+ "featureUnlimitedPages": "Unlimited pages",
23
+ "featurePremiumContent": "Contact forms, videos and maps",
24
+ "featureStore": "Basic online store",
25
+ "featureCancelAnytime": "Cancel anytime",
26
+ "premiumUpgradeNote": "With Premium, you'll get:"
27
+ }
28
+ }
@@ -68,6 +68,9 @@ const priceTr = (key, valuesToInterpolate = {}) => tr(`price.${key}`, valuesToIn
68
68
  const uploadLogoSearchResultCardTr = (key, valuesToInterpolate = {}) =>
69
69
  tr(`uploadLogoSearchResultCard.${key}`, valuesToInterpolate);
70
70
 
71
+ const websiteContextualUpgradeModalTr = (key, valuesToInterpolate = {}) =>
72
+ tr(`websiteContextualUpgradeModal.${key}`, valuesToInterpolate);
73
+
71
74
  const getCurrentLocale = () => {
72
75
  return i18next.language || 'en-US';
73
76
  };
@@ -124,4 +127,5 @@ export {
124
127
  priceTr,
125
128
  uploadLogoSearchResultCardTr,
126
129
  formatCurrency,
130
+ websiteContextualUpgradeModalTr,
127
131
  };