Skip to content

Commit 630deff

Browse files
Merge branch 'master' into ACCOUNT-2380/feat/add-alert-banner-for-update
2 parents 57cdaac + 6cc5bd7 commit 630deff

File tree

13 files changed

+171
-99
lines changed

13 files changed

+171
-99
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,6 @@
7878
"commitizen": {
7979
"path": "./node_modules/cz-conventional-changelog"
8080
}
81-
}
81+
},
82+
"packageManager": "[email protected]+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903"
8283
}

src/components/alert/AlertShopUnlinked.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('AlertShopUnlinked component tests', () => {
2020

2121
it('should display an alert on warning variant and display the superAdminEmail', () => {
2222
factory({});
23-
expect(findAlert().classes()).toContain('puik-alert--danger');
23+
expect(findAlert().classes()).toContain('puik-alert--warning');
2424
expect(findAlertDescription().text()).toBeDefined();
2525
});
2626
});

src/components/alert/AlertShopUnlinked.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<puik-alert
3-
variant="danger"
3+
variant="warning"
44
data-testid="shop-unlinked-alert"
55
>
66
<p

src/locales/de.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
"message": "This upgrade provides important bug fixes and is recommended for all users.",
2323
"action": "Update module"
2424
}
25+
},
26+
"unlinked": {
27+
"message": "Aufgrund eines unerwarteten Ereignisses wurde Ihr Shop nicht verlinkt. Bitte verlinken Sie ihn erneut, um das Modul zu nutzen."
2528
}
2629
},
2730
"alertShopDomainShouldExists": {
@@ -36,6 +39,12 @@
3639
"authorizedPartially": "Ihre Geschäfte sind zum Teil mit einem PrestaShop-Konto verknüpft",
3740
"authorizedMultishop": "All Ihre Geschäfte sind mit einem PrestaShop-Konto verknüpft",
3841
"connectButton": "Link",
42+
"invitationBanner": {
43+
"button": "Meine Einladungen ansehen|Meine Einladungen ansehen",
44+
"messageStart": "Ein Experte von",
45+
"messageEnd": "wartet auf eine Antwort auf seine Einladung.",
46+
"title": "Sie haben {count} wartende Anfragen|Sie haben {count} wartende Anfragen"
47+
},
3948
"moduleUpdateInformation": {
4049
"part1": "Neues Update: ",
4150
"part2": "Sie können Ihre verknüpften Geschäfte verwalten.",

src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"unlinked": {
27-
"message": "Your PrestaShop account has been unlink from your store because the tokens have expired. Please link it again using the same account."
27+
"message": "Due to an unexpected incident, your store has been unlinked. Please link it again to use the module."
2828
}
2929
},
3030
"alertShopDomainShouldExists": {

src/locales/es.json

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,45 @@
2222
"message": "This upgrade provides important bug fixes and is recommended for all users.",
2323
"action": "Update module"
2424
}
25+
},
26+
"unlinked": {
27+
"message": "Debido a un incidente inesperado, su tienda ha sido desvinculada. Por favor, vincule de nuevo para utilizar el módulo."
2528
}
2629
},
2730
"alertShopDomainShouldExists": {
28-
"title": "Store URL not filled in!",
29-
"message": "Only store with an assigned URL can be linked to a PrestaShop account.",
30-
"shopList": "The following stores don't have an assigned URL: "
31+
"title": "Sin rellenar la URL de la tienda",
32+
"message": "Solo las tiendas con una URL asignada se pueden vincular a una cuenta de PrestaShop.",
33+
"shopList": "Las tiendas siguientes no tienen una URL asignada: "
3134
},
3235
"account": {
33-
"title": "Link your store to a PrestaShop account | Link your stores to a PrestaShop account",
34-
"authorize": "You can only link your store to one account. | You can only link your stores to one account.",
35-
"authorized": "Your store is linked to the PrestaShop account",
36-
"authorizedPartially": "Your stores are partially linked to a PrestaShop account",
37-
"authorizedMultishop": "All your stores are linked to a PrestaShop account",
38-
"connectButton": "Link",
36+
"title": "Vincula tu tienda a una cuenta de PrestaShop | Vincula tus tiendas a una cuenta de PrestaShop",
37+
"authorize": "Solo puedes vincular tu tienda a una cuenta. | Solo puedes vincular tus tiendas a una cuenta.",
38+
"authorized": "Tu tienda está vinculada a la cuenta PrestaShop",
39+
"authorizedPartially": "Tus tiendas están parcialmente vinculadas a una cuenta PrestaShop",
40+
"authorizedMultishop": "Todas tus tiendas están vinculadas a una cuenta PrestaShop",
41+
"connectButton": "Enlace",
42+
"invitationBanner": {
43+
"button": "Ver mi invitación|Ver mis invitaciones",
44+
"messageStart": "Un experto de",
45+
"messageEnd": "espera una respuesta a su invitación.",
46+
"title": "Tiene {count} solicitud en espera|Tiene {count} solicitudes en espera"
47+
},
3948
"moduleUpdateInformation": {
40-
"part1": "New update: ",
41-
"part2": "you can manage your linked stores.",
42-
"part3": "Please link your store again using",
43-
"part4": "the same email address",
44-
"part5": "to benefit from this update.",
45-
"part6": "Other module updates may be available in the Updates tab of the module manager."
49+
"part1": "Nueva actualización: ",
50+
"part2": "puedes gestionar tus tiendas vinculadas.",
51+
"part3": "Vuelva a vincular tu tienda utilizando",
52+
"part4": "la misma dirección de correo electrónico",
53+
"part5": "para beneficiarte de esta actualización.",
54+
"part6": "Otras actualizaciones de módulos pueden estar disponibles en la pestaña Actualizaciones del gestor de módulos."
4655
},
4756
"emailNotVerified": {
4857
"title": "Se ha enviado un correo electrónico de confirmación.",
4958
"description": "Comprueba tu bandeja de entrada y haz clic en el enlace para activar tu cuenta."
5059
},
5160
"sendEmail": "Enviar de nuevo",
52-
"needToBeAdmin": "In order to proceed you need to be administrator of the store",
61+
"needToBeAdmin": "Para continuar, debes ser administrador de la tienda",
5362
"pleaseContact": "Ponte en contacto con",
54-
"manageAccountButton": "Manage linked stores"
63+
"manageAccountButton": "Gestionar tiendas vinculadas"
5564
}
5665
}
5766
}

