LNG: moved languages.json so weblate skips it

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-03-05 18:50:21 +11:00
parent a0048980b8
commit 5a6de6d832
6 changed files with 5 additions and 5 deletions

View File

@@ -563,7 +563,7 @@ class Query(ObjectType):
langStrings = []
# --- CORE JSON FILES ---
language_folder = '/app/front/php/templates/language/'
language_folder = '/app/front/php/templates/language/language_definitions/'
if os.path.exists(language_folder):
for filename in os.listdir(language_folder):
if filename.endswith('.json') and filename != 'languages.json':

View File

@@ -7,7 +7,7 @@ from logger import mylog
INSTALL_PATH = os.getenv("NETALERTX_APP", "/app")
LANGUAGES_JSON_PATH = os.path.join(
INSTALL_PATH, "front", "php", "templates", "language", "languages.json"
INSTALL_PATH, "front", "php", "templates", "language", "language_definitions", "languages.json"
)