pgAdmin 4 commit: Saved user language was not being picked up in caseo

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема pgAdmin 4 commit: Saved user language was not being picked up in caseo
Дата
Msg-id E1eMxGV-0007nR-G5@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Saved user language was not being picked up in case of non-server mode.
Because - the get_locale(...) function was being executed before any
request, and user login after first request. Hence - the values for
the labels in the Preferences are not being translated properly.

Fetch the raw value of user_language from configuration in case of
runtime/non-server mode to fix the issue.

Branch
------
WEBPACK_DEVEL2

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2bb4438e1426b9995323f4e9e25930080e22df5d
Author: Alexander Lakhin <exclusion@gmail.com>

Modified Files
--------------
web/pgadmin/__init__.py          | 20 ++++++++++++--------
web/pgadmin/utils/preferences.py | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 8 deletions(-)


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Correct names for the Japanese translators:
Следующее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: Make the "Save Changes" prompts in the query toolopt