diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 41b4a7f..33f6880 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -162,7 +162,7 @@ final class BackendController extends Controller $view->addData('interface', $interface); - $lang = include __DIR__ . '/../Interfaces/' . $interface->getInterfacePath() . '/' . $response->getHeader()->getL11n()->getLanguage() . '.lang.php'; + $lang = include __DIR__ . '/../Interfaces/' . $interface->getInterfacePath() . '/Lang/' . $response->getHeader()->getL11n()->getLanguage() . '.lang.php'; $view->addData('lang', $lang); return $view; diff --git a/Interfaces/GSD/Lang/de.lang.php b/Interfaces/GSD/Lang/de.lang.php new file mode 100644 index 0000000..339dd0b --- /dev/null +++ b/Interfaces/GSD/Lang/de.lang.php @@ -0,0 +1,27 @@ + 'Anlagevermögen', + 'Accounts' => 'Konten', + 'Articles' => 'Artikel', + 'CostCenters' => 'Kostenstellen', + 'CostObjects' => 'Kostenträger', + 'Customers' => 'Kunden', + 'Invoices' => 'Rechnungen', + 'Options' => 'Optionen', + 'Postings' => 'Buchungen', + 'Stocks' => 'Lager', + 'Suppliers' => 'Lieferanten', +]; diff --git a/Interfaces/GSD/en.lang.php b/Interfaces/GSD/Lang/en.lang.php similarity index 100% rename from Interfaces/GSD/en.lang.php rename to Interfaces/GSD/Lang/en.lang.php diff --git a/Interfaces/GSD/import.tpl.php b/Interfaces/GSD/import.tpl.php index 6ba0cc2..3a04db2 100755 --- a/Interfaces/GSD/import.tpl.php +++ b/Interfaces/GSD/import.tpl.php @@ -1,10 +1,9 @@
-
-

getHtml('Import') ?> - GSD

- -
-
+
+ +
getHtml('Import') ?> - GSD
+
@@ -74,11 +73,12 @@
- - - -
+
+
+ +
+
\ No newline at end of file diff --git a/Interfaces/Intrexx/Lang/en.lang.php b/Interfaces/Intrexx/Lang/en.lang.php new file mode 100644 index 0000000..79c39ab --- /dev/null +++ b/Interfaces/Intrexx/Lang/en.lang.php @@ -0,0 +1,17 @@ + [ + 'Dashboard' => 'Dashboard', + 'Exchange' => 'Exchange', + 'Export' => 'Export', + 'Import' => 'Import', +]]; diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php new file mode 100644 index 0000000..48a1c56 --- /dev/null +++ b/Theme/Backend/Lang/de.lang.php @@ -0,0 +1,32 @@ + [ + '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', +]]; diff --git a/Theme/Backend/exchange-export-list.tpl.php b/Theme/Backend/exchange-export-list.tpl.php index 3173feb..f94a9dd 100755 --- a/Theme/Backend/exchange-export-list.tpl.php +++ b/Theme/Backend/exchange-export-list.tpl.php @@ -12,19 +12,16 @@ */ declare(strict_types=1); - - /** - * @var \phpOMS\Views\View $this - */ +/** @var \phpOMS\Views\View $this */ $interfaces = $this->getData('interfaces'); echo $this->getData('nav')->render(); ?>
-
+
+
getHtml('Exports') ?>
-
getHtml('Exports') ?>
getHtml('Title') ?> @@ -38,6 +35,6 @@ echo $this->getData('nav')->render();
getHtml('Empty', '0', '0'); ?>
-
+
diff --git a/Theme/Backend/exchange-import-list.tpl.php b/Theme/Backend/exchange-import-list.tpl.php index 66a5ba6..e093e86 100755 --- a/Theme/Backend/exchange-import-list.tpl.php +++ b/Theme/Backend/exchange-import-list.tpl.php @@ -12,19 +12,16 @@ */ declare(strict_types=1); - - /** - * @var \phpOMS\Views\View $this - */ + /** @var \phpOMS\Views\View $this */ $interfaces = $this->getData('interfaces'); echo $this->getData('nav')->render(); ?>
-
+
+
getHtml('Imports') ?>
-
getHtml('Imports') ?>
getHtml('Title') ?> @@ -38,6 +35,6 @@ echo $this->getData('nav')->render();
getHtml('Empty', '0', '0'); ?>
-
+