Some new translations [skip ci]

This commit is contained in:
James Cole
2015-05-25 21:39:05 +02:00
parent 56c8a84691
commit 74f098e718
4 changed files with 22 additions and 4 deletions

View File

@@ -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));