From 784bf9ed15aa6e303e3996ef45f8f4281b032928 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 3 Feb 2022 16:33:58 +0100 Subject: [mod] move category and names of constants to searx/searxng.msg Closes: https://github.com/searxng/searxng/issues/814 Signed-off-by: Markus Heiser --- searx/babel_extract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/babel_extract.py') diff --git a/searx/babel_extract.py b/searx/babel_extract.py index 5f575f6d4..5bcb1f0e9 100644 --- a/searx/babel_extract.py +++ b/searx/babel_extract.py @@ -3,7 +3,7 @@ """This module implements the :origin:`searxng_msg ` extractor to extract messages from: -- None +- :origin:`searx/searxng.msg` The ``searxng.msg`` files are selected by Babel_, see Babel's configuration in :origin:`babel.cfg`:: @@ -25,7 +25,7 @@ A ``searxng.msg`` file is a python file that is *executed* by the from os import path SEARXNG_MSG_FILE = "searxng.msg" -_MSG_FILES = [] +_MSG_FILES = [path.join(path.dirname(__file__), SEARXNG_MSG_FILE)] def extract( -- cgit v1.2.3