A fix of multiple typos in word "directory".
This commit is contained in:
parent
dbc98f5ca6
commit
f7bcbc7f93
|
|
@ -30,7 +30,7 @@ namespace VisualPascalABC.OptionsContent
|
|||
{
|
||||
this.btSelectOutpotDirectory = new System.Windows.Forms.Button();
|
||||
this.tbOutputDirectory = new System.Windows.Forms.TextBox();
|
||||
this.cbUseOutputDirecory = new System.Windows.Forms.CheckBox();
|
||||
this.cbUseOutputDirectory = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.cbUseDllForSystemUnits = new System.Windows.Forms.CheckBox();
|
||||
this.cbDeletePdb = new System.Windows.Forms.CheckBox();
|
||||
|
|
@ -61,17 +61,17 @@ namespace VisualPascalABC.OptionsContent
|
|||
this.tbOutputDirectory.Size = new System.Drawing.Size(207, 20);
|
||||
this.tbOutputDirectory.TabIndex = 26;
|
||||
//
|
||||
// cbUseOutputDirecory
|
||||
// cbUseOutputDirectory
|
||||
//
|
||||
this.cbUseOutputDirecory.AutoSize = true;
|
||||
this.cbUseOutputDirecory.Location = new System.Drawing.Point(5, 120);
|
||||
this.cbUseOutputDirecory.Name = "cbUseOutputDirecory";
|
||||
this.cbUseOutputDirecory.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||
this.cbUseOutputDirecory.Size = new System.Drawing.Size(168, 17);
|
||||
this.cbUseOutputDirecory.TabIndex = 25;
|
||||
this.cbUseOutputDirecory.Text = "USE_OUTPUT_DIRECTORY";
|
||||
this.cbUseOutputDirecory.UseVisualStyleBackColor = true;
|
||||
this.cbUseOutputDirecory.CheckedChanged += new System.EventHandler(this.cbUseOutputDirecory_CheckedChanged);
|
||||
this.cbUseOutputDirectory.AutoSize = true;
|
||||
this.cbUseOutputDirectory.Location = new System.Drawing.Point(5, 120);
|
||||
this.cbUseOutputDirectory.Name = "cbUseOutputDirectory";
|
||||
this.cbUseOutputDirectory.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||
this.cbUseOutputDirectory.Size = new System.Drawing.Size(168, 17);
|
||||
this.cbUseOutputDirectory.TabIndex = 25;
|
||||
this.cbUseOutputDirectory.Text = "USE_OUTPUT_DIRECTORY";
|
||||
this.cbUseOutputDirectory.UseVisualStyleBackColor = true;
|
||||
this.cbUseOutputDirectory.CheckedChanged += new System.EventHandler(this.cbUseOutputDirectory_CheckedChanged);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
|
|
@ -157,7 +157,7 @@ namespace VisualPascalABC.OptionsContent
|
|||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.btSelectOutpotDirectory);
|
||||
this.Controls.Add(this.tbOutputDirectory);
|
||||
this.Controls.Add(this.cbUseOutputDirecory);
|
||||
this.Controls.Add(this.cbUseOutputDirectory);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.comboBox1);
|
||||
|
|
@ -175,7 +175,7 @@ namespace VisualPascalABC.OptionsContent
|
|||
|
||||
private System.Windows.Forms.Button btSelectOutpotDirectory;
|
||||
private System.Windows.Forms.TextBox tbOutputDirectory;
|
||||
private System.Windows.Forms.CheckBox cbUseOutputDirecory;
|
||||
private System.Windows.Forms.CheckBox cbUseOutputDirectory;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.CheckBox cbDeletePdb;
|
||||
private System.Windows.Forms.CheckBox cbDeleteExe;
|
||||
|
|
|
|||
|
|
@ -77,8 +77,8 @@ namespace VisualPascalABC.OptionsContent
|
|||
checkBox1.Checked = CompOpt.Debug;
|
||||
cbDeleteExe.Checked = opt.DeleteEXEAfterExecute;
|
||||
cbDeletePdb.Checked = opt.DeletePDBAfterExecute;
|
||||
cbUseOutputDirecory.Checked = opt.UseOutputDirectory;
|
||||
cbUseOutputDirecory_CheckedChanged(null, null);
|
||||
cbUseOutputDirectory.Checked = opt.UseOutputDirectory;
|
||||
cbUseOutputDirectory_CheckedChanged(null, null);
|
||||
tbOutputDirectory.Text = opt.OutputDirectory;
|
||||
cbUseDllForSystemUnits.Checked = opt.UseDllForSystemUnits;
|
||||
alreadyShown = true;
|
||||
|
|
@ -110,12 +110,12 @@ namespace VisualPascalABC.OptionsContent
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, PascalABCCompiler.StringResources.Get("!ERROR_ON_CREATE_DIRECORY"), MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show(ex.Message, PascalABCCompiler.StringResources.Get("!ERROR_ON_CREATE_DIRECTORY"), MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
ActiveControl = tbOutputDirectory;
|
||||
return;
|
||||
}
|
||||
}
|
||||
opt.UseOutputDirectory = cbUseOutputDirecory.Checked;
|
||||
opt.UseOutputDirectory = cbUseOutputDirectory.Checked;
|
||||
opt.OutputDirectory = tbOutputDirectory.Text;
|
||||
opt.UseDllForSystemUnits = cbUseDllForSystemUnits.Checked;
|
||||
if (opt.UseOutputDirectory)
|
||||
|
|
@ -141,9 +141,9 @@ namespace VisualPascalABC.OptionsContent
|
|||
|
||||
}
|
||||
|
||||
private void cbUseOutputDirecory_CheckedChanged(object sender, EventArgs e)
|
||||
private void cbUseOutputDirectory_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
tbOutputDirectory.Enabled = btSelectOutpotDirectory.Enabled = cbUseOutputDirecory.Checked;
|
||||
tbOutputDirectory.Enabled = btSelectOutpotDirectory.Enabled = cbUseOutputDirectory.Checked;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@
|
|||
!ERROR=Error
|
||||
!FILE_NOT_FOUND{0}=File "{0}" not found.
|
||||
!WARNING=Warning
|
||||
!ERROR_ON_CREATE_DIRECORY=Error when creating directory
|
||||
!ERROR_ON_CREATE_DIRECTORY=Error when creating directory
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
//PABCNETC
|
||||
%PREFIX%=PABCNETC_
|
||||
|
||||
ERROR_INVALID_DIRECTORY=Error: Invalid direcory
|
||||
ERROR_INVALID_DIRECTORY=Error: Invalid directory
|
||||
ERROR_DIRECTORY_NOT_FOUND=Error: Directory not found
|
||||
FULL_ERROR_LIST=Full error list:
|
||||
OK_{0}MS_{1}LINES=OK {0}ms ({1}lines)
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@
|
|||
!FILE_NOT_FOUND{0}=Файл "{0}" не найден.
|
||||
!PROJECT_NOT_FOUND{0}=Проект "{0}" не найден.
|
||||
!WARNING=Предупреждение
|
||||
!ERROR_ON_CREATE_DIRECORY=Ошибка при создании папки
|
||||
!ERROR_ON_CREATE_DIRECTORY=Ошибка при создании папки
|
||||
Loading…
Reference in a new issue