From 0df6eee10f0ccda01279fadfacb21d5bc340bc4e Mon Sep 17 00:00:00 2001 From: Davis Date: Tue, 4 Oct 2016 15:09:43 -0500 Subject: [PATCH] Change exception message --- src/Core/Listener/ExtensionValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Listener/ExtensionValidator.php b/src/Core/Listener/ExtensionValidator.php index 49da05f5e..2f25af476 100644 --- a/src/Core/Listener/ExtensionValidator.php +++ b/src/Core/Listener/ExtensionValidator.php @@ -35,7 +35,7 @@ class ExtensionValidator $default_locale = $this->app->make('flarum.settings')->get('default_locale'); $locale = array_get($event->extension->extra, 'flarum-locale.code'); if ($locale === $default_locale) { - throw new MethodNotAllowedException('You cannot remove all your language packs!'); + throw new MethodNotAllowedException('You cannot disable the default language pack!'); } } }