Rename default to native.

This commit is contained in:
James Cole
2025-01-19 11:40:07 +01:00
parent 3766128cb8
commit ae366341cc
10 changed files with 29 additions and 27 deletions

View File

@@ -1775,9 +1775,10 @@ return [
'updated_currency' => 'Currency :name updated',
'ask_site_owner' => 'Please ask :owner to add, remove or edit currencies.',
'currencies_intro' => 'Firefly III supports various currencies which you can set and enable here.',
'currencies_switch_default' => 'If you have a large database, switching from one default currency to another may take a moment.',
'currencies_switch_default' => 'You can switch the native currency for your current administration on the "Financial administrations"-page.',
'make_default_currency' => 'Make default',
'default_currency' => 'default',
'native_currency_button' => 'native',
'currency_is_disabled' => 'Disabled',
'enable_currency' => 'Enable',
'disable_currency' => 'Disable',

View File

@@ -56,12 +56,6 @@
<span class="fa fa-fw fa-check-square-o"></span>
{{ 'enable_currency'|_ }}</a>
{% endif %}
{# Make currency default. #}
{% if currency.id != defaultCurrency.id %}
<button data-code="{{ currency.code }}" class="make_default btn btn-default"><span
class="fa fa-fw fa-star"></span> {{ 'make_default_currency'|_ }}</button>
{% endif %}
</div>
</td>
<td>
@@ -70,7 +64,7 @@
{% endif %}
{{ currency.name }} ({{ currency.code }}) ({{ currency.symbol|raw }})
{% if currency.id == defaultCurrency.id %}
<span class="label label-success" id="default-currency">{{ 'default_currency'|_ }}</span>
<span class="label label-success" id="default-currency">{{ 'native_currency_button'|_ }}</span>
{% endif %}
{% if currency.userGroupEnabled == false %}