mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-23 02:38:40 +00:00
implement localization
This commit is contained in:
parent
e35e530f7f
commit
44bfe2f534
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
28
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
28
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Admin\Language\Backend
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'Navigation' => [
|
||||
'Admin' => 'Admin',
|
||||
'Create' => 'Erstellen',
|
||||
'Front' => 'Front',
|
||||
'General' => 'Allgemein',
|
||||
'Groups' => 'Gruppen',
|
||||
'List' => 'Liste',
|
||||
'Members' => 'Mitglieder',
|
||||
'Modules' => 'Module',
|
||||
'Account' => 'Account',
|
||||
'Accounts' => 'Accounts',
|
||||
],
|
||||
];
|
||||
177
Theme/Backend/Lang/de.lang.php
Normal file
177
Theme/Backend/Lang/de.lang.php
Normal file
|
|
@ -0,0 +1,177 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Admin\Language\Backend
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'Admin' => [
|
||||
':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',
|
||||
],
|
||||
];
|
||||
Loading…
Reference in New Issue
Block a user