Make suggested savings text translatable

PR #594 introduced suggested savings, this commit makes the text translatable.
This commit is contained in:
Joris de Vries 2017-02-25 12:26:46 +01:00
parent 8c6972d12d
commit 251206fb75
2 changed files with 2 additions and 1 deletions

View File

@ -806,6 +806,7 @@ return [
'sum_of_piggy_banks' => 'Sum of piggy banks',
'saved_so_far' => 'Saved so far',
'left_to_save' => 'Left to save',
'suggested_amount' => 'Suggested monthly amount to save',
'add_money_to_piggy_title' => 'Add money to piggy bank ":name"',
'remove_money_from_piggy_title' => 'Remove money from piggy bank ":name"',
'add' => 'Add',

View File

@ -72,7 +72,7 @@
</tr>
{% if piggyBank.targetdate %}
<tr>
<td>Suggested monthly amount to save</td>
<td>{{ 'suggested_amount'|_ }}</td>
<td>
{{ suggestedMonthlyAmount(piggyBank)|formatAmount }}
</td>