src/locales/fr.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"unlinked": {
27-
"message": "Votre compte PrestaShop a été dissociée de votre boutique car les tokens ont expirés. Veuillez l’associer de nouveau en utilisant le même compte."
27+
"message": "En raison d'un incident inattendu, votre boutique a été déconnectée. Veuillez la lier à nouveau pour utiliser le module."
2828
}
2929
},
3030
"alertShopDomainShouldExists": {
@@ -39,6 +39,12 @@
3939
"authorizedPartially": "Vos boutiques sont partiellement associées à un compte PrestaShop",
4040
"authorizedMultishop": "Toutes vos boutiques sont associées à un compte PrestaShop",
4141
"connectButton": "Associer",
42+
"invitationBanner": {
43+
"button": "Voir mon invitation|Voir mes invitations",
44+
"messageStart": "Un expert de",
45+
"messageEnd": "attend une réponse à son invitation.",
46+
"title": "Vous avez {count} demandes en attente|Vous avez {count} demandes en attente"
47+
},
4248
"moduleUpdateInformation": {
4349
"part1": "Nouvelle mise à jour : ",
4450
"part2": "vous pouvez gérer vos boutiques associées.",

src/locales/it.json

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,45 @@
2222
"message": "This upgrade provides important bug fixes and is recommended for all users.",
2323
"action": "Update module"
2424
}
25+
},
26+
"unlinked": {
27+
"message": "A causa di un incidente imprevisto, il tuo negozio è stato scollegato. Per favore collegalo nuovamente per utilizzare il modulo."
2528
}
2629
},
2730
"alertShopDomainShouldExists": {
28-
"title": "URL del negozio non compilato!",
29-
"message": "Solo i negozi con un URL assegnato possono essere associati a un account PrestaShop.",
30-
"shopList": "I seguenti negozi non hanno un URL assegnato: "
31+
"title": "URL dello store non compilato!",
32+
"message": "Solo gli store con un URL assegnato possono essere collegati a un account PrestaShop.",
33+
"shopList": "I seguenti store non hanno un URL assegnato: "
3134
},
3235
"account": {
33-
"title": "Associa il tuo negozio a un account PrestaShop | Associa i tuoi negozi a un account PrestaShop",
34-
"authorize": "Puoi associare il tuo negozio a un solo account. Quindi assicurati di scegliere quello giusto!",
35-
"authorized": "Il tuo negozio è associato all'account PrestaShop: | I tuoi negozi sono associati all'account PrestaShop:",
36-
"authorizedPartially": "I tuoi negozi sono parzialmente associati a un account PrestaShop",
37-
"authorizedSeveral": "I tuoi negozi sono associati a diversi account PrestaShop",
38-
"connectButton": "Associa",
39-
"reonboardButton": "Riassociare",
40-
"disconnectButton": "Usa un altro account",
36+
"title": "Associa il tuo store a un account PrestaShop | Associa i tuoi store a un account PrestaShop",
37+
"authorize": "Puoi collegare il tuo store a un solo account. | Puoi collegare gli store a un solo account.",
38+
"authorized": "Il tuo store è associato all'account PrestaShop",
39+
"authorizedPartially": "I tuoi store sono parzialmente associati a un account PrestaShop",
40+
"authorizedMultishop": "Tutti i tuoi store sono collegati a un account PrestaShop",
41+
"connectButton": "Link",
42+
"invitationBanner": {
43+
"button": "Visualizza il mio invito|Vedi i miei inviti",
44+
"messageStart": "Un esperto di",
45+
"messageEnd": "è in attesa di una risposta al suo invito.",
46+
"title": "Hai {count} richieste in attesa|Hai {count} richieste in attesa"
47+
},
4148
"moduleUpdateInformation": {
4249
"part1": "Nuovo aggiornamento: ",
43-
"part2": "da oggi, puoi gestire i tuoi negozi associati.",
44-
"part3": "Ti preghiamo di riassociarli,",
45-
"part4": "utilizzando lo stesso indirizzo e-mail",
46-
"part5": "per usufruire di questo aggiornamento.",
47-
"part6": "Altri aggiornamenti del modulo sono disponibili nella sezione \"Module Manager\", alla scheda \"Aggiornamenti\""
50+
"part2": "puoi gestire i tuoi store collegati.",
51+
"part3": "Collega nuovamente il tuo store usando",
52+
"part4": "lo stesso indirizzo e-mail",
53+
"part5": "per approfittare di questo aggiornamento.",
54+
"part6": "Altri aggiornamenti del modulo possono essere disponibili nella scheda Aggiornamenti del gestore del modulo."
4855
},
4956
"emailNotVerified": {
5057
"title": "Una mail di conferma è stata inviata.",
5158
"description": "Controlla la tua casella di posta e clicca sul link per attivare il tuo account."
5259
},
5360
"sendEmail": "Invia di nuovo",
54-
"needToBeAdmin": "Per continuare, devi essere l'amministratore del negozio",
61+
"needToBeAdmin": "Per procedere è necessario essere amministratore dello store",
5562
"pleaseContact": "Ti preghiamo di contattare",
56-
"manageAccountButton": "Vedi i miei negozi associati",
57-
"unlinkButton": "Scollega"
63+
"manageAccountButton": "Gestisci gli store collegati"
5864
}
5965
}
6066
}

