exception translation

This commit is contained in:
Mikhail 2024-10-13 15:21:49 +08:00
parent 50c7fac4a6
commit ea55db6d6e
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ namespace DCFApixels.DragonECS
}
if (MetaID.IsGenericID(id) == false)
{
Throw.ArgumentException($"Иентификатор {id} содержит не допустимые символы: ,<>");
Throw.ArgumentException($"Identifier {id} contains invalid characters: ,<>");
}
id = string.Intern(id);
ID = id;

View File

@ -568,7 +568,8 @@ namespace DCFApixels.DragonECS
if (AreMatchingOrderIdentical(listA, listB) == false)
{
Throw.Exception("Для слияния списков слоев, нужно чтобы названия слоев, присутствующие в обоих списках, появлялись в одном и том же порядке в обоих списках");
//Для слияния списков слоев, нужно чтобы названия слоев, присутствующие в обоих списках, появлялись в одном и том же порядке в обоих списках
Throw.Exception("To merge layer lists, the names of the layers present in both lists must appear in the same order in both lists.");
}
HashSet<string> seen = new HashSet<string>();