Some translations for lists [skip ci]

This commit is contained in:
James Cole
2015-05-14 13:00:43 +02:00
parent 607d416d54
commit 3895ae63c7
8 changed files with 90 additions and 32 deletions

View File

@@ -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'
];

View File

@@ -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'
];

View File

@@ -2,14 +2,14 @@
<thead>
<tr>
<th data-defaultsort="disabled">&nbsp;</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>

View File

@@ -2,14 +2,14 @@
<thead>
<tr>
<th data-defaultsort="disabled">&nbsp;</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">&nbsp;</th>
</tr></thead>
<tbody>

View File

@@ -2,8 +2,8 @@
<thead>
<tr>
<th data-defaultsort="disabled">&nbsp;</th>
<th>Name</th>
<th>Last activity</th>
<th>{{ trans('list.name') }}</th>
<th>{{ trans('list.lastActivity') }}</th>
</tr>
</thead>
<tbody>

View File

@@ -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 %}

View File

@@ -3,24 +3,24 @@
<table class="table table-striped table-bordered sortable-table">
<tr class="ignore">
<th class="hidden-xs" colspan="2">&nbsp;</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 %}

View File

@@ -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>