[BUGFIX] Show warning message if no language is activated 51/45751/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:37:56 +0000 (14:37 +0100)
commitb6b34962eb701028473408a52bd43a59fb1811a0
tree8669b48ac34bfdf61f3afb1498574c50833a28cc
parentc23095b3533edd62aed26cd904eae73001b76327
[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>
typo3/sysext/lang/Classes/Controller/LanguageController.php
typo3/sysext/lang/Resources/Private/Language/locallang.xlf
typo3/sysext/lang/Resources/Public/JavaScript/LanguageModule.js