Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!!!][TASK] Move glossary access registration into EXT:deepltranslate_glossary #413

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions Build/phpstan/Core12/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@ parameters:
count: 1
path: ../../../Classes/Form/Item/SiteConfigSupportedLanguageItemsProcFunc.php

-
message: "#^Method WebVision\\\\Deepltranslate\\\\Core\\\\Hooks\\\\ButtonBarHook\\:\\:buildParamsArrayForListView\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: ../../../Classes/Hooks/ButtonBarHook.php

-
message: "#^Parameter \\#1 \\$href of method TYPO3\\\\CMS\\\\Backend\\\\Template\\\\Components\\\\Buttons\\\\LinkButton\\:\\:setHref\\(\\) expects string, Psr\\\\Http\\\\Message\\\\UriInterface given\\.$#"
count: 1
path: ../../../Classes/Hooks/ButtonBarHook.php

-
message: "#^Method WebVision\\\\Deepltranslate\\\\Core\\\\Override\\\\Core12\\\\DatabaseRecordList\\:\\:makeLocalizationPanel\\(\\) has parameter \\$translations with no value type specified in iterable type array\\.$#"
count: 1
Expand Down
30 changes: 0 additions & 30 deletions Classes/Access/AllowedGlossarySyncAccess.php

This file was deleted.

96 changes: 0 additions & 96 deletions Classes/Hooks/ButtonBarHook.php

This file was deleted.

6 changes: 0 additions & 6 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@
<trans-unit id="be_groups.deepltranslate_access.items.translateAllowed.description">
<source></source>
</trans-unit>
<trans-unit id="be_groups.deepltranslate_access.items.allowedGlossarySync.title">
<source>Allowed Glossary Sync</source>
</trans-unit>
<trans-unit id="be_groups.deepltranslate_access.items.allowedGlossarySync.description">
<source></source>
</trans-unit>

<!-- Widget -->
<trans-unit id="widgets.deepltranslate.widget.useswidget.title">
Expand Down
51 changes: 0 additions & 51 deletions Tests/Unit/Access/AllowedGlossarySyncAccessTest.php

This file was deleted.

1 change: 0 additions & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@

$accessRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\WebVision\Deepltranslate\Core\Access\AccessRegistry::class);
$accessRegistry->addAccess((new \WebVision\Deepltranslate\Core\Access\AllowedTranslateAccess()));
$accessRegistry->addAccess((new \WebVision\Deepltranslate\Core\Access\AllowedGlossarySyncAccess()));
})();