mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-11-12 16:45:55 +08:00
exception translation
This commit is contained in:
parent
50c7fac4a6
commit
ea55db6d6e
@ -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;
|
||||
|
||||
@ -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>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user