diff --git a/Controller/ApiController.php b/Controller/ApiController.php index d955dd8..026d525 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -625,7 +625,6 @@ final class ApiController extends Controller return $new; } - // @todo: create test for this content change and the parsed content change if ($request->hasData('content')) { \file_put_contents( $new->isAbsolute diff --git a/Theme/Api/spreadsheetAsHtml.tpl.php b/Theme/Api/spreadsheetAsHtml.tpl.php index 55c2b42..3ebfe9f 100755 --- a/Theme/Api/spreadsheetAsHtml.tpl.php +++ b/Theme/Api/spreadsheetAsHtml.tpl.php @@ -17,6 +17,6 @@ use phpOMS\Utils\Parser\Spreadsheet\SpreadsheetParser; Autoloader::addPath(__DIR__ . '/../../../../Resources/'); -$media = $this->data['media']; +$media = $this->media; echo SpreadsheetParser::parseSpreadsheet(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath(), 'html'); diff --git a/Theme/Api/wordAsHtml.tpl.php b/Theme/Api/wordAsHtml.tpl.php index aa84951..a372817 100755 --- a/Theme/Api/wordAsHtml.tpl.php +++ b/Theme/Api/wordAsHtml.tpl.php @@ -18,7 +18,7 @@ use phpOMS\Autoloader; Autoloader::addPath(__DIR__ . '/../../../../Resources/'); -$media = $this->data['media']; +$media = $this->media; $reader = IOFactory::createReader('Word2007'); $doc = $reader->load(($media->isAbsolute ? '' : __DIR__ . '/../../../../') . $media->getPath()); diff --git a/Theme/Backend/Lang/Navigation.de.lang.php b/Theme/Backend/Lang/Navigation.de.lang.php index fc1b447..c2ef7fc 100755 --- a/Theme/Backend/Lang/Navigation.de.lang.php +++ b/Theme/Backend/Lang/Navigation.de.lang.php @@ -14,6 +14,6 @@ declare(strict_types=1); return ['Navigation' => [ 'Create' => 'Erstellen', - 'List' => 'Aufführen', + 'List' => 'Liste', 'Media' => 'Medien', ]]; diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 8bfe1af..9801469 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -15,16 +15,16 @@ declare(strict_types=1); return ['Media' => [ 'Account' => 'Konto', 'Add' => 'Hinzufügen', - 'AddToCollection' => 'Zur Sammlung hinzufügen', + 'AddToCollection' => 'Zum Ordner hinzufügen', 'Author' => 'Autor', 'Back' => 'Zurück', 'Changed' => 'Geändert', - 'Changedby' => 'Verändert von', - 'Content' => '', + 'Changedby' => 'Geändert durch', + 'Content' => 'Inhalt', 'CreateCollection' => 'Sammlung erstellen', 'CreateFile' => 'Erstelle Datei', 'Created' => 'Erstellt', - 'Creator' => 'Schöpfer', + 'Creator' => 'Ersteller', 'Data' => 'Daten', 'Description' => 'Beschreibung', 'Edit' => 'Bearbeiten', @@ -35,8 +35,8 @@ return ['Media' => [ 'GroupUser' => 'Gruppennutzer.', 'Media' => 'Medien', 'Name' => 'Name', - 'Password' => '', - 'Path' => 'Weg', + 'Password' => 'Passwort', + 'Path' => 'Pfad', 'PathSettings' => 'Pfadeinstellungen', 'Permission' => 'Erlaubnis', 'Preview' => 'Vorschau', @@ -44,8 +44,8 @@ return ['Media' => [ 'Select' => 'Wählen', 'Settings' => 'Einstellungen', 'Size' => 'Größe', - 'Tag' => '', - 'Tags' => '', + 'Tag' => 'Stichwort', + 'Tags' => 'Stichworte', 'Type' => 'Typ', 'Upload' => 'Hochladen', 'VirtualPath' => 'Virtueller Pfad',