Replaced AllowUpdatesDialog with a ThreeButtonDialog.

For reasons of code reduction and also because the look and feel of this dialog
was slightly different from the usual application pop-ups.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2021-02-26 03:31:05 +00:00
parent a469dae95b
commit 79d8b00de8
9 changed files with 52 additions and 1085 deletions

View File

@ -1,95 +0,0 @@
namespace XenAdmin.Dialogs
{
partial class AllowUpdatesDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AllowUpdatesDialog));
this.BlurbLabel = new System.Windows.Forms.Label();
this.NoButton = new System.Windows.Forms.Button();
this.YesButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// BlurbLabel
//
resources.ApplyResources(this.BlurbLabel, "BlurbLabel");
this.BlurbLabel.Name = "BlurbLabel";
//
// NoButton
//
resources.ApplyResources(this.NoButton, "NoButton");
this.NoButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.NoButton.Name = "NoButton";
this.NoButton.UseVisualStyleBackColor = true;
//
// YesButton
//
resources.ApplyResources(this.YesButton, "YesButton");
this.YesButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this.YesButton.Name = "YesButton";
this.YesButton.UseVisualStyleBackColor = true;
//
// groupBox1
//
resources.ApplyResources(this.groupBox1, "groupBox1");
this.groupBox1.Name = "groupBox1";
this.groupBox1.TabStop = false;
//
// checkBox1
//
resources.ApplyResources(this.checkBox1, "checkBox1");
this.checkBox1.Name = "checkBox1";
this.checkBox1.UseVisualStyleBackColor = true;
//
// AllowUpdatesDialog
//
this.AcceptButton = this.YesButton;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.CancelButton = this.NoButton;
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.YesButton);
this.Controls.Add(this.NoButton);
this.Controls.Add(this.BlurbLabel);
this.Name = "AllowUpdatesDialog";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AllowUpdatesDialog_FormClosing);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label BlurbLabel;
private System.Windows.Forms.Button NoButton;
private System.Windows.Forms.Button YesButton;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox checkBox1;
}
}

View File

@ -1,91 +0,0 @@
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the
* following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
using System;
using System.Windows.Forms;
using XenAdmin.Plugins;
namespace XenAdmin.Dialogs
{
public partial class AllowUpdatesDialog : XenDialogBase
{
private readonly PluginManager m_pluginManager;
public AllowUpdatesDialog(PluginManager pluginManager)
{
InitializeComponent();
m_pluginManager = pluginManager;
ControlBox = true;
}
private void SetAllowUpdates(bool value)
{
Properties.Settings.Default.AllowXenCenterUpdates = value;
Properties.Settings.Default.AllowPatchesUpdates = value;
Properties.Settings.Default.AllowXenServerUpdates = value;
}
private void YesButtonClicked()
{
SetAllowUpdates(true);
Properties.Settings.Default.SeenAllowUpdatesDialog = true;
if (checkBox1.Checked)
{
using (var dialog = new OptionsDialog(m_pluginManager))
{
dialog.SelectConnectionOptionsPage();
dialog.ShowDialog(this);
}
}
Settings.TrySaveSettings();
}
private void NoButtonClicked()
{
SetAllowUpdates(false);
Properties.Settings.Default.SeenAllowUpdatesDialog = true;
Settings.TrySaveSettings();
}
private void AllowUpdatesDialog_FormClosing(object sender, FormClosingEventArgs e)
{
switch (DialogResult)
{
case DialogResult.OK:
YesButtonClicked();
break;
case DialogResult.Cancel:
NoButtonClicked();
break;
}
}
}
}

View File

