<?php
Kirby::plugin('squareclouds/blocks-factory', [
  'blueprints' => [
    'blocks/heading' => __DIR__ . '/blueprints/blocks/heading.yml',
    'blocks/text' => __DIR__ . '/blueprints/blocks/text.yml',
    'blocks/styledtext' => __DIR__ . '/blueprints/blocks/styledtext.yml',
    'blocks/image' => __DIR__ . '/blueprints/blocks/image.yml',
    'blocks/downloaditem' => __DIR__ . '/blueprints/blocks/downloaditem.yml',
    'blocks/gridbox' => __DIR__ . '/blueprints/blocks/gridbox.yml',
    'blocks/accordion_element'   => __DIR__ . '/blueprints/blocks/accordion_element.yml',
    'blocks/accordion'         => __DIR__ . '/blueprints/blocks/accordion.yml',
    'blocks/toast'         => __DIR__ . '/blueprints/blocks/toast.yml',
    'blocks/card'        => __DIR__ . '/blueprints/blocks/card.yml',
    'blocks/nextevent' => __DIR__ . '/blueprints/blocks/nextevent.yml',
    'blocks/button' => __DIR__ . '/blueprints/blocks/button.yml',
    'blocks/video' => __DIR__ . '/blueprints/blocks/video.yml',
    'blocks/videovlite' => __DIR__ . '/blueprints/blocks/videovlite.yml',
    'blocks/qrcodeblock' => __DIR__ . '/blueprints/blocks/qrcodeblock.yml',
    'blocks/threedmodel' => __DIR__ . '/blueprints/blocks/threedmodel.yml',
    'blocks/mainpage_navitem' => __DIR__ . '/blueprints/blocks/mainpage_navitem.yml',
    'blocks/subpage_navitem' => __DIR__ . '/blueprints/blocks/subpage_navitem.yml',
    'blocks/table' => __DIR__ . '/blueprints/blocks/table.yml',
    'blocks/audio' => __DIR__ . '/blueprints/blocks/audio.yml',
    'blocks/spacing' => __DIR__ . '/blueprints/blocks/spacing.yml',
  ],
  'snippets' => [
    'blocks/heading' => __DIR__ . '/snippets/blocks/heading.php',
    'blocks/text' => __DIR__ . '/snippets/blocks/text.php',
    'blocks/styledtext' => __DIR__ . '/snippets/blocks/styledtext.php',
    'blocks/image' => __DIR__ . '/snippets/blocks/image.php',
    'blocks/downloaditem' => __DIR__ . '/snippets/blocks/downloaditem.php',
    'blocks/gridbox' => __DIR__ . '/snippets/blocks/gridbox.php',
    'blocks/accordion_element'   => __DIR__ . '/snippets/blocks/accordion_element.php',
    'blocks/accordion'         => __DIR__ . '/snippets/blocks/accordion.php',
    'blocks/toast'         => __DIR__ . '/snippets/blocks/toast.php',
    'blocks/card'        => __DIR__ . '/snippets/blocks/card.php',
    'blocks/nextevent' => __DIR__ . '/snippets/blocks/nextevent.php',
    'blocks/button' => __DIR__ . '/snippets/blocks/button.php',
    'blocks/video' => __DIR__ . '/snippets/blocks/video.php',
    'blocks/videovlite' => __DIR__ . '/snippets/blocks/videovlite.php',
    'blocks/qrcodeblock' => __DIR__ . '/snippets/blocks/qrcodeblock.php',
    'blocks/threedmodel' => __DIR__ . '/snippets/blocks/threedmodel.php',
    'blocks/mainpage_navitem' => __DIR__ . '/snippets/blocks/mainpage_navitem.php',
    'blocks/subpage_navitem' => __DIR__ . '/snippets/blocks/subpage_navitem.php',
    'blocks/table' => __DIR__ . '/snippets/blocks/table.php',
    'blocks/audio' => __DIR__ . '/snippets/blocks/audio.php',
    'blocks/spacing' => __DIR__ . '/snippets/blocks/spacing.php',
  ],
  'translations' => [
    'en' => [
      'field.blocks.styledtext.name'   => 'Styled text',
      'field.blocks.downloaditem.name'   => 'Download item',
      'field.blocks.gridbox.name'   => 'Grid box',

      'field.blocks.accordion_element.name'   => 'Accordion, single',
      'field.blocks.accordion.name'         => 'Accordion group',
      'field.blocks.toast.name'         => 'Toast',
      'field.blocks.card.name'        => 'Card',
      'field.blocks.nextevent.name' => 'Next related Event',
      'field.blocks.button.name' => 'Button',
      'field.blocks.videovlite.name' => 'Video Vlite',
      'field.blocks.qrcodeblock.name' => 'QR Code',
      'field.blocks.threedmodel.name' => '3D model',
      'field.blocks.mainpage_navitem.name' => 'Main page, Navi-Item',
      'field.blocks.subpage_navitem.name' => 'Sub page, Navi-Item',
      'field.blocks.table.name' => 'Table',
      'field.blocks.audio.name' => 'Audio',
      'field.blocks.audio.spacing' => 'Spacing',
    ],
    'de' => [
      'field.blocks.styledtext.name'   => 'Gestylter Text',
      'field.blocks.downloaditem.name'   => 'Download-Item',
      'field.blocks.gridbox.name'   => 'Grid-Box',

      'field.blocks.accordion_element.name'   => 'Akkordeon, single',
      'field.blocks.accordion.name'         => 'Akkordeon-Gruppe',
      'field.blocks.toast.name'         => 'Toast',
      'field.blocks.card.name'        => 'Kärtchen',
      'field.blocks.nextevent.name' => 'Nächstes verbandtes Event',
      'field.blocks.button.name' => 'Button',
      'field.blocks.videovlite.name' => 'Video Vlite',
      'field.blocks.qrcodeblock.name' => 'QR Code',
      'field.blocks.threedmodel.name' => '3D Modell',
      'field.blocks.mainpage_navitem.name' => 'Hauptseite, Navi-Item',
      'field.blocks.subpage_navitem.name' => 'Subseite, Navi-Item',
      'field.blocks.table.name' => 'Tabelle',
      'field.blocks.audio.name' => 'Audio',
      'field.blocks.audio.spacing' => 'Abstand',
    ]
  ]
]);
