mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
Expand view and translations.
This commit is contained in:
parent
20941dedd3
commit
e9ee93beb7
@ -40,6 +40,44 @@ return [
|
||||
|
||||
// rules
|
||||
'rules' => 'Rules',
|
||||
'rules_explanation' => 'Here is going to be text',
|
||||
'rule_name' => 'Name of rule',
|
||||
'rule_triggers' => 'Rule triggers when',
|
||||
'rule_actions' => 'Rule will',
|
||||
'new_rule' => 'New rule',
|
||||
'new_rule_group' => 'New rule group',
|
||||
'rule_priority_up' => 'Give rule more priority',
|
||||
'rule_priority_down' => 'Give rule less priority',
|
||||
|
||||
// actions and triggers
|
||||
'rule_trigger_user_action' => '',
|
||||
'rule_trigger_from_account_starts' => 'from_account_starts',
|
||||
'rule_trigger_from_account_ends' => 'from_account_ends',
|
||||
'rule_trigger_from_account_is' => 'Source account is ":trigger_value"',
|
||||
'rule_trigger_from_account_contains' => '',
|
||||
'rule_trigger_to_account_starts' => '',
|
||||
'rule_trigger_to_account_ends' => '',
|
||||
'rule_trigger_to_account_is' => '',
|
||||
'rule_trigger_to_account_contains' => '',
|
||||
'rule_trigger_transaction_type' => '',
|
||||
'rule_trigger_amount_less' => '',
|
||||
'rule_trigger_amount_exactly' => 'Amount is :trigger_value',
|
||||
'rule_trigger_amount_more' => '',
|
||||
'rule_trigger_description_starts' => '',
|
||||
'rule_trigger_description_ends' => '',
|
||||
'rule_trigger_description_contains' => 'Description contains ":trigger_value"',
|
||||
'rule_trigger_description_is' => '',
|
||||
|
||||
'rule_action_set_category' => 'Set category to ":action_value"',
|
||||
'rule_action_clear_category' => 'Clear category',
|
||||
'rule_action_set_budget' => 'Set budget to ":action_value"',
|
||||
'rule_action_clear_budget' => 'Clear budget',
|
||||
'rule_action_add_tag' => 'Add tag ":action_value"',
|
||||
'rule_action_remove_tag' => 'Remove tag ":action_value"',
|
||||
'rule_action_remove_all_tags' => 'Remove all tags',
|
||||
'rule_action_set_description' => 'Set description to ":action_value"',
|
||||
'rule_action_append_description' => 'Append description with ":action_value"',
|
||||
'rule_action_prepend_description' => 'Prepend description with ":action_value"',
|
||||
|
||||
// tags
|
||||
'store_new_tag' => 'Store new tag',
|
||||
|
@ -50,7 +50,7 @@
|
||||
</p>
|
||||
|
||||
{% if ruleGroup.rules.count > 0 %}
|
||||
<table class="table table- table-striped sortable">
|
||||
<table class="table table-hover table-striped sortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">{{ 'rule_name'|_ }}</th>
|
||||
@ -63,10 +63,14 @@
|
||||
<tr>
|
||||
<td>
|
||||
<div class="btn-group btn-group-xs">
|
||||
<a title="{{ 'rule_priority_up' }}" href="{{ route('rules.rule.up', rule.id) }}" class="btn btn-default"><span class="fa fa-arrow-up"></span></a>
|
||||
<a title="{{ 'rule_priority_down' }}" href="{{ route('rules.rule.down', rule.id) }}" class="btn btn-default"><span class="fa fa-arrow-down"></span></a>
|
||||
<a title="{{ 'edit'|_ }}" href="{{ route('rules.rule.edit', rule.id) }}" class="btn btn-default"><span class="fa fa-pencil"></span></a>
|
||||
<a title="{{ 'delete'|_ }}" href="{{ route('rules.rule.delete', rule.id) }}" class="btn btn-danger"><span class="fa fa-trash"></span></a>
|
||||
<a title="{{ 'rule_priority_up'|_ }}" href="{{ route('rules.rule.up', rule.id) }}" class="btn btn-default"><span
|
||||
class="fa fa-arrow-up"></span></a>
|
||||
<a title="{{ 'rule_priority_down'|_ }}" href="{{ route('rules.rule.down', rule.id) }}"
|
||||
class="btn btn-default"><span class="fa fa-arrow-down"></span></a>
|
||||
<a title="{{ 'edit'|_ }}" href="{{ route('rules.rule.edit', rule.id) }}" class="btn btn-default"><span
|
||||
class="fa fa-pencil"></span></a>
|
||||
<a title="{{ 'delete'|_ }}" href="{{ route('rules.rule.delete', rule.id) }}" class="btn btn-danger"><span
|
||||
class="fa fa-trash"></span></a>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
@ -75,8 +79,26 @@
|
||||
<small><br/>{{ rule.description }}</small>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>X</td>
|
||||
<td>Y</td>
|
||||
<td>
|
||||
{% if rule.ruleTriggers.count > 0 %}
|
||||
<ul class="small">
|
||||
{% for trigger in rule.ruleTriggers %}
|
||||
{% if trigger.trigger_type != "user_action" %}
|
||||
<li>{{ trans(('firefly.rule_trigger_' ~ trigger.trigger_type), {trigger_value: trigger.trigger_value}) }}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if rule.ruleActions.count > 0 %}
|
||||
<ul class="small">
|
||||
{% for action in rule.ruleActions %}
|
||||
<li>{{ trans(('firefly.rule_action_' ~ action.action_type), {action_value: action.action_value}) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user