mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-10 08:03:36 -06:00
Merge pull request #979 from pkoziol/develop
Translate hard-coded strings
This commit is contained in:
commit
a664451913
@ -355,6 +355,7 @@ return [
|
||||
'without_date' => 'Without date',
|
||||
'result' => 'Result',
|
||||
'sums_apply_to_range' => 'All sums apply to the selected range',
|
||||
'mapbox_api_key' => 'To use map, get an API key from <a href="https://www.mapbox.com/">Mapbox</a>. Open your <code>.env</code> file en enter this code after <code>MAPBOX_API_KEY=</code>.',
|
||||
'press_tag_location' => 'Right click or long press to set the tag\'s location.',
|
||||
'clear_location' => 'Clear location',
|
||||
|
||||
@ -587,6 +588,7 @@ return [
|
||||
'not_expected_period' => 'Not expected this period',
|
||||
'bill_is_active' => 'Bill is active',
|
||||
'bill_will_automatch' => 'Bill will automatically linked to matching transactions',
|
||||
'skips_over' => 'skips over',
|
||||
// accounts:
|
||||
'details_for_asset' => 'Details for asset account ":name"',
|
||||
'details_for_expense' => 'Details for expense account ":name"',
|
||||
@ -615,6 +617,7 @@ return [
|
||||
'revenue_accounts' => 'Revenue accounts',
|
||||
'cash_accounts' => 'Cash accounts',
|
||||
'Cash account' => 'Cash account',
|
||||
'cash' => 'cash',
|
||||
'account_type' => 'Account type',
|
||||
'save_transactions_by_moving' => 'Save these transaction(s) by moving them to another account:',
|
||||
'stored_new_account' => 'New account ":name" stored!',
|
||||
@ -665,6 +668,7 @@ return [
|
||||
'mass_delete_journals' => 'Delete a number of transactions',
|
||||
'mass_edit_journals' => 'Edit a number of transactions',
|
||||
'cannot_edit_other_fields' => 'You cannot mass-edit other fields than the ones here, because there is no room to show them. Please follow the link and edit them by one-by-one, if you need to edit these fields.',
|
||||
'no_budget' => 'none',
|
||||
'perm-delete-many' => 'Deleting many items in one go can be very disruptive. Please be cautious.',
|
||||
'mass_deleted_transactions_success' => 'Deleted :amount transaction(s).',
|
||||
'mass_edited_transactions_success' => 'Updated :amount transaction(s)',
|
||||
@ -700,7 +704,9 @@ return [
|
||||
'currency' => 'Currency',
|
||||
'preferences' => 'Preferences',
|
||||
'logout' => 'Logout',
|
||||
'toggleNavigation' => 'Toggle navigation',
|
||||
'searchPlaceholder' => 'Search...',
|
||||
'version' => 'Version',
|
||||
'dashboard' => 'Dashboard',
|
||||
'currencies' => 'Currencies',
|
||||
'accounts' => 'Accounts',
|
||||
@ -926,6 +932,7 @@ return [
|
||||
'budgets_with_limits' => 'budget(s) with configured amount',
|
||||
'rule_or_rules' => 'rule(s)',
|
||||
'rulegroup_or_groups' => 'rule group(s)',
|
||||
'tag_or_tags' => 'tag(s)',
|
||||
'configuration_updated' => 'The configuration has been updated',
|
||||
'setting_is_demo_site' => 'Demo site',
|
||||
'setting_is_demo_site_explain' => 'If you check this box, this installation will behave as if it is the demo site, which can have weird side effects.',
|
||||
@ -1013,6 +1020,7 @@ return [
|
||||
'import_index_title' => 'Import data into Firefly III',
|
||||
'import_index_sub_title' => 'Index',
|
||||
'import_general_index_intro' => 'Welcome to Firefly\'s import routine. There are a few ways of importing data into Firefly III, displayed here as buttons.',
|
||||
'import_general_index_csv_file' => 'Import a (CSV) file',
|
||||
'import_index_intro' => 'This routine will help you import files from your bank into Firefly III. Please check out the help pages in the top right corner.',
|
||||
'import_index_file' => 'Select your file',
|
||||
'import_index_config' => 'If you have previously imported data into Firefly III, you may have a configuration file, which will pre-set configuration values for you. For some banks, other users have kindly provided their <a href="https://github.com/firefly-iii/import-configurations/wiki">configuration file</a>.',
|
||||
|
@ -32,9 +32,9 @@
|
||||
<td>{{ trans('list.is_admin') }}</td>
|
||||
<td>
|
||||
{% if information.is_admin %}
|
||||
<small class="text-success"><i class="fa fa-fw fa-check"></i></small> Yes
|
||||
<small class="text-success"><i class="fa fa-fw fa-check"></i></small> {{ 'yes'|_ }}
|
||||
{% else %}
|
||||
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small> No
|
||||
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small> {{ 'no'|_ }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -42,9 +42,9 @@
|
||||
<td>{{ trans('list.has_two_factor') }}</td>
|
||||
<td>
|
||||
{% if information.has_2fa %}
|
||||
<small class="text-success"><i class="fa fa-fw fa-check"></i></small> Yes
|
||||
<small class="text-success"><i class="fa fa-fw fa-check"></i></small> {{ 'yes'|_ }}
|
||||
{% else %}
|
||||
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small> No
|
||||
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small> {{ 'no'|_ }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -52,7 +52,7 @@
|
||||
<td>{{ trans('list.is_blocked') }}</td>
|
||||
<td>
|
||||
{% if information.blocked %}
|
||||
<small class="text-danger"><i class="fa fa-fw fa-check" title="{{ 'yes'|_ }}"></i></small> Yes:
|
||||
<small class="text-danger"><i class="fa fa-fw fa-check" title="{{ 'yes'|_ }}"></i></small> {{ 'yes'|_ }}:
|
||||
|
||||
{% if information.blocked_code == "" %}
|
||||
<em>~</em>
|
||||
@ -61,7 +61,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
<small class="text-success"><i class="fa fa-fw fa-times" title="{{ 'no'|_ }}"></i></small> No
|
||||
<small class="text-success"><i class="fa fa-fw fa-times" title="{{ 'no'|_ }}"></i></small> {{ 'no'|_ }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -122,7 +122,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ trans('list.tags_count') }}</td>
|
||||
<td>{{ information.tags }} tags</td>
|
||||
<td>{{ information.tags }} {{ 'tag_or_tags'|_ }}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v"></i></button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> New bill</a></li>
|
||||
<li><a href="{{ route('bills.create') }}"><i class="fa fa-plus fa-fw"></i> {{ 'new_bill'|_ }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,8 +3,7 @@
|
||||
<div class="col-sm-8">
|
||||
{% if env('MAPBOX_API_KEY','') == '' %}
|
||||
<p class="text-danger">
|
||||
To use map, get an API key from <a href="https://www.mapbox.com/">Mapbox</a>.
|
||||
Open your <code>.env</code> file en enter this code after <code>MAPBOX_API_KEY=</code>.
|
||||
{{ trans('mapbox_api_key')|raw }}
|
||||
</p>
|
||||
{% else %}
|
||||
<div id="{{ name }}_map" style="width:100%;height:300px;"></div>
|
||||
|
@ -25,8 +25,8 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Account</th>
|
||||
<th>Current balance</th>
|
||||
<th colspan="2">{{ 'list.account'|_ }}</th>
|
||||
<th>{{ 'list.currentBalance'|_ }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -25,7 +25,7 @@
|
||||
{# file import #}
|
||||
<a href="{{ route('import.file.index') }}" class="btn btn-app">
|
||||
<i class="fa fa-file-text-o"></i>
|
||||
Import a (CSV) file
|
||||
{{ 'import_general_index_csv_file'|_ }}
|
||||
</a>
|
||||
{# bunq import #}
|
||||
{#
|
||||
|
@ -58,7 +58,7 @@
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="sr-only">{{ 'toggleNavigation'|_ }}</span>
|
||||
</a>
|
||||
<!-- Navbar Right Menu -->
|
||||
<div class="navbar-custom-menu">
|
||||
@ -143,7 +143,7 @@
|
||||
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> {{ Config.get('firefly.version') }}
|
||||
<b>{{ 'version'|_ }}</b> {{ Config.get('firefly.version') }}
|
||||
</div>
|
||||
<strong><a href="https://github.com/firefly-iii/firefly-iii">Firefly III</a></strong>
|
||||
</footer>
|
||||
|
@ -113,7 +113,7 @@
|
||||
<td class="hidden-sm hidden-xs" data-value="{{ entry.repeat_freq }}{{ entry.skip }}">
|
||||
{{ entry.repeat_freq|_ }}
|
||||
{% if entry.skip > 0 %}
|
||||
skips over {{ entry.skip }}
|
||||
{{ 'skips_over'|_ }} {{ entry.skip }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
{% if showPiggyBank %}
|
||||
<th>Piggy bank</th>
|
||||
<th>{{ trans('list.piggy_bank') }}</th>
|
||||
{% endif %}
|
||||
<th>{{ trans('list.date') }}</th>
|
||||
<th>{{ trans('list.amount') }}</th>
|
||||
|
@ -119,7 +119,7 @@
|
||||
{% if rule.active %}
|
||||
{{ rule.title }}
|
||||
{% else %}
|
||||
<s>{{ rule.title }}</s> (inactive)
|
||||
<s>{{ rule.title }}</s> ({{ 'inactive'|_|lower }})
|
||||
{% endif %}
|
||||
{% if rule.stop_processing %}
|
||||
<i class="fa fa-stop-circle-o"></i>
|
||||
|
@ -108,9 +108,9 @@
|
||||
<td>
|
||||
{% if journal.transaction_type_type == 'Withdrawal' %}
|
||||
<select class="form-control input-sm" name="budget_id[{{ journal.id }}]">
|
||||
<option value="0" label="(none)"
|
||||
<option value="0" label="({{ 'no_budget'|_ }})"
|
||||
{% if journal.budgets.count == 0 %}selected="selected"{% endif %}
|
||||
>(none)
|
||||
>({{ 'no_budget'|_ }})
|
||||
</option>
|
||||
{% for budget in budgets %}
|
||||
<option value="{{ budget.id }}"{% if budget.id==journal.budgets[0].id %} selected="selected"{% endif %}
|
||||
|
@ -390,7 +390,7 @@
|
||||
</td>
|
||||
<td>
|
||||
{% if transaction.source_account_type == 'Cash account' %}
|
||||
<span class="text-success">(cash)</span>
|
||||
<span class="text-success">({{ 'cash'|_ }})</span>
|
||||
{% else %}
|
||||
<a href="{{ route('accounts.show', transaction.source_account_id) }}">{{ transaction.source_account_name }}</a>
|
||||
{% endif %}
|
||||
@ -401,7 +401,7 @@
|
||||
</td>
|
||||
<td>
|
||||
{% if transaction.destination_account_type == 'Cash account' %}
|
||||
<span class="text-success">(cash)</span>
|
||||
<span class="text-success">({{ 'cash'|_ }})</span>
|
||||
{% else %}
|
||||
<a href="{{ route('accounts.show', transaction.destination_account_id) }}">{{ transaction.destination_account_name }}</a>
|
||||
{% endif %}
|
||||
@ -478,7 +478,7 @@
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
||||
<button type="submit" class="btn btn-primary">{{ 'submit'|_ }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user