mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Rename languages.
This commit is contained in:
@@ -354,7 +354,7 @@ Breadcrumbs::register(
|
||||
'reports.report', function (Generator $breadcrumbs, Carbon $start, Carbon $end, $reportType, $accountIds) {
|
||||
$breadcrumbs->parent('reports.index');
|
||||
|
||||
$pref = Preferences::get('language', 'en')->data;
|
||||
$pref = Preferences::get('language', env('DEFAULT_LANGUAGE','en_US'))->data;
|
||||
$monthFormat = Config::get('firefly.monthAndDay.' . $pref);
|
||||
$title = trans('firefly.report_default', ['start' => $start->formatLocalized($monthFormat), 'end' => $end->formatLocalized($monthFormat)]);
|
||||
|
||||
|
Reference in New Issue
Block a user