From: sr55 Date: Sat, 8 Aug 2009 17:12:50 +0000 (+0000) Subject: WinGui: X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b76e03e6b9251ccd0720e6e75dc6de2f9f7d725c;p=handbrake-jp%2Fhandbrake-jp-git.git WinGui: - Improved some error messages. - Updated Installer Script git-svn-id: svn://localhost/HandBrake/trunk@2755 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/win/C#/HandBrakeCS.csproj b/win/C#/HandBrakeCS.csproj index 9f1667cb..9cd0c743 100644 --- a/win/C#/HandBrakeCS.csproj +++ b/win/C#/HandBrakeCS.csproj @@ -78,6 +78,8 @@ x86 bin\x86\Release\ false + TRACE;DEBUG + true bin\Build\ diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index dd612e21..584764f8 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -157,7 +157,7 @@ namespace Handbrake catch (Exception ex) { if ((bool)result.AsyncState) - MessageBox.Show("Unable to check for updates, Please try again later. \n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Unable to check for updates, Please try again later.\n\nDetailed Error Information:\n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -279,7 +279,7 @@ namespace Handbrake if (fileList[0].StartsWith("\\")) { MessageBox.Show( - "Sorry, HandBrake does not support UNC file paths. \nTry mounting the share as a network drive in My Computer", + "Sorry, HandBrake does not support UNC file paths. \nTry mounting the network share as a network drive in My Computer", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); UpdateSourceLabel(); } @@ -451,7 +451,7 @@ namespace Handbrake catch (Exception ex) { if ((bool)result.AsyncState) - MessageBox.Show("Unable to check for updates, Please try again later. \n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Unable to check for updates, Please try again later.\n\nDetailed Error Information:\n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } private void mnu_about_Click(object sender, EventArgs e) @@ -935,7 +935,7 @@ namespace Handbrake if (autoPath != null) text_destination.Text = autoPath; else - MessageBox.Show("You currently have automatic file naming enabled for the destination box, but you do not have a default direcotry set. You should set this in the program options (see Tools Menu)", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); + MessageBox.Show("You currently have \"Automatically name output files\" enabled for the destination file box, but you do not have a default direcotry set.\n\nYou should set a \"Default Path\" in HandBrakes preferences. (See 'Tools' menu -> 'Options' -> 'General' Tab -> 'Default Path')", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); } data_chpt.Rows.Clear(); diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs index 231a23d6..ec7065e5 100644 --- a/win/C#/frmOptions.Designer.cs +++ b/win/C#/frmOptions.Designer.cs @@ -404,7 +404,8 @@ namespace Handbrake this.text_an_path.Name = "text_an_path"; this.text_an_path.Size = new System.Drawing.Size(293, 21); this.text_an_path.TabIndex = 76; - this.ToolTip.SetToolTip(this.text_an_path, "The default location where auto named files are stored."); + this.ToolTip.SetToolTip(this.text_an_path, "This is the default location where your encoded files will be stored if \"Automati" + + "cally name output files\" is enabled."); this.text_an_path.TextChanged += new System.EventHandler(this.text_an_path_TextChanged); // // label10 diff --git a/win/C#/frmOptions.resx b/win/C#/frmOptions.resx index 427cdd96..139d8245 100644 --- a/win/C#/frmOptions.resx +++ b/win/C#/frmOptions.resx @@ -120,9 +120,6 @@ 132, 18 - - 132, 18 - 17, 17