Skip to content

Firefly III: a personal finances manager

Missing translation on budgets index page

Florian Dupretf7545af17a96
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php
index f4b0f8d65d..435d1adb47 100644
--- a/resources/lang/en_US/firefly.php
+++ b/resources/lang/en_US/firefly.php
@@ -854,6 +854,7 @@ return [
'auto_budget_help' => 'You can read more about this feature in the help. Click the top-right (?) icon.',
'auto_budget_reset_icon' => 'This budget will be set periodically',
'auto_budget_rollover_icon' => 'The budget amount will increase periodically',
+ 'remove_budgeted_amount' => 'Remove budgeted amount in :currency',
// bills:
'not_expected_period' => 'Not expected this period',
diff --git a/resources/views/v1/budgets/index.twig b/resources/views/v1/budgets/index.twig
index 1d723010d3..b35bff25ca 100644
--- a/resources/views/v1/budgets/index.twig
+++ b/resources/views/v1/budgets/index.twig
@@ -271,8 +271,7 @@
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false"><span class="caret"></span></button>
<ul class="dropdown-menu">
- <li><a href="{{ route('budget-limits.delete', [budgetLimit.id]) }}">Remove budgeted amount
- in {{ budgetLimit.currency_name }}</a></li>
+ <li><a href="{{ route('budget-limits.delete', [budgetLimit.id]) }}">{{ trans('firefly.remove_budgeted_amount', {currency: budgetLimit.currency_name }) }}</a></li>
</ul>
</div>
</div>