diff --git a/Models/AccountMapper.php b/Models/AccountMapper.php index b1fd9ff..76eb47e 100644 --- a/Models/AccountMapper.php +++ b/Models/AccountMapper.php @@ -80,6 +80,14 @@ final class AccountMapper extends DataMapperAbstract ], ]; + /** + * Model to use by the mapper. + * + * @var string + * @since 1.0.0 + */ + protected static string $model = Account::class; + /** * Primary table. * diff --git a/Models/AccountPermissionMapper.php b/Models/AccountPermissionMapper.php index 2f0d8b2..1b13024 100644 --- a/Models/AccountPermissionMapper.php +++ b/Models/AccountPermissionMapper.php @@ -45,6 +45,14 @@ final class AccountPermissionMapper extends DataMapperAbstract 'account_permission_permission' => ['name' => 'account_permission_permission', 'type' => 'int', 'internal' => 'permission'], ]; + /** + * Model to use by the mapper. + * + * @var string + * @since 1.0.0 + */ + protected static string $model = AccountPermission::class; + /** * Primary table. * diff --git a/Models/GroupMapper.php b/Models/GroupMapper.php index 56b1757..3b764c5 100644 --- a/Models/GroupMapper.php +++ b/Models/GroupMapper.php @@ -41,6 +41,14 @@ final class GroupMapper extends DataMapperAbstract 'group_created' => ['name' => 'group_created', 'type' => 'DateTime', 'internal' => 'createdAt', 'readonly' => true], ]; + /** + * Model to use by the mapper. + * + * @var string + * @since 1.0.0 + */ + protected static string $model = Group::class; + /** * Primary table. * diff --git a/Models/GroupPermissionMapper.php b/Models/GroupPermissionMapper.php index 01b241f..4d72b8b 100644 --- a/Models/GroupPermissionMapper.php +++ b/Models/GroupPermissionMapper.php @@ -45,6 +45,14 @@ final class GroupPermissionMapper extends DataMapperAbstract 'group_permission_permission' => ['name' => 'group_permission_permission', 'type' => 'int', 'internal' => 'permission'], ]; + /** + * Model to use by the mapper. + * + * @var string + * @since 1.0.0 + */ + protected static string $model = GroupPermission::class; + /** * Primary table. * diff --git a/Theme/Backend/Lang/Navigation.de.lang.php b/Theme/Backend/Lang/Navigation.de.lang.php new file mode 100644 index 0000000..0c8a4bf --- /dev/null +++ b/Theme/Backend/Lang/Navigation.de.lang.php @@ -0,0 +1,28 @@ + [ + 'Admin' => 'Admin', + 'Create' => 'Erstellen', + 'Front' => 'Front', + 'General' => 'Allgemein', + 'Groups' => 'Gruppen', + 'List' => 'Liste', + 'Members' => 'Mitglieder', + 'Modules' => 'Module', + 'Account' => 'Account', + 'Accounts' => 'Accounts', + ], +]; diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php new file mode 100644 index 0000000..7fb60b3 --- /dev/null +++ b/Theme/Backend/Lang/de.lang.php @@ -0,0 +1,177 @@ + [ + ':s1' => 'Aktiv', + ':s2' => 'Inaktiv', + ':s3' => 'Timeout', + ':s4' => 'Gebannt', + 'Account' => 'Account', + 'Account/Group' => 'Account/Groupe', + 'Accounts' => 'Konten', + 'Active' => 'Aktiv', + 'Activate' => 'Aktivieren', + 'Activity' => 'Aktivität', + 'AuditLog' => 'Audit Log', + 'Available' => 'Verfügbar', + 'All' => 'Alle', + 'App' => 'App', + 'Area' => 'Gebiet', + 'Banned' => 'Gabannt', + 'Cache' => 'Cache', + 'Children' => 'Kinder', + 'Close' => 'Schließen', + 'Comp' => 'Komp.', + 'Component' => 'Komponent', + 'Country' => 'Land', + 'Create' => 'Erstellen', + 'CreateProfile' => 'Erstelle Profil', + 'Created' => 'Erstellt', + 'CreatedBy' => 'Erstellt von', + 'Currency' => 'Currency', + 'Customized' => 'Customized', + 'DecimalPoint' => 'Decimal Point', + 'Defaults' => 'Defaults', + 'Description' => 'Description', + 'Delete' => 'Delete', + 'Deactivate' => 'Deactivate', + 'Ele' => 'Ele.', + 'Element' => 'Element', + 'Email' => 'Email', + 'EmailAdmin' => 'Email Admin', + 'Fast' => 'Fast', + 'Features' => 'Features', + 'File' => 'File', + 'General' => 'General', + 'Glass' => 'Glass', + 'Group' => 'Group', + 'Groups' => 'Groups', + 'Heavy' => 'Heavy', + 'Inactive' => 'Inactive', + 'Install' => 'Install', + 'Installed' => 'Installed', + 'LAddress' => 'Local Address', + 'Language' => 'Language', + 'Large' => 'Large', + 'Length' => 'Length', + 'Light' => 'Light', + 'Load' => 'Load', + 'Localization' => 'Localization', + 'Long' => 'Long', + 'Log' => 'Log', + 'LoginRetries' => 'Login Retries', + 'LogPath' => 'Log Path', + 'Logging' => 'Logging', + 'Loginname' => 'Login Name', + 'Lowercase' => 'Lowercase', + 'Maintenance' => 'Maintenance', + 'Medium' => 'Medium', + 'Member' => 'Member', + 'Members' => 'Members', + 'Memcache' => 'Memcache', + 'MemoryLimit' => 'Memory Limit', + 'Message' => 'Message', + 'Module' => 'Module', + 'Modules' => 'Modules', + 'Name' => 'Name', + 'Name1' => 'Name 1', + 'Name2' => 'Name 2', + 'Name3' => 'Name 3', + 'None' => 'None', + 'Numberformat' => 'Numberformat', + 'Numeric' => 'Numeric', + 'Organization' => 'Organization', + 'OrganizationName' => 'Organization Name', + 'Page' => 'Page', + 'Parent' => 'Parent', + 'Parents' => 'Parents', + 'Password' => 'Password', + 'PasswordChangeInterval' => 'Password Change Interval (days)', + 'PasswordHistory' => 'Password History', + 'PasswordRegex' => 'Password Regex', + 'Perm' => 'Perm.', + 'Permission' => 'Permission', + 'Permissions' => 'Permissions', + 'Person' => 'Person', + 'Profile' => 'Profile', + 'Read' => 'Read', + 'RAddress' => 'Remote Address', + 'ReCache' => 'Re-Cache', + 'Release' => 'Release', + 'Reset' => 'Reset', + 'Running' => 'Running', + 'Short' => 'Short', + 'Sea' => 'Sea', + 'Security' => 'Security', + 'Settings' => 'Settings', + 'SettingsGeneral' => 'Settings - General', + 'Single' => 'Single', + 'Slow' => 'Slow', + 'Small' => 'Small', + 'Speed' => 'Speed', + 'Specialchar' => 'Special character', + 'Status' => 'Status', + 'Total' => 'Total', + 'Type' => 'Type', + 'Tablespoon' => 'Tablespoon', + 'Teaspoon' => 'Teaspoon', + 'Temperature' => 'Temperature', + 'Theme' => 'Theme', + 'ThousandsSeparator' => 'Thousands Separator', + 'Time' => 'Time', + 'TimeoutPeriod' => 'Timeout Period (minutes)', + 'Timestamp' => 'Timestamp', + 'Timeformat' => 'Timeformat', + 'Timeout' => 'Timeout', + 'Timezone' => 'Timezone', + 'Unit' => 'Unit', + 'Uninstall' => 'Uninstall', + 'Update' => 'Update', + 'Uppercase' => 'Uppercase', + 'Username' => 'Username', + 'Version' => 'Version', + 'VeryFast' => 'Very Fast', + 'VeryHeavy' => 'Very Heavy', + 'VeryLarge' => 'Very Large', + 'VeryLight' => 'Very Light', + 'VeryLong' => 'Very Long', + 'VerySlow' => 'Very Slow', + 'VeryShort' => 'Very Short', + 'VerySmall' => 'Very Small', + 'Volume' => 'Volume', + 'Warnings' => 'Warnings', + 'Website' => 'Website', + 'Weight' => 'Weight', + 'i:loc' => 'IP address or URL for remote access.', + 'i:mail' => 'Email address.', + 'i:oname' => 'Organization name.', + 'i:rem' => 'IP address or URL for remote access.', + 'i:rc' => 'Forcing re-cache for every user.', + 'i:timef' => 'Time format.', + 'Status0' => 'None', + 'Status1' => 'Active', + 'Status2' => 'Inactive', + 'Status3' => 'Timehout', + 'Status4' => 'Banned', + 'GroupStatus1' => 'Active', + 'GroupStatus2' => 'Inactive', + 'GroupStatus4' => 'Hidden', + 'i:PasswordRegex' => 'Password requirement for users', + 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', + 'i:TimeoutPeriod' => 'Timeout period after too many logins', + 'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)', + 'i:PasswordHistory' => 'New password has to be different from the last N passwords', + ], +];