1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-30 17:17:55 +00:00

Update project paths in our utility build scripts

This commit is contained in:
Jonathan Coates
2022-11-10 09:12:28 +00:00
parent 1d335f7290
commit 77624fc6fd
5 changed files with 13 additions and 13 deletions

View File

@@ -10,10 +10,11 @@ Note, this is not intended to be a fool-proof tool, rather a quick way to
ensure language files are mostly correct.
"""
import pathlib, sys, json
import json
import pathlib
from collections import OrderedDict
root = pathlib.Path("src/main/resources/assets/computercraft/lang")
root = pathlib.Path("projects/common/src/main/resources/assets/computercraft/lang")
with (root / "en_us.json").open(encoding="utf-8") as file:
en_us = json.load(file, object_hook=OrderedDict)