reForis merge requestshttps://gitlab.nic.cz/turris/reforis/reforis/-/merge_requests2024-03-07T14:39:12+01:00https://gitlab.nic.cz/turris/reforis/reforis/-/merge_requests/335Fix deprecated flask-babel's localselector decorator2024-03-07T14:39:12+01:00Aleksandr GumroianFix deprecated flask-babel's localselector decoratorSince Flask-Babel 3.0.0 Babel.locale_selector no longer exists.
It must be provided when the Babel() object is created or
when init_app() is called.
Fixes: https://gitlab.nic.cz/turris/reforis/reforis/-/issues/405Since Flask-Babel 3.0.0 Babel.locale_selector no longer exists.
It must be provided when the Babel() object is created or
when init_app() is called.
Fixes: https://gitlab.nic.cz/turris/reforis/reforis/-/issues/405Michal HruseckyMichal Hrusecky