mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-04 20:18:40 +00:00
fix lang import sorting
This commit is contained in:
parent
9bf76ad8d8
commit
861d43edfb
|
|
@ -182,6 +182,8 @@ final class Importer extends ImporterAbstract
|
|||
. "return ['" . $module . "' => [\n"
|
||||
);
|
||||
|
||||
\ksort($keys);
|
||||
|
||||
foreach ($keys as $key => $values) {
|
||||
\fwrite($fp,
|
||||
" '" . $key . "'" . \str_repeat(' ', $keyLengths[$module][$theme] - \strlen($key)) . " => '" . ($values[$language] ?? '') . "',\n"
|
||||
|
|
|
|||
|
|
@ -12,20 +12,27 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Exchange' => [
|
||||
'Database' => 'Datenbank',
|
||||
'End' => 'Ende',
|
||||
'Exchange' => 'Exchange',
|
||||
'Export' => 'Export',
|
||||
'Exports' => 'Exporte',
|
||||
'File' => 'Dateien',
|
||||
'Host' => 'Host',
|
||||
'Import' => 'Import',
|
||||
'Imports' => 'Importe',
|
||||
'Login' => 'Login',
|
||||
'Options' => 'Optionen',
|
||||
'Password' => 'Passwort',
|
||||
'Port' => 'Port',
|
||||
'Start' => 'Start',
|
||||
'Title' => 'Titel',
|
||||
'Website' => 'Webseite',
|
||||
'Created' => '',
|
||||
'CreatedAt' => '',
|
||||
'CreatedBy' => '',
|
||||
'Creator' => '',
|
||||
'Database' => 'Datenbank',
|
||||
'End' => 'Ende',
|
||||
'Exchange' => 'Exchange',
|
||||
'Export' => 'Export',
|
||||
'Exports' => 'Exporte',
|
||||
'File' => 'Dateien',
|
||||
'Host' => 'Host',
|
||||
'Import' => 'Import',
|
||||
'Imports' => 'Importe',
|
||||
'Login' => 'Login',
|
||||
'Logs' => '',
|
||||
'Options' => 'Optionen',
|
||||
'Password' => 'Passwort',
|
||||
'Port' => 'Port',
|
||||
'Start' => 'Start',
|
||||
'Subtype' => '',
|
||||
'Title' => 'Titel',
|
||||
'Type' => '',
|
||||
'Website' => 'Webseite',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -12,20 +12,27 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Exchange' => [
|
||||
'Database' => 'Database',
|
||||
'End' => 'End',
|
||||
'Exchange' => 'Exchange',
|
||||
'Export' => 'Export',
|
||||
'Exports' => 'Exports',
|
||||
'File' => 'File',
|
||||
'Host' => 'Host',
|
||||
'Import' => 'Import',
|
||||
'Imports' => 'Imports',
|
||||
'Login' => 'Login',
|
||||
'Options' => 'Options',
|
||||
'Password' => 'Password',
|
||||
'Port' => 'Port',
|
||||
'Start' => 'Start',
|
||||
'Title' => 'Title',
|
||||
'Website' => 'Website',
|
||||
'Created' => '',
|
||||
'CreatedAt' => '',
|
||||
'CreatedBy' => '',
|
||||
'Creator' => '',
|
||||
'Database' => 'Database',
|
||||
'End' => 'End',
|
||||
'Exchange' => 'Exchange',
|
||||
'Export' => 'Export',
|
||||
'Exports' => 'Exports',
|
||||
'File' => 'File',
|
||||
'Host' => 'Host',
|
||||
'Import' => 'Import',
|
||||
'Imports' => 'Imports',
|
||||
'Login' => 'Login',
|
||||
'Logs' => '',
|
||||
'Options' => 'Options',
|
||||
'Password' => 'Password',
|
||||
'Port' => 'Port',
|
||||
'Start' => 'Start',
|
||||
'Subtype' => '',
|
||||
'Title' => 'Title',
|
||||
'Type' => '',
|
||||
'Website' => 'Website',
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user