Release 1.11.4.1 (Winter Update)

This commit is contained in:
Markus Isberg
2025-12-08 14:56:47 +00:00
parent 21e34e5cd8
commit 598966f200
121 changed files with 1614 additions and 819 deletions
@@ -260,8 +260,16 @@ namespace Barotrauma
{
continue;
}
split[j] = split[j].Replace(" & ", " & ");
xmlContentByLanguage[languageName].Add($"<{split[0]}>{split[j]}</{split[0]}>");
string textContent = split[j];
if (textContent == "#NAME?")
{
throw new Exception(
$"Error while converting csv to xml: #NAME? value found on line {row}, language: {languageName}." +
" This indicates a missing value in the csv file (some text got accidentally converted to a broken formula in the localization sheet?).");
}
textContent = textContent.Replace(" & ", " &amp; ");
xmlContentByLanguage[languageName].Add($"<{split[0]}>{textContent}</{split[0]}>");
}
}
}