Warning if demo user.

This commit is contained in:
James Cole
2020-05-18 21:21:34 +02:00
parent 4e6063a4f8
commit 1ba7d65582
2 changed files with 2 additions and 0 deletions

View File

@@ -557,6 +557,7 @@ return [
'pref_locale_help' => 'Firefly III allows you to set other local settings, like how currencies, numbers and dates are formatted. Entries in this list may not be supported by your system. Firefly III doesn\'t have the correct date settings for every locale; contact me for improvements.',
'pref_locale_no_windows' => 'This feature may not work on Windows.',
'pref_locale_no_docker' => 'The Docker image only has a small set of installed locales.',
'pref_locale_no_demo' => 'This feature won\'t work for the demo user.',
'pref_custom_fiscal_year' => 'Fiscal year settings',
'pref_custom_fiscal_year_label' => 'Enabled',
'pref_custom_fiscal_year_help' => 'In countries that use a financial year other than January 1 to December 31, you can switch this on and specify start / end days of the fiscal year',

View File

@@ -69,6 +69,7 @@
</select>
</div></div>
<ul class="text-warning">
{% if IS_DEMO_SITE %}<li class="text-danger">{{ 'pref_locale_no_demo'|_ }}</li>{% endif %}
<li>{{ 'pref_locale_no_windows'|_ }}</li>
<li>{{ 'pref_locale_no_docker'|_ }}</li>
</ul>