Document changes from #2772 #2773

This commit is contained in:
Maxime Besson 2022-08-24 15:46:38 +02:00
parent ec1a1c11b8
commit 17800cd00b
2 changed files with 19 additions and 0 deletions

View File

@ -290,6 +290,9 @@ For example ``templates/myskin/en.json``:
You can also create a file called ``all.json`` to override messages in
all languages.
.. versionchanged:: 2.0.15
Translations in lemonldap-ng.ini now take priority over translations from skin files
Menu tabs
~~~~~~~~~

View File

@ -29,6 +29,22 @@ None
2.0.15
------
Translation overrides in lemonldap-ng.ini now take priority over skin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously, the presence of a translation JSON file within a skin prevented
translation messages defined in ``lemonldap-ng.ini`` from being used.
Additionally, it was not possible to translate strings in email templates using
a custom skin file.
These two bugs are now fixed, be sure to check that you do not have duplicate
translations in ``lemonldap-ng.ini`` and in your skin files (``*.json``). If you do,
the translation in ``lemonldap-ng.ini`` will now take priority.
See :ref:`documentation on translating messages <intlmessages>` for
details
New Captcha API
~~~~~~~~~~~~~~~