plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
246 stars 186 forks source link

"Log In" title not translated in log in modal #3132

Closed vincentfretin closed 4 years ago

vincentfretin commented 4 years ago

BUG

What I did:

With Plone in non-English language, when logged out, click on Log in to show the log in modal.

What I expect to happen:

Modal fully translated.

What actually happened:

The modal title "Log In" is not translated. Capture d’écran de 2020-06-28 14-32-19

What version of Plone/ Addons I am using:

Plone 5.2.2rc1

vincentfretin commented 4 years ago

The message is in Products.CMFPlone/Products/CMFPlone/profiles/default/actions.xml

<property name="modal" type="text">{"prependContent": ".portalMessage", "title": "Log in", "width": "26em", "actionOptions": {"redirectOnResponse": true}}</property>

How this config is used to create the modal? I guess it's the mockup/patterns/modal/pattern.js that uses this. Sigh.