summaryrefslogtreecommitdiff
path: root/searx/babel_extract.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/babel_extract.py')
-rw-r--r--searx/babel_extract.py4
1 files changed, 2 insertions, 2 deletions
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 <babel.cfg>` 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(