This commit is contained in:
MihailRis
2023-12-14 00:20:40 +03:00
parent 82c772bfdb
commit c6d2266026
6 changed files with 33 additions and 57 deletions
+2 -2
View File
@@ -105,11 +105,11 @@ void langs::load(const path& resdir,
reader.read(lang, "");
}
for (auto pack : packs) {
path file = pack.getFolder()/filename;
path file = pack.folder/filename;
if (fs::is_regular_file(file)) {
string text = files::read_string(file);
Reader reader(file.string(), text);
reader.read(lang, pack.getId()+":");
reader.read(lang, pack.id+":");
}
}
}