From 6a15afc723ca9721a7702db1db5d46c258eaf490 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 20 Apr 2016 17:10:35 +0200 Subject: [PATCH] New translations [skip ci] --- resources/lang/en_US/firefly.php | 14 +++++++++++++- resources/views/accounts/edit.twig | 2 +- resources/views/bills/show.twig | 29 +++++++++++++++-------------- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 8c9206bfe1..a35e74c3b0 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -69,7 +69,7 @@ return [ 'warning_much_data' => ':days days of data may take a while to load.', 'registered' => 'You have registered successfully!', '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.', + '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.', // account confirmation: 'confirm_account_header' => 'Please confirm your account', @@ -462,9 +462,18 @@ return [ 'update_budget' => 'Update budget', // bills: + 'matching_on' => 'Matching on', + 'between_amounts' => 'between :low and :high.', + 'repeats' => 'Repeats', + 'connected_journals' => 'Connected transaction journals', + 'auto_match_on' => 'Automatically matched by Firefly', + 'auto_match_off' => 'Not automatically matched by Firefly', + 'next_expected_match' => 'Next expected match', 'delete_bill' => 'Delete bill ":name"', 'deleted_bill' => 'Deleted bill ":name"', 'edit_bill' => 'Edit bill ":name"', + 'more' => 'More', + 'rescan_old' => 'Rescan old transactions', 'update_bill' => 'Update bill', 'updated_bill' => 'Updated bill ":name"', 'store_new_bill' => 'Store new bill', @@ -508,6 +517,7 @@ return [ 'save_transactions_by_moving' => 'Save these transaction(s) by moving them to another account:', 'stored_new_account' => 'New account ":name" stored!', 'updated_account' => 'Updated account ":name"', + 'credit_card_options' => 'Credit card options', // categories: 'new_category' => 'New category', @@ -642,6 +652,7 @@ return [ 'noCategory' => '(no category)', 'notCharged' => 'Not charged (yet)', 'inactive' => 'Inactive', + 'active' => 'Active', 'difference' => 'Difference', 'in' => 'In', 'out' => 'Out', @@ -674,6 +685,7 @@ return [ 'audit_end_balance' => 'Account balance of :account_name at the end of :end was: :balance', // charts: + 'chart' => 'Chart', 'dayOfMonth' => 'Day of the month', 'month' => 'Month', 'budget' => 'Budget', diff --git a/resources/views/accounts/edit.twig b/resources/views/accounts/edit.twig index 92f3065e75..5e31575226 100644 --- a/resources/views/accounts/edit.twig +++ b/resources/views/accounts/edit.twig @@ -45,7 +45,7 @@ {% if Session.get('preFilled').accountRole == 'ccAsset' %}
-

Credit card options

+

{{ 'credit_card_options'|_ }}

{{ ExpandedForm.select('ccType',Config.get('firefly.ccTypes')) }} diff --git a/resources/views/bills/show.twig b/resources/views/bills/show.twig index 3cfebbd4b5..af0b2d7c29 100644 --- a/resources/views/bills/show.twig +++ b/resources/views/bills/show.twig @@ -13,15 +13,15 @@

{{ bill.name }}

{% if bill.active %} - + {% else %} - + {% endif %} {% if bill.automatch %} - + {% else %} - + {% endif %} @@ -30,8 +30,8 @@
@@ -41,17 +41,18 @@ - +
- Matching on + {{ 'matching_on'|_ }} {% for word in bill.match|split(',') %} {{ word }} {% endfor %} - between {{ bill.amount_min|formatAmount }} and {{ bill.amount_max|formatAmount }}. - Repeats {{ bill.repeat_freq }}. + {{ trans('firefly.between_amounts', {low: bill.amount_min|formatAmount, high: bill.amount_max|formatAmount }) }} + {{ 'repeats'|_ }} + {{ trans('firefly.repeat_freq_' ~bill.repeat_freq) }}.
Next expected match{{ 'next_expected_match'|_ }} {% if bill.nextExpectedMatch %} {{ bill.nextExpectedMatch.formatLocalized(monthAndDayFormat) }} @@ -67,11 +68,11 @@
-

More

+

{{ 'more'|_ }}

@@ -82,7 +83,7 @@
-

Chart

+

{{ 'chart'|_ }}

@@ -95,7 +96,7 @@
-

Connected transaction journals

+

{{ 'connected_journals' }}

{% include 'list/journals' %}