Skip to content

Commit

Permalink
[!!!][TASK] Remove TYPO3 v11 backend JavaScript
Browse files Browse the repository at this point in the history
TYPO3 v11 support has been dropped but the
`EXT:backend` translation javascript wasn't
remove. Remove it now.
  • Loading branch information
sbuerk committed Dec 19, 2024
1 parent d8b4cc1 commit 22aa6ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 571 deletions.
4 changes: 2 additions & 2 deletions Classes/Override/CommandMapPostProcessingHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace WebVision\Deepltranslate\Core\Override;

use B13\Container\Domain\Factory\Exception;
use B13\Container\Domain\Factory\Exception as B13ContainerFactoryException;
use TYPO3\CMS\Core\DataHandling\DataHandler;
use TYPO3\CMS\Core\Utility\GeneralUtility;

Expand All @@ -31,7 +31,7 @@ protected function localizeOrCopyToLanguage(int $uid, int $language, string $com
$localDataHandler->start([], $cmd, $dataHandler->BE_USER);
$localDataHandler->process_cmdmap();
}
} catch (Exception $e) {
} catch (B13ContainerFactoryException) {
// exception is expected, if CE is not a container
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
default="{f:render(partial: 'AdditionalTranslation/DeeplDefault', arguments: '{_all}')}"
/>

<f:comment><!-- Identical to backend/Resources/Partials/PageLayout/LanguageColumns only copied --></f:comment>
<f:comment><!-- Identical to EXT:backend/Resources/Partials/PageLayout/LanguageColumns only copied except deepl viewhelper insertion. --></f:comment>
<div class="t3-grid-container">
<table cellpadding="0" cellspacing="0" class="t3-page-columns t3-grid-table t3js-page-columns">
<tr>
Expand Down
Loading

0 comments on commit 22aa6ac

Please sign in to comment.