Advisuel Posted December 15, 2021 Share Posted December 15, 2021 (edited) Bonjour Sur collectormania.fr prestashop 1.7.8 quand on demande un nouveau mot de passe sur la version anglaise du site, on reçoit un mail avec plein de liens vers Github une idée ? Edited December 15, 2021 by Advisuel (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted December 15, 2021 Share Posted December 15, 2021 Il doit y avoir un glitch^^ Regardez dans la traduction des emails en BO pour voir le contenu de la version anglaise Link to comment Share on other sites More sharing options...
Advisuel Posted December 15, 2021 Author Share Posted December 15, 2021 Merci Eolia ! un glitch ?? Link to comment Share on other sites More sharing options...
Advisuel Posted December 15, 2021 Author Share Posted December 15, 2021 y a ceci : Aucun objet n'a été trouvé pour password dans la base de données. Link to comment Share on other sites More sharing options...
Advisuel Posted December 15, 2021 Author Share Posted December 15, 2021 en effet, il y a le site github qui apparait ! voir copie ecran Link to comment Share on other sites More sharing options...
Eolia Posted December 15, 2021 Share Posted December 15, 2021 Pour l'objet (le sujet) oui mais pour le contenu, il est correct ou pas en anglais ? (En espérant que vous avez bien choisi celui de votre thème) Link to comment Share on other sites More sharing options...
Eolia Posted December 15, 2021 Share Posted December 15, 2021 Normalement le fichier twig contient ceci {% extends '@MailThemes/classic/components/layout.html.twig' %} {% block content %} <tr> <td align="center" class="titleblock"> <font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454"> <span class="title">{{ 'Hi {firstname} {lastname},'|trans({}, 'Emails.Body', locale) }}</span> </font> </td> </tr> <tr> <td class="space_footer"> </td> </tr> <tr> <td class="box" style="border:1px solid #D6D4D4;"> <table class="table"> <tr> <td width="10"> </td> <td> <font size="2" face="{{ languageDefaultFont }}Open-sans, sans-serif" color="#555454"> {% if templateType == 'html' %} <p style="border-bottom:1px solid #D6D4D4;"> {{ 'Password reset request for {shop_name}'|trans({}, 'Emails.Body', locale) }} </p> {% endif %} <span> {{ 'You have requested to reset your [1]{shop_name}[/1] login details.'|trans({'[1]': '<span><strong>', '[/1]': '</strong></span>'}, 'Emails.Body', locale)|raw }}<br/><br/> {{ 'Please note that this will change your current password.'|trans({}, 'Emails.Body', locale)|raw }}<br/><br/> {{ 'To confirm this action, please use the following link:'|trans({}, 'Emails.Body', locale)|raw }} <br/> <a href="{url}">{url}</a> </span> </font> </td> <td width="10"> </td> </tr> </table> </td> </tr> {% endblock %} Link to comment Share on other sites More sharing options...
Eolia Posted December 15, 2021 Share Posted December 15, 2021 le bon fichier est là: https://github.com/PrestaShop/TranslationFiles/blob/master/1.7/mails/1.7.8/en-GB/core/password_query.html Link to comment Share on other sites More sharing options...
Eolia Posted December 15, 2021 Share Posted December 15, 2021 je pense qu'il y a eu un souci lors de l'import des trads et au lieu de récupérer le contenu du mail ça a récupéré toute la page GithHub^^ Link to comment Share on other sites More sharing options...
Advisuel Posted December 15, 2021 Author Share Posted December 15, 2021 (edited) c'est ca je viens de remplacer tous les fichiers html et txt de EN ils avaient tous le site Github dedans !:( merci prestashop 1.7.8, y avait longtemps que je ne m'étais pas amusé autant ! Edited December 15, 2021 by Advisuel (see edit history) Link to comment Share on other sites More sharing options...
Advisuel Posted December 15, 2021 Author Share Posted December 15, 2021 Encore merci !! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now