Problem/Motivation

In the config schema of the reference_value_formatter the invalid_reference_label is specificed as being a string, thus the value is not translatable using config translation, although it most likely differs per language.

Steps to reproduce

No good steps to reproduce. Either use Configuration Inspector to check the type or use #2546212: Entity view/form mode formatter/widget settings have no translation UI to get a translation UI for entity view displays and verify there that you can't translate the label.

Proposed resolution

Change the type of the setting from string to label, which specifies a translatable string.

Remaining tasks

Review, commit.

User interface changes

None without core patches. When using the core patch mentioned above, the label will now be translatable in the config translation UI.

API changes

None.

Data model changes

Config schema type updated for one field formatter setting.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

feyp created an issue. See original summary.

feyp’s picture

Status: Active » Needs review

I created a quick MR using GitLab's code editor.

feyp’s picture

Assigned: feyp » Unassigned

isaacrc made their first commit to this issue’s fork.

isaacrc’s picture

Status: Needs review » Fixed

Merged into version 5 release. Thank you for your contribution.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

isaacrc’s picture

Status: Fixed » Closed (fixed)