mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-22 17:06:09 +01:00
Add pages to events
Allow editor to reference TYPO3 page records from events. E.g. used to provide further internal information links. Also those pages are resolved via DataProcessing. That allows integrators to be 100% flexible to resolve those page info. By default a menu is generated and media is resolved. Also validation is ignored, as this improves performance and allows to use the new class as injected property without validation fails. Models are not managed via frontend and therefore don't need validation. Relates: #8092
This commit is contained in:
parent
acc0c2bdc5
commit
38b4844a9d
9 changed files with 495 additions and 221 deletions
|
@ -4,6 +4,7 @@ namespace Wrm\Events\Controller;
|
|||
|
||||
use TYPO3\CMS\Core\Database\QueryGenerator;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
|
||||
use Wrm\Events\Domain\Model\Date;
|
||||
|
@ -11,6 +12,7 @@ use Wrm\Events\Domain\Model\Dto\DateDemand;
|
|||
use Wrm\Events\Domain\Repository\CategoryRepository;
|
||||
use Wrm\Events\Domain\Repository\DateRepository;
|
||||
use Wrm\Events\Domain\Repository\RegionRepository;
|
||||
use Wrm\Events\Service\DataProcessingForModels;
|
||||
|
||||
/**
|
||||
* DateController
|
||||
|
@ -38,6 +40,11 @@ class DateController extends ActionController
|
|||
*/
|
||||
protected $queryGenerator;
|
||||
|
||||
/**
|
||||
* @var DataProcessingForModels
|
||||
*/
|
||||
protected $dataProcessing;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
@ -58,11 +65,20 @@ class DateController extends ActionController
|
|||
$this->categoryRepository = $categoryRepository;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DataProcessingForModels $dataProcessing
|
||||
*/
|
||||
public function injectDataProcessingForModels(DataProcessingForModels $dataProcessing)
|
||||
{
|
||||
$this->dataProcessing = $dataProcessing;
|
||||
}
|
||||
|
||||
/**
|
||||
* Action initializer
|
||||
*/
|
||||
protected function initializeAction()
|
||||
{
|
||||
$this->dataProcessing->setConfigurationManager($this->configurationManager);
|
||||
$this->pluginSettings = $this->configurationManager->getConfiguration(
|
||||
ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK
|
||||
);
|
||||
|
@ -126,6 +142,8 @@ class DateController extends ActionController
|
|||
/**
|
||||
* action show
|
||||
*
|
||||
* @Extbase\IgnoreValidation("date")
|
||||
*
|
||||
* @param \Wrm\Events\Domain\Model\Date $date
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
@ -3,11 +3,13 @@
|
|||
namespace Wrm\Events\Controller;
|
||||
|
||||
use TYPO3\CMS\Core\Database\QueryGenerator;
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
|
||||
use Wrm\Events\Domain\Model\Dto\EventDemand;
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use Wrm\Events\Domain\Repository\EventRepository;
|
||||
use Wrm\Events\Service\DataProcessingForModels;
|
||||
|
||||
/**
|
||||
* EventController
|
||||
|
@ -26,6 +28,11 @@ class EventController extends ActionController
|
|||
*/
|
||||
protected $queryGenerator;
|
||||
|
||||
/**
|
||||
* @var DataProcessingForModels
|
||||
*/
|
||||
protected $dataProcessing;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
@ -39,11 +46,20 @@ class EventController extends ActionController
|
|||
$this->eventRepository = $eventRepository;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DataProcessingForModels $dataProcessing
|
||||
*/
|
||||
public function injectDataProcessingForModels(DataProcessingForModels $dataProcessing)
|
||||
{
|
||||
$this->dataProcessing = $dataProcessing;
|
||||
}
|
||||
|
||||
/**
|
||||
* Action initializer
|
||||
*/
|
||||
protected function initializeAction()
|
||||
{
|
||||
$this->dataProcessing->setConfigurationManager($this->configurationManager);
|
||||
$this->pluginSettings = $this->configurationManager->getConfiguration(
|
||||
ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK
|
||||
);
|
||||
|
@ -65,6 +81,8 @@ class EventController extends ActionController
|
|||
/**
|
||||
* Action show
|
||||
*
|
||||
* @Extbase\IgnoreValidation("event")
|
||||
*
|
||||
* @param Event $event
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
use TYPO3\CMS\Extbase\Domain\Model\Category;
|
||||
|
@ -10,6 +9,7 @@ use TYPO3\CMS\Extbase\Domain\Model\FileReference;
|
|||
use TYPO3\CMS\Extbase\Object\ObjectManager;
|
||||
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
|
||||
use Wrm\Events\Domain\Repository\DateRepository;
|
||||
use Wrm\Events\Service\DataProcessingForModels;
|
||||
|
||||
/**
|
||||
* Event
|
||||
|
@ -194,6 +194,11 @@ class Event extends AbstractEntity
|
|||
*/
|
||||
protected $region = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $pages = '';
|
||||
|
||||
/**
|
||||
* categories
|
||||
*
|
||||
|
@ -206,6 +211,11 @@ class Event extends AbstractEntity
|
|||
*/
|
||||
protected $_languageUid;
|
||||
|
||||
/**
|
||||
* @var DataProcessingForModels
|
||||
*/
|
||||
private $dataProcessing = null;
|
||||
|
||||
/**
|
||||
* __construct
|
||||
*/
|
||||
|
@ -216,6 +226,14 @@ class Event extends AbstractEntity
|
|||
$this->initStorageObjects();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param DataProcessingForModels $dataProcessing
|
||||
*/
|
||||
public function injectDataProcessingForModels(DataProcessingForModels $dataProcessing)
|
||||
{
|
||||
$this->dataProcessing = $dataProcessing;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
@ -688,6 +706,18 @@ class Event extends AbstractEntity
|
|||
$this->country = $country;
|
||||
}
|
||||
|
||||
public function getPages(): array
|
||||
{
|
||||
static $pages = null;
|
||||
if (is_array($pages)) {
|
||||
return $pages;
|
||||
}
|
||||
|
||||
$pages = $this->dataProcessing->process($this);
|
||||
|
||||
return $pages;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \TYPO3\CMS\Extbase\Domain\Model\Category<\TYPO3\CMS\Extbase\Domain\Model\Category> $category
|
||||
*/
|
||||
|
|
176
Classes/Service/DataProcessingForModels.php
Normal file
176
Classes/Service/DataProcessingForModels.php
Normal file
|
@ -0,0 +1,176 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
use TYPO3\CMS\Core\Database\Connection;
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Core\SingletonInterface;
|
||||
use TYPO3\CMS\Core\TypoScript\TypoScriptService;
|
||||
use TYPO3\CMS\Core\Utility\ArrayUtility;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentDataProcessor;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
|
||||
/**
|
||||
* Used by models to apply data processing.
|
||||
* This allows for flexibility of integrators.
|
||||
*
|
||||
* E.g. pages are saved for each event.
|
||||
* An integrator now can resolve them via data processing to arrays or menus.
|
||||
*
|
||||
* dataProcessing is configured via TypoScript for each plugin or whole extension via
|
||||
* settings.dataProcessing.fqcn, e.g.:
|
||||
*
|
||||
* plugin.tx_events {
|
||||
* settings {
|
||||
* dataProcessing {
|
||||
* Wrm\Events\Domain\Model\Event {
|
||||
* 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
||||
* 10 {
|
||||
* special = list
|
||||
* special.value.field = pages
|
||||
* dataProcessing {
|
||||
* 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
|
||||
* 10 {
|
||||
* references.fieldName = media
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Currently supported by:
|
||||
*
|
||||
* - Event->getPages()
|
||||
*/
|
||||
class DataProcessingForModels implements SingletonInterface
|
||||
{
|
||||
/**
|
||||
* @var ContentObjectRenderer
|
||||
*/
|
||||
private $cObject;
|
||||
|
||||
/**
|
||||
* @var ContentDataProcessor
|
||||
*/
|
||||
private $processorHandler;
|
||||
|
||||
/**
|
||||
* @var Connection
|
||||
*/
|
||||
private $connection;
|
||||
|
||||
/**
|
||||
* @var DataMapFactory
|
||||
*/
|
||||
private $dataMapFactory;
|
||||
|
||||
/**
|
||||
* @var ConfigurationManagerInterface|null
|
||||
*/
|
||||
private $configurationManager;
|
||||
|
||||
/**
|
||||
* @var TypoScriptService
|
||||
*/
|
||||
private $typoScriptService;
|
||||
|
||||
public function __construct(
|
||||
ContentDataProcessor $processorHandler,
|
||||
ConnectionPool $connectionPool,
|
||||
DataMapFactory $dataMapFactory,
|
||||
TypoScriptService $typoScriptService
|
||||
) {
|
||||
$this->cObject = GeneralUtility::makeInstance(ContentObjectRenderer::class);
|
||||
$this->processorHandler = $processorHandler;
|
||||
$this->connection = $connectionPool->getConnectionByName('Default');
|
||||
$this->dataMapFactory = $dataMapFactory;
|
||||
$this->typoScriptService = $typoScriptService;
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to set current configuration from within plugin.
|
||||
*
|
||||
* Inject and call this method, e.g. within initializeAction.
|
||||
* Necessary to get plugin configuration containing dataProcessing configuration.
|
||||
*/
|
||||
public function setConfigurationManager(ConfigurationManagerInterface $configurationManager): void
|
||||
{
|
||||
$this->configurationManager = $configurationManager;
|
||||
}
|
||||
|
||||
public function process(
|
||||
AbstractEntity $entity
|
||||
): array {
|
||||
$configuration = $this->getConfiguration($entity);
|
||||
|
||||
if ($configuration === []) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$this->cObject->start($this->getData($entity), $this->getTable($entity));
|
||||
return $this->processorHandler->process($this->cObject, $configuration, []);
|
||||
}
|
||||
|
||||
private function getData(AbstractEntity $entity): array
|
||||
{
|
||||
$row = $this->connection->select(['*'], $this->getTable($entity), ['uid' => $entity->getUid()])->fetch();
|
||||
if (is_array($row)) {
|
||||
return $row;
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
private function getTable(AbstractEntity $entity): string
|
||||
{
|
||||
$dataMap = $this->dataMapFactory->buildDataMap(get_class($entity));
|
||||
return $dataMap->getTableName();
|
||||
}
|
||||
|
||||
private function getConfiguration(AbstractEntity $entity): array
|
||||
{
|
||||
if ($this->configurationManager === null) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$className = get_class($entity);
|
||||
$settings = $this->configurationManager->getConfiguration(
|
||||
ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS
|
||||
);
|
||||
|
||||
if (ArrayUtility::isValidPath($settings, 'dataProcessing.' . $className, '.') === false) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$configuration = ArrayUtility::getValueByPath($settings, 'dataProcessing.' . $className, '.');
|
||||
$configuration = $this->typoScriptService->convertPlainArrayToTypoScriptArray($configuration);
|
||||
return [
|
||||
'dataProcessing.' => $configuration,
|
||||
];
|
||||
}
|
||||
}
|
|
@ -20,7 +20,7 @@ return [
|
|||
'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_event.gif'
|
||||
],
|
||||
'types' => [
|
||||
'1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, global_id, slug, highlight, teaser, details, price_info, name, street, district, city, zip, country, phone, web, ticket, facebook, youtube, instagram, latitude, longitude, images, categories, dates, organizer, region, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'],
|
||||
'1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, global_id, slug, highlight, teaser, details, price_info, name, street, district, city, zip, country, phone, web, ticket, facebook, youtube, instagram, latitude, longitude, images, pages, categories, dates, organizer, region, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'],
|
||||
],
|
||||
'columns' => [
|
||||
'sys_language_uid' => [
|
||||
|
@ -185,7 +185,7 @@ return [
|
|||
'rows' => 15,
|
||||
'eval' => 'trim',
|
||||
],
|
||||
|
||||
|
||||
],
|
||||
'price_info' => [
|
||||
'exclude' => true,
|
||||
|
@ -379,6 +379,16 @@ return [
|
|||
),
|
||||
],
|
||||
|
||||
'pages' => [
|
||||
'exclude' => true,
|
||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.pages',
|
||||
'config' => [
|
||||
'type' => 'group',
|
||||
'internal_type' => 'db',
|
||||
'allowed' => 'pages',
|
||||
],
|
||||
],
|
||||
|
||||
'categories' => [
|
||||
'exclude' => true,
|
||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.categories',
|
||||
|
@ -443,6 +453,5 @@ return [
|
|||
'maxitems' => 1,
|
||||
],
|
||||
],
|
||||
|
||||
],
|
||||
];
|
||||
|
|
|
@ -56,6 +56,21 @@ plugin.tx_events {
|
|||
categoriesPid = {$plugin.tx_events.settings.destinationData.categoriesPid}
|
||||
categoryParentUid = {$plugin.tx_events.settings.destinationData.categoryParentUid}
|
||||
}
|
||||
dataProcessing {
|
||||
Wrm\Events\Domain\Model\Event {
|
||||
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
||||
10 {
|
||||
special = list
|
||||
special.value.field = pages
|
||||
dataProcessing {
|
||||
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
|
||||
10 {
|
||||
references.fieldName = media
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,128 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<xliff version="1.0">
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2019-04-03T12:11:11Z" product-name="tx_events">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="tx_events.name">
|
||||
<source>Events</source>
|
||||
<target>Veranstaltungen</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events.description">
|
||||
<source>Event Modul</source>
|
||||
<target>Veranstaltungs Modul</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event">
|
||||
<source>Event</source>
|
||||
<target>Veranstaltung</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.title">
|
||||
<source>Title</source>
|
||||
<target>Titel</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.global_id">
|
||||
<source>Global UID</source>
|
||||
<target>Globale UID</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.slug">
|
||||
<source>Slug</source>
|
||||
<target>URL-Segment</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.highlight">
|
||||
<source>Highlight</source>
|
||||
<target>Höhepunkt</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.teaser">
|
||||
<source>Teaser</source>
|
||||
<target>Kurztext</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.details">
|
||||
<source>Details</source>
|
||||
<target>Text</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.price_info">
|
||||
<source>Price Info</source>
|
||||
<target>Preis Information</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.name">
|
||||
<source>Name</source>
|
||||
<target>Name</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.street">
|
||||
<source>Street</source>
|
||||
<target>Straße</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.district">
|
||||
<source>District</source>
|
||||
<target>Bundesland</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.city">
|
||||
<source>City</source>
|
||||
<target>Stadt</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.zip">
|
||||
<source>Zip</source>
|
||||
<target>Postleitzahl</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.country">
|
||||
<source>Country</source>
|
||||
<target>Land</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.web">
|
||||
<source>Web</source>
|
||||
<target>Internet</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.phone">
|
||||
<source>Phone</source>
|
||||
<target>Telefon</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.ticket">
|
||||
<source>Ticket</source>
|
||||
<target>Ticket</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.facebook">
|
||||
<source>Facebook</source>
|
||||
<target>Facebook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.youtube">
|
||||
<source>YouTube</source>
|
||||
<target>YouTube</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.instagram">
|
||||
<source>Instagram</source>
|
||||
<target>Instagram</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.latitude">
|
||||
<source>Latitude</source>
|
||||
<target>Breitengrad</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.longitude">
|
||||
<source>Longitude</source>
|
||||
<target>Längengrad</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.images">
|
||||
<source>Images</source>
|
||||
<target>Bilder</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.categories">
|
||||
<source>Categories</source>
|
||||
<target>Kategorien</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.dates">
|
||||
<source>Dates</source>
|
||||
<target>Termine</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.organizer">
|
||||
<source>Organizer</source>
|
||||
<target>Organisator</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.region">
|
||||
<source>Region</source>
|
||||
<target>Region</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_organizer">
|
||||
<source>Organizer</source>
|
||||
<target>Organisator</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2019-04-03T12:11:11Z" product-name="tx_events">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="tx_events.name">
|
||||
<source>Events</source>
|
||||
<target>Veranstaltungen</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events.description">
|
||||
<source>Event Modul</source>
|
||||
<target>Veranstaltungs Modul</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event">
|
||||
<source>Event</source>
|
||||
<target>Veranstaltung</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.title">
|
||||
<source>Title</source>
|
||||
<target>Titel</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.global_id">
|
||||
<source>Global UID</source>
|
||||
<target>Globale UID</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.slug">
|
||||
<source>Slug</source>
|
||||
<target>URL-Segment</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.highlight">
|
||||
<source>Highlight</source>
|
||||
<target>Höhepunkt</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.teaser">
|
||||
<source>Teaser</source>
|
||||
<target>Kurztext</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.details">
|
||||
<source>Details</source>
|
||||
<target>Text</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.price_info">
|
||||
<source>Price Info</source>
|
||||
<target>Preis Information</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.name">
|
||||
<source>Name</source>
|
||||
<target>Name</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.street">
|
||||
<source>Street</source>
|
||||
<target>Straße</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.district">
|
||||
<source>District</source>
|
||||
<target>Bundesland</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.city">
|
||||
<source>City</source>
|
||||
<target>Stadt</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.zip">
|
||||
<source>Zip</source>
|
||||
<target>Postleitzahl</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.country">
|
||||
<source>Country</source>
|
||||
<target>Land</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.web">
|
||||
<source>Web</source>
|
||||
<target>Internet</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.phone">
|
||||
<source>Phone</source>
|
||||
<target>Telefon</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.ticket">
|
||||
<source>Ticket</source>
|
||||
<target>Ticket</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.facebook">
|
||||
<source>Facebook</source>
|
||||
<target>Facebook</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.youtube">
|
||||
<source>YouTube</source>
|
||||
<target>YouTube</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.instagram">
|
||||
<source>Instagram</source>
|
||||
<target>Instagram</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.latitude">
|
||||
<source>Latitude</source>
|
||||
<target>Breitengrad</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.longitude">
|
||||
<source>Longitude</source>
|
||||
<target>Längengrad</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.images">
|
||||
<source>Images</source>
|
||||
<target>Bilder</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.pages">
|
||||
<source>Pages</source>
|
||||
<target>Seiten</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.categories">
|
||||
<source>Categories</source>
|
||||
<target>Kategorien</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.dates">
|
||||
<source>Dates</source>
|
||||
<target>Termine</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.organizer">
|
||||
<source>Organizer</source>
|
||||
<target>Organisator</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.region">
|
||||
<source>Region</source>
|
||||
<target>Region</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_organizer">
|
||||
<source>Organizer</source>
|
||||
<target>Organisator</target>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -1,95 +1,98 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<xliff version="1.0">
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2019-04-03T12:11:11Z" product-name="tx_events">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="tx_events.name">
|
||||
<source>Events</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events.description">
|
||||
<source>Event Modul</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event">
|
||||
<source>Event</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.title">
|
||||
<source>Title</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.global_id">
|
||||
<source>Global UID</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.slug">
|
||||
<source>Slug</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.highlight">
|
||||
<source>Highlight</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.teaser">
|
||||
<source>Teaser</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.details">
|
||||
<source>Details</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.price_info">
|
||||
<source>Price Info</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.name">
|
||||
<source>Name</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.street">
|
||||
<source>Street</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.district">
|
||||
<source>District</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.city">
|
||||
<source>City</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.zip">
|
||||
<source>Zip</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.country">
|
||||
<source>Country</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.web">
|
||||
<source>Web</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.phone">
|
||||
<source>Phone</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.ticket">
|
||||
<source>Ticket</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.facebook">
|
||||
<source>Facebook</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.youtube">
|
||||
<source>Youtube</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.instagram">
|
||||
<source>Instagram</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.latitude">
|
||||
<source>Latitude</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.longitude">
|
||||
<source>Longitude</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.images">
|
||||
<source>Images</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.categories">
|
||||
<source>Categories</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.dates">
|
||||
<source>Dates</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.organizer">
|
||||
<source>Organizer</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.region">
|
||||
<source>Region</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2019-04-03T12:11:11Z" product-name="tx_events">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="tx_events.name">
|
||||
<source>Events</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events.description">
|
||||
<source>Event Modul</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event">
|
||||
<source>Event</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.title">
|
||||
<source>Title</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.global_id">
|
||||
<source>Global UID</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.slug">
|
||||
<source>Slug</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.highlight">
|
||||
<source>Highlight</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.teaser">
|
||||
<source>Teaser</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.details">
|
||||
<source>Details</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.price_info">
|
||||
<source>Price Info</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.name">
|
||||
<source>Name</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.street">
|
||||
<source>Street</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.district">
|
||||
<source>District</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.city">
|
||||
<source>City</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.zip">
|
||||
<source>Zip</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.country">
|
||||
<source>Country</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.web">
|
||||
<source>Web</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.phone">
|
||||
<source>Phone</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.ticket">
|
||||
<source>Ticket</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.facebook">
|
||||
<source>Facebook</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.youtube">
|
||||
<source>Youtube</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.instagram">
|
||||
<source>Instagram</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.latitude">
|
||||
<source>Latitude</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.longitude">
|
||||
<source>Longitude</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.images">
|
||||
<source>Images</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.pages">
|
||||
<source>Pages</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.categories">
|
||||
<source>Categories</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.dates">
|
||||
<source>Dates</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.organizer">
|
||||
<source>Organizer</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_events_domain_model_event.region">
|
||||
<source>Region</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
@ -26,6 +26,7 @@ CREATE TABLE tx_events_domain_model_event (
|
|||
longitude varchar(255) DEFAULT '' NOT NULL,
|
||||
images int(11) unsigned NOT NULL default '0',
|
||||
categories int(11) DEFAULT '0' NOT NULL,
|
||||
pages text,
|
||||
dates int(11) unsigned DEFAULT '0' NOT NULL,
|
||||
organizer int(11) unsigned DEFAULT '0',
|
||||
region int(11) unsigned DEFAULT '0',
|
||||
|
|
Loading…
Reference in a new issue