@@ -100,7 +100,10 @@ DetailDisk(
100100 ConResPrintf (StdOut , IDS_DETAIL_DISK_ID , szBuffer );
101101 PrintBusType (szBuffer , ARRAYSIZE (szBuffer ), CurrentDisk -> BusType );
102102 ConResPrintf (StdOut , IDS_DETAIL_DISK_TYPE , szBuffer );
103- ConResPrintf (StdOut , IDS_DETAIL_DISK_STATUS , L"Online" );
103+ LoadStringW (GetModuleHandle (NULL ),
104+ IDS_STATUS_ONLINE ,
105+ szBuffer , ARRAYSIZE (szBuffer ));
106+ ConResPrintf (StdOut , IDS_DETAIL_DISK_STATUS , szBuffer );
104107 ConResPrintf (StdOut , IDS_DETAIL_INFO_PATH , CurrentDisk -> PathId );
105108 ConResPrintf (StdOut , IDS_DETAIL_INFO_TARGET , CurrentDisk -> TargetId );
106109 ConResPrintf (StdOut , IDS_DETAIL_INFO_LUN_ID , CurrentDisk -> Lun );
@@ -180,11 +183,11 @@ DetailPartition(
180183 PrintGUID (szBuffer , & PartEntry -> Gpt .PartitionType );
181184 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_TYPE , szBuffer );
182185 LoadStringW (GetModuleHandle (NULL ),
183- (PartEntry -> Gpt .Attributes & GPT_BASIC_DATA_ATTRIBUTE_HIDDEN ) ? IDS_STATUS_YES : IDS_STATUS_YES ,
186+ (PartEntry -> Gpt .Attributes & GPT_BASIC_DATA_ATTRIBUTE_HIDDEN ) ? IDS_STATUS_YES : IDS_STATUS_NO ,
184187 szBuffer , ARRAYSIZE (szBuffer ));
185188 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_HIDDEN , szBuffer );
186189 LoadStringW (GetModuleHandle (NULL ),
187- (PartEntry -> Gpt .Attributes & GPT_ATTRIBUTE_PLATFORM_REQUIRED ) ? IDS_STATUS_YES : IDS_STATUS_YES ,
190+ (PartEntry -> Gpt .Attributes & GPT_ATTRIBUTE_PLATFORM_REQUIRED ) ? IDS_STATUS_YES : IDS_STATUS_NO ,
188191 szBuffer , ARRAYSIZE (szBuffer ));
189192 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_REQUIRED , szBuffer );
190193 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_ATTRIBUTE , PartEntry -> Gpt .Attributes );
@@ -195,7 +198,7 @@ DetailPartition(
195198 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_TYPE , szBuffer );
196199 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_HIDDEN , "" );
197200 LoadStringW (GetModuleHandle (NULL ),
198- PartEntry -> Mbr .BootIndicator ? IDS_STATUS_YES : IDS_STATUS_YES ,
201+ PartEntry -> Mbr .BootIndicator ? IDS_STATUS_YES : IDS_STATUS_NO ,
199202 szBuffer , ARRAYSIZE (szBuffer ));
200203 ConResPrintf (StdOut , IDS_DETAIL_PARTITION_ACTIVE , szBuffer );
201204 }
0 commit comments