mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(GUI): added image format tag to status message.
This commit is contained in:
parent
4fe241276f
commit
307805c4ac
@ -240,7 +240,7 @@ namespace GARbro.GUI
|
||||
{
|
||||
using (var data = VFS.OpenImage (preview.Entry))
|
||||
{
|
||||
SetPreviewImage (preview, data.Image.Bitmap);
|
||||
SetPreviewImage (preview, data.Image.Bitmap, data.SourceFormat);
|
||||
}
|
||||
}
|
||||
catch (Exception X)
|
||||
@ -250,7 +250,7 @@ namespace GARbro.GUI
|
||||
}
|
||||
}
|
||||
|
||||
void SetPreviewImage (PreviewFile preview, BitmapSource bitmap)
|
||||
void SetPreviewImage (PreviewFile preview, BitmapSource bitmap, ImageFormat format)
|
||||
{
|
||||
if (bitmap.DpiX != Desktop.DpiX || bitmap.DpiY != Desktop.DpiY)
|
||||
{
|
||||
@ -271,7 +271,7 @@ namespace GARbro.GUI
|
||||
ImageCanvas.Source = bitmap;
|
||||
ApplyDownScaleSetting();
|
||||
SetStatusText (string.Format (guiStrings.MsgImageSize, bitmap.PixelWidth,
|
||||
bitmap.PixelHeight, bitmap.Format.BitsPerPixel));
|
||||
bitmap.PixelHeight, bitmap.Format.BitsPerPixel, format.Tag));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -270,7 +270,7 @@
|
||||
<comment>Extracting files from {0} to {1}</comment>
|
||||
</data>
|
||||
<data name="MsgImageSize" xml:space="preserve">
|
||||
<value>イメージ {0} x {1} x {2}bpp</value>
|
||||
<value>イメージ {0} x {1} x {2}bpp [{3}]</value>
|
||||
<comment>Image {0} x {1} x {2}bpp</comment>
|
||||
</data>
|
||||
<data name="MsgNoFiles" xml:space="preserve">
|
||||
|
@ -232,7 +232,7 @@
|
||||
<value>{0}에서 {1}로 파일 추출하기</value>
|
||||
</data>
|
||||
<data name="MsgImageSize" xml:space="preserve">
|
||||
<value>이미지 {0} x {1} x {2}bpp</value>
|
||||
<value>이미지 {0} x {1} x {2}bpp [{3}]</value>
|
||||
</data>
|
||||
<data name="MsgNoFiles" xml:space="preserve">
|
||||
<value>추출할 파일이 없음</value>
|
||||
|
@ -232,7 +232,7 @@
|
||||
<value>Extracting files from {0} to {1}</value>
|
||||
</data>
|
||||
<data name="MsgImageSize" xml:space="preserve">
|
||||
<value>Image {0} x {1} x {2}bpp</value>
|
||||
<value>Image {0} x {1} x {2}bpp [{3}]</value>
|
||||
</data>
|
||||
<data name="MsgNoFiles" xml:space="preserve">
|
||||
<value>no files to extract</value>
|
||||
|
@ -226,7 +226,7 @@
|
||||
<value>Извлекаются файлы из {0} в {1}</value>
|
||||
</data>
|
||||
<data name="MsgImageSize" xml:space="preserve">
|
||||
<value>Изображение {0} x {1} x {2}bpp</value>
|
||||
<value>Изображение {0} x {1} x {2}bpp [{3}]</value>
|
||||
</data>
|
||||
<data name="MsgNoFiles" xml:space="preserve">
|
||||
<value>отсутствуют файлы, удовлетворяющие выбранным критериям</value>
|
||||
|
@ -232,7 +232,7 @@
|
||||
<value>正在从{0}中提取文件至{1}……</value>
|
||||
</data>
|
||||
<data name="MsgImageSize" xml:space="preserve">
|
||||
<value>图像 {0} x {1} x {2}bpp</value>
|
||||
<value>图像 {0} x {1} x {2}bpp [{3}]</value>
|
||||
</data>
|
||||
<data name="MsgNoFiles" xml:space="preserve">
|
||||
<value>没有可以提取的文件。</value>
|
||||
|
Loading…
x
Reference in New Issue
Block a user