dbmdz/digitalcollections-model

Simplify multi-language label

Closed this issue · 1 comments

Now:

"label": {
      "translations": [
        {
          "locale": "de_DE",
          "text": "Deutscher Titel"
        },
        {
          "locale": "en",
          "text": "Englischer Titel"
        }
      ]
    }

Should be:

"label": {
      "de_DE": "Deutscher Titel"
      "en": "Englischer Titel"
    }

Is done with #64.