diff options
Diffstat (limited to 'src/Main.c')
| -rw-r--r-- | src/Main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,7 @@ #include "Routes/Settings.h" #include "Routes/SettingsSave.h" #include "Scraping/Scraping.h" +#include "Utility/Utility.h" Config global_config; @@ -46,6 +47,7 @@ int main() { Config cfg = {.host = DEFAULT_HOST, .port = DEFAULT_PORT, .domain = "", + .default_locale = "en_gb", .proxy = "", .proxy_list_file = "", .max_proxy_retries = DEFAULT_MAX_PROXY_RETRIES, @@ -65,6 +67,8 @@ int main() { fprintf(stderr, "[WARN] Could not load config file, using defaults\n"); } + set_default_locale(cfg.default_locale); + global_config = cfg; int loaded = beaker_load_locales(); |
