[BUGFIX] Show warning message if no language is activated 53/45753/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 9 Jan 2016 12:45:05 +0000 (13:45 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 9 Jan 2016 13:38:28 +0000 (14:38 +0100)
commitf5ec18251f7c91be9cbd1ba1940e9dd26e88f708
tree77e69b0eaec7f9eb99f7a46bc06a45f8afa198ea
parent30460a4caae71734f45a86a2344abec5c9f463cd
[BUGFIX] Show warning message if no language is activated

When no language is activated, while updating in the language module,
error messages appear. Show a nice error message that at least one
language must be activated.

Resolves: #72593
Releases: master,7.6
Change-Id: I20459d2f50551f2c1677e04779294feba03a26f1
Reviewed-on: https://review.typo3.org/45751
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit b6b34962eb701028473408a52bd43a59fb1811a0)
Reviewed-on: https://review.typo3.org/45753
typo3/sysext/lang/Classes/Controller/LanguageController.php
typo3/sysext/lang/Resources/Private/Language/locallang.xlf
typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js