diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4183612d..21cd6aa6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -38,7 +38,7 @@ jobs: - run: composer install - name: Run PHP-CS-Fixer - run: vendor/bin/php-cs-fixer fix --dry-run + uses: prestashopcorp/github-action-php-cs-fixer@master phpstan: name: PHPStan diff --git a/_dev/src/components/help/card-faq.vue b/_dev/src/components/help/card-faq.vue index 74a2f324..060c66b0 100644 --- a/_dev/src/components/help/card-faq.vue +++ b/_dev/src/components/help/card-faq.vue @@ -131,7 +131,7 @@ {{ $t("help.help.privacyPolicy") }} @@ -184,6 +184,16 @@ export default defineComponent({ module: 'ps_facebook', }); }, + privacyPolicyLink() { + const urls = { + fr: 'https://prestashop.fr/politique-confidentialite/', + en: 'https://prestashop.com/privacy-policy/', + }; + + const currentLocale = this.$i18n.locale; + + return urls[currentLocale] || urls.en; + }, }, });