Better context for language strings.

This commit is contained in:
James Cole 2017-12-23 21:29:05 +01:00
parent 26f196a067
commit c60ee14b86
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 6 additions and 9 deletions

View File

@ -819,8 +819,8 @@ return [
'inactive' => 'Inactive',
'active' => 'Active',
'difference' => 'Difference',
'in' => 'In',
'out' => 'Out',
'money_flowing_in' => 'In',
'money_flowing_out' => 'Out',
'topX' => 'top :number',
'show_full_list' => 'Show entire list',
'show_only_top' => 'Show only top :number',
@ -980,8 +980,7 @@ return [
'total_size' => 'total size',
'budget_or_budgets' => 'budget(s)',
'budgets_with_limits' => 'budget(s) with configured amount',
'rule_or_rules' => 'rule(s)',
'rulegroup_or_groups' => 'rule group(s)',
'nr_of_rules_in_total_groups' => ':count_rules rule(s) in :count_groups rule group(s)',
'tag_or_tags' => 'tag(s)',
'configuration_updated' => 'The configuration has been updated',
'setting_is_demo_site' => 'Demo site',

View File

@ -115,9 +115,7 @@
<tr>
<td>{{ trans('list.rule_and_groups_count') }}</td>
<td>
{{ information.rules }} {{ 'rule_or_rules'|_ }} {{ 'in'|_ }} {{ information.rule_groups }}
{{ 'rulegroup_or_groups'|_ }}
{{ trans('firefly.nr_of_rules_in_total_groups', {count_rules: information.rules, count_groups: information.rule_groups}) }}
</td>
</tr>
<tr>

View File

@ -1,10 +1,10 @@
<table class="table table-hover">
<tr>
<td>{{ 'in'|_ }}</td>
<td>{{ 'money_flowing_in'|_ }}</td>
<td style="text-align: right;">{{ incomeSum|formatAmount }}</td>
</tr>
<tr>
<td>{{ 'out'|_ }}</td>
<td>{{ 'money_flowing_out'|_ }}</td>
<td style="text-align: right;">{{ expensesSum|formatAmount }}</td>
</tr>
<tr>