Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-469

Improve i18n Block Key generator

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None

    Description

      Current the BlockDefinition (the type of block) applies BlockKeyGenerator, whereas BlockFieldDefinition (the field of block) inherits EditorPropertyDefinitionKeyGenerator, that leads to un-unify in generate key for block type and field.
      E.g: To define property for a Text block:
      block.text.label=Text << This is block type name
      blocks.text=Text << This is block field name of the text block

      AC:
      Investigate to define a proper KeyGenerator which could self-explain the hierarchy of block and block field

      block definition name block property name i18n field keys
      text block text label text.block.text.label,
      block.text.label,
      text.text.label,
      text.label

      or using EditorPropertyDefinitionKeyGenerator for both BlockDefinition and BlockFieldDefinition

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              thien.quach Quach Hao Thien
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD