mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
More help when showing spell check dialog - thx Hawke42 :)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@894 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
e2d349c3ac
commit
fa233006ce
129
src/Forms/SpellCheck.Designer.cs
generated
129
src/Forms/SpellCheck.Designer.cs
generated
@ -54,14 +54,15 @@
|
||||
this.buttonSkipText = new System.Windows.Forms.Button();
|
||||
this.buttonChangeWholeText = new System.Windows.Forms.Button();
|
||||
this.textBoxWholeText = new System.Windows.Forms.TextBox();
|
||||
this.labelActionInfo = new System.Windows.Forms.Label();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.groupBoxWordNotFound.SuspendLayout();
|
||||
this.groupBoxSuggestions.SuspendLayout();
|
||||
this.groupBoxEditWholeText.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
//
|
||||
// buttonAddToDictionary
|
||||
//
|
||||
//
|
||||
this.buttonAddToDictionary.Location = new System.Drawing.Point(20, 131);
|
||||
this.buttonAddToDictionary.Name = "buttonAddToDictionary";
|
||||
this.buttonAddToDictionary.Size = new System.Drawing.Size(250, 21);
|
||||
@ -69,9 +70,11 @@
|
||||
this.buttonAddToDictionary.Text = "Add to user dictionary (not case sensitive)";
|
||||
this.buttonAddToDictionary.UseVisualStyleBackColor = true;
|
||||
this.buttonAddToDictionary.Click += new System.EventHandler(this.ButtonAddToDictionaryClick);
|
||||
//
|
||||
this.buttonAddToDictionary.MouseEnter += new System.EventHandler(this.buttonAddToDictionary_MouseEnter);
|
||||
this.buttonAddToDictionary.MouseLeave += new System.EventHandler(this.buttonAddToDictionary_MouseLeave);
|
||||
//
|
||||
// buttonSkipOnce
|
||||
//
|
||||
//
|
||||
this.buttonSkipOnce.Location = new System.Drawing.Point(20, 75);
|
||||
this.buttonSkipOnce.Name = "buttonSkipOnce";
|
||||
this.buttonSkipOnce.Size = new System.Drawing.Size(122, 21);
|
||||
@ -79,9 +82,11 @@
|
||||
this.buttonSkipOnce.Text = "Skip &once";
|
||||
this.buttonSkipOnce.UseVisualStyleBackColor = true;
|
||||
this.buttonSkipOnce.Click += new System.EventHandler(this.ButtonSkipOnceClick);
|
||||
//
|
||||
this.buttonSkipOnce.MouseEnter += new System.EventHandler(this.buttonSkipOnce_MouseEnter);
|
||||
this.buttonSkipOnce.MouseLeave += new System.EventHandler(this.buttonSkipOnce_MouseLeave);
|
||||
//
|
||||
// comboBoxDictionaries
|
||||
//
|
||||
//
|
||||
this.comboBoxDictionaries.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBoxDictionaries.FormattingEnabled = true;
|
||||
this.comboBoxDictionaries.Location = new System.Drawing.Point(317, 33);
|
||||
@ -89,18 +94,18 @@
|
||||
this.comboBoxDictionaries.Size = new System.Drawing.Size(271, 21);
|
||||
this.comboBoxDictionaries.TabIndex = 8;
|
||||
this.comboBoxDictionaries.SelectedIndexChanged += new System.EventHandler(this.ComboBoxDictionariesSelectedIndexChanged);
|
||||
//
|
||||
//
|
||||
// labelLanguage
|
||||
//
|
||||
//
|
||||
this.labelLanguage.AutoSize = true;
|
||||
this.labelLanguage.Location = new System.Drawing.Point(314, 14);
|
||||
this.labelLanguage.Name = "labelLanguage";
|
||||
this.labelLanguage.Size = new System.Drawing.Size(54, 13);
|
||||
this.labelLanguage.TabIndex = 3;
|
||||
this.labelLanguage.Text = "Language";
|
||||
//
|
||||
//
|
||||
// richTextBoxParagraph
|
||||
//
|
||||
//
|
||||
this.richTextBoxParagraph.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.richTextBoxParagraph.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.richTextBoxParagraph.Location = new System.Drawing.Point(11, 33);
|
||||
@ -109,50 +114,50 @@
|
||||
this.richTextBoxParagraph.Size = new System.Drawing.Size(292, 54);
|
||||
this.richTextBoxParagraph.TabIndex = 4;
|
||||
this.richTextBoxParagraph.Text = "";
|
||||
//
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.addXToNamesnoiseListToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(211, 26);
|
||||
this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStrip1Opening);
|
||||
//
|
||||
//
|
||||
// addXToNamesnoiseListToolStripMenuItem
|
||||
//
|
||||
//
|
||||
this.addXToNamesnoiseListToolStripMenuItem.Name = "addXToNamesnoiseListToolStripMenuItem";
|
||||
this.addXToNamesnoiseListToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.addXToNamesnoiseListToolStripMenuItem.Text = "Add x to names/noise list";
|
||||
this.addXToNamesnoiseListToolStripMenuItem.Click += new System.EventHandler(this.AddXToNamesnoiseListToolStripMenuItemClick);
|
||||
//
|
||||
//
|
||||
// listBoxSuggestions
|
||||
//
|
||||
//
|
||||
this.listBoxSuggestions.FormattingEnabled = true;
|
||||
this.listBoxSuggestions.Location = new System.Drawing.Point(8, 44);
|
||||
this.listBoxSuggestions.Name = "listBoxSuggestions";
|
||||
this.listBoxSuggestions.Size = new System.Drawing.Size(272, 82);
|
||||
this.listBoxSuggestions.TabIndex = 11;
|
||||
this.listBoxSuggestions.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ListBoxSuggestionsMouseDoubleClick);
|
||||
//
|
||||
//
|
||||
// labelFullText
|
||||
//
|
||||
//
|
||||
this.labelFullText.AutoSize = true;
|
||||
this.labelFullText.Location = new System.Drawing.Point(8, 14);
|
||||
this.labelFullText.Name = "labelFullText";
|
||||
this.labelFullText.Size = new System.Drawing.Size(46, 13);
|
||||
this.labelFullText.TabIndex = 7;
|
||||
this.labelFullText.Text = "Full text";
|
||||
//
|
||||
//
|
||||
// textBoxWord
|
||||
//
|
||||
//
|
||||
this.textBoxWord.Location = new System.Drawing.Point(20, 20);
|
||||
this.textBoxWord.Name = "textBoxWord";
|
||||
this.textBoxWord.Size = new System.Drawing.Size(250, 21);
|
||||
this.textBoxWord.TabIndex = 1;
|
||||
this.textBoxWord.TextChanged += new System.EventHandler(this.textBoxWord_TextChanged);
|
||||
//
|
||||
//
|
||||
// buttonAbort
|
||||
//
|
||||
//
|
||||
this.buttonAbort.Location = new System.Drawing.Point(510, 308);
|
||||
this.buttonAbort.Name = "buttonAbort";
|
||||
this.buttonAbort.Size = new System.Drawing.Size(85, 21);
|
||||
@ -160,9 +165,9 @@
|
||||
this.buttonAbort.Text = "Abort";
|
||||
this.buttonAbort.UseVisualStyleBackColor = true;
|
||||
this.buttonAbort.Click += new System.EventHandler(this.ButtonAbortClick);
|
||||
//
|
||||
//
|
||||
// buttonSkipAll
|
||||
//
|
||||
//
|
||||
this.buttonSkipAll.Location = new System.Drawing.Point(148, 75);
|
||||
this.buttonSkipAll.Name = "buttonSkipAll";
|
||||
this.buttonSkipAll.Size = new System.Drawing.Size(122, 21);
|
||||
@ -170,9 +175,11 @@
|
||||
this.buttonSkipAll.Text = "&Skip all";
|
||||
this.buttonSkipAll.UseVisualStyleBackColor = true;
|
||||
this.buttonSkipAll.Click += new System.EventHandler(this.ButtonSkipAllClick);
|
||||
//
|
||||
this.buttonSkipAll.MouseEnter += new System.EventHandler(this.buttonSkipAll_MouseEnter);
|
||||
this.buttonSkipAll.MouseLeave += new System.EventHandler(this.buttonSkipAll_MouseLeave);
|
||||
//
|
||||
// buttonChange
|
||||
//
|
||||
//
|
||||
this.buttonChange.Location = new System.Drawing.Point(20, 47);
|
||||
this.buttonChange.Name = "buttonChange";
|
||||
this.buttonChange.Size = new System.Drawing.Size(122, 21);
|
||||
@ -180,9 +187,11 @@
|
||||
this.buttonChange.Text = "Change";
|
||||
this.buttonChange.UseVisualStyleBackColor = true;
|
||||
this.buttonChange.Click += new System.EventHandler(this.ButtonChangeClick);
|
||||
//
|
||||
this.buttonChange.MouseEnter += new System.EventHandler(this.buttonChange_MouseEnter);
|
||||
this.buttonChange.MouseLeave += new System.EventHandler(this.buttonChange_MouseLeave);
|
||||
//
|
||||
// buttonUseSuggestion
|
||||
//
|
||||
//
|
||||
this.buttonUseSuggestion.Location = new System.Drawing.Point(93, 17);
|
||||
this.buttonUseSuggestion.Name = "buttonUseSuggestion";
|
||||
this.buttonUseSuggestion.Size = new System.Drawing.Size(90, 21);
|
||||
@ -190,9 +199,9 @@
|
||||
this.buttonUseSuggestion.Text = "Use";
|
||||
this.buttonUseSuggestion.UseVisualStyleBackColor = true;
|
||||
this.buttonUseSuggestion.Click += new System.EventHandler(this.ButtonUseSuggestionClick);
|
||||
//
|
||||
//
|
||||
// buttonChangeAll
|
||||
//
|
||||
//
|
||||
this.buttonChangeAll.Location = new System.Drawing.Point(148, 47);
|
||||
this.buttonChangeAll.Name = "buttonChangeAll";
|
||||
this.buttonChangeAll.Size = new System.Drawing.Size(122, 21);
|
||||
@ -200,9 +209,11 @@
|
||||
this.buttonChangeAll.Text = "Change all";
|
||||
this.buttonChangeAll.UseVisualStyleBackColor = true;
|
||||
this.buttonChangeAll.Click += new System.EventHandler(this.ButtonChangeAllClick);
|
||||
//
|
||||
this.buttonChangeAll.MouseEnter += new System.EventHandler(this.buttonChangeAll_MouseEnter);
|
||||
this.buttonChangeAll.MouseLeave += new System.EventHandler(this.buttonChangeAll_MouseLeave);
|
||||
//
|
||||
// buttonUseSuggestionAlways
|
||||
//
|
||||
//
|
||||
this.buttonUseSuggestionAlways.Location = new System.Drawing.Point(189, 17);
|
||||
this.buttonUseSuggestionAlways.Name = "buttonUseSuggestionAlways";
|
||||
this.buttonUseSuggestionAlways.Size = new System.Drawing.Size(90, 21);
|
||||
@ -210,9 +221,9 @@
|
||||
this.buttonUseSuggestionAlways.Text = "Use always";
|
||||
this.buttonUseSuggestionAlways.UseVisualStyleBackColor = true;
|
||||
this.buttonUseSuggestionAlways.Click += new System.EventHandler(this.ButtonUseSuggestionAlwaysClick);
|
||||
//
|
||||
//
|
||||
// buttonAddToNames
|
||||
//
|
||||
//
|
||||
this.buttonAddToNames.Location = new System.Drawing.Point(20, 103);
|
||||
this.buttonAddToNames.Name = "buttonAddToNames";
|
||||
this.buttonAddToNames.Size = new System.Drawing.Size(250, 21);
|
||||
@ -220,9 +231,11 @@
|
||||
this.buttonAddToNames.Text = "Add to names/noise list (case sensitive)";
|
||||
this.buttonAddToNames.UseVisualStyleBackColor = true;
|
||||
this.buttonAddToNames.Click += new System.EventHandler(this.ButtonAddToNamesClick);
|
||||
//
|
||||
this.buttonAddToNames.MouseEnter += new System.EventHandler(this.buttonAddToNames_MouseEnter);
|
||||
this.buttonAddToNames.MouseLeave += new System.EventHandler(this.buttonAddToNames_MouseLeave);
|
||||
//
|
||||
// groupBoxWordNotFound
|
||||
//
|
||||
//
|
||||
this.groupBoxWordNotFound.Controls.Add(this.buttonAddToNames);
|
||||
this.groupBoxWordNotFound.Controls.Add(this.buttonAddToDictionary);
|
||||
this.groupBoxWordNotFound.Controls.Add(this.buttonSkipOnce);
|
||||
@ -236,9 +249,9 @@
|
||||
this.groupBoxWordNotFound.TabIndex = 13;
|
||||
this.groupBoxWordNotFound.TabStop = false;
|
||||
this.groupBoxWordNotFound.Text = "Word not found";
|
||||
//
|
||||
//
|
||||
// groupBoxSuggestions
|
||||
//
|
||||
//
|
||||
this.groupBoxSuggestions.Controls.Add(this.buttonUseSuggestion);
|
||||
this.groupBoxSuggestions.Controls.Add(this.buttonUseSuggestionAlways);
|
||||
this.groupBoxSuggestions.Controls.Add(this.checkBoxAutoChangeNames);
|
||||
@ -249,9 +262,9 @@
|
||||
this.groupBoxSuggestions.TabIndex = 14;
|
||||
this.groupBoxSuggestions.TabStop = false;
|
||||
this.groupBoxSuggestions.Text = "Suggestions";
|
||||
//
|
||||
//
|
||||
// checkBoxAutoChangeNames
|
||||
//
|
||||
//
|
||||
this.checkBoxAutoChangeNames.AutoSize = true;
|
||||
this.checkBoxAutoChangeNames.Location = new System.Drawing.Point(8, 157);
|
||||
this.checkBoxAutoChangeNames.Name = "checkBoxAutoChangeNames";
|
||||
@ -260,9 +273,9 @@
|
||||
this.checkBoxAutoChangeNames.Text = "Auto fix names where only casing differ";
|
||||
this.checkBoxAutoChangeNames.UseVisualStyleBackColor = true;
|
||||
this.checkBoxAutoChangeNames.CheckedChanged += new System.EventHandler(this.CheckBoxAutoChangeNamesCheckedChanged);
|
||||
//
|
||||
//
|
||||
// buttonEditWholeText
|
||||
//
|
||||
//
|
||||
this.buttonEditWholeText.Location = new System.Drawing.Point(175, 91);
|
||||
this.buttonEditWholeText.Name = "buttonEditWholeText";
|
||||
this.buttonEditWholeText.Size = new System.Drawing.Size(128, 21);
|
||||
@ -270,9 +283,9 @@
|
||||
this.buttonEditWholeText.Text = "Edit whole text";
|
||||
this.buttonEditWholeText.UseVisualStyleBackColor = true;
|
||||
this.buttonEditWholeText.Click += new System.EventHandler(this.ButtonEditWholeTextClick);
|
||||
//
|
||||
//
|
||||
// groupBoxEditWholeText
|
||||
//
|
||||
//
|
||||
this.groupBoxEditWholeText.Controls.Add(this.buttonSkipText);
|
||||
this.groupBoxEditWholeText.Controls.Add(this.buttonChangeWholeText);
|
||||
this.groupBoxEditWholeText.Controls.Add(this.textBoxWholeText);
|
||||
@ -282,9 +295,9 @@
|
||||
this.groupBoxEditWholeText.TabIndex = 40;
|
||||
this.groupBoxEditWholeText.TabStop = false;
|
||||
this.groupBoxEditWholeText.Text = "Edit whole text";
|
||||
//
|
||||
//
|
||||
// buttonSkipText
|
||||
//
|
||||
//
|
||||
this.buttonSkipText.Location = new System.Drawing.Point(151, 88);
|
||||
this.buttonSkipText.Name = "buttonSkipText";
|
||||
this.buttonSkipText.Size = new System.Drawing.Size(135, 21);
|
||||
@ -292,9 +305,9 @@
|
||||
this.buttonSkipText.Text = "Skip once";
|
||||
this.buttonSkipText.UseVisualStyleBackColor = true;
|
||||
this.buttonSkipText.Click += new System.EventHandler(this.ButtonSkipTextClick);
|
||||
//
|
||||
//
|
||||
// buttonChangeWholeText
|
||||
//
|
||||
//
|
||||
this.buttonChangeWholeText.Location = new System.Drawing.Point(6, 88);
|
||||
this.buttonChangeWholeText.Name = "buttonChangeWholeText";
|
||||
this.buttonChangeWholeText.Size = new System.Drawing.Size(135, 21);
|
||||
@ -302,21 +315,32 @@
|
||||
this.buttonChangeWholeText.Text = "Change";
|
||||
this.buttonChangeWholeText.UseVisualStyleBackColor = true;
|
||||
this.buttonChangeWholeText.Click += new System.EventHandler(this.ButtonChangeWholeTextClick);
|
||||
//
|
||||
//
|
||||
// textBoxWholeText
|
||||
//
|
||||
//
|
||||
this.textBoxWholeText.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textBoxWholeText.Location = new System.Drawing.Point(6, 19);
|
||||
this.textBoxWholeText.Multiline = true;
|
||||
this.textBoxWholeText.Name = "textBoxWholeText";
|
||||
this.textBoxWholeText.Size = new System.Drawing.Size(280, 63);
|
||||
this.textBoxWholeText.TabIndex = 31;
|
||||
//
|
||||
//
|
||||
// labelActionInfo
|
||||
//
|
||||
this.labelActionInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.labelActionInfo.AutoSize = true;
|
||||
this.labelActionInfo.Location = new System.Drawing.Point(11, 311);
|
||||
this.labelActionInfo.Name = "labelActionInfo";
|
||||
this.labelActionInfo.Size = new System.Drawing.Size(79, 13);
|
||||
this.labelActionInfo.TabIndex = 41;
|
||||
this.labelActionInfo.Text = "labelActionInfo";
|
||||
//
|
||||
// SpellCheck
|
||||
//
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(605, 341);
|
||||
this.Controls.Add(this.labelActionInfo);
|
||||
this.Controls.Add(this.richTextBoxParagraph);
|
||||
this.Controls.Add(this.comboBoxDictionaries);
|
||||
this.Controls.Add(this.buttonEditWholeText);
|
||||
@ -374,5 +398,6 @@
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem addXToNamesnoiseListToolStripMenuItem;
|
||||
private System.Windows.Forms.CheckBox checkBoxAutoChangeNames;
|
||||
private System.Windows.Forms.Label labelActionInfo;
|
||||
}
|
||||
}
|
@ -95,7 +95,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
public SpellCheck()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
labelActionInfo.Text = string.Empty;
|
||||
Text = Configuration.Settings.Language.SpellCheck.Title;
|
||||
labelFullText.Text = Configuration.Settings.Language.SpellCheck.FullText;
|
||||
labelLanguage.Text = Configuration.Settings.Language.SpellCheck.Language;
|
||||
@ -407,7 +407,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_mainWindow.CorrectWord(_prefix + ChangeWord + _postfix, _currentParagraph, _prefix + _currentWord + _postfix, ref _firstChange);
|
||||
break;
|
||||
case SpellCheckAction.Skip:
|
||||
_noOfSkippedWords++;
|
||||
_noOfSkippedWords++;
|
||||
break;
|
||||
case SpellCheckAction.SkipAll:
|
||||
_noOfSkippedWords++;
|
||||
@ -887,5 +887,70 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
buttonChangeAll.Enabled = buttonChange.Enabled;
|
||||
}
|
||||
|
||||
private void buttonAddToDictionary_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
ShowActionInfo(Configuration.Settings.Language.SpellCheck.AddToUserDictionary, textBoxWord.Text);
|
||||
}
|
||||
|
||||
private void ShowActionInfo(string label, string text)
|
||||
{
|
||||
labelActionInfo.Text = string.Format("{0}: {1}", label, text.Trim());
|
||||
}
|
||||
|
||||
private void buttonAddToDictionary_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
labelActionInfo.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void buttonAddToNames_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
ShowActionInfo(Configuration.Settings.Language.SpellCheck.AddToNamesAndIgnoreList, textBoxWord.Text);
|
||||
}
|
||||
|
||||
private void buttonAddToNames_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
labelActionInfo.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void buttonSkipOnce_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
ShowActionInfo(Configuration.Settings.Language.SpellCheck.SkipOnce, textBoxWord.Text);
|
||||
}
|
||||
|
||||
private void buttonSkipOnce_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
labelActionInfo.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void buttonSkipAll_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
ShowActionInfo(Configuration.Settings.Language.SpellCheck.SkipAll, textBoxWord.Text);
|
||||
}
|
||||
|
||||
private void buttonSkipAll_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
labelActionInfo.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void buttonChange_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
ShowActionInfo(Configuration.Settings.Language.SpellCheck.Change, _currentWord + " > " + textBoxWord.Text);
|
||||
}
|
||||
|
||||
private void buttonChange_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
labelActionInfo.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void buttonChangeAll_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
ShowActionInfo(Configuration.Settings.Language.SpellCheck.ChangeAll, _currentWord + " > " + textBoxWord.Text);
|
||||
}
|
||||
|
||||
private void buttonChangeAll_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
labelActionInfo.Text = string.Empty;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
Loading…
Reference in New Issue
Block a user