diff options
Diffstat (limited to 'src/headless')
-rw-r--r-- | src/headless/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/headless/main.cpp b/src/headless/main.cpp index 3ae08f0..dfaf654 100644 --- a/src/headless/main.cpp +++ b/src/headless/main.cpp @@ -42,6 +42,14 @@ static bool headless_load(Dataloader::path_vector_t const& roots) { Logger::error("Failed to load hardcoded defines!"); ret = false; } + if (!dataloader.load_localisation_files( + [](std::string_view key, Dataloader::locale_t locale, std::string_view localisation) -> bool { + return true; + } + )) { + Logger::error("Failed to load localisation!"); + ret = false; + } return ret; } |