mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-06 04:28:43 +00:00
implement localization
This commit is contained in:
parent
773fbe458f
commit
0396129a2a
|
|
@ -39,6 +39,14 @@ final class CollectionMapper extends MediaMapper
|
|||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $model = Collection::class;
|
||||
|
||||
/**
|
||||
* Primary table.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -65,6 +65,14 @@ class MediaMapper extends DataMapperAbstract
|
|||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $model = Media::class;
|
||||
|
||||
/**
|
||||
* Primary table.
|
||||
*
|
||||
|
|
|
|||
19
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
19
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Media
|
||||
* @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',
|
||||
'Media' => 'Media',
|
||||
]];
|
||||
43
Theme/Backend/Lang/de.lang.php
Normal file
43
Theme/Backend/Lang/de.lang.php
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Media
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Media' => [
|
||||
'Account' => 'Account',
|
||||
'AddToCollection' => 'Zum Ordner hinzufügen',
|
||||
'Author' => 'Autor',
|
||||
'Changed' => 'Geändert',
|
||||
'Changedby' => 'Geändert by',
|
||||
'Created' => 'Erstellt',
|
||||
'Creator' => 'Ersteller',
|
||||
'Data' => 'Daten',
|
||||
'Description' => 'Beschreibung',
|
||||
'Edit' => 'Bearbeiten',
|
||||
'Editability' => 'Bearbeitung',
|
||||
'Extension' => 'Endung',
|
||||
'FilePath' => 'Dateipfad',
|
||||
'Files' => 'Dateien',
|
||||
'Media' => 'Media',
|
||||
'Name' => 'Name',
|
||||
'Path' => 'Pfad',
|
||||
'PathSettings' => 'Pfad Einstellung',
|
||||
'Permission' => 'Rechte',
|
||||
'Preview' => 'Vorschau',
|
||||
'RandomPath' => 'Zufälliger Pfad',
|
||||
'Select' => 'Auswahl',
|
||||
'Settings' => 'Einstellungen',
|
||||
'Size' => 'Größe',
|
||||
'Type' => 'Typ',
|
||||
'Upload' => 'Hochladen',
|
||||
'Visibility' => 'Sichtbarkeit',
|
||||
]];
|
||||
Loading…
Reference in New Issue
Block a user