Fix untranslatable strings #3159

This commit is contained in:
James Cole
2020-02-29 13:58:34 +01:00
parent 4434ea40ee
commit d580bf8f43
6 changed files with 19 additions and 6 deletions

View File

@@ -51,6 +51,7 @@ return [
'edit_journal' => 'Edit transaction ":description"',
'edit_reconciliation' => 'Edit ":description"',
'delete_journal' => 'Delete transaction ":description"',
'delete_group' => 'Delete transaction ":description"',
'tags' => 'Tags',
'createTag' => 'Create new tag',
'edit_tag' => 'Edit tag ":tag"',

View File

@@ -205,6 +205,7 @@ return [
'active_exp_bills_only' => 'active and expected bills only',
'average_per_bill' => 'average per bill',
'expected_total' => 'expected total',
'reconciliation_account_name' => ':name reconciliation',
// API access
'authorization_request' => 'Firefly III v:version Authorization Request',
'authorization_request_intro' => '<strong>:client</strong> is requesting permission to access your financial administration. Would you like to authorize <strong>:client</strong> to access these records?',
@@ -215,6 +216,8 @@ return [
'name_in_currency' => ':name in :currency',
'paid_in_currency' => 'Paid in :currency',
'unpaid_in_currency' => 'Unpaid in :currency',
'is_alpha_warning' => 'You are running an ALPHA version. Be wary of bugs and issues.',
'is_beta_warning' => 'You are running an BETA version. Be wary of bugs and issues.',
// check for updates:
'update_check_title' => 'Check for updates',
@@ -1391,6 +1394,13 @@ return [
'(partially) refunds_outward' => '(partially) refunds',
'(partially) pays for_outward' => '(partially) pays for',
'(partially) reimburses_outward' => '(partially) reimburses',
'is (partially) refunded by' => 'is (partially) refunded by',
'is (partially) paid for by' => 'is (partially) paid for by',
'is (partially) reimbursed by' => 'is (partially) reimbursed by',
'relates to' => 'relates to',
'(partially) refunds' => '(partially) refunds',
'(partially) pays for' => '(partially) pays for',
'(partially) reimburses' => '(partially) reimburses',
// split a transaction:
'splits' => 'Splits',

View File

@@ -141,9 +141,9 @@
<b>{{ 'version'|_ }}</b> <a href="{{ route('debug') }}">{{ Config.get('firefly.version') }}</a>
</div>
<strong><a href="https://github.com/firefly-iii/firefly-iii">Firefly III</a></strong>
<small class="text-muted">Developed by James Cole, the source code is licensed under the <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a>.</small>
{% if FF_IS_ALPHA %}<small class="text-danger"><br>You are running an ALPHA version. Be wary of bugs and issues.</small>{% endif %}
{% if FF_IS_BETA %}<small class="text-warning"><br>You are running an BETA version. Be wary of bugs and issues.</small>{% endif %}
<small class="text-muted">&copy; James Cole, <a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0-or-later</a>.</small>
{% if FF_IS_ALPHA %}<small class="text-danger"><br>{{ 'is_alpha_warning'|_ }}</small>{% endif %}
{% if FF_IS_BETA %}<small class="text-warning"><br>{{ 'is_beta_warning'|_ }}</small>{% endif %}
</footer>
{% include('partials.control-bar') %}

View File

@@ -302,7 +302,7 @@
<a href="{{ route('transactions.link.delete', [link.id]) }}" class="btn btn-danger"><i class="fa fa-trash"></i></a>
</div>
</td>
<td>{{ link.link }} "<a href="{{ route('transactions.show', link.group) }}"
<td>{{ trans('firefly.'~link.link) }} "<a href="{{ route('transactions.show', link.group) }}"
title="{{ link.description }}">{{ link.description }}</a>"
({{ link.amount|raw }})