1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 20:23:12 +00:00

Rename locales dir

This commit is contained in:
wlinator 2024-08-28 09:54:41 -04:00
parent 7fd1b6657d
commit 35a212ea3a
4 changed files with 1 additions and 1 deletions

View file

@ -13,7 +13,7 @@ class _parser:
return self._read_file("settings.yaml", yaml.safe_load)
def read_json(self, path: str) -> dict:
return self._read_file(f"localization/{path}.json", json.load)
return self._read_file(f"locales/{path}.json", json.load)
def _read_file(self, file_path: str, load_func: Callable) -> dict:
with open(file_path) as file: