mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
report number of files within archive at status bar.
This commit is contained in:
parent
e90643d71d
commit
219d98fa79
@ -690,7 +690,8 @@ namespace GARbro.GUI
|
|||||||
SaveCurrentPosition();
|
SaveCurrentPosition();
|
||||||
ViewModel = vm;
|
ViewModel = vm;
|
||||||
if (vm.IsArchive && null != m_app.CurrentArchive)
|
if (vm.IsArchive && null != m_app.CurrentArchive)
|
||||||
SetStatusText (m_app.CurrentArchive.Description);
|
SetStatusText (string.Format ("{0}: {1}", m_app.CurrentArchive.Description,
|
||||||
|
Localization.Format ("MsgFiles", m_app.CurrentArchive.Dir.Count())));
|
||||||
else
|
else
|
||||||
SetStatusText ("");
|
SetStatusText ("");
|
||||||
var old_parent = Directory.GetParent (old_dir);
|
var old_parent = Directory.GetParent (old_dir);
|
||||||
|
18
Strings/guiStrings.Designer.cs
generated
18
Strings/guiStrings.Designer.cs
generated
@ -474,6 +474,24 @@ namespace GARbro.GUI.Strings {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to {0} file.
|
||||||
|
/// </summary>
|
||||||
|
public static string MsgFiles1 {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("MsgFiles1", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to {0} files.
|
||||||
|
/// </summary>
|
||||||
|
public static string MsgFiles2 {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("MsgFiles2", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Image {0} x {1} pixels.
|
/// Looks up a localized string similar to Image {0} x {1} pixels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -345,4 +345,10 @@ Overwrite?</value>
|
|||||||
<data name="MsgExtractedFiles2" xml:space="preserve">
|
<data name="MsgExtractedFiles2" xml:space="preserve">
|
||||||
<value>Extracted {0} files</value>
|
<value>Extracted {0} files</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="MsgFiles1" xml:space="preserve">
|
||||||
|
<value>{0} file</value>
|
||||||
|
</data>
|
||||||
|
<data name="MsgFiles2" xml:space="preserve">
|
||||||
|
<value>{0} files</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
@ -357,4 +357,13 @@
|
|||||||
<data name="MsgExtractedFiles3" xml:space="preserve">
|
<data name="MsgExtractedFiles3" xml:space="preserve">
|
||||||
<value>Извлечено {0} файлов</value>
|
<value>Извлечено {0} файлов</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="MsgFiles1" xml:space="preserve">
|
||||||
|
<value>{0} файл</value>
|
||||||
|
</data>
|
||||||
|
<data name="MsgFiles2" xml:space="preserve">
|
||||||
|
<value>{0} файла</value>
|
||||||
|
</data>
|
||||||
|
<data name="MsgFiles3" xml:space="preserve">
|
||||||
|
<value>{0} файлов</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
Loading…
Reference in New Issue
Block a user