From 6d31d99f971d60597e6c5eabfb5b2fadeb0f15c3 Mon Sep 17 00:00:00 2001 From: zx Date: Tue, 10 Aug 2010 14:27:44 +0300 Subject: [PATCH] typo fix --- SpellWork/Forms/FormMain.Designer.cs | 2 +- SpellWork/Forms/FormMain.cs | 9 +++++---- SpellWork/Forms/FormSettings.Designer.cs | 6 +++--- SpellWork/Forms/FormSettings.cs | 8 ++++---- SpellWork/Spell/SpellInfo.cs | 3 ++- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/SpellWork/Forms/FormMain.Designer.cs b/SpellWork/Forms/FormMain.Designer.cs index bdba237..cdb49a2 100644 --- a/SpellWork/Forms/FormMain.Designer.cs +++ b/SpellWork/Forms/FormMain.Designer.cs @@ -259,7 +259,7 @@ // this._Connected.Name = "_Connected"; this._Connected.Size = new System.Drawing.Size(132, 22); - this._Connected.Text = "Connected"; + this._Connected.Text = "Connect"; this._Connected.Click += new System.EventHandler(this._Connected_Click); // // _tsmSettings diff --git a/SpellWork/Forms/FormMain.cs b/SpellWork/Forms/FormMain.cs index 7640c8e..d55d0b4 100644 --- a/SpellWork/Forms/FormMain.cs +++ b/SpellWork/Forms/FormMain.cs @@ -91,7 +91,7 @@ namespace SpellWork if (MySQLConnect.Connected) { - _dbConnect.Text = "Connection is successfully"; + _dbConnect.Text = "Connected successfully"; // Подключились успешно _dbConnect.ForeColor = Color.Green; // read db data DBC.ItemTemplate = MySQLConnect.SelectItems(); @@ -108,10 +108,11 @@ namespace SpellWork MySQLConnect.TestConnect(); if (MySQLConnect.Connected) - MessageBox.Show("Connection is successfully!", "MySQL Connections!", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Connection is successful", // Соединение успешно + "MySQL Connection", MessageBoxButtons.OK, MessageBoxIcon.Information); else - MessageBox.Show("Connection is failed!", "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error); - + MessageBox.Show("Connection failed", // Соединение не удалось, Не удалось установить подключение + "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error); ConnStatus(); } diff --git a/SpellWork/Forms/FormSettings.Designer.cs b/SpellWork/Forms/FormSettings.Designer.cs index 4c8f632..997d3c3 100644 --- a/SpellWork/Forms/FormSettings.Designer.cs +++ b/SpellWork/Forms/FormSettings.Designer.cs @@ -63,7 +63,7 @@ this._gbDbSetting.Size = new System.Drawing.Size(217, 158); this._gbDbSetting.TabIndex = 0; this._gbDbSetting.TabStop = false; - this._gbDbSetting.Text = "Date Base Connect Settings"; + this._gbDbSetting.Text = "Date Base Connection Settings"; // // _tbBase // @@ -151,9 +151,9 @@ this._cbUseDBConnect.AutoSize = true; this._cbUseDBConnect.Location = new System.Drawing.Point(21, 176); this._cbUseDBConnect.Name = "_cbUseDBConnect"; - this._cbUseDBConnect.Size = new System.Drawing.Size(106, 17); + this._cbUseDBConnect.Size = new System.Drawing.Size(120, 17); this._cbUseDBConnect.TabIndex = 5; - this._cbUseDBConnect.Text = "Use DB Connect"; + this._cbUseDBConnect.Text = "Use DB Connection"; this._cbUseDBConnect.UseVisualStyleBackColor = true; this._cbUseDBConnect.CheckedChanged += new System.EventHandler(this._cbUseDBConnect_CheckedChanged); // diff --git a/SpellWork/Forms/FormSettings.cs b/SpellWork/Forms/FormSettings.cs index c412182..e3f1cfc 100644 --- a/SpellWork/Forms/FormSettings.cs +++ b/SpellWork/Forms/FormSettings.cs @@ -37,13 +37,13 @@ namespace SpellWork { if (MySQLConnect.Connected) { - MessageBox.Show("Connection is successfully!", "MySQL Connections!", - MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Connection is successful", // Соединение успешно + "MySQL Connection", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { - MessageBox.Show("Connection is failed!", "ERROR!", - MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Connection failed", // Соединение не удалось, Не удалось установить подключение + "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error); } } diff --git a/SpellWork/Spell/SpellInfo.cs b/SpellWork/Spell/SpellInfo.cs index 1959021..09a39ac 100644 --- a/SpellWork/Spell/SpellInfo.cs +++ b/SpellWork/Spell/SpellInfo.cs @@ -457,7 +457,8 @@ namespace SpellWork rtb.AppendLine(_line); rtb.SetStyle(Color.Blue, FontStyle.Bold); - rtb.AppendLine("Items used this spell:"); + rtb.AppendLine("Items used this spell:"); // в зависимости от смысла, но + // Предметы, использующие это заклинание = Items using this spell rtb.SetDefaultStyle(); foreach (Item item in items) -- 1.6.5.1.1367.gcd48