With this change the localized text is rendered instead of always defaulting to english.
Changes:
ImpersonateButton.js change postion of const localizedTooltip inside ImpersonateButton function and change isNil(window.Typo3Neos) to isNil(window.NeosCMS)
RestoreButton.js it was always fallback text used change isNil(window.NeosCMS) to !isNil(window.NeosCMS)
Fixes: #4511
Checklist
[ ] Code follows the PSR-2 coding style
[ ] Tests have been created, run and adjusted as needed
With this change the localized text is rendered instead of always defaulting to english.
Changes:
Fixes: #4511
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions