Skip to content

Commit

Permalink
fix: relative translation path in build.py
Browse files Browse the repository at this point in the history
to avoid errors when launching the demo clients
  • Loading branch information
azmeuk committed Sep 11, 2023
1 parent 9218f2c commit 2703496
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import os


def create_mo_files(setup_kwargs):
from babel.messages.frontend import compile_catalog

cmd = compile_catalog()
cmd.directory = "canaille/translations"
cmd.directory = os.path.join(os.path.dirname(__file__), "canaille", "translations")
cmd.quiet = True
cmd.statistics = True
cmd.finalize_options()
Expand Down

0 comments on commit 2703496

Please sign in to comment.