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
+2 -2
View File
@@ -22,7 +22,7 @@ import tomli_w
class TranslationMerger:
def __init__(
self,
locales_dir: str = os.path.join(os.getcwd(), "frontend", "public", "locales"),
locales_dir: str = os.path.join(os.getcwd(), "frontend", "editor", "public", "locales"),
ignore_file: str = os.path.join(
os.getcwd(), "scripts", "ignore_translation.toml"
),
@@ -371,7 +371,7 @@ def main():
)
parser.add_argument(
"--locales-dir",
default=os.path.join(os.getcwd(), "frontend", "public", "locales"),
default=os.path.join(os.getcwd(), "frontend", "editor", "public", "locales"),
help="Path to locales directory",
)
parser.add_argument(