mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 16:44:11 +03:00
Merge pull request #101 from Mibew/missed_constant
Replace old localization constant with a valid string
This commit is contained in:
commit
3b9ded0b29
@ -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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user