mirror of
https://github.com/inventree/inventree-app.git
synced 2026-06-10 08:27:15 +00:00
@@ -3,6 +3,7 @@
|
|||||||
*.log
|
*.log
|
||||||
*.pyc
|
*.pyc
|
||||||
*.swp
|
*.swp
|
||||||
|
*.salive
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.atom/
|
.atom/
|
||||||
.buildlog/
|
.buildlog/
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def translate(c):
|
|||||||
l10_dir = os.path.abspath(l10_dir)
|
l10_dir = os.path.abspath(l10_dir)
|
||||||
|
|
||||||
python = "python3" if sys.platform.lower() == "darwin" else "python"
|
python = "python3" if sys.platform.lower() == "darwin" else "python"
|
||||||
c.run(f"cd '{l10_dir}' && {python} collect_translations.py")
|
c.run(f'cd "{l10_dir}" && {python} collect_translations.py')
|
||||||
|
|
||||||
|
|
||||||
@task(pre=[clean, update, translate])
|
@task(pre=[clean, update, translate])
|
||||||
|
|||||||
Reference in New Issue
Block a user