Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5350

An i18n text (label, description, ...) specified in config is not always used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 5.1.1
    • 5.1
    • i18n

      If an i18n text (e.g. label) is specified in configuration, and one of the generated keys has a translation, the specified text is ignored, and a translation for the generated key is used.

      E.g. if you have a commit action in a dialog and you "hardcode" a label for it in configuration (e.g. to "Save My Changes"), it is always ignored, as one of the keys from the ActionDefinitionKeyGenerator is action.commit.label, whose translation is specified in admincentral's mgnl-i18n/messages_en.properties bundle, thus this translation ("save changes") is used, overriding the specified value.

        Acceptance criteria

              czimmermann Christopher Zimmermann
              jchocholacek Jozef Chocholacek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD