aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless/main.cpp')
-rw-r--r--src/headless/main.cpp8
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;
}