Release 1.11.4.1 (Winter Update)
This commit is contained in:
@@ -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(" & ", " & ");
|
||||
xmlContentByLanguage[languageName].Add($"<{split[0]}>{textContent}</{split[0]}>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user