fix: Use frontend/editor for locales paths (#6483)

This commit is contained in:
Ludy
2026-05-30 22:00:17 +01:00
committed by GitHub
parent 30e782e29c
commit 78da227eba
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ def main() -> None:
# Project layout assumptions
cwd = os.getcwd()
locales_dir = os.path.join(cwd, "frontend", "public", "locales")
locales_dir = os.path.join(cwd, "frontend", "editor", "public", "locales")
reference_file = os.path.join(locales_dir, "en-GB", "translation.toml")
scripts_directory = os.path.join(cwd, "scripts")
translation_state_file = os.path.join(scripts_directory, "ignore_translation.toml")