Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Some translations for lists [skip ci]
James Cole3895ae63c7cc
diff --git a/resources/lang/en/list.php b/resources/lang/en/list.phpnew file mode 100644index 0000000000..4a85e56f93--- /dev/null+++ b/resources/lang/en/list.php@@ -0,0 +1,29 @@+<?php++// all table headers.++return [+ 'name' => 'Name',+ 'role' => 'Role',+ 'currentBalance' => 'Current balance',+ 'active' => 'Is active?',+ 'lastActivity' => 'Last activity',+ 'balanceDiff' => 'Balance difference between :start and :end',+ 'matchedOn' => 'Matched on',+ 'matchingAmount' => 'Amount',+ 'lastMatch' => 'Last match',+ 'expectedMatch' => 'Expected match',+ 'automatch' => 'Automatch?',+ 'repeat_freq' => 'Repeats',+ 'description' => 'Description',+ 'amount' => 'Amount',+ 'date' => 'Date',+ 'from' => 'From',+ 'to' => 'To',+ 'budget' => 'Budget',+ 'category' => 'Category',+ 'bill' => 'Bill',+ 'withdrawal' => 'Withdrawal',+ 'deposit' => 'Deposit',+ 'transfer' => 'Transfer'+];\ No newline at end of filediff --git a/resources/lang/nl/list.php b/resources/lang/nl/list.phpnew file mode 100644index 0000000000..6d28f20d09--- /dev/null+++ b/resources/lang/nl/list.php@@ -0,0 +1,29 @@+<?php++// all table headers.++return [+ 'name' => 'Naam',+ 'role' => 'Rol',+ 'currentBalance' => 'Huidig saldo',+ 'active' => 'Actief?',+ 'lastActivity' => 'Laatste activiteit',+ 'balanceDiff' => 'Saldoverschil tussen :start en :end',+ 'matchedOn' => 'Wordt herkend',+ 'matchingAmount' => 'Bedrag',+ 'lastMatch' => 'Laatste keer gezien',+ 'expectedMatch' => 'Wordt verwacht',+ 'automatch' => 'Automatisch herkennen?',+ 'repeat_freq' => 'Herhaling',+ 'description' => 'Omschrijving',+ 'amount' => 'Bedrag',+ 'date' => 'Datum',+ 'from' => 'Van',+ 'to' => 'Naar',+ 'budget' => 'Budget',+ 'category' => 'Categorie',+ 'bill' => 'Rekening',+ 'withdrawal' => 'Uitgave',+ 'deposit' => 'Inkomsten',+ 'transfer' => 'Overschrijving'+];\ No newline at end of filediff --git a/resources/twig/list/accounts.twig b/resources/twig/list/accounts.twigindex 4cc47af39a..5e8a21803e 100644--- a/resources/twig/list/accounts.twig+++ b/resources/twig/list/accounts.twig@@ -2,14 +2,14 @@<thead><tr><th data-defaultsort="disabled"> </th>- <th>Name</th>+ <th>{{ trans('list.name') }}</th>{% if what == 'asset' %}- <th>Role</th>+ <th>{{ trans('list.role') }}</th>{% endif %}- <th>Current balance</th>- <th>Active</th>- <th>Last activity</th>- <th>Balance difference between {{ Session.get('start').format('jS F Y') }} and {{ Session.get('end').format('jS F Y') }}</th>+ <th>{{ trans('list.currentBalance') }}</th>+ <th>{{ trans('list.active') }}</th>+ <th>{{ trans('list.lastActivity') }}</th>+ <th>{{ trans('list.balanceDiff', {'start' : Session.get('start').format('jS F Y'),'end' : Session.get('end').format('jS F Y')}) }}</th></tr></thead><tbody>diff --git a/resources/twig/list/bills.twig b/resources/twig/list/bills.twigindex 91338ec6ad..52a3de075a 100644--- a/resources/twig/list/bills.twig+++ b/resources/twig/list/bills.twig@@ -2,14 +2,14 @@<thead><tr><th data-defaultsort="disabled"> </th>- <th>Name</th>- <th>Matches on</th>- <th colspan="2">Matching amount</th>- <th>Last seen match</th>- <th>Next expected match</th>- <th>Is active</th>- <th>Will be automatched</th>- <th>Repeats every</th>+ <th>{{ trans('list.name') }}</th>+ <th>{{ trans('list.matchesOn') }}</th>+ <th colspan="2">{{ trans('list.matchingAmount') }}</th>+ <th>{{ trans('list.lastMatch') }}</th>+ <th>{{ trans('list.expectedMatch') }}</th>+ <th>{{ trans('list.active') }}</th>+ <th>{{ trans('list.automatch') }}</th>+ <th>{{ trans('list.repeat_freq') }}</th><th data-defaultsort="disabled"> </th></tr></thead><tbody>diff --git a/resources/twig/list/categories.twig b/resources/twig/list/categories.twigindex 605167cd17..4005bc2e00 100644--- a/resources/twig/list/categories.twig+++ b/resources/twig/list/categories.twig@@ -2,8 +2,8 @@<thead><tr><th data-defaultsort="disabled"> </th>- <th>Name</th>- <th>Last activity</th>+ <th>{{ trans('list.name') }}</th>+ <th>{{ trans('list.lastActivity') }}</th></tr></thead><tbody>diff --git a/resources/twig/list/journals-tiny.twig b/resources/twig/list/journals-tiny.twigindex e4ca10fb72..db5f0b04a4 100644--- a/resources/twig/list/journals-tiny.twig+++ b/resources/twig/list/journals-tiny.twig@@ -5,23 +5,23 @@{% if not journal.type %}{% if journal.transactiontype.type == 'Withdrawal' %}- <i class="fa fa-long-arrow-left fa-fw" title="Withdrawal"></i>+ <i class="fa fa-long-arrow-left fa-fw" title="{{ trans('list.withdrawal') }}"></i>{% endif %}{% if journal.transactiontype.type == 'Deposit' %}- <i class="fa fa-long-arrow-right fa-fw" title="Deposit"></i>+ <i class="fa fa-long-arrow-right fa-fw" title="{{ trans('list.deposit') }}"></i>{% endif %}{% if journal.transactiontype.type == 'Transfer' %}- <i class="fa fa-fw fa-exchange" title="Transfer"></i>+ <i class="fa fa-fw fa-exchange" title="{{ trans('list.transfer') }}"></i>{% endif %}{% else %}{% if journal.type == 'Withdrawal' %}- <i class="fa fa-long-arrow-left fa-fw" title="Withdrawal"></i>+ <i class="fa fa-long-arrow-left fa-fw" title="{{ trans('list.withdrawal') }}"></i>{% endif %}{% if journal.type == 'Deposit' %}- <i class="fa fa-long-arrow-right fa-fw" title="Deposit"></i>+ <i class="fa fa-long-arrow-right fa-fw" title="{{ trans('list.deposit') }}"></i>{% endif %}{% if journal.type == 'Transfer' %}- <i class="fa fa-fw fa-exchange" title="Transfer"></i>+ <i class="fa fa-fw fa-exchange" title="{{ trans('list.transfer') }}"></i>{% endif %}{% endif %}diff --git a/resources/twig/list/journals.twig b/resources/twig/list/journals.twigindex 625d1d391a..7d7e01edac 100644--- a/resources/twig/list/journals.twig+++ b/resources/twig/list/journals.twig@@ -3,24 +3,24 @@<table class="table table-striped table-bordered sortable-table"><tr class="ignore"><th class="hidden-xs" colspan="2"> </th>- <th>Description</th>- <th>Amount</th>- <th>Date</th>- <th class="hidden-xs">From</th>- <th class="hidden-xs">To</th>+ <th>{{ trans('list.description') }}</th>+ <th>{{ trans('list.amount') }}</th>+ <th>{{ trans('list.date') }}</th>+ <th class="hidden-xs">{{ trans('list.from') }}</th>+ <th class="hidden-xs">{{ trans('list.to') }}</th><!-- Hide budgets? -->{% if not hideBudgets %}- <th class="hidden-xs"><i class="fa fa-tasks fa-fw" title="Budget"></i></th>+ <th class="hidden-xs"><i class="fa fa-tasks fa-fw" title="{{ trans('list.budget') }}"></i></th>{% endif %}<!-- Hide categories? -->{% if not hideCategories %}- <th class="hidden-xs"><i class="fa fa-bar-chart fa-fw" title="Category"></i></th>+ <th class="hidden-xs"><i class="fa fa-bar-chart fa-fw" title="{{ trans('list.category') }}"></i></th>{% endif %}<!-- Hide bills? -->{% if not hideBills %}- <th class="hidden-xs"><i class="fa fa-fw fa-rotate-right" title="Bill"></i></th>+ <th class="hidden-xs"><i class="fa fa-fw fa-rotate-right" title="{{ trans('list.bill') }}"></i></th>{% endif %}</tr>{% for journal in journals %}diff --git a/resources/twig/list/piggy-bank-events.twig b/resources/twig/list/piggy-bank-events.twigindex d685e73612..3993cefe59 100644--- a/resources/twig/list/piggy-bank-events.twig+++ b/resources/twig/list/piggy-bank-events.twig@@ -3,8 +3,8 @@{% if showPiggyBank %}<th>Piggy bank</th>{% endif %}- <th>Date</th>- <th>Amount</th>+ <th>{{ trans('list.date') }}</th>+ <th>{{ trans('list.amount') }}</th></tr>{% for event in events %}<tr>