Skip to content

Commit

Permalink
Updated various debug strings used in the FrmInstaller.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Nov 29, 2024
1 parent fa681c9 commit adbaa38
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
36 changes: 18 additions & 18 deletions src/srcrepair/DebugStrings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/srcrepair/DebugStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,6 @@
<data name="AppDbgExHudSelect" xml:space="preserve">
<value>Exception while trying to select another HUD.</value>
</data>
<data name="AppDbgExInstallerCompile" xml:space="preserve">
<value>Exception while trying to compile VMT file from template.</value>
</data>
<data name="AppDbgExInstallerRun" xml:space="preserve">
<value>Exception while installing the selected file.</value>
</data>
<data name="AppDbgExKbBW" xml:space="preserve">
<value>Exception while trying to disable both WIN keys.</value>
</data>
Expand Down Expand Up @@ -351,6 +345,12 @@
<data name="AppDbgExPluginsInit" xml:space="preserve">
<value>Exception while trying to create an instance of the PluginManager class.</value>
</data>
<data name="AppDbgExQIBaseInstall" xml:space="preserve">
<value>Exception while trying to install the selected file.</value>
</data>
<data name="AppDbgExQIGenVMT" xml:space="preserve">
<value>Exception while trying to generate a new VMT file from template.</value>
</data>
<data name="AppDbgExRemVd" xml:space="preserve">
<value>Exception while trying to remove the game settings.</value>
</data>
Expand Down
4 changes: 2 additions & 2 deletions src/srcrepair/FrmInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private void CompileFromTemplate(string FileName)
}
catch (Exception Ex)
{
Logger.Warn(Ex, DebugStrings.AppDbgExInstallerCompile);
Logger.Warn(Ex, DebugStrings.AppDbgExQIGenVMT);
MessageBox.Show(AppStrings.QI_GenVMTError, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
Expand Down Expand Up @@ -189,7 +189,7 @@ private void QI_Install_Click(object sender, EventArgs e)
}
catch (Exception Ex)
{
Logger.Error(Ex, DebugStrings.AppDbgExInstallerRun);
Logger.Error(Ex, DebugStrings.AppDbgExQIBaseInstall);
MessageBox.Show(AppStrings.QI_InstallationError, Properties.Resources.AppName, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
Expand Down

0 comments on commit adbaa38

Please sign in to comment.