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

This commit is contained in:
2022-11-24 00:20:46 +00:00
parent c4fa4e8674
commit 39948568ea
14 changed files with 2305 additions and 551 deletions

View File

@@ -1008,7 +1008,7 @@ public static class Identify
if(IdentifyDeviceResponse.Length != 512)
{
AaruConsole.DebugWriteLine("ATA/ATAPI IDENTIFY decoder",
"IDENTIFY response is different than 512 bytes, not decoding.");
Localization.IDENTIFY_response_is_different_than_512_bytes_not_decoding);
return null;
}

View File

@@ -264,7 +264,7 @@ public struct Inquiry
SCSIInquiryResponse.Length != 5)
{
AaruConsole.DebugWriteLine("SCSI INQUIRY decoder",
"INQUIRY response is {0} bytes, less than minimum of 36 bytes, decoded data can be incorrect, not decoding.",
Localization.INQUIRY_response_is_0_bytes_less_than_minimum_of_36_bytes,
SCSIInquiryResponse.Length);
return null;
@@ -274,7 +274,8 @@ public struct Inquiry
SCSIInquiryResponse.Length != SCSIInquiryResponse[4])
{
AaruConsole.DebugWriteLine("SCSI INQUIRY decoder",
"INQUIRY response length ({0} bytes) is different than specified in length field ({1} bytes), decoded data can be incorrect, not decoding.",
Localization.
INQUIRY_response_length_0_bytes_is_different_than_specified_in_length_field,
SCSIInquiryResponse.Length, SCSIInquiryResponse[4] + 4);
return null;