mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Merge branch 'master' into log_system
This commit is contained in:
commit
4ddc9251d1
5 changed files with 6287 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
translation:
|
translation:
|
||||||
locales: ["en", "de"]
|
locales: ["en", "de", "ru"]
|
||||||
edit_in_place:
|
edit_in_place:
|
||||||
enabled: false
|
enabled: false
|
||||||
config_name: app
|
config_name: app
|
||||||
|
|
|
@ -13,3 +13,4 @@ twig:
|
||||||
default_currency: '%default_currency%'
|
default_currency: '%default_currency%'
|
||||||
global_theme: '%global_theme%'
|
global_theme: '%global_theme%'
|
||||||
allow_email_pw_reset: '%allow_email_pw_reset%'
|
allow_email_pw_reset: '%allow_email_pw_reset%'
|
||||||
|
locale_menu: '%locale_menu%'
|
||||||
|
|
|
@ -20,9 +20,11 @@ parameters:
|
||||||
sender_email: 'noreply@partdb.changeme' # The email address from which all emails are sent from
|
sender_email: 'noreply@partdb.changeme' # The email address from which all emails are sent from
|
||||||
sender_name: 'Part-DB Mailer' # The name that will be used for all mails sent by Part-DB
|
sender_name: 'Part-DB Mailer' # The name that will be used for all mails sent by Part-DB
|
||||||
allow_email_pw_reset: '%env(validMailDSN:MAILER_DSN)%' # Config if users are able, to reset their password by email. By default this enabled, when a mail server is configured.
|
allow_email_pw_reset: '%env(validMailDSN:MAILER_DSN)%' # Config if users are able, to reset their password by email. By default this enabled, when a mail server is configured.
|
||||||
|
locale_menu: ['en', 'de', 'ru'] # The languages that are shown in user drop down menu
|
||||||
# If this option is activated, IP addresses are anonymized to be GPDR compliant
|
# If this option is activated, IP addresses are anonymized to be GPDR compliant
|
||||||
gpdr_compliance: true
|
gpdr_compliance: true
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# default configuration for services in *this* file
|
# default configuration for services in *this* file
|
||||||
_defaults:
|
_defaults:
|
||||||
|
|
|
@ -50,12 +50,11 @@
|
||||||
</div>
|
</div>
|
||||||
<li role="separator" class="dropdown-divider"></li>
|
<li role="separator" class="dropdown-divider"></li>
|
||||||
<h6 class="dropdown-header">{% trans %}user.language_select{% endtrans %}</h6>
|
<h6 class="dropdown-header">{% trans %}user.language_select{% endtrans %}</h6>
|
||||||
<a class="dropdown-item" data-no-ajax href="{{ path(app.request.attributes.get('_route'),
|
{% for locale in locale_menu %}
|
||||||
app.request.attributes.get('_route_params')|merge({'_locale': 'en'})) }}">
|
<a class="dropdown-item" data-no-ajax href="{{ path(app.request.attributes.get('_route'),
|
||||||
{% trans %}language.english{% endtrans %}</a>
|
app.request.attributes.get('_route_params')|merge({'_locale': locale})) }}">
|
||||||
<a class="dropdown-item" data-no-ajax href="{{ path(app.request.attributes.get('_route'),
|
{{ locale|language_name }} ({{ locale|upper }})</a>
|
||||||
app.request.attributes.get('_route_params')|merge({'_locale': 'de'})) }}">
|
{% endfor %}
|
||||||
{% trans %}language.german{% endtrans %}</a>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
6278
translations/messages.ru.xlf
Normal file
6278
translations/messages.ru.xlf
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue