Fixes for translations. [skip ci]

This commit is contained in:
James Cole 2016-04-20 17:13:25 +02:00
parent 6a15afc723
commit 29fbd46e33
2 changed files with 7 additions and 1 deletions

View File

@ -71,6 +71,12 @@ return [
'search' => 'Search',
'no_budget_pointer' => 'You seem to have no budgets yet. You should create some on the <a href="/budgets">budgets</a>-page. Budgets can help you keep track of expenses.',
// repeat frequencies:
'repeat_freq_monthly' => 'monthly',
'weekly' => 'weekly',
'quarterly' => 'quarterly',
'half-year' => 'every half year',
'yearly' => 'yearly',
// account confirmation:
'confirm_account_header' => 'Please confirm your account',
'confirm_account_intro' => 'An email has been sent to the address you used during your registration. Please check it out for further instructions. If you did not get this message, you can have Firefly send it again.',

View File

@ -45,7 +45,7 @@
{% for word in bill.match|split(',') %}
<span class="label label-info">{{ word }}</span>
{% endfor %}
{{ trans('firefly.between_amounts', {low: bill.amount_min|formatAmount, high: bill.amount_max|formatAmount }) }}
{{ trans('firefly.between_amounts', {low: bill.amount_min|formatAmount, high: bill.amount_max|formatAmount })|raw }}
{{ 'repeats'|_ }}
{{ trans('firefly.repeat_freq_' ~bill.repeat_freq) }}.
</td>