refactor frontend/locale

This commit is contained in:
MihailRis
2025-04-02 14:55:53 +03:00
parent b202d1455b
commit 4c8742ce46
6 changed files with 95 additions and 77 deletions
+9
View File
@@ -345,6 +345,15 @@ dv::value ResPaths::readCombinedObject(const std::string& filename, bool deep) c
return object;
}
std::vector<io::path> ResPaths::collectRoots() {
std::vector<io::path> collected;
collected.reserve(roots.size());
for (const auto& root : roots) {
collected.emplace_back(root.path);
}
return collected;
}
const io::path& ResPaths::getMainRoot() const {
return mainRoot;
}