@designcrowd/fe-shared-lib 1.2.6 → 1.2.7-rr-debugging
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.
- package/.github/workflows/auto-merge.yml +52 -0
- package/{public → dist}/css/tailwind-brandCrowd.css +608 -501
- package/{public → dist}/css/tailwind-brandPage.css +528 -425
- package/{public → dist}/css/tailwind-crazyDomains.css +608 -501
- package/{public → dist}/css/tailwind-designCom.css +608 -501
- package/{public → dist}/css/tailwind-designCrowd.css +608 -501
- package/package.json +2 -2
- package/src/atoms/components/Price/Price.vue +1 -1
- package/src/bundles/bundled-translations.de-DE.json +49 -2
- package/src/bundles/bundled-translations.es-ES.json +49 -2
- package/src/bundles/bundled-translations.fr-FR.json +49 -2
- package/src/bundles/bundled-translations.json +49 -2
- package/src/bundles/bundled-translations.pt-PT.json +49 -2
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +14 -10
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +29 -6
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +59 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +22 -0
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +15 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +8 -0
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +12 -8
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +13 -9
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +6 -0
- package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +18 -13
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +8 -0
- package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +15 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +6 -0
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +15 -12
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +8 -0
- package/src/useSharedLibTranslate.js +45 -3
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.de-DE.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.es-ES.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.fr-FR.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.pt-PT.json +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7-rr-debugging",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "run-p storybook watch:translation",
|
|
6
6
|
"build": "npm run build:css --production",
|
|
@@ -113,4 +113,4 @@
|
|
|
113
113
|
"overrides": {
|
|
114
114
|
"storybook": "$storybook"
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
+
},
|
|
22
|
+
"sellDomainNameList": {
|
|
23
|
+
"freeDomainButtonLabel": "Kostenlose Domain",
|
|
24
|
+
"buyNowButtonLabel": "Jetzt kaufen",
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
|
+
"costPriceLabel": "Kostenpreis:"
|
|
27
|
+
},
|
|
28
|
+
"sellDomainNameListModal": {
|
|
29
|
+
"domainSearchHeaderTitle": "Domainname suchen",
|
|
30
|
+
"domainSearchHeaderSubtitle": "Kaufen Sie eine passende Domain für Ihre Marke"
|
|
31
|
+
},
|
|
32
|
+
"sellDomainNameModalApplication": {
|
|
33
|
+
"domainSearchHeaderTitle": "Domainname suchen",
|
|
34
|
+
"domainSearchHeaderSubtitle": "Kaufen Sie eine passende Domain für Ihre Marke"
|
|
35
|
+
},
|
|
36
|
+
"sellDomainNameSearch": {
|
|
37
|
+
"searchButtonLabel": "Suche",
|
|
38
|
+
"searchBarLabel": "Suche",
|
|
39
|
+
"searchBarPlaceholder": "Domainnamen suchen",
|
|
40
|
+
"searchBarPreText": "Domainname"
|
|
41
|
+
},
|
|
42
|
+
"sellDomainNameListSearchResult": {
|
|
43
|
+
"domainSearchEmptyMessage": "Leider konnten wir keine Domain für „{{domainNameSearchTerm}}“ finden.",
|
|
44
|
+
"searchAnotherDomainMessage": "Versuchen Sie, mit einer anderen Domain zu suchen."
|
|
45
|
+
},
|
|
46
|
+
"sellDomainNameWidget": {
|
|
47
|
+
"searchButtonLabel": "Suche",
|
|
48
|
+
"searchBarLabel": "Suche",
|
|
49
|
+
"searchBarPlaceholder": "Domainnamen suchen",
|
|
50
|
+
"domainSearchOrConnectHeaderSubtitle": "Kaufen Sie passende Domains für Ihre Marke oder verknüpfen Sie Ihre bestehende Domain"
|
|
4
51
|
}
|
|
5
52
|
}
|
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
+
},
|
|
22
|
+
"sellDomainNameList": {
|
|
23
|
+
"freeDomainButtonLabel": "Dominio gratis",
|
|
24
|
+
"buyNowButtonLabel": "Comprar ahora",
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
|
+
"costPriceLabel": "Precio de coste:"
|
|
27
|
+
},
|
|
28
|
+
"sellDomainNameListModal": {
|
|
29
|
+
"domainSearchHeaderTitle": "Busca un nombre de dominio",
|
|
30
|
+
"domainSearchHeaderSubtitle": "Compra un nombre de dominio que coincida con tu marca"
|
|
31
|
+
},
|
|
32
|
+
"sellDomainNameModalApplication": {
|
|
33
|
+
"domainSearchHeaderTitle": "Busca un nombre de dominio",
|
|
34
|
+
"domainSearchHeaderSubtitle": "Compra un nombre de dominio que coincida con tu marca"
|
|
35
|
+
},
|
|
36
|
+
"sellDomainNameSearch": {
|
|
37
|
+
"searchButtonLabel": "Buscar",
|
|
38
|
+
"searchBarLabel": "Buscar",
|
|
39
|
+
"searchBarPlaceholder": "Busca nombres de dominio",
|
|
40
|
+
"searchBarPreText": "Nombre de dominio"
|
|
41
|
+
},
|
|
42
|
+
"sellDomainNameListSearchResult": {
|
|
43
|
+
"domainSearchEmptyMessage": "Lo siento, no hemos podido encontrar ningún dominio para \"{{domainNameSearchTerm}}\".",
|
|
44
|
+
"searchAnotherDomainMessage": "Prueba a buscar con otro nombre de dominio."
|
|
45
|
+
},
|
|
46
|
+
"sellDomainNameWidget": {
|
|
47
|
+
"searchButtonLabel": "Buscar",
|
|
48
|
+
"searchBarLabel": "Buscar",
|
|
49
|
+
"searchBarPlaceholder": "Busca nombres de dominio",
|
|
50
|
+
"domainSearchOrConnectHeaderSubtitle": "Compra un nombre de dominio que coincida con tu marca o conecta tu dominio existente"
|
|
4
51
|
}
|
|
5
52
|
}
|
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
+
},
|
|
22
|
+
"sellDomainNameList": {
|
|
23
|
+
"freeDomainButtonLabel": "Domaine gratuit",
|
|
24
|
+
"buyNowButtonLabel": "Acheter",
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
|
+
"costPriceLabel": "Prix de revient :"
|
|
27
|
+
},
|
|
28
|
+
"sellDomainNameListModal": {
|
|
29
|
+
"domainSearchHeaderTitle": "Rechercher un nom de domaine",
|
|
30
|
+
"domainSearchHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque"
|
|
31
|
+
},
|
|
32
|
+
"sellDomainNameModalApplication": {
|
|
33
|
+
"domainSearchHeaderTitle": "Rechercher un nom de domaine",
|
|
34
|
+
"domainSearchHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque"
|
|
35
|
+
},
|
|
36
|
+
"sellDomainNameSearch": {
|
|
37
|
+
"searchButtonLabel": "Rechercher",
|
|
38
|
+
"searchBarLabel": "Rechercher",
|
|
39
|
+
"searchBarPlaceholder": "Rechercher des noms de domaine",
|
|
40
|
+
"searchBarPreText": "Nom de domaine"
|
|
41
|
+
},
|
|
42
|
+
"sellDomainNameListSearchResult": {
|
|
43
|
+
"domainSearchEmptyMessage": "Désolé, nous n’avons pas trouvé de nom de domaine pour « {{domainNameSearchTerm}} ».",
|
|
44
|
+
"searchAnotherDomainMessage": "Essayez de faire une recherche avec un autre nom de domaine."
|
|
45
|
+
},
|
|
46
|
+
"sellDomainNameWidget": {
|
|
47
|
+
"searchButtonLabel": "Rechercher",
|
|
48
|
+
"searchBarLabel": "Rechercher",
|
|
49
|
+
"searchBarPlaceholder": "Rechercher des noms de domaine",
|
|
50
|
+
"domainSearchOrConnectHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque ou connectez votre domaine existant"
|
|
4
51
|
}
|
|
5
52
|
}
|
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
+
"sellDomainNameList": {
|
|
23
|
+
"freeDomainButtonLabel": "Free Domain",
|
|
24
|
+
"buyNowButtonLabel": "Buy Now",
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
|
+
"costPriceLabel": "Cost Price:"
|
|
27
|
+
},
|
|
28
|
+
"sellDomainNameListModal": {
|
|
29
|
+
"domainSearchHeaderTitle": "Search a domain name",
|
|
30
|
+
"domainSearchHeaderSubtitle": "Buy matching domain name for your brand"
|
|
31
|
+
},
|
|
32
|
+
"sellDomainNameModalApplication": {
|
|
33
|
+
"domainSearchHeaderTitle": "Search a domain name",
|
|
34
|
+
"domainSearchHeaderSubtitle": "Buy matching domain name for your brand"
|
|
35
|
+
},
|
|
36
|
+
"sellDomainNameSearch": {
|
|
37
|
+
"searchButtonLabel": "Search",
|
|
38
|
+
"searchBarLabel": "Search",
|
|
39
|
+
"searchBarPlaceholder": "Search domain names",
|
|
40
|
+
"searchBarPreText": "Domain name"
|
|
41
|
+
},
|
|
42
|
+
"sellDomainNameListSearchResult": {
|
|
43
|
+
"domainSearchEmptyMessage": "Sorry, we couldn't find any domain for \"{{domainNameSearchTerm}}\".",
|
|
44
|
+
"searchAnotherDomainMessage": "Try searching with another domain name."
|
|
45
|
+
},
|
|
46
|
+
"sellDomainNameWidget": {
|
|
47
|
+
"searchButtonLabel": "Search",
|
|
48
|
+
"searchBarLabel": "Search",
|
|
49
|
+
"searchBarPlaceholder": "Search domain names",
|
|
50
|
+
"domainSearchOrConnectHeaderSubtitle": "Buy matching domain name for your brand or connect your existing domain"
|
|
4
51
|
}
|
|
5
52
|
}
|
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
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
|
+
},
|
|
22
|
+
"sellDomainNameList": {
|
|
23
|
+
"freeDomainButtonLabel": "Domínio gratuito",
|
|
24
|
+
"buyNowButtonLabel": "Comprar Agora",
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
|
+
"costPriceLabel": "Preço de Custo:"
|
|
27
|
+
},
|
|
28
|
+
"sellDomainNameListModal": {
|
|
29
|
+
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
30
|
+
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
31
|
+
},
|
|
32
|
+
"sellDomainNameModalApplication": {
|
|
33
|
+
"domainSearchHeaderTitle": "Pesquisar um nome de domínio",
|
|
34
|
+
"domainSearchHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca"
|
|
35
|
+
},
|
|
36
|
+
"sellDomainNameSearch": {
|
|
37
|
+
"searchButtonLabel": "Pesquisar",
|
|
38
|
+
"searchBarLabel": "Pesquisar",
|
|
39
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
40
|
+
"searchBarPreText": "Nome de domínio"
|
|
41
|
+
},
|
|
42
|
+
"sellDomainNameListSearchResult": {
|
|
43
|
+
"domainSearchEmptyMessage": "Não conseguimos encontrar nenhum domínio para \"{{domainNameSearchTerm}}\".",
|
|
44
|
+
"searchAnotherDomainMessage": "Experimente pesquisar outro nome de domínio."
|
|
45
|
+
},
|
|
46
|
+
"sellDomainNameWidget": {
|
|
47
|
+
"searchButtonLabel": "Pesquisar",
|
|
48
|
+
"searchBarLabel": "Pesquisar",
|
|
49
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
50
|
+
"domainSearchOrConnectHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca ou associe ao domínio que já tem"
|
|
4
51
|
}
|
|
5
52
|
}
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
{{ title }}
|
|
13
13
|
</p>
|
|
14
14
|
<span
|
|
15
|
-
v-if="
|
|
15
|
+
v-if="pillLabel"
|
|
16
16
|
class="tw-text-xs tw-h-4 tw-w-fit tw-text-primary-500 tw-border tw-border-solid tw-border-primary-500 tw-rounded-full tw-px-2 tw-font-sans tw-uppercase"
|
|
17
17
|
>
|
|
18
|
-
|
|
18
|
+
{{ pillLabel }}
|
|
19
19
|
</span>
|
|
20
20
|
</div>
|
|
21
21
|
<p class="tw-mt-2 md:tw-mt-0 tw-text-grayscale-600 tw-text-sm">
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
</div>
|
|
28
28
|
<div v-if="hasSearchButton" class="tw-w-full md:tw-w-auto md:tw-justify-end md:tw-pl-4 desktop-cta">
|
|
29
29
|
<Button
|
|
30
|
-
label="
|
|
30
|
+
:label="searchButtonLabel"
|
|
31
31
|
class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
|
|
32
32
|
data-test-brand-page-search-button
|
|
33
33
|
variant="primary"
|
|
34
34
|
size="small-medium"
|
|
35
|
-
@on-click="onClick"
|
|
36
35
|
:class="{
|
|
37
36
|
'tw-uppercase': !isDesignCom,
|
|
38
37
|
}"
|
|
38
|
+
@on-click="onClick"
|
|
39
39
|
/>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
<div v-if="hasSearchButton" class="tw-w-full md:tw-w-auto md:tw-justify-end md:tw-pl-4 mobile-cta tw-mt-2">
|
|
49
49
|
<Button
|
|
50
|
-
label="
|
|
50
|
+
:label="searchButtonLabel"
|
|
51
51
|
class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
|
|
52
52
|
data-test-brand-page-search-button
|
|
53
53
|
variant="primary"
|
|
54
54
|
size="small-medium"
|
|
55
55
|
:full-width="true"
|
|
56
|
-
@on-click="onClick"
|
|
57
56
|
:class="{
|
|
58
57
|
'tw-uppercase': !isDesignCom,
|
|
59
58
|
}"
|
|
59
|
+
@on-click="onClick"
|
|
60
60
|
/>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
</template>
|
|
65
65
|
<script setup lang="ts">
|
|
66
|
-
import Button from '
|
|
66
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
67
67
|
|
|
68
68
|
const props = defineProps({
|
|
69
69
|
title: {
|
|
@@ -86,9 +86,13 @@ const props = defineProps({
|
|
|
86
86
|
type: Boolean,
|
|
87
87
|
default: true,
|
|
88
88
|
},
|
|
89
|
-
|
|
90
|
-
type:
|
|
91
|
-
default:
|
|
89
|
+
searchButtonLabel: {
|
|
90
|
+
type: String,
|
|
91
|
+
default: () => 'Search',
|
|
92
|
+
},
|
|
93
|
+
pillLabel: {
|
|
94
|
+
type: String,
|
|
95
|
+
default: null,
|
|
92
96
|
},
|
|
93
97
|
});
|
|
94
98
|
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import Card from './PublishBrandPageCard.vue';
|
|
2
2
|
import PublishBrandPageModal from './PublishBrandPageModal.vue';
|
|
3
3
|
import { domains } from './__fixtures__/data';
|
|
4
|
+
import { setSharedLibLocaleAsync } from '../../../useSharedLibTranslate';
|
|
4
5
|
|
|
5
6
|
export default {
|
|
6
7
|
title: 'Components/PublishBrandPageModal',
|
|
7
8
|
component: PublishBrandPageModal,
|
|
8
9
|
};
|
|
9
10
|
|
|
11
|
+
const locale = 'en-US';
|
|
12
|
+
|
|
13
|
+
const loadTranslationAsync = async () => {
|
|
14
|
+
await setSharedLibLocaleAsync(locale);
|
|
15
|
+
};
|
|
16
|
+
|
|
10
17
|
export const NotPublishedWithPurchasedDomains = () => {
|
|
11
18
|
return {
|
|
12
19
|
components: {
|
|
@@ -15,6 +22,7 @@ export const NotPublishedWithPurchasedDomains = () => {
|
|
|
15
22
|
data() {
|
|
16
23
|
return {
|
|
17
24
|
domains,
|
|
25
|
+
show: false,
|
|
18
26
|
};
|
|
19
27
|
},
|
|
20
28
|
methods: {},
|
|
@@ -26,7 +34,7 @@ export const NotPublishedWithPurchasedDomains = () => {
|
|
|
26
34
|
should-publish
|
|
27
35
|
:domains="domains"
|
|
28
36
|
brand-page-display-name='Website'
|
|
29
|
-
brand-page-base-url="https://brand.site
|
|
37
|
+
brand-page-base-url="https://brand.site"
|
|
30
38
|
radio-value="slug"
|
|
31
39
|
:show-radio-buttons="domains.length > 0"
|
|
32
40
|
/>
|
|
@@ -34,6 +42,8 @@ export const NotPublishedWithPurchasedDomains = () => {
|
|
|
34
42
|
};
|
|
35
43
|
};
|
|
36
44
|
|
|
45
|
+
NotPublishedWithPurchasedDomains.loaders = [loadTranslationAsync];
|
|
46
|
+
|
|
37
47
|
export const PublishWithSelectedDomain = () => {
|
|
38
48
|
return {
|
|
39
49
|
components: {
|
|
@@ -66,7 +76,7 @@ export const PublishWithSelectedDomain = () => {
|
|
|
66
76
|
:domains="domains"
|
|
67
77
|
:custom-domain="customDomain"
|
|
68
78
|
brand-page-display-name='Website'
|
|
69
|
-
brand-page-base-url="https://brand.site
|
|
79
|
+
brand-page-base-url="https://brand.site"
|
|
70
80
|
radio-value="purchased"
|
|
71
81
|
:show-radio-buttons="domains.length > 0"
|
|
72
82
|
@radio-button-changed="onRadioButtonChanged"
|
|
@@ -75,6 +85,8 @@ export const PublishWithSelectedDomain = () => {
|
|
|
75
85
|
};
|
|
76
86
|
};
|
|
77
87
|
|
|
88
|
+
PublishWithSelectedDomain.loaders = [loadTranslationAsync];
|
|
89
|
+
|
|
78
90
|
export const SetSlug = () => {
|
|
79
91
|
return {
|
|
80
92
|
components: {
|
|
@@ -94,13 +106,16 @@ export const SetSlug = () => {
|
|
|
94
106
|
should-publish
|
|
95
107
|
:domains="domains"
|
|
96
108
|
brand-page-display-name='Website'
|
|
97
|
-
brand-page-base-url="https://brand.site
|
|
109
|
+
brand-page-base-url="https://brand.site"
|
|
98
110
|
brand-page-slug='test-slug'
|
|
99
111
|
:show-radio-buttons="domains.length > 0"
|
|
100
112
|
/>
|
|
101
113
|
`,
|
|
102
114
|
};
|
|
103
115
|
};
|
|
116
|
+
|
|
117
|
+
SetSlug.loaders = [loadTranslationAsync];
|
|
118
|
+
|
|
104
119
|
export const Published = () => {
|
|
105
120
|
return {
|
|
106
121
|
components: {
|
|
@@ -119,13 +134,16 @@ export const Published = () => {
|
|
|
119
134
|
should-publish
|
|
120
135
|
:domains="domains"
|
|
121
136
|
brand-page-display-name='Website'
|
|
122
|
-
brand-page-base-url="https://brand.site
|
|
137
|
+
brand-page-base-url="https://brand.site"
|
|
123
138
|
radio-value="slug"
|
|
124
139
|
brand-page-url="https://brand.site/brandname"
|
|
125
140
|
/>
|
|
126
141
|
`,
|
|
127
142
|
};
|
|
128
143
|
};
|
|
144
|
+
|
|
145
|
+
Published.loaders = [loadTranslationAsync];
|
|
146
|
+
|
|
129
147
|
export const PublishedNoDomains = () => {
|
|
130
148
|
return {
|
|
131
149
|
components: {
|
|
@@ -146,13 +164,16 @@ export const PublishedNoDomains = () => {
|
|
|
146
164
|
:domains="domains"
|
|
147
165
|
brand-page-display-name='Website'
|
|
148
166
|
brand-page-slug='test-slug'
|
|
149
|
-
brand-page-base-url="https://brand.site
|
|
167
|
+
brand-page-base-url="https://brand.site"
|
|
150
168
|
radio-value="slug"
|
|
151
169
|
brand-page-url="https://brand.site/test-slug"
|
|
152
170
|
/>
|
|
153
171
|
`,
|
|
154
172
|
};
|
|
155
173
|
};
|
|
174
|
+
|
|
175
|
+
PublishedNoDomains.loaders = [loadTranslationAsync];
|
|
176
|
+
|
|
156
177
|
export const Free = () => {
|
|
157
178
|
return {
|
|
158
179
|
components: {
|
|
@@ -180,7 +201,7 @@ export const Free = () => {
|
|
|
180
201
|
should-publish
|
|
181
202
|
:domains="domains"
|
|
182
203
|
brand-page-display-name='Website'
|
|
183
|
-
brand-page-base-url="https://brand.site
|
|
204
|
+
brand-page-base-url="https://brand.site"
|
|
184
205
|
radio-value="slug"
|
|
185
206
|
brand-page-url="https://brand.site/brandname"
|
|
186
207
|
:show-radio-buttons="domains.length > 0"
|
|
@@ -201,3 +222,5 @@ export const Free = () => {
|
|
|
201
222
|
`,
|
|
202
223
|
};
|
|
203
224
|
};
|
|
225
|
+
|
|
226
|
+
Free.loaders = [loadTranslationAsync];
|