diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.php index 4dfa42d049..f97f87bde5 100644 --- a/app/Http/Controllers/PreferencesController.php +++ b/app/Http/Controllers/PreferencesController.php @@ -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' ) ); diff --git a/resources/views/preferences/index.twig b/resources/views/preferences/index.twig index c8fa8d80ca..04f4bd521e 100644 --- a/resources/views/preferences/index.twig +++ b/resources/views/preferences/index.twig @@ -29,21 +29,19 @@

{{ 'pref_languages'|_ }}

{{ 'pref_languages_help'|_ }}

{% for key, lang in Config.get('firefly.languages') %} - {% if lang.complete == true or (lang.complete == false and showIncomplete) %} -
- -
- {% endif %} +
+ +
{% endfor %}