Skip to content

Commit

Permalink
Merge pull request #5 from sitegeist/bugfix/labels-in-admin-panel
Browse files Browse the repository at this point in the history
[BUGFIX] Leave labels in admin panel untouched
  • Loading branch information
galoppi authored Oct 22, 2019
2 parents dc65d06 + 125f5dd commit a9506bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Utility/TranslationLabelUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public static function isFrontendWithLoggedInBEUser($labelKey = '', $extensionNa
}
return ($isLoggedIn !== 0
&& TYPO3_MODE === 'FE'
&& strpos($labelKey, 'LLL:EXT:adminpanel') !== 0
&& strpos($labelKey, 'adminpanel') !== 0
&& $extensionName !== 'adminpanel'
&& $showTranslationLabels === '1'
// only for uncached pages as no_cache is set by admin panel
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sitegeist/translatelabels",
"type": "typo3-cms-extension",
"description": "",
"version": "2.0.1",
"version": "2.0.2",
"license": ["GPL-2.0-or-later"],
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '2.0.1',
'version' => '2.0.2',
'constraints' => [
'depends' => [
'typo3' => '10.0.0-10.1.99',
Expand Down

0 comments on commit a9506bb

Please sign in to comment.