diff options
author | Steve Frampton <40193522+FarmingtonS9@users.noreply.github.com> | 2023-09-16 01:15:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 01:15:33 +0200 |
commit | 879b9debfb97c48ed46d777b2a99d71757658cc6 (patch) | |
tree | 87974e84563d08c2f2762b75da0cfb2b4e28eab2 /src/headless | |
parent | 6278a35f4704574933464700026d8deb997da5c1 (diff) | |
parent | 8cf93b6523dc380ef0c7215e15e327a78bf4578e (diff) |
Merge pull request #15 from OpenVicProject/more-dataloading
More dataloading
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; } |