Fix phraseapp and move config location

This commit is contained in:
Dane Everitt 2017-03-19 11:55:36 -04:00
parent a554f242a8
commit da19749098
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 17 additions and 6 deletions

View file

@ -47,7 +47,7 @@ class PhraseAppTranslationProvider extends TranslationServiceProvider
// configuration so we can easily get both of these values from there.
$locale = $app['config']['app.locale'];
if ($app['config']['app.phrase_in_context']) {
if ($app['config']['pterodactyl.lang.in_context']) {
$trans = new PhraseAppTranslator($loader, $locale);
} else {
$trans = new IlluminateTranslator($loader, $locale);