diff --git a/Google.Solutions.CloudIap.Plugin/Gui/PluginEventHandler.cs b/Google.Solutions.CloudIap.Plugin/Gui/PluginEventHandler.cs index d9d67b78a..daaea186d 100644 --- a/Google.Solutions.CloudIap.Plugin/Gui/PluginEventHandler.cs +++ b/Google.Solutions.CloudIap.Plugin/Gui/PluginEventHandler.cs @@ -163,7 +163,10 @@ public void OnContextMenu(System.Windows.Forms.ContextMenuStrip contextMenuStrip if (node is FileGroup fileGroup) { ToolStripMenuItem loadServers = new ToolStripMenuItem( - $"Add GCE &instances from {node.Text}", + string.Format( + "{0} GCE &instances from {1}", + fileGroup.Nodes.Count == 0 ? "Add" : "Refresh", + node.Text), Resources.DownloadWebSetting.WithMagentaAsTransparent()); loadServers.Click += (sender, args) => this.OnLoadServersClick(fileGroup);