Skip to content

Commit

Permalink
Merge pull request #509 from openedx/bmtcril/fix_jinja_loc
Browse files Browse the repository at this point in the history
fix: Change translations source path
  • Loading branch information
bmtcril authored Nov 2, 2023
2 parents ed8de7e + e045b10 commit 09c4330
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Contributing Charts and Dashboards to Aspects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The Superset assets provided by Aspects can be found in the templated
`tutoraspects/templates/openedx-assets/assets` directory. For the most part,
`tutoraspects/templates/aspects/build/aspects-superset/openedx-assets/assets/` directory. For the most part,
these files are what Superset exports, but with some crucial differences
which make these assets usable across all Tutor deployments.

Expand Down
6 changes: 5 additions & 1 deletion scripts/translate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@

def get_text_for_translations(root_path):
assets_path = (
os.path.join(root_path, "tutoraspects/templates/openedx-assets/assets/")
os.path.join(
root_path,
"tutoraspects/templates/aspects/build/aspects-superset/"
"openedx-assets/assets/"
)
)

print(f"Assets path: {assets_path}")
Expand Down

0 comments on commit 09c4330

Please sign in to comment.