Skip to content

Commit

Permalink
fix 404 help center
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraLpresta committed Oct 17, 2024
1 parent fd16a2e commit b5b343b
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 15 deletions.
3 changes: 0 additions & 3 deletions _dev/apps/ui/src/assets/json/prestashopUrl.json

This file was deleted.

4 changes: 2 additions & 2 deletions _dev/apps/ui/src/store/modules/app/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import GettersTypes from './getters-types';
import {State as LocalState, HelpInformations, DebugData} from './state';
import countriesSelectionOptions from '../../../assets/json/countries.json';
import symbols from '@/assets/json/symbols.json';
import prestashopUrls from '@/assets/json/prestashopUrl.json';
import i18n from '@/lib/i18n';

export default {
[GettersTypes.GET_IS_COUNTRY_MEMBER_OF_EU](state: LocalState): boolean {
Expand All @@ -44,7 +44,7 @@ export default {
): string {
const {domain} = rootGetters['accounts/GET_PS_ACCOUNTS_CONTEXT'].currentShop;

return `${prestashopUrls.contactForm}?utm_source=back-office&utm_medium=psx&psx=psxmarketingwithgoogle&shop_domain=${domain}`;
return `${i18n.t('general.urlSupport') as string}?utm_source=back-office&utm_medium=psx&psx=psxmarketingwithgoogle&shop_domain=${domain}`;
},
[GettersTypes.GET_DEBUG_DATA](state: LocalState): DebugData {
return state.debugData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": "Keine Ergebnisse für {0} gefunden",
"days": "Tage",
"readMore": "Mehr erfahren",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": " No results found for {0}",
"days": "Days",
"readMore": "Read more",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": " No se han encontrado resultados para \"{0}\"",
"days": "Días",
"readMore": "Leer más",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/es/contactenos"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": " Aucun résultat trouvé pour {0}",
"days": "Jours",
"readMore": "En savoir plus",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/fr/nous-contacter"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": "Nessun risultato trovato per {0}",
"days": "Giorni",
"readMore": "Scopri di più",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/it/contattaci"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": "Geen resultaten gevonden voor {0}",
"days": "Dagen",
"readMore": "Meer lezen",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": "Nie znaleziono wyników dla {0}",
"days": "dni",
"readMore": "Czytaj dalej",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": "Sem resultados para {0}",
"days": "Dias",
"readMore": "Leia mais",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": " Nu s-au găsit rezultate pentru {0}",
"days": "Zile",
"readMore": "Citește mai mult",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"noResultsFoundForX": "Результаты по запросу «{0}» не найдены",
"days": "дн.",
"readMore": "Подробнее",
"countryWithCurrencyFormat": "{country} ({currency})"
"countryWithCurrencyFormat": "{country} ({currency})",
"urlSupport": "https://prestashop-academy.com/gb/contact-us"
},
"landingPage": {
"header": {
Expand Down

0 comments on commit b5b343b

Please sign in to comment.