mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:03:12 +00:00
Rename locales dir
This commit is contained in:
parent
7fd1b6657d
commit
35a212ea3a
4 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue