Merge pull request #101 from Mibew/missed_constant

Replace old localization constant with a valid string
This commit is contained in:
Dmitriy S. Simushev 2015-01-06 21:58:56 +03:00
commit 3b9ded0b29

View File

@ -119,7 +119,7 @@ class LocaleController extends AbstractController
if (count($available_locales) > 1) { if (count($available_locales) > 1) {
disable_locale($locale); disable_locale($locale);
} else { } else {
$errors[] = getlocal('page_locales.cannot_disable_all'); $errors[] = getlocal('Cannot disable all locales.');
} }
} }