@designcrowd/fe-shared-lib 1.2.18-byo-2 → 1.2.18-kp-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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/public/css/tailwind-brandCrowd.css +3 -10
  3. package/public/css/tailwind-brandPage.css +3 -10
  4. package/public/css/tailwind-crazyDomains.css +3 -10
  5. package/public/css/tailwind-designCom.css +3 -10
  6. package/public/css/tailwind-designCrowd.css +3 -10
  7. package/src/bundles/bundled-translations.de-DE.json +3 -7
  8. package/src/bundles/bundled-translations.es-ES.json +3 -7
  9. package/src/bundles/bundled-translations.fr-FR.json +3 -7
  10. package/src/bundles/bundled-translations.json +3 -7
  11. package/src/bundles/bundled-translations.pt-PT.json +3 -7
  12. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +16 -1
  13. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +22 -20
  14. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +22 -20
  15. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +22 -20
  16. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +23 -21
  17. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +22 -20
  18. package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +3 -13
  19. package/src/useSharedLibTranslate.js +0 -4
  20. package/dist/css/tailwind-brandCrowd.css +0 -2493
  21. package/dist/css/tailwind-brandPage.css +0 -2177
  22. package/dist/css/tailwind-crazyDomains.css +0 -2493
  23. package/dist/css/tailwind-designCom.css +0 -2493
  24. package/dist/css/tailwind-designCrowd.css +0 -2493
  25. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.de-DE.json +0 -8
  26. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.es-ES.json +0 -8
  27. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.fr-FR.json +0 -8
  28. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.json +0 -8
  29. package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.pt-PT.json +0 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.2.18-byo-2",
3
+ "version": "1.2.18-kp-2",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -643,10 +643,6 @@ video {
643
643
  margin-top: 0px;
644
644
  margin-bottom: 0px;
645
645
  }
