mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
display file name that caused extraction error.
This commit is contained in:
parent
d526ef96fc
commit
52bc79bb96
@ -414,7 +414,11 @@ namespace GARbro.GUI
|
||||
if (m_pending_error is OperationCanceledException)
|
||||
m_main.SetStatusText (m_pending_error.Message);
|
||||
else
|
||||
m_main.PopupError (m_pending_error.Message, guiStrings.MsgErrorExtracting);
|
||||
{
|
||||
string message = string.Format (guiStrings.TextErrorExtracting,
|
||||
m_progress_dialog.Description, m_pending_error.Message);
|
||||
m_main.PopupError (message, guiStrings.MsgErrorExtracting);
|
||||
}
|
||||
}
|
||||
this.Dispose();
|
||||
}
|
||||
|
11
Strings/guiStrings.Designer.cs
generated
11
Strings/guiStrings.Designer.cs
generated
@ -900,6 +900,17 @@ namespace GARbro.GUI.Strings {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Error occured while extracting file
|
||||
///{0}
|
||||
///{1}.
|
||||
/// </summary>
|
||||
public static string TextErrorExtracting {
|
||||
get {
|
||||
return ResourceManager.GetString("TextErrorExtracting", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Extract audio.
|
||||
/// </summary>
|
||||
|
@ -441,4 +441,9 @@ Overwrite?</value>
|
||||
<data name="TextSelectFiles" xml:space="preserve">
|
||||
<value>Select files</value>
|
||||
</data>
|
||||
<data name="TextErrorExtracting" xml:space="preserve">
|
||||
<value>Error occured while extracting file
|
||||
{0}
|
||||
{1}</value>
|
||||
</data>
|
||||
</root>
|
@ -462,4 +462,9 @@
|
||||
<data name="TextSelectFiles" xml:space="preserve">
|
||||
<value>Выбрать файлы</value>
|
||||
</data>
|
||||
<data name="TextErrorExtracting" xml:space="preserve">
|
||||
<value>Произошёл сбой во время извлечения файла
|
||||
{0}
|
||||
{1}</value>
|
||||
</data>
|
||||
</root>
|
Loading…
x
Reference in New Issue
Block a user