Skip to content

Commit

Permalink
chore: move locales/xx-XX/main.json to locales/xx-XX.json
Browse files Browse the repository at this point in the history
also remove crowdin config
  • Loading branch information
alissonlauffer committed Jun 21, 2024
1 parent ba9a700 commit d59b02d
Show file tree
Hide file tree
Showing 39 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions crowdin.yml

This file was deleted.

2 changes: 1 addition & 1 deletion eduu/utils/localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def cache_locales(locales: list[str]) -> dict[str, dict[str, str]]:
locales_dict = {}

for locale in locales:
file = Path("locales", locale, "main.json")
file = Path("locales", f"{locale}.json")

if not file.exists():
logging.warning(
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d59b02d

Please sign in to comment.