mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
Will no longer show incomplete languages. [skip ci]
This commit is contained in:
@@ -102,7 +102,6 @@ class PreferencesController extends Controller
|
||||
$tjOptionalFields = Preferences::get('transaction_journal_optional_fields', [])->data;
|
||||
$is2faEnabled = Preferences::get('twoFactorAuthEnabled', 0)->data; // twoFactorAuthEnabled
|
||||
$has2faSecret = null !== Preferences::get('twoFactorAuthSecret'); // hasTwoFactorAuthSecret
|
||||
$showIncomplete = true === env('SHOW_INCOMPLETE_TRANSLATIONS', false);
|
||||
|
||||
return view(
|
||||
'preferences.index',
|
||||
@@ -117,7 +116,6 @@ class PreferencesController extends Controller
|
||||
'fiscalYearStart',
|
||||
'is2faEnabled',
|
||||
'has2faSecret',
|
||||
'showIncomplete',
|
||||
'showDeps'
|
||||
)
|
||||
);
|
||||
|
@@ -29,7 +29,6 @@
|
||||
<h3>{{ 'pref_languages'|_ }}</h3>
|
||||
<p class="text-info">{{ 'pref_languages_help'|_ }}</p>
|
||||
{% for key, lang in Config.get('firefly.languages') %}
|
||||
{% if lang.complete == true or (lang.complete == false and showIncomplete) %}
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="language" value="{{ key }}"
|
||||
@@ -43,7 +42,6 @@
|
||||
{% endif %}
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<p class="text-info">
|
||||
|
Reference in New Issue
Block a user