646
- .theme-brandCrowd .tw-my-1 {
647
- margin-top: 0.25rem;
648
- margin-bottom: 0.25rem;
649
- }
650
646
  .theme-brandCrowd .tw-my-10 {
651
647
  margin-top: 2.5rem;
652
648
  margin-bottom: 2.5rem;
@@ -853,6 +849,9 @@ video {
853
849
  .theme-brandCrowd .tw-max-h-screen {
854
850
  max-height: 100vh;
855
851
  }
852
+ .theme-brandCrowd .tw-w-1\/3 {
853
+ width: 33.333333%;
854
+ }
856
855
  .theme-brandCrowd .tw-w-10 {
857
856
  width: 2.5rem;
858
857
  }
@@ -1021,9 +1020,6 @@ video {
1021
1020
  .theme-brandCrowd .tw-animate-spin {
1022
1021
  animation: tw-spin 1s linear infinite;
1023
1022
  }
1024
- .\!tw-cursor-not-allowed {
1025
- cursor: not-allowed !important;
1026
- }
1027
1023
  .theme-brandCrowd .tw-cursor-not-allowed {
1028
1024
  cursor: not-allowed;
1029
1025
  }
@@ -2231,9 +2227,6 @@ video {
2231
2227
  .theme-brandCrowd .md\:tw-ml-4 {
2232
2228
  margin-left: 1rem;
2233
2229
  }
2234
- .theme-brandCrowd .md\:tw-mr-2 {
2235
- margin-right: 0.5rem;
2236
- }
2237
2230
  .theme-brandCrowd .md\:tw-mt-0 {
2238
2231
  margin-top: 0px;
2239
2232
  }
@@ -643,10 +643,6 @@ video {
643
643
  margin-top: 0px;
644
644
  margin-bottom: 0px;
645
645
  }
646
- .theme-brandPage .tw-my-1 {
647
- margin-top: 0.25rem;
648
- margin-bottom: 0.25rem;
649
- }
650
646
  .theme-brandPage .tw-my-10 {
651
647
  margin-top: 2.5rem;
652
648
  margin-bottom: 2.5rem;
@@ -853,6 +849,9 @@ video {
853
849
  .theme-brandPage .tw-max-h-screen {
854
850
  max-height: 100vh;
855
851
  }
852
+ .theme-brandPage .tw-w-1\/3 {
853
+ width: 33.333333%;
854
+ }
856
855
  .theme-brandPage .tw-w-10 {
857
856
  width: 2.5rem;
858
857
  }
@@ -1021,9 +1020,6 @@ video {
1021
1020
  .theme-brandPage .tw-animate-spin {
1022
1021
  animation: tw-spin 1s linear infinite;
1023
1022
  }
1024
- .\!tw-cursor-not-allowed {
1025
- cursor: not-allowed !important;
1026
- }
1027
1023
  .theme-brandPage .tw-cursor-not-allowed {
1028
1024
  cursor: not-allowed;
1029
1025
  }
@@ -1915,9 +1911,6 @@ video {
1915
1911
  .theme-brandPage .md\:tw-ml-4 {
1916
1912
  margin-left: 1rem;
1917
1913
  }
1918
- .theme-brandPage .md\:tw-mr-2 {
1919
- margin-right: 0.5rem;
1920
- }
1921
1914
  .theme-brandPage .md\:tw-mt-0 {
1922
1915
  margin-top: 0px;
1923
1916
  }
@@ -643,10 +643,6 @@ video {
643
643
  margin-top: 0px;
644
644
  margin-bottom: 0px;
645
645
  }
646
- .theme-crazyDomains .tw-my-1 {
647
- margin-top: 0.25rem;
648
- margin-bottom: 0.25rem;
649
- }
650
646
  .theme-crazyDomains .tw-my-10 {
651
647
  margin-top: 2.5rem;
652
648
  margin-bottom: 2.5rem;
@@ -853,6 +849,9 @@ video {
853
849
  .theme-crazyDomains .tw-max-h-screen {
854
850
  max-height: 100vh;
855
851
  }
852
+ .theme-crazyDomains .tw-w-1\/3 {
853
+ width: 33.333333%;
854
+ }
856
855
  .theme-crazyDomains .tw-w-10 {
857
856
  width: 2.5rem;
858
857
  }
@@ -1021,9 +1020,6 @@ video {
1021
1020
  .theme-crazyDomains .tw-animate-spin {
1022
1021
  animation: tw-spin 1s linear infinite;
1023
1022
  }
1024
- .\!tw-cursor-not-allowed {
1025
- cursor: not-allowed !important;
1026
- }
1027
1023
  .theme-crazyDomains .tw-cursor-not-allowed {
1028
1024
  cursor: not-allowed;
1029
1025
  }
@@ -2231,9 +2227,6 @@ video {
2231
2227
  .theme-crazyDomains .md\:tw-ml-4 {
2232
2228
  margin-left: 1rem;
2233
2229
  }
2234
- .theme-crazyDomains .md\:tw-mr-2 {
2235
- margin-right: 0.5rem;
2236
- }
2237
2230
  .theme-crazyDomains .md\:tw-mt-0 {
2238
2231
  margin-top: 0px;
2239
2232
  }
@@ -643,10 +643,6 @@ video {
643
643
  margin-top: 0px;
644
644
  margin-bottom: 0px;
645
645
  }
646
- .theme-designCom .tw-my-1 {
647
- margin-top: 0.25rem;
648
- margin-bottom: 0.25rem;
649
- }
650
646
  .theme-designCom .tw-my-10 {
651
647
  margin-top: 2.5rem;
652
648
  margin-bottom: 2.5rem;
@@ -853,6 +849,9 @@ video {
853
849
  .theme-designCom .tw-max-h-screen {
854
850
  max-height: 100vh;
855
851
  }
852
+ .theme-designCom .tw-w-1\/3 {
853
+ width: 33.333333%;
854
+ }
856
855
  .theme-designCom .tw-w-10 {
857
856
  width: 2.5rem;
858
857
  }
@@ -1021,9 +1020,6 @@ video {
1021
1020
  .theme-designCom .tw-animate-spin {
1022
1021
  animation: tw-spin 1s linear infinite;
1023
1022
  }
1024
- .\!tw-cursor-not-allowed {
1025
- cursor: not-allowed !important;
1026
- }
1027
1023
  .theme-designCom .tw-cursor-not-allowed {
1028
1024
  cursor: not-allowed;
1029
1025
  }
@@ -2231,9 +2227,6 @@ video {
2231
2227
  .theme-designCom .md\:tw-ml-4 {
2232
2228
  margin-left: 1rem;
2233
2229
  }
2234
- .theme-designCom .md\:tw-mr-2 {
2235
- margin-right: 0.5rem;
2236
- }
2237
2230
  .theme-designCom .md\:tw-mt-0 {
2238
2231
  margin-top: 0px;
2239
2232
  }
@@ -643,10 +643,6 @@ video {
643
643
  margin-top: 0px;
644
644
  margin-bottom: 0px;
645
645
  }
646
- .theme-designCrowd .tw-my-1 {
647
- margin-top: 0.25rem;
648
- margin-bottom: 0.25rem;
649
- }
650
646
  .theme-designCrowd .tw-my-10 {
651
647
  margin-top: 2.5rem;
652
648
  margin-bottom: 2.5rem;
@@ -853,6 +849,9 @@ video {
853
849
  .theme-designCrowd .tw-max-h-screen {
854
850
  max-height: 100vh;
855
851
  }
852
+ .theme-designCrowd .tw-w-1\/3 {
853
+ width: 33.333333%;
854
+ }
856
855
  .theme-designCrowd .tw-w-10 {
857
856
  width: 2.5rem;
858
857
  }
@@ -1021,9 +1020,6 @@ video {
1021
1020
  .theme-designCrowd .tw-animate-spin {
1022
1021
  animation: tw-spin 1s linear infinite;
1023
1022
  }
1024
- .\!tw-cursor-not-allowed {
1025
- cursor: not-allowed !important;
1026
- }
1027
1023
  .theme-designCrowd .tw-cursor-not-allowed {
1028
1024
  cursor: not-allowed;
1029
1025
  }
@@ -2231,9 +2227,6 @@ video {
2231
2227
  .theme-designCrowd .md\:tw-ml-4 {
2232
2228
  margin-left: 1rem;
2233
2229
  }
2234
- .theme-designCrowd .md\:tw-mr-2 {
2235
- margin-right: 0.5rem;
2236
- }
2237
2230
  .theme-designCrowd .md\:tw-mt-0 {
2238
2231
  margin-top: 0px;
2239
2232
  }
@@ -29,7 +29,9 @@
29
29
  "copySuccessLabel": "Kopiert!",
30
30
  "publishedSuccessDescriptionLabel": "Kaufen Sie eine passende Domain für Ihre Marke",
31
31
  "hasAlreadyPurchasedDomainCloseButtonLabel": "Nein, danke, vielleicht später",
32
- "selectDomainDropdownPlaceholder": "Domain auswählen"
32
+ "selectDomainDropdownPlaceholder": "Domain auswählen",
33
+ "websiteFriendlyName": "Website",
34
+ "digitalBusinessCardFriendlyName": "digitale Visitenkarte"
33
35
  },
34
36
  "sellDomainNameList": {
35
37
  "freeDomainButtonLabel": "Kostenlose Domain",
@@ -92,11 +94,5 @@
92
94
  "clickToUpload": "klicken Sie hier, um eine Datei hochzuladen.",
93
95
  "acceptedFiles": "Wir akzeptieren PNG-, JPG-, SVG- und EPS-Dateien bis zu 25 MB.",
94
96
  "wrongUploadType": "Sie können Dateien dieses Typs nicht hochladen."
95
- },
96
- "uploadLogoSearchResultCard": {
97
- "replace": "Ersetzen",
98
- "replaceLogo": "Logo ersetzen",
99
- "delete": "Löschen",
100
- "deleteLogo": "Logo löschen"
101
97
  }
102
98
  }
@@ -29,7 +29,9 @@
29
29
  "copySuccessLabel": "¡Copiado!",
30
30
  "publishedSuccessDescriptionLabel": "Compra un nombre de dominio que coincida con tu marca",
31
31
  "hasAlreadyPurchasedDomainCloseButtonLabel": "No gracias, quizás más tarde",
32
- "selectDomainDropdownPlaceholder": "Selecciona un nombre de dominio"
32
+ "selectDomainDropdownPlaceholder": "Selecciona un nombre de dominio",
33
+ "websiteFriendlyName": "sitio web",
34
+ "digitalBusinessCardFriendlyName": "tarjeta de visita digital"
33
35
  },
34
36
  "sellDomainNameList": {
35
37
  "freeDomainButtonLabel": "Dominio gratis",
@@ -92,11 +94,5 @@
92
94
  "clickToUpload": "haz clic para subirlo",
93
95
  "acceptedFiles": "Aceptamos archivos PNG, JPG, SVG o EPS de hasta 25 MB",
94
96
  "wrongUploadType": "No puedes subir archivos de este tipo."
95
- },
96
- "uploadLogoSearchResultCard": {
97
- "replace": "Sustituir",
98
- "replaceLogo": "Reemplaza el logo",
99
- "delete": "Eliminar",
100
- "deleteLogo": "Elimina el logo"
101
97
  }
102
98
  }
@@ -29,7 +29,9 @@
29
29
  "copySuccessLabel": "Copié !",
30
30
  "publishedSuccessDescriptionLabel": "Achetez un nom de domaine correspondant à votre marque",
31
31
  "hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
32
- "selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine"
32
+ "selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine",
33
+ "websiteFriendlyName": "site Web",
34
+ "digitalBusinessCardFriendlyName": "carte de visite numérique"
33
35
  },
34
36
  "sellDomainNameList": {
35
37
  "freeDomainButtonLabel": "Domaine gratuit",
@@ -92,11 +94,5 @@
92
94
  "clickToUpload": "cliquez pour télécharger",
93
95
  "acceptedFiles": "Nous acceptons les fichiers PNG, JPG, SVG ou EPS jusqu'à 25 Mo",
94
96
  "wrongUploadType": "Vous ne pouvez pas télécharger des fichiers de ce type."
95
- },
96
- "uploadLogoSearchResultCard": {
97
- "replace": "Remplacer",
98
- "replaceLogo": "Remplacez le logo",
99
- "delete": "Supprimer",
100
- "deleteLogo": "Supprimez le logo"
101
97
  }
102
98
  }
@@ -29,7 +29,9 @@
29
29
  "copySuccessLabel": "Copied!",
30
30
  "publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
31
31
  "hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
32
- "selectDomainDropdownPlaceholder": "Select domain name"
32
+ "selectDomainDropdownPlaceholder": "Select domain name",
33
+ "websiteFriendlyName": "Website",
34
+ "digitalBusinessCardFriendlyName": "Digital Business Card"
33
35
  },
34
36
  "sellDomainNameList": {
35
37
  "freeDomainButtonLabel": "Free Domain",
@@ -92,11 +94,5 @@
92
94
  "clickToUpload": "click to upload",
93
95
  "acceptedFiles": "We accept PNG, JPG, SVG or EPS files up to 25MB",
94
96
  "wrongUploadType": "You can't upload files of this type."
95
- },
96
- "uploadLogoSearchResultCard": {
97
- "replace": "Replace",
98
- "replaceLogo": "Replace Logo",
99
- "delete": "Delete",
100
- "deleteLogo": "Delete Logo"
101
97
  }
102
98
  }
@@ -29,7 +29,9 @@
29
29
  "copySuccessLabel": "Copiado!",
30
30
  "publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
31
31
  "hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado, talvez mais tarde",
32
- "selectDomainDropdownPlaceholder": "Selecionar nome de domínio"
32
+ "selectDomainDropdownPlaceholder": "Selecionar nome de domínio",
33
+ "websiteFriendlyName": "website",
34
+ "digitalBusinessCardFriendlyName": "cartão de visita digital"
33
35
  },
34
36
  "sellDomainNameList": {
35
37
  "freeDomainButtonLabel": "Domínio gratuito",
@@ -92,11 +94,5 @@
92
94
  "clickToUpload": "clique para carregar",
93
95
  "acceptedFiles": "Aceitamos ficheiros PNG, JPG, SVG ou EPS até 25 MB",
94
96
  "wrongUploadType": "Não pode carregar ficheiros deste tipo."
95
- },
96
- "uploadLogoSearchResultCard": {
97
- "replace": "Substituir",
98
- "replaceLogo": "Substituir logótipo",
99
- "delete": "Eliminar",
100
- "deleteLogo": "Eliminar Logótipo"
101
97
  }
102
98
  }
@@ -270,6 +270,8 @@ const DOMAIN_TYPES = {
270
270
 
271
271
  const DCOM_IMG_FREE = 'https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/dcom-free-url.svg';
272
272
  const BC_IMG_FREE = 'https://brandcrowd-cdn.s3.amazonaws.com/public/assets/images/icons/publish/bc-free-url.svg';
273
+ const WEBSITE_FRIENDLY_NAME = 'Website';
274
+ export const DIGITAL_BUSINESS_CARD = 'Digital Business Card';
273
275
 
274
276
  export default {
275
277
  components: {
@@ -454,8 +456,9 @@ export default {
454
456
  return this.brandPageBaseUrl.replace('https://', '');
455
457
  },
456
458
  firstTimePublishHeaderLabel() {
459
+ const translatedBrandPageName = this.getLanguageAwareBrandPageDisplayName(this.brandPageDisplayName);
457
460
  return this.publishBrandPageModalTr('firstTimePublishHeaderLabel', {
458
- brandPageDisplayName: this.brandPageDisplayName,
461
+ brandPageDisplayName: translatedBrandPageName,
459
462
  });
460
463
  },
461
464
  publishSuccessLabel() {
@@ -520,6 +523,18 @@ export default {
520
523
  this.isModalVisible = this.isSearchDomainListModalVisible;
521
524
  },
522
525
  methods: {
526
+ getLanguageAwareBrandPageDisplayName(brandPageName) {
527
+ switch (brandPageName) {
528
+ case WEBSITE_FRIENDLY_NAME:
529
+ return this.te('websiteFriendlyName') ? this.t('websiteFriendlyName') : 'Website';
530
+ case DIGITAL_BUSINESS_CARD:
531
+ return this.te('digitalBusinessCardFriendlyName')
532
+ ? this.t('digitalBusinessCardFriendlyName')
533
+ : 'Digital Business Card';
534
+ default:
535
+ return brandPageName;
536
+ }
537
+ },
523
538
  onDomainTypeRadioButtonClick(domain) {
524
539
  this.domainTypeValue = domain;
525
540
  this.closePurchasedDomainDropdown();
@@ -1,22 +1,24 @@
1
1
  {
2
- "publishBrandPageModal" : {
3
- "firstTimePublishHeaderLabel" : "Legen Sie die URL für {{brandPageDisplayName}} fest",
4
- "sitePublishedLabel" : "Seite veröffentlicht!",
5
- "publishSuccessLabel" : "Ihr {{brandPageDisplayName}} ist live! Beginnen Sie mit der Nutzung Ihres Links:",
6
- "freePublishCardTitleLabel" : "Freie Adresse",
7
- "freePublishCardDescriptionLabel" : "Wählen Sie jetzt eine kostenlose Adresse zur Veröffentlichung aus. Sie können die URL später jederzeit bearbeiten",
8
- "slugInputPlaceholderYourNameLabel" : "ihr-name",
9
- "slugInputPlaceholderYourBusinessNameLabel" : "ihr-firmen-name",
10
- "freeDomainLabel" : "Kostenlose Domain",
11
- "purchasedDomainLabel" : "Erworbene Domain",
12
- "setUrlLabel" : "URL festlegen",
13
- "publishLabel" : "Veröffentlichen",
14
- "viewMoreDomainLabel" : "WEITERE DOMAINS ANZEIGEN",
15
- "viewMyWebsiteLabel" : "{{brandPageDisplayName}} anzeigen",
16
- "copyLabel" : "Kopieren",
17
- "copySuccessLabel" : "Kopiert!",
18
- "publishedSuccessDescriptionLabel" : "Kaufen Sie eine passende Domain für Ihre Marke",
19
- "hasAlreadyPurchasedDomainCloseButtonLabel" : "Nein, danke, vielleicht später",
20
- "selectDomainDropdownPlaceholder" : "Domain auswählen"
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Legen Sie die URL für {{brandPageDisplayName}} fest",
4
+ "sitePublishedLabel": "Seite veröffentlicht!",
5
+ "publishSuccessLabel": "Ihr {{brandPageDisplayName}} ist live! Beginnen Sie mit der Nutzung Ihres Links:",
6
+ "freePublishCardTitleLabel": "Freie Adresse",
7
+ "freePublishCardDescriptionLabel": "Wählen Sie jetzt eine kostenlose Adresse zur Veröffentlichung aus. Sie können die URL später jederzeit bearbeiten",
8
+ "slugInputPlaceholderYourNameLabel": "ihr-name",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "ihr-firmen-name",
10
+ "freeDomainLabel": "Kostenlose Domain",
11
+ "purchasedDomainLabel": "Erworbene Domain",
12
+ "setUrlLabel": "URL festlegen",
13
+ "publishLabel": "Veröffentlichen",
14
+ "viewMoreDomainLabel": "WEITERE DOMAINS ANZEIGEN",
15
+ "viewMyWebsiteLabel": "{{brandPageDisplayName}} anzeigen",
16
+ "copyLabel": "Kopieren",
17
+ "copySuccessLabel": "Kopiert!",
18
+ "publishedSuccessDescriptionLabel": "Kaufen Sie eine passende Domain für Ihre Marke",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "Nein, danke, vielleicht später",
20
+ "selectDomainDropdownPlaceholder": "Domain auswählen",
21
+ "websiteFriendlyName": "Website",
22
+ "digitalBusinessCardFriendlyName": "digitale Visitenkarte"
21
23
  }
22
- }
24
+ }
@@ -1,22 +1,24 @@
1
1
  {
2
- "publishBrandPageModal" : {
3
- "firstTimePublishHeaderLabel" : "Establece la URL para {{brandPageDisplayName}}",
4
- "sitePublishedLabel" : "¡Sitio publicado!",
5
- "publishSuccessLabel" : "¡Tu {{brandPageDisplayName}} está activo! Comienza a usar tu enlace:",
6
- "freePublishCardTitleLabel" : "Dirección gratuita",
7
- "freePublishCardDescriptionLabel" : "Elige una dirección gratuita para publicar ahora. Siempre puedes editar la URL más tarde",
8
- "slugInputPlaceholderYourNameLabel" : "tu-nombre",
9
- "slugInputPlaceholderYourBusinessNameLabel" : "nombre-de-tu-negocio",
10
- "freeDomainLabel" : "Dominio gratis",
11
- "purchasedDomainLabel" : "Dominio adquirido",
12
- "setUrlLabel" : "Establece URL",
13
- "publishLabel" : "Publicar",
14
- "viewMoreDomainLabel" : "VER MÁS DOMINIOS",
15
- "viewMyWebsiteLabel" : "Ver {{brandPageDisplayName}}",
16
- "copyLabel" : "Copiar",
17
- "copySuccessLabel" : "¡Copiado!",
18
- "publishedSuccessDescriptionLabel" : "Compra un nombre de dominio que coincida con tu marca",
19
- "hasAlreadyPurchasedDomainCloseButtonLabel" : "No gracias, quizás más tarde",
20
- "selectDomainDropdownPlaceholder" : "Selecciona un nombre de dominio"
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Establece la URL para {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "¡Sitio publicado!",
5
+ "publishSuccessLabel": "¡Tu {{brandPageDisplayName}} está activo! Comienza a usar tu enlace:",
6
+ "freePublishCardTitleLabel": "Dirección gratuita",
7
+ "freePublishCardDescriptionLabel": "Elige una dirección gratuita para publicar ahora. Siempre puedes editar la URL más tarde",
8
+ "slugInputPlaceholderYourNameLabel": "tu-nombre",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "nombre-de-tu-negocio",
10
+ "freeDomainLabel": "Dominio gratis",
11
+ "purchasedDomainLabel": "Dominio adquirido",
12
+ "setUrlLabel": "Establece URL",
13
+ "publishLabel": "Publicar",
14
+ "viewMoreDomainLabel": "VER MÁS DOMINIOS",
15
+ "viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
16
+ "copyLabel": "Copiar",
17
+ "copySuccessLabel": "¡Copiado!",
18
+ "publishedSuccessDescriptionLabel": "Compra un nombre de dominio que coincida con tu marca",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "No gracias, quizás más tarde",
20
+ "selectDomainDropdownPlaceholder": "Selecciona un nombre de dominio",
21
+ "websiteFriendlyName": "sitio web",
22
+ "digitalBusinessCardFriendlyName": "tarjeta de visita digital"
21
23
  }
22
- }
24
+ }
@@ -1,22 +1,24 @@
1
1
  {
2
- "publishBrandPageModal" : {
3
- "firstTimePublishHeaderLabel" : "Définissez l'URL pour {{brandPageDisplayName}}",
4
- "sitePublishedLabel" : "Site publié !",
5
- "publishSuccessLabel" : "Votre {{brandPageDisplayName}} est en ligne ! Commencez à utiliser votre lien :",
6
- "freePublishCardTitleLabel" : "Adresse libre",
7
- "freePublishCardDescriptionLabel" : "Choisissez une adresse gratuite pour publier maintenant. Vous pouvez toujours modifier l'URL plus tard",
8
- "slugInputPlaceholderYourNameLabel" : "your-name",
9
- "slugInputPlaceholderYourBusinessNameLabel" : "nom-de-votre-entreprise",
10
- "freeDomainLabel" : "Domaine gratuit",
11
- "purchasedDomainLabel" : "Domaine acheté",
12
- "setUrlLabel" : "Définir l'URL",
13
- "publishLabel" : "Publier",
14
- "viewMoreDomainLabel" : "VOIR PLUS DE NOMS DE DOMAINE",
15
- "viewMyWebsiteLabel" : "Voir {{brandPageDisplayName}}",
16
- "copyLabel" : "Copier",
17
- "copySuccessLabel" : "Copié !",
18
- "publishedSuccessDescriptionLabel" : "Achetez un nom de domaine correspondant à votre marque",
19
- "hasAlreadyPurchasedDomainCloseButtonLabel" : "Non merci, peut-être plus tard",
20
- "selectDomainDropdownPlaceholder" : "Sélectionner un nom de domaine"
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Définissez l'URL pour {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "Site publié !",
5
+ "publishSuccessLabel": "Votre {{brandPageDisplayName}} est en ligne ! Commencez à utiliser votre lien :",
6
+ "freePublishCardTitleLabel": "Adresse libre",
7
+ "freePublishCardDescriptionLabel": "Choisissez une adresse gratuite pour publier maintenant. Vous pouvez toujours modifier l'URL plus tard",
8
+ "slugInputPlaceholderYourNameLabel": "your-name",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "nom-de-votre-entreprise",
10
+ "freeDomainLabel": "Domaine gratuit",
11
+ "purchasedDomainLabel": "Domaine acheté",
12
+ "setUrlLabel": "Définir l'URL",
13
+ "publishLabel": "Publier",
14
+ "viewMoreDomainLabel": "VOIR PLUS DE NOMS DE DOMAINE",
15
+ "viewMyWebsiteLabel": "Voir {{brandPageDisplayName}}",
16
+ "copyLabel": "Copier",
17
+ "copySuccessLabel": "Copié !",
18
+ "publishedSuccessDescriptionLabel": "Achetez un nom de domaine correspondant à votre marque",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
20
+ "selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine",
21
+ "websiteFriendlyName": "site Web",
22
+ "digitalBusinessCardFriendlyName": "carte de visite numérique"
21
23
  }
22
- }
24
+ }
@@ -1,22 +1,24 @@
1
1
  {
2
- "publishBrandPageModal": {
3
- "firstTimePublishHeaderLabel": "Set the URL for {{brandPageDisplayName}}",
4
- "sitePublishedLabel": "Site published!",
5
- "publishSuccessLabel": "Your {{brandPageDisplayName}} is live! Start using your link:",
6
- "freePublishCardTitleLabel": "Free Address",
7
- "freePublishCardDescriptionLabel": "Choose a free address to publish now. You can always edit the URL later",
8
- "slugInputPlaceholderYourNameLabel": "your-name",
9
- "slugInputPlaceholderYourBusinessNameLabel": "your-business-name",
10
- "freeDomainLabel": "Free domain",
11
- "purchasedDomainLabel": "Purchased domain",
12
- "setUrlLabel": "Set URL",
13
- "publishLabel": "Publish",
14
- "viewMoreDomainLabel": "VIEW MORE DOMAINS",
15
- "viewMyWebsiteLabel": "View {{brandPageDisplayName}}",
16
- "copyLabel": "Copy",
17
- "copySuccessLabel": "Copied!",
18
- "publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
19
- "hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
20
- "selectDomainDropdownPlaceholder": "Select domain name"
21
- }
22
- }
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Set the URL for {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "Site published!",
5
+ "publishSuccessLabel": "Your {{brandPageDisplayName}} is live! Start using your link:",
6
+ "freePublishCardTitleLabel": "Free Address",
7
+ "freePublishCardDescriptionLabel": "Choose a free address to publish now. You can always edit the URL later",
8
+ "slugInputPlaceholderYourNameLabel": "your-name",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "your-business-name",
10
+ "freeDomainLabel": "Free domain",
11
+ "purchasedDomainLabel": "Purchased domain",
12
+ "setUrlLabel": "Set URL",
13
+ "publishLabel": "Publish",
14
+ "viewMoreDomainLabel": "VIEW MORE DOMAINS",
15
+ "viewMyWebsiteLabel": "View {{brandPageDisplayName}}",
16
+ "copyLabel": "Copy",
17
+ "copySuccessLabel": "Copied!",
18
+ "publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
20
+ "selectDomainDropdownPlaceholder": "Select domain name",
21
+ "websiteFriendlyName": "Website",
22
+ "digitalBusinessCardFriendlyName": "Digital Business Card"
23
+ }
24
+ }
@@ -1,22 +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"
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"
21
23
  }
22
- }
24
+ }
@@ -55,7 +55,7 @@
55
55
  }"
56
56
  >
57
57
  <label for="replace-logo-file" class="tw-sr-only">
58
- {{ uploadLogoSearchResultCardTr('replaceLogo') }}
58
+ Replace logo
59
59
  <input
60
60
  id="replace-logo-file"
61
61
  ref="fileInput"
@@ -102,7 +102,6 @@ import Button from '../../../../src/atoms/components/Button/Button.vue';
102
102
  import Events from '../../constants/event-constants';
103
103
  import API from '../../constants/api';
104
104
  import trackEvent from '../../helpers/tracking';
105
- import { uploadLogoSearchResultCardTr } from '../../../useSharedLibTranslate';
106
105
 
107
106
  export default {
108
107
  components: {
@@ -132,11 +131,6 @@ export default {
132
131
  default: false,
133
132
  },
134
133
  },
135
- setup() {
136
- return {
137
- uploadLogoSearchResultCardTr,
138
- };
139
- },
140
134
  data() {
141
135
  return {
142
136
  extraWideLandscape: this.useLandscapeTile && this.aspectRatio <= 30,
@@ -144,14 +138,10 @@ export default {
144
138
  },
145
139
  computed: {
146
140
  replaceButtonLabel() {
147
- return this.alternativeLayout
148
- ? this.uploadLogoSearchResultCardTr('replace')
149
- : this.uploadLogoSearchResultCardTr('replaceLogo');
141
+ return this.alternativeLayout ? 'Replace' : 'Replace Logo';
150
142
  },
151
143
  deleteButtonLabel() {
152
- return this.alternativeLayout
153
- ? this.uploadLogoSearchResultCardTr('delete')
154
- : this.uploadLogoSearchResultCardTr('deleteLogo');
144
+ return this.alternativeLayout ? 'Delete' : 'Delete Logo';
155
145
  },
156
146
  },
157
147
  methods: {