I'm a beginner in c# syntax, been programming in vb.net for quite a few years.
ToolStripMenuItem setPriorityDropdown = new ToolStripMenuItem {Text = "Set priority"};
In this code, R# warns that "Set priority" is a localizable string. I've searched online and found that to remove the warning you should use @ before the string, becoming @"Set priority", however for this case, R# continues to tell me it's localizable.
I couldn't get a proper answer of why a string shouldn't be localizable, and why R# warns about it with (at "first" glance) no option to turn it off. Why
setPriorityDropdown.DropDownItems.Add("Priority 1"...
doesn't get the warning?
What's wrong about the first one? How can i fix it?