mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some new translations [skip ci]
This commit is contained in:
@@ -6,7 +6,7 @@ use Config;
|
||||
use Illuminate\Contracts\Auth\Guard;
|
||||
use Illuminate\Http\Request;
|
||||
use Preferences;
|
||||
|
||||
use Carbon\Carbon;
|
||||
/**
|
||||
* Class Authenticate
|
||||
*
|
||||
@@ -54,6 +54,7 @@ class Authenticate
|
||||
// if logged in, set user language:
|
||||
$pref = Preferences::get('language', 'en');
|
||||
App::setLocale($pref->data);
|
||||
Carbon::setLocale($pref->data);
|
||||
|
||||
setlocale(LC_TIME, Config::get('firefly.locales.' . $pref->data));
|
||||
|
||||
|
Reference in New Issue
Block a user