Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation entry for "ModificationDate" is missing. #231

Closed
espenmn opened this issue May 22, 2018 · 1 comment
Closed

Translation entry for "ModificationDate" is missing. #231

espenmn opened this issue May 22, 2018 · 1 comment

Comments

@espenmn
Copy link
Member

espenmn commented May 22, 2018

https://community.plone.org/t/collection-table-header-labels/6524/4

@vincentfretin
Copy link
Member

The issue seems to be for all brain metadata on Plone 5.1 in the collection edit view and tabular view.
It was translated on Plone 4.3 and we don't have ModificationDate in the po file.

In plone.app.collection 1.0.x (Plone 4.3), the vocabulary come from portal_atct.getMetadataDisplay (parts/packages/Products/ATContentTypes/tool/topic.py), the messages was extracted from CMFPlone/profiles/default/portal_atct.xml friendlyName attributes.

In Plone 5.1, this is plone.app.contenttypes and it uses plone.app.contenttypes.metadatafields vocabulary. (plone.app.contenttypes/plone/app/contenttypes/behaviors/collection.py MetaDataFieldsVocabulary) The implementation here is really basic indeed. A correct correction should be to use the title coming from plone.app.querystring/plone/app/querystring/profiles/default/registry.xml which should be the same as Plone 4.3 and are already translated.

This is actually a known issue since 16 Feb 2015! plone/plone.app.contenttypes#211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants