@designcrowd/library.brand-page 5.11.3-website-ml-stabilisation-2 → 5.11.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.
- package/lib/src/brand-page/components/map/Map.mixin.d.ts +50 -0
- package/lib/src/brand-page/components/map/Map.mixin.js +20 -0
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +0 -2
- package/lib/src/bundled-translations-BD3QeajO.js +149 -0
- package/lib/src/bundled-translations.de-DE-CLNsuWTP.js +149 -0
- package/lib/src/bundled-translations.es-ES-BEqdZovp.js +149 -0
- package/lib/src/bundled-translations.fr-FR-CAWwdNmE.js +150 -0
- package/lib/src/bundled-translations.pt-PT-B4JxPs9y.js +149 -0
- package/lib/src/bundles/bundled-translations.de-DE.json +2 -10
- package/lib/src/bundles/bundled-translations.es-ES.json +2 -10
- package/lib/src/bundles/bundled-translations.fr-FR.json +2 -10
- package/lib/src/bundles/bundled-translations.json +2 -10
- package/lib/src/bundles/bundled-translations.pt-PT.json +2 -10
- package/lib/src/composables/useTranslate.d.ts +1 -2
- package/lib/src/composables/useTranslate.js +1 -2
- package/lib/src/css/library.brand-page-brandCrowd.min.css +9 -9
- package/lib/src/css/library.brand-page-brandPage.min.css +9 -9
- package/lib/src/css/library.brand-page-designCom.min.css +9 -9
- package/lib/src/css/library.brand-page-preview.min.css +9 -9
- package/lib/src/index.mjs +8789 -8787
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.d.ts +0 -1
- package/lib/src/shared/confirm-modal/ConfirmModal.mixin.js +0 -2
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +1 -1
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js +1 -11
- package/package.json +1 -1
- package/src/brand-page/components/map/Map.mixin.ts +24 -0
- package/src/brand-page/components/map/Map.vue +9 -17
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +0 -2
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.vue +1 -1
- package/src/brand-page-maker/components/google-analytics/GoogleAnalytics.vue +3 -3
- package/src/bundles/bundled-translations.de-DE.json +2 -10
- package/src/bundles/bundled-translations.es-ES.json +2 -10
- package/src/bundles/bundled-translations.fr-FR.json +2 -10
- package/src/bundles/bundled-translations.json +2 -10
- package/src/bundles/bundled-translations.pt-PT.json +2 -10
- package/src/composables/useTranslate.ts +0 -3
- package/src/shared/common/i18n/common.de-DE.json +1 -2
- package/src/shared/common/i18n/common.es-ES.json +1 -2
- package/src/shared/common/i18n/common.fr-FR.json +1 -2
- package/src/shared/common/i18n/common.json +1 -3
- package/src/shared/common/i18n/common.pt-PT.json +1 -2
- package/src/shared/confirm-modal/ConfirmModal.mixin.ts +0 -2
- package/src/shared/confirm-modal/ConfirmModal.vue +3 -5
- package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue +1 -1
- package/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.ts +3 -14
- package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.de-DE.json +2 -4
- package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.es-ES.json +2 -4
- package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.fr-FR.json +2 -4
- package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.json +2 -4
- package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.pt-PT.json +2 -4
- package/lib/src/bundled-translations-EFYoPtDj.js +0 -151
- package/lib/src/bundled-translations.de-DE-C-rVDyiB.js +0 -151
- package/lib/src/bundled-translations.es-ES-DW4zQMrh.js +0 -151
- package/lib/src/bundled-translations.fr-FR-Cj9fkb-c.js +0 -152
- package/lib/src/bundled-translations.pt-PT-CIpxB_0x.js +0 -151
- package/src/shared/confirm-modal/i18n/confirm-modal.de-DE.json +0 -7
- package/src/shared/confirm-modal/i18n/confirm-modal.es-ES.json +0 -7
- package/src/shared/confirm-modal/i18n/confirm-modal.fr-FR.json +0 -7
- package/src/shared/confirm-modal/i18n/confirm-modal.json +0 -7
- package/src/shared/confirm-modal/i18n/confirm-modal.pt-PT.json +0 -7
|
@@ -9,7 +9,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
required: false;
|
|
10
10
|
};
|
|
11
11
|
}>, {
|
|
12
|
-
confirmModalTr: (key: any, valuesToInterpolate?: {}) => any;
|
|
13
12
|
isDesignCom: import("vue").ComputedRef<boolean>;
|
|
14
13
|
}, {}, {}, {
|
|
15
14
|
onCancel(): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
2
|
import { useBrandPageContainerStore } from '../../brand-page-maker/stores';
|
|
3
|
-
import { confirmModalTr } from '../../composables/useTranslate';
|
|
4
3
|
export default defineComponent({
|
|
5
4
|
props: {
|
|
6
5
|
visible: {
|
|
@@ -16,7 +15,6 @@ export default defineComponent({
|
|
|
16
15
|
setup() {
|
|
17
16
|
const containerStore = useBrandPageContainerStore();
|
|
18
17
|
return {
|
|
19
|
-
confirmModalTr,
|
|
20
18
|
isDesignCom: computed(() => containerStore.isDesignCom),
|
|
21
19
|
};
|
|
22
20
|
},
|
package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
41
|
designDraftToken: import("vue").ComputedRef<string | undefined>;
|
|
42
42
|
brandPageViewModel: import("vue").ComputedRef<import("../../brand-page").BrandPageViewModel>;
|
|
43
43
|
backUrl: import("vue").ComputedRef<string>;
|
|
44
|
-
brandPageDisplayName: import("vue").ComputedRef<
|
|
44
|
+
brandPageDisplayName: import("vue").ComputedRef<string>;
|
|
45
45
|
publishBrandPage: import("vue").ComputedRef<({ shouldPublish, slug }: {
|
|
46
46
|
shouldPublish: any;
|
|
47
47
|
slug: any;
|
package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.js
CHANGED
|
@@ -45,17 +45,7 @@ export default defineComponent({
|
|
|
45
45
|
designDraftToken: computed(() => brandPageContainerStore.designDraftToken),
|
|
46
46
|
brandPageViewModel: computed(() => brandPageMakerStore.brandPageViewModel),
|
|
47
47
|
backUrl: computed(() => localisedRouteStore.backToWebsiteManageUrlPath),
|
|
48
|
-
brandPageDisplayName: computed(() =>
|
|
49
|
-
const brandPageName = brandPageContainerStore.brandPageDisplayName;
|
|
50
|
-
switch (brandPageName) {
|
|
51
|
-
case 'Website':
|
|
52
|
-
return publishBrandPageModalWithStateTr('websiteFriendlyName');
|
|
53
|
-
case 'Digital Business Card':
|
|
54
|
-
return publishBrandPageModalWithStateTr('digitalBusinessCardFriendlyName');
|
|
55
|
-
default:
|
|
56
|
-
return brandPageName;
|
|
57
|
-
}
|
|
58
|
-
}),
|
|
48
|
+
brandPageDisplayName: computed(() => brandPageContainerStore.brandPageDisplayName),
|
|
59
49
|
publishBrandPage: computed(() => brandPageContainerStore.publishBrandPage),
|
|
60
50
|
publishCustomDomain: computed(() => brandPageContainerStore.publishBrandPageWithCustomDomainAsync),
|
|
61
51
|
checkWebsiteSlugAsync: computed(() => brandPageContainerStore.checkWebsiteSlugAsync),
|
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent } from 'vue';
|
|
2
|
+
import ComponentCommonMixin from '../mixins/component-common.mixin';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
import type { MapViewModel } from '../../view-models';
|
|
5
|
+
import type { BrandPageContext } from '../../models';
|
|
6
|
+
|
|
7
|
+
export default defineComponent({
|
|
8
|
+
mixins: [ComponentCommonMixin],
|
|
9
|
+
props: {
|
|
10
|
+
viewModel: {
|
|
11
|
+
type: Object as PropType<MapViewModel>,
|
|
12
|
+
required: true,
|
|
13
|
+
},
|
|
14
|
+
context: {
|
|
15
|
+
type: Object as PropType<BrandPageContext>,
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
computed: {
|
|
20
|
+
placeId(): string | undefined {
|
|
21
|
+
return this.viewModel?.address?.placeId;
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
});
|
|
@@ -16,27 +16,19 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
</template>
|
|
19
|
-
<script
|
|
19
|
+
<script>
|
|
20
20
|
import GoogleMap from './GoogleMap.vue';
|
|
21
21
|
import Placeholder from '../placeholder/Placeholder.vue';
|
|
22
|
-
import
|
|
23
|
-
import type { BrandPageContext } from '../../models';
|
|
22
|
+
import MapMixin from './Map.mixin.ts';
|
|
24
23
|
import { mapTr } from '../../../composables/useTranslate';
|
|
25
|
-
import { computed } from 'vue';
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
35
|
-
isPreview: false,
|
|
36
|
-
isMobileDevice: false,
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
const placeId = computed(() => props.viewModel?.address?.placeId);
|
|
25
|
+
export default {
|
|
26
|
+
components: {
|
|
27
|
+
GoogleMap,
|
|
28
|
+
Placeholder,
|
|
29
|
+
},
|
|
30
|
+
mixins: [MapMixin],
|
|
31
|
+
};
|
|
40
32
|
</script>
|
|
41
33
|
<style scoped>
|
|
42
34
|
.c-map {
|
|
@@ -44,7 +44,6 @@ import type { ShopConfigData } from '../../../brand-page/models/shop.model';
|
|
|
44
44
|
import { useProductConfigStore } from '../../../brand-page-maker/stores/product-config/product-config-store';
|
|
45
45
|
import type { UpdateItemValuePayload } from '../../../shared/content-settings/models';
|
|
46
46
|
import { UPGRADE_CTA_LOCATIONS } from '../../composables/useEventTracker';
|
|
47
|
-
import { commonTr } from '../../../composables/useTranslate';
|
|
48
47
|
|
|
49
48
|
export interface BrandPageMakerViewModel {
|
|
50
49
|
adminPreviewLogoTemplateModels?: AdminPreviewLogoTemplateModel[];
|
|
@@ -86,7 +85,6 @@ export default defineComponent({
|
|
|
86
85
|
const localisedRouteStore = useLocalisedRouteStore();
|
|
87
86
|
|
|
88
87
|
return {
|
|
89
|
-
commonTr,
|
|
90
88
|
currentNotificationMessage: computed(
|
|
91
89
|
() => brandPageMakerStore.currentNotificationMessage,
|
|
92
90
|
),
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
<!-- Start template change confirm modal -->
|
|
90
90
|
<ConfirmModal
|
|
91
91
|
:visible="isChangeTemplateConfirmModalVisible"
|
|
92
|
-
|
|
92
|
+
description="Changing templates will cause you to lose your changes. All your content will be erased. We recommend you duplicate your site beforehand if you want to retain your changes."
|
|
93
93
|
@confirm="onChangeTemplateConfirmModalConfirm"
|
|
94
94
|
@cancel="onChangeTemplateConfirmModalCancel"
|
|
95
95
|
/>
|
|
@@ -78,9 +78,8 @@
|
|
|
78
78
|
@input="onValueChange"
|
|
79
79
|
/>
|
|
80
80
|
|
|
81
|
-
<div
|
|
81
|
+
<div v-if="!hasValue">
|
|
82
82
|
<Button
|
|
83
|
-
v-if="!hasValue"
|
|
84
83
|
:label="commonTr('save')"
|
|
85
84
|
variant="primary"
|
|
86
85
|
size="small-medium"
|
|
@@ -88,8 +87,9 @@
|
|
|
88
87
|
:disabled="!isReadyToSave"
|
|
89
88
|
@on-click.stop="onSlugChangeButtonClicked"
|
|
90
89
|
/>
|
|
90
|
+
</div>
|
|
91
|
+
<div v-else>
|
|
91
92
|
<Button
|
|
92
|
-
v-else
|
|
93
93
|
:label="commonTr('remove')"
|
|
94
94
|
variant="primary"
|
|
95
95
|
size="small-medium"
|
|
@@ -336,8 +336,7 @@
|
|
|
336
336
|
"copyrightTextPlaceholder": "Copyright-Text hier",
|
|
337
337
|
"continue": "Weiter",
|
|
338
338
|
"defaultSaveDescription": "Vergessen Sie nicht, Ihre Änderungen zu veröffentlichen, sobald Sie mit Ihrem Design zufrieden sind.",
|
|
339
|
-
"saveSuccess": "Gespeichert!"
|
|
340
|
-
"changeTemplateConfirmationMessage": "Wenn Sie die Vorlagen ändern, gehen Ihre Änderungen verloren. Alle Ihre Inhalte werden gelöscht. Wir empfehlen Ihnen, Ihre Website vorher zu duplizieren, wenn Sie Ihre Änderungen beibehalten möchten."
|
|
339
|
+
"saveSuccess": "Gespeichert!"
|
|
341
340
|
},
|
|
342
341
|
"error": {
|
|
343
342
|
"maxCharacters": "Sie haben das Zeichenlimit erreicht",
|
|
@@ -367,11 +366,6 @@
|
|
|
367
366
|
"mailingListError": "Es ist ein Fehler aufgetreten. Das Abonnieren der Mailingliste ist nicht möglich.",
|
|
368
367
|
"contactMessageError": "Es ist ein Fehler aufgetreten. Es ist nicht möglich, das Kontaktformular zu abonnieren."
|
|
369
368
|
},
|
|
370
|
-
"confirmModal": {
|
|
371
|
-
"confirmMessageTitle": "Sind Sie sicher?",
|
|
372
|
-
"noLabel": "Nein",
|
|
373
|
-
"yesLabel": "Ja"
|
|
374
|
-
},
|
|
375
369
|
"colorField": {
|
|
376
370
|
"recommendedColors": "Empfohlene Farben",
|
|
377
371
|
"logoColors": "Logo-Farben",
|
|
@@ -736,9 +730,7 @@
|
|
|
736
730
|
"domainSearchButtonLabel": "Suche",
|
|
737
731
|
"customDomainCardDescription": "Wählen Sie eine Domain, die zu Ihrem Unternehmen passt, damit Ihre Kunden Sie problemlos finden",
|
|
738
732
|
"customDomainLabel": "Benutzerdefinierte Domain",
|
|
739
|
-
"recommendedLabel": "Empfohlen"
|
|
740
|
-
"websiteFriendlyName": "Website",
|
|
741
|
-
"digitalBusinessCardFriendlyName": "Digitale Visitenkarte"
|
|
733
|
+
"recommendedLabel": "Empfohlen"
|
|
742
734
|
},
|
|
743
735
|
"shapeLibrary": {
|
|
744
736
|
"loadMoreShapes": "Weitere Formen laden"
|
|
@@ -336,8 +336,7 @@
|
|
|
336
336
|
"copyrightTextPlaceholder": "Texto de copyright aquí",
|
|
337
337
|
"continue": "Continuar",
|
|
338
338
|
"defaultSaveDescription": "No olvides publicar los cambios una vez que tengas un diseño que te guste.",
|
|
339
|
-
"saveSuccess": "¡Se ha guardado correctamente!"
|
|
340
|
-
"changeTemplateConfirmationMessage": "Cambiar las plantillas hará que pierdas los cambios. Se borrará todo el contenido. Te recomendamos que hagas un duplicado de tu sitio web de antemano si quieres conservar los cambios."
|
|
339
|
+
"saveSuccess": "¡Se ha guardado correctamente!"
|
|
341
340
|
},
|
|
342
341
|
"error": {
|
|
343
342
|
"maxCharacters": "Has alcanzado tu límite máximo de caracteres permitidos",
|
|
@@ -367,11 +366,6 @@
|
|
|
367
366
|
"mailingListError": "Se ha producido un error. No es posible suscribirte a la lista de correo.",
|
|
368
367
|
"contactMessageError": "Se ha producido un error. No es posible suscribirte para enviar el formulario de contacto."
|
|
369
368
|
},
|
|
370
|
-
"confirmModal": {
|
|
371
|
-
"confirmMessageTitle": "¿Estás seguro?",
|
|
372
|
-
"noLabel": "No",
|
|
373
|
-
"yesLabel": "Sí"
|
|
374
|
-
},
|
|
375
369
|
"colorField": {
|
|
376
370
|
"recommendedColors": "Colores recomendados",
|
|
377
371
|
"logoColors": "Colores del logo",
|
|
@@ -736,9 +730,7 @@
|
|
|
736
730
|
"domainSearchButtonLabel": "Buscar",
|
|
737
731
|
"customDomainCardDescription": "Facilita que los clientes te encuentren con un dominio que sea fiel reflejo de tu negocio",
|
|
738
732
|
"customDomainLabel": "Dominio personalizado",
|
|
739
|
-
"recommendedLabel": "Recomendado"
|
|
740
|
-
"websiteFriendlyName": "Sitio web",
|
|
741
|
-
"digitalBusinessCardFriendlyName": "Tarjeta de visita digital"
|
|
733
|
+
"recommendedLabel": "Recomendado"
|
|
742
734
|
},
|
|
743
735
|
"shapeLibrary": {
|
|
744
736
|
"loadMoreShapes": "Cargar más formas"
|
|
@@ -336,8 +336,7 @@
|
|
|
336
336
|
"copyrightTextPlaceholder": "Texte de copyright ici",
|
|
337
337
|
"continue": "Continuer",
|
|
338
338
|
"defaultSaveDescription": "N’oubliez pas de publier vos modifications une fois que votre design vous convient.",
|
|
339
|
-
"saveSuccess": "Enregistrement réussi !"
|
|
340
|
-
"changeTemplateConfirmationMessage": "Si vous changez de modèle, vous perdrez vos modifications et tout votre contenu sera effacé. Nous vous recommandons de dupliquer votre site au préalable si vous souhaitez conserver vos modifications."
|
|
339
|
+
"saveSuccess": "Enregistrement réussi !"
|
|
341
340
|
},
|
|
342
341
|
"error": {
|
|
343
342
|
"maxCharacters": "Vous avez atteint la limite maximale de caractères autorisés",
|
|
@@ -367,11 +366,6 @@
|
|
|
367
366
|
"mailingListError": "Une erreur s'est produite. Impossible de s'abonner à la liste de diffusion.",
|
|
368
367
|
"contactMessageError": "Une erreur s'est produite. Impossible de s'inscrire pour envoyer le formulaire de contact."
|
|
369
368
|
},
|
|
370
|
-
"confirmModal": {
|
|
371
|
-
"confirmMessageTitle": "Êtes-vous sûr ?",
|
|
372
|
-
"noLabel": "Non",
|
|
373
|
-
"yesLabel": "Oui"
|
|
374
|
-
},
|
|
375
369
|
"colorField": {
|
|
376
370
|
"recommendedColors": "Couleurs recommandées",
|
|
377
371
|
"logoColors": "Couleurs du logo",
|
|
@@ -736,9 +730,7 @@
|
|
|
736
730
|
"domainSearchButtonLabel": "Rechercher",
|
|
737
731
|
"customDomainCardDescription": "Permettez aux clients de vous trouver facilement grâce à un nom de domaine qui correspond à votre entreprise",
|
|
738
732
|
"customDomainLabel": "Domaine personnalisé",
|
|
739
|
-
"recommendedLabel": "Recommandé"
|
|
740
|
-
"websiteFriendlyName": "Site Web",
|
|
741
|
-
"digitalBusinessCardFriendlyName": "Carte de visite numérique"
|
|
733
|
+
"recommendedLabel": "Recommandé"
|
|
742
734
|
},
|
|
743
735
|
"shapeLibrary": {
|
|
744
736
|
"loadMoreShapes": "Charger plus de formes"
|
|
@@ -336,8 +336,7 @@
|
|
|
336
336
|
"copyrightTextPlaceholder": "Copyright text here",
|
|
337
337
|
"continue": "Continue",
|
|
338
338
|
"defaultSaveDescription": "Don’t forget to publish your changes once you are happy with your design.",
|
|
339
|
-
"saveSuccess": "Save successful!"
|
|
340
|
-
"changeTemplateConfirmationMessage": "Changing templates will cause you to lose your changes. All your content will be erased. We recommend you duplicate your site beforehand if you want to retain your changes."
|
|
339
|
+
"saveSuccess": "Save successful!"
|
|
341
340
|
},
|
|
342
341
|
"error": {
|
|
343
342
|
"maxCharacters": "You have reached your maximum limit of characters allowed",
|
|
@@ -367,11 +366,6 @@
|
|
|
367
366
|
"mailingListError": "An error has occurred. Unable to subscribe to mailing list.",
|
|
368
367
|
"contactMessageError": "An error has occurred. Unable to subscribe to submit contact form."
|
|
369
368
|
},
|
|
370
|
-
"confirmModal": {
|
|
371
|
-
"confirmMessageTitle": "Are you sure?",
|
|
372
|
-
"noLabel": "No",
|
|
373
|
-
"yesLabel": "Yes"
|
|
374
|
-
},
|
|
375
369
|
"colorField": {
|
|
376
370
|
"recommendedColors": "Recommended Colors",
|
|
377
371
|
"logoColors": "Logo Colors",
|
|
@@ -736,9 +730,7 @@
|
|
|
736
730
|
"domainSearchButtonLabel": "Search",
|
|
737
731
|
"customDomainCardDescription": "Make it easy for customers to find you with a domain that matches your business",
|
|
738
732
|
"customDomainLabel": "Custom Domain",
|
|
739
|
-
"recommendedLabel": "Recommended"
|
|
740
|
-
"websiteFriendlyName": "Website",
|
|
741
|
-
"digitalBusinessCardFriendlyName": "Digital Business Card"
|
|
733
|
+
"recommendedLabel": "Recommended"
|
|
742
734
|
},
|
|
743
735
|
"shapeLibrary": {
|
|
744
736
|
"loadMoreShapes": "Load More Shapes"
|
|
@@ -336,8 +336,7 @@
|
|
|
336
336
|
"copyrightTextPlaceholder": "Texto de direitos de autor aqui",
|
|
337
337
|
"continue": "Continuar",
|
|
338
338
|
"defaultSaveDescription": "Não se esqueça de publicar as suas alterações quando estiver satisfeito com o seu design.",
|
|
339
|
-
"saveSuccess": "Gravação bem-sucedida!"
|
|
340
|
-
"changeTemplateConfirmationMessage": "Alterar modelos fará com que perca as suas alterações. Todo o seu conteúdo será apagado. Recomendamos que duplique o seu site previamente, caso pretenda manter as suas alterações."
|
|
339
|
+
"saveSuccess": "Gravação bem-sucedida!"
|
|
341
340
|
},
|
|
342
341
|
"error": {
|
|
343
342
|
"maxCharacters": "Atingiu o limite máximo de caracteres permitido",
|
|
@@ -367,11 +366,6 @@
|
|
|
367
366
|
"mailingListError": "Ocorreu um erro. Não é possível subscrever a lista de e-mail.",
|
|
368
367
|
"contactMessageError": "Ocorreu um erro. Não é possível subscrever para enviar o formulário de contacto."
|
|
369
368
|
},
|
|
370
|
-
"confirmModal": {
|
|
371
|
-
"confirmMessageTitle": "Tem a certeza?",
|
|
372
|
-
"noLabel": "Não",
|
|
373
|
-
"yesLabel": "Sim"
|
|
374
|
-
},
|
|
375
369
|
"colorField": {
|
|
376
370
|
"recommendedColors": "Cores recomendadas",
|
|
377
371
|
"logoColors": "Cores do logótipo",
|
|
@@ -736,9 +730,7 @@
|
|
|
736
730
|
"domainSearchButtonLabel": "Pesquisar",
|
|
737
731
|
"customDomainCardDescription": "Permita que os clientes encontrem a sua empresa facilmente com um domínio que corresponda à empresa",
|
|
738
732
|
"customDomainLabel": "Domínio personalizado",
|
|
739
|
-
"recommendedLabel": "Recomendado"
|
|
740
|
-
"websiteFriendlyName": "Website",
|
|
741
|
-
"digitalBusinessCardFriendlyName": "Cartão de visita digital"
|
|
733
|
+
"recommendedLabel": "Recomendado"
|
|
742
734
|
},
|
|
743
735
|
"shapeLibrary": {
|
|
744
736
|
"loadMoreShapes": "Carregar mais formas"
|
|
@@ -185,8 +185,6 @@ const productDetailModalTr = (key, valuesToInterpolate = {}) =>
|
|
|
185
185
|
tr(`productDetailModal.${key}`, valuesToInterpolate);
|
|
186
186
|
const videoTr = (key, valuesToInterpolate = {}) =>
|
|
187
187
|
tr(`video.${key}`, valuesToInterpolate);
|
|
188
|
-
const confirmModalTr = (key, valuesToInterpolate = {}) =>
|
|
189
|
-
tr(`confirmModal.${key}`, valuesToInterpolate);
|
|
190
188
|
|
|
191
189
|
const currentLocale = (): LocaleTypes => {
|
|
192
190
|
const i18 = getI18NextInstance();
|
|
@@ -278,5 +276,4 @@ export {
|
|
|
278
276
|
requestPaymentStripeTr,
|
|
279
277
|
productDetailModalTr,
|
|
280
278
|
videoTr,
|
|
281
|
-
confirmModalTr,
|
|
282
279
|
};
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"copyrightTextPlaceholder" : "Copyright-Text hier",
|
|
45
45
|
"continue" : "Weiter",
|
|
46
46
|
"defaultSaveDescription" : "Vergessen Sie nicht, Ihre Änderungen zu veröffentlichen, sobald Sie mit Ihrem Design zufrieden sind.",
|
|
47
|
-
"saveSuccess" : "Gespeichert!"
|
|
48
|
-
"changeTemplateConfirmationMessage" : "Wenn Sie die Vorlagen ändern, gehen Ihre Änderungen verloren. Alle Ihre Inhalte werden gelöscht. Wir empfehlen Ihnen, Ihre Website vorher zu duplizieren, wenn Sie Ihre Änderungen beibehalten möchten."
|
|
47
|
+
"saveSuccess" : "Gespeichert!"
|
|
49
48
|
}
|
|
50
49
|
}
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"copyrightTextPlaceholder" : "Texto de copyright aquí",
|
|
45
45
|
"continue" : "Continuar",
|
|
46
46
|
"defaultSaveDescription" : "No olvides publicar los cambios una vez que tengas un diseño que te guste.",
|
|
47
|
-
"saveSuccess" : "¡Se ha guardado correctamente!"
|
|
48
|
-
"changeTemplateConfirmationMessage" : "Cambiar las plantillas hará que pierdas los cambios. Se borrará todo el contenido. Te recomendamos que hagas un duplicado de tu sitio web de antemano si quieres conservar los cambios."
|
|
47
|
+
"saveSuccess" : "¡Se ha guardado correctamente!"
|
|
49
48
|
}
|
|
50
49
|
}
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"copyrightTextPlaceholder" : "Texte de copyright ici",
|
|
45
45
|
"continue" : "Continuer",
|
|
46
46
|
"defaultSaveDescription" : "N’oubliez pas de publier vos modifications une fois que votre design vous convient.",
|
|
47
|
-
"saveSuccess" : "Enregistrement réussi !"
|
|
48
|
-
"changeTemplateConfirmationMessage" : "Si vous changez de modèle, vous perdrez vos modifications et tout votre contenu sera effacé. Nous vous recommandons de dupliquer votre site au préalable si vous souhaitez conserver vos modifications."
|
|
47
|
+
"saveSuccess" : "Enregistrement réussi !"
|
|
49
48
|
}
|
|
50
49
|
}
|
|
@@ -52,8 +52,6 @@
|
|
|
52
52
|
|
|
53
53
|
"continue": "Continue",
|
|
54
54
|
"defaultSaveDescription": "Don’t forget to publish your changes once you are happy with your design.",
|
|
55
|
-
"saveSuccess": "Save successful!"
|
|
56
|
-
|
|
57
|
-
"changeTemplateConfirmationMessage": "Changing templates will cause you to lose your changes. All your content will be erased. We recommend you duplicate your site beforehand if you want to retain your changes."
|
|
55
|
+
"saveSuccess": "Save successful!"
|
|
58
56
|
}
|
|
59
57
|
}
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"copyrightTextPlaceholder" : "Texto de direitos de autor aqui",
|
|
45
45
|
"continue" : "Continuar",
|
|
46
46
|
"defaultSaveDescription" : "Não se esqueça de publicar as suas alterações quando estiver satisfeito com o seu design.",
|
|
47
|
-
"saveSuccess" : "Gravação bem-sucedida!"
|
|
48
|
-
"changeTemplateConfirmationMessage" : "Alterar modelos fará com que perca as suas alterações. Todo o seu conteúdo será apagado. Recomendamos que duplique o seu site previamente, caso pretenda manter as suas alterações."
|
|
47
|
+
"saveSuccess" : "Gravação bem-sucedida!"
|
|
49
48
|
}
|
|
50
49
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
2
|
import { useBrandPageContainerStore } from '../../brand-page-maker/stores';
|
|
3
|
-
import { confirmModalTr } from '../../composables/useTranslate';
|
|
4
3
|
|
|
5
4
|
export default defineComponent({
|
|
6
5
|
props: {
|
|
@@ -18,7 +17,6 @@ export default defineComponent({
|
|
|
18
17
|
const containerStore = useBrandPageContainerStore();
|
|
19
18
|
|
|
20
19
|
return {
|
|
21
|
-
confirmModalTr,
|
|
22
20
|
isDesignCom: computed(() => containerStore.isDesignCom),
|
|
23
21
|
};
|
|
24
22
|
},
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
@close-modal="onCancel"
|
|
11
11
|
>
|
|
12
12
|
<template #header>
|
|
13
|
-
<h2 class="tw-text-lg tw-font-bold tw-mb-2">
|
|
14
|
-
{{ confirmModalTr('confirmMessageTitle') }}
|
|
15
|
-
</h2>
|
|
13
|
+
<h2 class="tw-text-lg tw-font-bold tw-mb-2">Are you sure?</h2>
|
|
16
14
|
</template>
|
|
17
15
|
<template v-if="!!description" #default>
|
|
18
16
|
<div class="tw-my-4">{{ description }}</div>
|
|
@@ -21,13 +19,13 @@
|
|
|
21
19
|
<div class="tw-flex tw-justify-center tw-pt-4">
|
|
22
20
|
<Button
|
|
23
21
|
classes="tw-mr-2 tw-px-8"
|
|
24
|
-
|
|
22
|
+
label="No"
|
|
25
23
|
variant="outline"
|
|
26
24
|
@on-click.stop="onCancel"
|
|
27
25
|
/>
|
|
28
26
|
<Button
|
|
29
27
|
classes="tw-ml-2 tw-px-8"
|
|
30
|
-
|
|
28
|
+
label="Yes"
|
|
31
29
|
variant="success"
|
|
32
30
|
@on-click.stop="onConfirm"
|
|
33
31
|
/>
|
package/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.vue
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
:show-rich-text-editor="showRichTextEditor"
|
|
50
50
|
:settings="getFieldSettings(id, settingsName)"
|
|
51
51
|
:settings-name="settingsName"
|
|
52
|
-
:title="
|
|
52
|
+
:title="field.title"
|
|
53
53
|
:styles="content[`${field.name}Style`]"
|
|
54
54
|
:label="field.label"
|
|
55
55
|
:fields="field.fields"
|
|
@@ -63,20 +63,9 @@ export default defineComponent({
|
|
|
63
63
|
() => brandPageMakerStore.brandPageViewModel,
|
|
64
64
|
),
|
|
65
65
|
backUrl: computed(() => localisedRouteStore.backToWebsiteManageUrlPath),
|
|
66
|
-
brandPageDisplayName: computed(
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
switch (brandPageName) {
|
|
70
|
-
case 'Website':
|
|
71
|
-
return publishBrandPageModalWithStateTr('websiteFriendlyName');
|
|
72
|
-
case 'Digital Business Card':
|
|
73
|
-
return publishBrandPageModalWithStateTr(
|
|
74
|
-
'digitalBusinessCardFriendlyName',
|
|
75
|
-
);
|
|
76
|
-
default:
|
|
77
|
-
return brandPageName;
|
|
78
|
-
}
|
|
79
|
-
}),
|
|
66
|
+
brandPageDisplayName: computed(
|
|
67
|
+
() => brandPageContainerStore.brandPageDisplayName,
|
|
68
|
+
),
|
|
80
69
|
publishBrandPage: computed(
|
|
81
70
|
() => brandPageContainerStore.publishBrandPage,
|
|
82
71
|
),
|
package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.de-DE.json
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
"domainSearchButtonLabel" : "Suche",
|
|
4
4
|
"customDomainCardDescription" : "Wählen Sie eine Domain, die zu Ihrem Unternehmen passt, damit Ihre Kunden Sie problemlos finden",
|
|
5
5
|
"customDomainLabel" : "Benutzerdefinierte Domain",
|
|
6
|
-
"recommendedLabel" : "Empfohlen"
|
|
7
|
-
"websiteFriendlyName" : "Website",
|
|
8
|
-
"digitalBusinessCardFriendlyName" : "Digitale Visitenkarte"
|
|
6
|
+
"recommendedLabel" : "Empfohlen"
|
|
9
7
|
}
|
|
10
|
-
}
|
|
8
|
+
}
|
package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.es-ES.json
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
"domainSearchButtonLabel" : "Buscar",
|
|
4
4
|
"customDomainCardDescription" : "Facilita que los clientes te encuentren con un dominio que sea fiel reflejo de tu negocio",
|
|
5
5
|
"customDomainLabel" : "Dominio personalizado",
|
|
6
|
-
"recommendedLabel" : "Recomendado"
|
|
7
|
-
"websiteFriendlyName" : "Sitio web",
|
|
8
|
-
"digitalBusinessCardFriendlyName" : "Tarjeta de visita digital"
|
|
6
|
+
"recommendedLabel" : "Recomendado"
|
|
9
7
|
}
|
|
10
|
-
}
|
|
8
|
+
}
|
package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.fr-FR.json
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
"domainSearchButtonLabel" : "Rechercher",
|
|
4
4
|
"customDomainCardDescription" : "Permettez aux clients de vous trouver facilement grâce à un nom de domaine qui correspond à votre entreprise",
|
|
5
5
|
"customDomainLabel" : "Domaine personnalisé",
|
|
6
|
-
"recommendedLabel" : "Recommandé"
|
|
7
|
-
"websiteFriendlyName" : "Site Web",
|
|
8
|
-
"digitalBusinessCardFriendlyName" : "Carte de visite numérique"
|
|
6
|
+
"recommendedLabel" : "Recommandé"
|
|
9
7
|
}
|
|
10
|
-
}
|
|
8
|
+
}
|
package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.json
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
"domainSearchButtonLabel": "Search",
|
|
4
4
|
"customDomainCardDescription": "Make it easy for customers to find you with a domain that matches your business",
|
|
5
5
|
"customDomainLabel": "Custom Domain",
|
|
6
|
-
"recommendedLabel": "Recommended"
|
|
7
|
-
"websiteFriendlyName": "Website",
|
|
8
|
-
"digitalBusinessCardFriendlyName": "Digital Business Card"
|
|
6
|
+
"recommendedLabel": "Recommended"
|
|
9
7
|
}
|
|
10
|
-
}
|
|
8
|
+
}
|
package/src/shared/publish-brand-page-with-state/i18n/publish-brand-page-modal-with-state.pt-PT.json
CHANGED
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
"domainSearchButtonLabel" : "Pesquisar",
|
|
4
4
|
"customDomainCardDescription" : "Permita que os clientes encontrem a sua empresa facilmente com um domínio que corresponda à empresa",
|
|
5
5
|
"customDomainLabel" : "Domínio personalizado",
|
|
6
|
-
"recommendedLabel" : "Recomendado"
|
|
7
|
-
"websiteFriendlyName" : "Website",
|
|
8
|
-
"digitalBusinessCardFriendlyName" : "Cartão de visita digital"
|
|
6
|
+
"recommendedLabel" : "Recomendado"
|
|
9
7
|
}
|
|
10
|
-
}
|
|
8
|
+
}
|