diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-03 16:33:58 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-03-16 09:55:53 +0100 |
commit | 784bf9ed15aa6e303e3996ef45f8f4281b032928 (patch) | |
tree | 412edb6c07152a532da82e4494813ef1f60b3b46 /searx/babel_extract.py | |
parent | b9cf3c82a18a4782a3aa543c91392c6483f5d2a4 (diff) | |
download | searxng-784bf9ed15aa6e303e3996ef45f8f4281b032928.tar.gz searxng-784bf9ed15aa6e303e3996ef45f8f4281b032928.zip |
[mod] move category and names of constants to searx/searxng.msg
Closes: https://github.com/searxng/searxng/issues/814
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/babel_extract.py')
-rw-r--r-- | searx/babel_extract.py | 4 |
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( |