CP-14778: Update CIFS -> SMB in XenCenter

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2015-11-06 14:31:52 +00:00
parent ffaced4b86
commit c459211f80
5 changed files with 15 additions and 15 deletions

View File

@ -146,7 +146,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
return;
// Start probe
SrProbeAction action = new SrProbeAction(Connection, master, SR.SRTypes.cifs, dconf);
SrProbeAction action = new SrProbeAction(Connection, master, SR.SRTypes.smb, dconf);
ActionProgressDialog dialog = new ActionProgressDialog(action, ProgressBarStyle.Marquee);
dialog.ShowCancel = true;
dialog.ShowDialog(this);

View File

@ -304,7 +304,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages
public override bool IsEnhancedSR { get { return false; } }
public override string FrontendBlurb { get { return Messages.NEWSR_CIFS_BLURB; } }
public override SR.SRTypes Type { get { return SR.SRTypes.cifs; } }
public override SR.SRTypes Type { get { return SR.SRTypes.smb; } }
public override string ContentType { get { return ""; } }
public override bool ShowIntroducePrompt { get { return false; } }
public override bool ShowReattachWarning { get { return false; } }

View File

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@ -2562,15 +2562,6 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to SMB/CIFS.
/// </summary>
public static string Label_SR_SRTypes_cifs {
get {
return ResourceManager.GetString("Label-SR.SRTypes-cifs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to StorageLink.
/// </summary>
@ -2733,6 +2724,15 @@ namespace XenAdmin {
}
}
/// <summary>
/// Looks up a localized string similar to SMB/CIFS.
/// </summary>
public static string Label_SR_SRTypes_smb {
get {
return ResourceManager.GetString("Label-SR.SRTypes-smb", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to udev.
/// </summary>

View File

@ -336,7 +336,7 @@
<data name="Label-Pool_patch.partially_applied" xml:space="preserve">
<value>Partially applied</value>
</data>
<data name="Label-SR.SRTypes-cifs" xml:space="preserve">
<data name="Label-SR.SRTypes-smb" xml:space="preserve">
<value>SMB/CIFS</value>
</data>
<data name="Label-SR.SRTypes-cslg" xml:space="preserve">

View File

@ -55,7 +55,7 @@ namespace XenAPI
lvmohba, egenera, egeneracd, dummy, unknown, equal, cslg, shm,
iscsi,
ebs, rawhba,
cifs, lvmofcoe
smb, lvmofcoe
}
public const string Content_Type_ISO = "iso";
@ -267,7 +267,7 @@ namespace XenAPI
|| type == SRTypes.netapp
|| type == SRTypes.lvmohba
|| type == SRTypes.cslg
|| type == SRTypes.cifs
|| type == SRTypes.smb
|| type == SRTypes.lvmofcoe;
}
}