mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Merge branch 'friendly-syntax-error' into dev
This commit is contained in:
@@ -400,7 +400,11 @@ namespace loot {
|
||||
git.Call(git_checkout_head(git.repo, &checkout_opts));
|
||||
|
||||
if (parsingError.empty())
|
||||
parsingError = boost::locale::translate("Masterlist revision").str() + " " + string(revision) + ": " + e.what() + ". " + boost::locale::translate("Rolled back to the previous revision.").str();
|
||||
parsingError = boost::locale::translate("Masterlist revision").str() +
|
||||
" " + string(revision) +
|
||||
": " + e.what() +
|
||||
". " +
|
||||
boost::locale::translate("The latest masterlist revision contains a syntax error, LOOT is using the most recent valid revision instead. Syntax errors are usually minor and fixed within hours.").str();
|
||||
}
|
||||
} while (parsingFailed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user