Move all localizable strings from Aaru.Helpers project to resources.

This commit is contained in:
2022-11-28 10:22:27 +00:00
parent cfe81b8905
commit 25b15c9c33
6 changed files with 103 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ public static partial class ArrayHelpers
ArgumentNullException.ThrowIfNull(destinationArray);
if(value.Length > destinationArray.Length)
throw new ArgumentException("Length of value array must not be more than length of destination");
throw new ArgumentException(Localization.Length_of_value_array_must_not_be_more_than_length_of_destination);
// set the initial array value
Array.Copy(value, destinationArray, value.Length);