There are 2 labels that are not translatable, see screenshot.

Comments

lukas.fischer created an issue. See original summary.

lukas.fischer’s picture

Title: Some translations missing » 2 translations missing "No paragraph added yet" and "to"
berdir’s picture

Category: Bug report » Support request
Status: Active » Fixed

At least the first string is translatable, the "problem" is that Paragraphs is a configurable string, but if you search for "added yet" you should find it:

'#markup' => $this->t('No @title added yet.', ['@title' => $this->getSetting('title')]),

Same for the second part:

$add_more_elements['#suffix'] = $this->t(' to %type', ['%type' => $title]);

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mpp’s picture

@berdir, this could actiually be a bug.

The schema defines these properties as a string but the translatable property is not set. This should probably be a label (which is translatable) or we shoud add translatable: true:

    title:
      type: string
    title_plural:
      type: string

See https://www.drupal.org/project/maxlength/issues/2823995 for a similar example.