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

This commit is contained in:
2022-11-29 02:10:37 +00:00
parent cfd9069429
commit 179f6e3459
165 changed files with 11442 additions and 2335 deletions

View File

@@ -67,7 +67,7 @@ public sealed partial class CisCopy
break;
default:
AaruConsole.ErrorWriteLine($"Incorrect disk type {(byte)type}");
AaruConsole.ErrorWriteLine(string.Format(Localization.Incorrect_disk_type_0, (byte)type));
return ErrorNumber.InvalidArgument;
}
@@ -79,7 +79,7 @@ public sealed partial class CisCopy
if(cmpr != Compression.None)
{
AaruConsole.ErrorWriteLine("Compressed images are not supported.");
AaruConsole.ErrorWriteLine(Localization.Compressed_images_are_not_supported);
return ErrorNumber.NotImplemented;
}
@@ -200,7 +200,7 @@ public sealed partial class CisCopy
decodedImage.Close();
AaruConsole.VerboseWriteLine("CisCopy image contains a disk of type {0}", _imageInfo.MediaType);
AaruConsole.VerboseWriteLine(Localization.CisCopy_image_contains_a_disk_of_type_0, _imageInfo.MediaType);
return ErrorNumber.NoError;
}