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

This commit is contained in:
2022-11-27 13:33:46 +00:00
parent 39948568ea
commit 98ad790557
3 changed files with 11 additions and 2 deletions

View File

@@ -1221,6 +1221,12 @@ namespace Aaru.CommonTypes {
} }
} }
internal static string SCSI_Media_Type_Description_Exatape_80m {
get {
return ResourceManager.GetString("SCSI_Media_Type_Description_Exatape_80m", resourceCulture);
}
}
internal static string IDENTIFY_response_is_different_than_512_bytes_not_decoding { internal static string IDENTIFY_response_is_different_than_512_bytes_not_decoding {
get { get {
return ResourceManager.GetString("IDENTIFY_response_is_different_than_512_bytes_not_decoding", resourceCulture); return ResourceManager.GetString("IDENTIFY_response_is_different_than_512_bytes_not_decoding", resourceCulture);

View File

@@ -612,6 +612,9 @@
<data name="SCSI_Media_Type_Description_Exatape_75m" xml:space="preserve"> <data name="SCSI_Media_Type_Description_Exatape_75m" xml:space="preserve">
<value>SCSI medium type is {0:X2}h, density code is {1:X2}h, drive model starts with "exb" setting media type to 75m Exatape.</value> <value>SCSI medium type is {0:X2}h, density code is {1:X2}h, drive model starts with "exb" setting media type to 75m Exatape.</value>
</data> </data>
<data name="SCSI_Media_Type_Description_Exatape_80m" xml:space="preserve">
<value>SCSI medium type is {0:X2}h, density code is {1:X2}h, drive model starts with "exb" setting media type to 80m Exatape.</value>
</data>
<data name="IDENTIFY_response_is_different_than_512_bytes_not_decoding" xml:space="preserve"> <data name="IDENTIFY_response_is_different_than_512_bytes_not_decoding" xml:space="preserve">
<value>IDENTIFY response is different than 512 bytes, not decoding.</value> <value>IDENTIFY response is different than 512 bytes, not decoding.</value>
</data> </data>

View File

@@ -1003,7 +1003,7 @@ public static partial class MediaTypeFromDevice
{ {
if(model.ToLowerInvariant().StartsWith("exb", StringComparison.Ordinal)) if(model.ToLowerInvariant().StartsWith("exb", StringComparison.Ordinal))
{ {
AaruConsole.DebugWriteLine("Media detection", Core.SCSI_Media_Type_Description_Exatape_80m, AaruConsole.DebugWriteLine("Media detection", Localization.SCSI_Media_Type_Description_Exatape_80m,
mediumType, densityCode); mediumType, densityCode);
return MediaType.Exatape80m; return MediaType.Exatape80m;
@@ -1029,7 +1029,7 @@ public static partial class MediaTypeFromDevice
{ {
if(model.ToLowerInvariant().StartsWith("exb", StringComparison.Ordinal)) if(model.ToLowerInvariant().StartsWith("exb", StringComparison.Ordinal))
{ {
AaruConsole.DebugWriteLine("Media detection", Core.SCSI_Media_Type_Description_Exatape_80m, AaruConsole.DebugWriteLine("Media detection", Localization.SCSI_Media_Type_Description_Exatape_80m,
mediumType, densityCode); mediumType, densityCode);
return MediaType.Exatape80m; return MediaType.Exatape80m;