mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Fix phraseapp and move config location
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user