@ -1,294 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
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
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<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
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
mimetype set.
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
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
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
: 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
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element msdata:IsDataSet="true" name="root">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="value" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" msdata:Ordinal="1" name="value" type="xsd:string"/>
<xsd:element minOccurs="0" msdata:Ordinal="2" name="comment" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute msdata:Ordinal="1" name="name" type="xsd:string" use="required"/>
<xsd:attribute msdata:Ordinal="3" name="type" type="xsd:string"/>
<xsd:attribute msdata:Ordinal="4" name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" msdata:Ordinal="1" name="value" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<data name="BlurbLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<data name="BlurbLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="BlurbLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>58, 14</value>
</data>
<data name="BlurbLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>340, 61</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<data name="BlurbLabel.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="BlurbLabel.Text" xml:space="preserve">
<value>[XenCenter] で定期的に [XenServer] や [XenCenter] のアップデートおよび新しいバージョンをインターネットでチェックしますか?</value>
</data>
<data name="&gt;&gt;BlurbLabel.Name" xml:space="preserve">
<value>BlurbLabel</value>
</data>
<data name="&gt;&gt;BlurbLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;BlurbLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;BlurbLabel.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="NoButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="NoButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="NoButton.Location" type="System.Drawing.Point, System.Drawing">
<value>311, 66</value>
</data>
<data name="NoButton.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 27</value>
</data>
<data name="NoButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="NoButton.Text" xml:space="preserve">
<value>いいえ(&amp;N)</value>
</data>
<data name="&gt;&gt;NoButton.Name" xml:space="preserve">
<value>NoButton</value>
</data>
<data name="&gt;&gt;NoButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;NoButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;NoButton.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="YesButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="YesButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="YesButton.Location" type="System.Drawing.Point, System.Drawing">
<value>218, 66</value>
</data>
<data name="YesButton.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 27</value>
</data>
<data name="YesButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="YesButton.Text" xml:space="preserve">
<value>はい(&amp;Y)</value>
</data>
<data name="&gt;&gt;YesButton.Name" xml:space="preserve">
<value>YesButton</value>
</data>
<data name="&gt;&gt;YesButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;YesButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;YesButton.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
</data>
<data name="groupBox1.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 99</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>418, 2</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="checkBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
</data>
<data name="checkBox1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBox1.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="checkBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 106</value>
</data>
<data name="checkBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>175, 19</value>
</data>
<data name="checkBox1.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>インターネット プロキシ設定を表示する(&amp;S)</value>
</data>
<data name="&gt;&gt;checkBox1.Name" xml:space="preserve">
<value>checkBox1</value>
</data>
<data name="&gt;&gt;checkBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;checkBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>96, 96</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>412, 131</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>[XenCenter]</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>AllowUpdatesDialog</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>XenAdmin.Dialogs.XenDialogBase, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@ -1,294 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
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
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<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
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
mimetype set.
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
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
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
: 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
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="BlurbLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="BlurbLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="BlurbLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 14</value>
</data>
<data name="BlurbLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>386, 49</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="BlurbLabel.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="BlurbLabel.Text" xml:space="preserve">
<value>Would you like [XenCenter] to periodically check the internet for [XenServer] updates and new versions of [XenCenter]?</value>
</data>
<data name="&gt;&gt;BlurbLabel.Name" xml:space="preserve">
<value>BlurbLabel</value>
</data>
<data name="&gt;&gt;BlurbLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;BlurbLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;BlurbLabel.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="NoButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="NoButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="NoButton.Location" type="System.Drawing.Point, System.Drawing">
<value>311, 66</value>
</data>
<data name="NoButton.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 27</value>
</data>
<data name="NoButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="NoButton.Text" xml:space="preserve">
<value>&amp;No</value>
</data>
<data name="&gt;&gt;NoButton.Name" xml:space="preserve">
<value>NoButton</value>
</data>
<data name="&gt;&gt;NoButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;NoButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;NoButton.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="YesButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="YesButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="YesButton.Location" type="System.Drawing.Point, System.Drawing">
<value>218, 66</value>
</data>
<data name="YesButton.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 27</value>
</data>
<data name="YesButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="YesButton.Text" xml:space="preserve">
<value>&amp;Yes</value>
</data>
<data name="&gt;&gt;YesButton.Name" xml:space="preserve">
<value>YesButton</value>
</data>
<data name="&gt;&gt;YesButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;YesButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;YesButton.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
</data>
<data name="groupBox1.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 99</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>418, 2</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="checkBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
</data>
<data name="checkBox1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBox1.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="checkBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 106</value>
</data>
<data name="checkBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>176, 19</value>
</data>
<data name="checkBox1.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>&amp;Show internet proxy settings</value>
</data>
<data name="&gt;&gt;checkBox1.Name" xml:space="preserve">
<value>checkBox1</value>
</data>
<data name="&gt;&gt;checkBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;checkBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>96, 96</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>412, 131</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>[XenCenter]</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>AllowUpdatesDialog</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>XenAdmin.Dialogs.XenDialogBase, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@ -1,294 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
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
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<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
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
mimetype set.
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
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
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
: 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
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element msdata:IsDataSet="true" name="root">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="value" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" msdata:Ordinal="1" name="value" type="xsd:string"/>
<xsd:element minOccurs="0" msdata:Ordinal="2" name="comment" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute msdata:Ordinal="1" name="name" type="xsd:string" use="required"/>
<xsd:attribute msdata:Ordinal="3" name="type" type="xsd:string"/>
<xsd:attribute msdata:Ordinal="4" name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" msdata:Ordinal="1" name="value" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<data name="BlurbLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<data name="BlurbLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="BlurbLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>58, 14</value>
</data>
<data name="BlurbLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>340, 61</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<data name="BlurbLabel.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="BlurbLabel.Text" xml:space="preserve">
<value>是否希望 [XenCenter] 定期在 Internet 中检查 [XenServer] 更新和新版本的 [XenCenter]?</value>
</data>
<data name="&gt;&gt;BlurbLabel.Name" xml:space="preserve">
<value>BlurbLabel</value>
</data>
<data name="&gt;&gt;BlurbLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;BlurbLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;BlurbLabel.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="NoButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="NoButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="NoButton.Location" type="System.Drawing.Point, System.Drawing">
<value>311, 66</value>
</data>
<data name="NoButton.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 27</value>
</data>
<data name="NoButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="NoButton.Text" xml:space="preserve">
<value>否(&amp;N)</value>
</data>
<data name="&gt;&gt;NoButton.Name" xml:space="preserve">
<value>NoButton</value>
</data>
<data name="&gt;&gt;NoButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;NoButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;NoButton.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="YesButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="YesButton.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="YesButton.Location" type="System.Drawing.Point, System.Drawing">
<value>218, 66</value>
</data>
<data name="YesButton.Size" type="System.Drawing.Size, System.Drawing">
<value>87, 27</value>
</data>
<data name="YesButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="YesButton.Text" xml:space="preserve">
<value>是(&amp;Y)</value>
</data>
<data name="&gt;&gt;YesButton.Name" xml:space="preserve">
<value>YesButton</value>
</data>
<data name="&gt;&gt;YesButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;YesButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;YesButton.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
</data>
<data name="groupBox1.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 99</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>418, 2</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="checkBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
</data>
<data name="checkBox1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBox1.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="checkBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 106</value>
</data>
<data name="checkBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>175, 19</value>
</data>
<data name="checkBox1.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>显示 Internet 代理设置(&amp;S)</value>
</data>
<data name="&gt;&gt;checkBox1.Name" xml:space="preserve">
<value>checkBox1</value>
</data>
<data name="&gt;&gt;checkBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;checkBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>96, 96</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>412, 131</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 9pt</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>[XenCenter]</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>AllowUpdatesDialog</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>XenAdmin.Dialogs.XenDialogBase, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@ -615,7 +615,34 @@ namespace XenAdmin
if (!Program.RunInAutomatedTestMode && !Helpers.CommonCriteriaCertificationRelease)
{
if (!Properties.Settings.Default.SeenAllowUpdatesDialog)
new AllowUpdatesDialog(pluginManager).ShowDialog(this);
using (var dlg = new NoIconDialog(string.Format(Messages.ALLOWED_UPDATES_DIALOG_MESSAGE,
BrandManager.BrandConsole, BrandManager.ProductBrand),
ThreeButtonDialog.ButtonYes, ThreeButtonDialog.ButtonNo)
{
HelpButton = true,
HelpNameSetter = "AllowUpdatesDialog",
ShowCheckbox = true,
CheckboxCaption = Messages.ALLOWED_UPDATES_DIALOG_CHECKBOX
})
{
var result = dlg.ShowDialog(this) == DialogResult.Yes;
Properties.Settings.Default.AllowXenCenterUpdates = result;
Properties.Settings.Default.AllowPatchesUpdates = result;
Properties.Settings.Default.AllowXenServerUpdates = result;
Properties.Settings.Default.SeenAllowUpdatesDialog = true;
if (result && dlg.IsCheckBoxChecked)
{
using (var dialog = new OptionsDialog(pluginManager))
{
dialog.SelectConnectionOptionsPage();
dialog.ShowDialog(this);
}
}
Settings.TrySaveSettings();
}
// start checkforupdates thread
CheckForUpdatesTimer.Interval = 1000 * 60 * 60 * 24; // 24 hours

View File

@ -642,12 +642,6 @@
<Compile Include="Diagnostics\Checks\HAOffCheck.cs" />
<Compile Include="Diagnostics\Problems\VMProblem\CannotMigrateVM.cs" />
<Compile Include="Diagnostics\Problems\PoolProblem\HAEnabledProblem.cs" />
<Compile Include="Dialogs\AllowUpdatesDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\AllowUpdatesDialog.Designer.cs">
<DependentUpon>AllowUpdatesDialog.cs</DependentUpon>
</Compile>
<Compile Include="Dialogs\BondProperties.cs">
<SubType>Form</SubType>
</Compile>
@ -2010,10 +2004,6 @@
<SubType>Designer</SubType>
<DependentUpon>GraphList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\AllowUpdatesDialog.resx">
<SubType>Designer</SubType>
<DependentUpon>AllowUpdatesDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\BondProperties.resx">
<DependentUpon>BondProperties.cs</DependentUpon>
<SubType>Designer</SubType>
@ -5131,12 +5121,6 @@
<EmbeddedResource Include="TabPages\AlertSummaryPage.zh-CN.resx">
<DependentUpon>AlertSummaryPage.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\AllowUpdatesDialog.ja.resx">
<DependentUpon>AllowUpdatesDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\AllowUpdatesDialog.zh-CN.resx">
<DependentUpon>AllowUpdatesDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialogs\AssignLicenseDialog.ja.resx">
<DependentUpon>AssignLicenseDialog.cs</DependentUpon>
</EmbeddedResource>

View File

@ -5219,6 +5219,24 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to &amp;Show internet proxy settings.
/// </summary>
public static string ALLOWED_UPDATES_DIALOG_CHECKBOX {
get {
return ResourceManager.GetString("ALLOWED_UPDATES_DIALOG_CHECKBOX", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Would you like {0} to periodically check the internet for {1} updates and new versions of {0}?.
/// </summary>
public static string ALLOWED_UPDATES_DIALOG_MESSAGE {
get {
return ResourceManager.GetString("ALLOWED_UPDATES_DIALOG_MESSAGE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The SR &apos;{0}&apos; is currently attached elsewhere. Do you want to attach it to &apos;{1}&apos;?
///

View File

@ -1886,6 +1886,12 @@ Note that if RBAC is enabled, only alerts which you have privileges to dismiss w
<data name="ALLOWED_MTU_VALUE" xml:space="preserve">
<value>Allowed MTU value: {0}</value>
</data>
<data name="ALLOWED_UPDATES_DIALOG_MESSAGE" xml:space="preserve">
<value>Would you like {0} to periodically check the internet for {1} updates and new versions of {0}?</value>
</data>
<data name="ALLOWED_UPDATES_DIALOG_CHECKBOX" xml:space="preserve">
<value>&amp;Show internet proxy settings</value>
</data>
<data name="ALLOW_TO_CONTINUE" xml:space="preserve">
<value>&amp;Allow to continue</value>
</data>