src/locales/nl.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
"message": "This upgrade provides important bug fixes and is recommended for all users.",
2323
"action": "Update module"
2424
}
25+
},
26+
"unlinked": {
27+
"message": "Als gevolg van een onverwachte gebeurtenis is uw winkel ontkoppeld. Koppel deze opnieuw om de module te gebruiken."
2528
}
2629
},
2730
"alertShopDomainShouldExists": {
@@ -36,6 +39,12 @@
3639
"authorizedPartially": "Je winkels zijn gedeeltelijk gekoppeld aan een PrestaShop Account",
3740
"authorizedMultishop": "Al je winkels zijn gekoppeld aan een PrestaShop Account",
3841
"connectButton": "Koppelen",
42+
"invitationBanner": {
43+
"button": "Bekijk mijn uitnodiging|Bekijk mijn uitnodigingen",
44+
"messageStart": "Een expert van",
45+
"messageEnd": "wacht op een antwoord op zijn uitnodiging.",
46+
"title": "Je hebt {count} aanvragen in afwachting|Je hebt {count} aanvragen in afwachting"
47+
},
3948
"moduleUpdateInformation": {
4049
"part1": "Nieuwe update: ",
4150
"part2": "je kunt je gekoppelde winkels beheren.",

src/locales/pl.json

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,61 @@
77
"ps_accounts": {
88
"enable": {
99
"title": "Aktywuj moduł PrestaShop Account",
10-
"message": "Moduł PrestaShop konto jest konieczny w celu dalszej konfiguracji tego modułu.",
10+
"message": "Moduł PrestaShop Account jest konieczny do dalszej konfiguracji tego modułu.",
1111
"action": "Aktywuj",
1212
"loading": "Aktywacja modułu PrestaShop Account w toku..."
1313
},
1414
"install": {
1515
"title": "Zainstaluj moduł PrestaShop Account",
16-
"message": "Moduł PrestaShop konto jest konieczny w celu dalszej konfiguracji tego modułu.",
16+
"message": "Moduł PrestaShop Account jest konieczny do dalszej konfiguracji tego modułu.",
1717
"action": "Zainstaluj",
18-
"loading": "Aktywacja modułu PrestaShop Account w toku..."
18+
"loading": "Instalacja modułu PrestaShop Account w toku..."
1919
},
2020
"update": {
21-
"title": "Get the latest version of PrestaShop account",
22-
"message": "This upgrade provides important bug fixes and is recommended for all users.",
23-
"action": "Update module"
21+
"title": "Zaktualizuj moduł PrestaShop Account",
22+
"message": "Dostępna jest nowa wersja PrestaShop Account: zaktualizuj moduł, aby móc dalej korzystać z usług",
23+
"action": "Aktualizacja",
24+
"loading": "Moduł PrestaShop Account jest obecnie aktualizowany..."
2425
}
26+
},
27+
"unlinked": {
28+
"message": "Ze względu na nieoczekiwany incydent Twój sklep został odłączony. Połącz go ponownie, aby użyć modułu."
2529
}
2630
},
2731
"alertShopDomainShouldExists": {
28-
"title": "URL sklepu nie jest wypełniony!",
29-
"message": "Tylko sklep z przypisanym adresem URL może być powiązany z kontem PrestaShop.",
32+
"title": "Adres URL sklepu nie został wypełniony!",
33+
"message": "Tylko sklep z przypisanym adresem URL może być powiązany z PrestaShop Account.",
3034
"shopList": "Następujące sklepy nie mają przypisanego adresu URL: "
3135
},
3236
"account": {
33-
"title": "Połącz swój sklep z kontem PrestaShop | Połącz swoje sklepy z kontem PrestaShop",
34-
"authorize": "Możesz powiązać swój sklep tylko z jednym kontem. Dokonaj dobrego wyboru!",
35-
"authorized": "Twój sklep jest powiązany z kontem PrestaShop: | Twoje sklepy są powiązane z kontem PrestaShop:",
37+
"title": "Połącz Twój sklep z PrestaShop Account | Połącz Twoje sklepy z PrestaShop Account",
38+
"authorize": "Możesz powiązać Twój sklep tylko z jednym kontem. | Możesz powiązać Twoje sklepy tylko z jednym kontem.",
39+
"authorized": "Twój sklep jest powiązany z kontem PrestaShop",
3640
"authorizedPartially": "Twoje sklepy są częściowo powiązane z kontem PrestaShop",
37-
"authorizedSeveral": "Twoje sklepy są powiązane z kilkoma kontami PrestaShop",
41+
"authorizedMultishop": "Wszystkie Twoje sklepy są powiązane z kontem PrestaShop",
3842
"connectButton": "Połącz",
39-
"reonboardButton": "Ponownie skojarz",
40-
"disconnectButton": "Użyj innego konta",
43+
"invitationBanner": {
44+
"button": "Zobacz moje zaproszenia|Zobacz moje zaproszenia",
45+
"messageStart": "Ekspert z",
46+
"messageEnd": "czeka na odpowiedź na swoje zaproszenie.",
47+
"title": "Masz {count} żądań oczekujących|Masz {count} żądań oczekujących"
48+
},
4149
"moduleUpdateInformation": {
4250
"part1": "Nowa aktualizacja: ",
43-
"part2": "możesz zarządzać swoimi powiązanymi sklepami.",
44-
"part3": "Prosimy o ponowne dołączenie przy użyciu,",
51+
"part2": "możesz zarządzać powiązanymi sklepami.",
52+
"part3": "Podłącz Twój sklep ponownie, używając",
4553
"part4": "tego samego adresu e-mail",
4654
"part5": "aby skorzystać z tej aktualizacji.",
47-
"part6": "Inne aktualizacje modułu mogą być dostępne w Managerze modułów, w zakładce Aktualizacje."
55+
"part6": "Inne aktualizacje modułów mogą być dostępne na karcie Aktualizacje w menedżerze modułów."
4856
},
4957
"emailNotVerified": {
50-
"title": "Została wysłana wiadomość e-mail z potwierdzeniem.",
58+
"title": "E-mail z potwierdzeniem został wysłany.",
5159
"description": "Sprawdź swoją skrzynkę odbiorczą i kliknij link, aby aktywować konto."
5260
},
53-
"sendEmail": "Wróć",
54-
"needToBeAdmin": "Aby kontynuować, musisz być administratorem sklepu.",
61+
"sendEmail": "Wyślij ponownie",
62+
"needToBeAdmin": "Aby kontynuować, musisz być administratorem sklepu",
5563
"pleaseContact": "Prosimy o kontakt",
56-
"manageAccountButton": "Zobacz moje powiązane sklepy",
57-
"unlinkButton": "Odłącz"
64+
"manageAccountButton": "Zarządzaj powiązanymi sklepami"
5865
}
5966
}
6067
}

0 commit comments

Comments
 (0)