mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-06 00:13:33 +00:00
Display notools disconnect message.
This commit is contained in:
@@ -802,6 +802,13 @@ namespace MeshCentralRouter
|
||||
stateClearTimer.Enabled = true;
|
||||
serverNameComboBox.Focus();
|
||||
}
|
||||
else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("notools"))
|
||||
{
|
||||
stateLabel.Text = Translate.T(Properties.Resources.NoToolsAllowed);
|
||||
stateLabel.Visible = true;
|
||||
stateClearTimer.Enabled = true;
|
||||
serverNameComboBox.Focus();
|
||||
}
|
||||
else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("emailvalidationrequired"))
|
||||
{
|
||||
stateLabel.Text = Translate.T(Properties.Resources.EmailVerificationRequired);
|
||||
|
||||
9
Properties/Resources.Designer.cs
generated
9
Properties/Resources.Designer.cs
generated
@@ -527,6 +527,15 @@ namespace MeshCentralRouter.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to No tools allowed.
|
||||
/// </summary>
|
||||
internal static string NoToolsAllowed {
|
||||
get {
|
||||
return ResourceManager.GetString("NoToolsAllowed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Offline.
|
||||
/// </summary>
|
||||
|
||||
@@ -391,4 +391,7 @@
|
||||
<data name="ToggleZoomToFitMode" xml:space="preserve">
|
||||
<value>Toggle zoom-to-fit mode</value>
|
||||
</data>
|
||||
<data name="NoToolsAllowed" xml:space="preserve">
|
||||
<value>No tools allowed</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user