I found issue with translation in BlockPicker.js file. "Create Content" was not wrapped in method Drupal.t().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Zulljin created an issue. See original summary.

Zulljin’s picture

And I found new bug. When site multi language, I don't Create new content with panels_ipe module. This patch fix it.

Zulljin’s picture

Priority: Normal » Major
ipumpkin’s picture

I meet the same problem,becuse the category property in block definition is translatable,so we should use Drupal.t on category.

/**
 * Defines a generic custom block type.
 *
 * @Block(
 *  id = "block_content",
 *  admin_label = @Translation("Custom block"),
 *  category = @Translation("Custom"),
 *  deriver = "Drupal\block_content\Plugin\Derivative\BlockContent"
 * )
 */
Vendramini’s picture

Patch works fine.

Thanks.