mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Translation for popup [skip ci]
This commit is contained in:
@@ -341,8 +341,10 @@ class BudgetController extends Controller
|
||||
$end = Navigation::endOfPeriod($start, $range);
|
||||
$key = 'budgetIncomeTotal' . $start->format('Ymd') . $end->format('Ymd');
|
||||
$amount = Preferences::get($key, 1000);
|
||||
$displayStart = Navigation::periodShow($start, $range);
|
||||
$displayEnd = Navigation::periodShow($end, $range);
|
||||
|
||||
return view('budgets.income', compact('amount'));
|
||||
return view('budgets.income', compact('amount', 'displayStart', 'displayEnd'));
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -471,6 +471,7 @@ return [
|
||||
'updated_budget' => 'Updated budget ":name"',
|
||||
'update_amount' => 'Update amount',
|
||||
'update_budget' => 'Update budget',
|
||||
'update_budget_amount_range' => 'Update (expected) available amount between :start and :end',
|
||||
|
||||
// bills:
|
||||
'matching_on' => 'Matching on',
|
||||
|
@@ -3,7 +3,9 @@
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
||||
</button>
|
||||
<h4 class="modal-title" id="myModalLabel">Update (expected) available amount for {{ Session.get('start').format('F Y') }}</h4>
|
||||
<h4 class="modal-title" id="myModalLabel">
|
||||
{{ trans('firefly.update_budget_amount_range', {start: displayStart, end: displayEnd}) }}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<form style="display: inline;" id="income" action="{{ route('budgets.postIncome') }}" method="POST">
|
||||
|
Reference in New Issue
Block a user