Problem/Motivation
Content translation module displays warning messages "Fields that apply to all languages are hidden to avoid conflicting changes. Edit them on the original language form." if the " Hide non translatable fields on translation forms" is enabled for editing CT and you are editing a translation. But the same warning message appears also on the other pages if you are leaving edit form, e.g. if you are clicking save, preview, delete buttons. It's a bit confusing to see these messages behind the entity edit form.
Proposed resolution
According to the current implementation of displaying these messages the quick and suitable way for me is to move them into the form element. In this case, we will ensure that these messages display only withing the entity edit form.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3155452-3.patch | 1.38 KB | id.aleks |
Comments
Comment #2
id.aleks commentedComment #3
id.aleks commentedAttaching a patch. If the proposed resolution is ok for drupal maintainers we need to update module tests accordingly.
Comment #4
himanshu_sindhwani commentedComment #5
id.aleks commentedAfter additional investigation, we realized that we have another issue for the mentioned problem https://www.drupal.org/project/drupal/issues/3002571. That's why I'm closing it as a duplicate.
Comment #6
id.aleks commented