implement localization

This commit is contained in:
Dennis Eichhorn 2020-03-22 18:42:34 +01:00
parent 3022ca1f3e
commit e1e1c8b1aa
3 changed files with 49 additions and 0 deletions

View File

@ -71,6 +71,14 @@ final class TagMapper extends DataMapperAbstract
];
*/
/**
* Model to use by the mapper.
*
* @var string
* @since 1.0.0
*/
protected static string $model = Tag::class;
/**
* Primary table.
*

View File

@ -0,0 +1,19 @@
<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package Modules\Tag
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
return ['Navigation' => [
'Create' => 'Erstellen',
'List' => 'Liste',
'Tag' => 'Tag',
]];

View File

@ -0,0 +1,22 @@
<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package Modules\Tag
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
return ['Tag' => [
'Color' => 'Farbe',
'Create' => 'Erstellen',
'List' => 'Liste',
'Tag' => 'Tag',
'Tags' => 'Tags',
'Title' => 'Titel',
]];