Localization fixes

This commit is contained in:
Hillel Coren 2017-12-07 14:12:34 +02:00
parent 20341aaf88
commit 180a8b5e0f
3 changed files with 9 additions and 3 deletions

View File

@ -75,8 +75,10 @@
$('#reportrange').daterangepicker({
locale: {
format: "{{ $account->getMomentDateFormat() }}",
customRangeLabel: "{{ trans('texts.custom_range') }}",
format: "{{ $account->getMomentDateFormat() }}",
customRangeLabel: "{{ trans('texts.custom_range') }}",
applyLabel: "{{ trans('texts.apply') }}",
cancelLabel: "{{ trans('texts.cancel') }}",
},
startDate: statementStartDate,
endDate: statementEndDate,

View File

@ -138,8 +138,10 @@
$('#reportrange').daterangepicker({
locale: {
format: "{{ $account->getMomentDateFormat() }}",
format: "{{ $account->getMomentDateFormat() }}",
customRangeLabel: "{{ trans('texts.custom_range') }}",
applyLabel: "{{ trans('texts.apply') }}",
cancelLabel: "{{ trans('texts.cancel') }}",
},
startDate: chartStartDate,
endDate: chartEndDate,

View File

@ -93,6 +93,8 @@
locale: {
format: "{{ $account->getMomentDateFormat() }}",
customRangeLabel: "{{ trans('texts.custom_range') }}",
applyLabel: "{{ trans('texts.apply') }}",
cancelLabel: "{{ trans('texts.cancel') }}",
},
startDate: chartStartDate,
endDate: chartEndDate,