From 29fbd46e335f1ef72ef9e532f5d3870e1a74a25b Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 20 Apr 2016 17:13:25 +0200 Subject: [PATCH] Fixes for translations. [skip ci] --- resources/lang/en_US/firefly.php | 6 ++++++ resources/views/bills/show.twig | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index a35e74c3b0..1e8de92ccc 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -71,6 +71,12 @@ return [ 'search' => 'Search', 'no_budget_pointer' => 'You seem to have no budgets yet. You should create some on the budgets-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.', diff --git a/resources/views/bills/show.twig b/resources/views/bills/show.twig index af0b2d7c29..30ffc95380 100644 --- a/resources/views/bills/show.twig +++ b/resources/views/bills/show.twig @@ -45,7 +45,7 @@ {% for word in bill.match|split(',') %} {{ word }} {% 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) }}.