Make settings use the default language from constants.py instead of a hardcoded value

This commit is contained in:
DevilXD committed 2022-08-24 11:44:06 +02:00
1 parent f1e0716445
commit 091ed1422c
1 file changed
+2 -2
+2 -2
View File
@@ -4,8 +4,8 @@ from typing import Any, TypedDict, TYPE_CHECKING
from yarl import URL from yarl import URL
from constants import SETTINGS_PATH
from utils import json_load, json_save from utils import json_load, json_save
from constants import SETTINGS_PATH, DEFAULT_LANG
if TYPE_CHECKING: if TYPE_CHECKING:
from main import ParsedArgs from main import ParsedArgs
@@ -26,9 +26,9 @@ default_settings: SettingsFile = {
"priority": [], "priority": [],
"exclude": set(), "exclude": set(),
"autostart": False, "autostart": False,
"language": "English",
"priority_only": True, "priority_only": True,
"autostart_tray": False, "autostart_tray": False,
"language": DEFAULT_LANG,
} }