dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.73k stars 3.99k forks source link

non-localized text in CommandLineParser #1310

Open gafter opened 9 years ago

gafter commented 9 years ago

The following snippets of code from CommandLineParser.cs show places where we have text that needs to be localized.

AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, ":<text>", RemoveAllQuotes(arg));
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<file list>", name);

There are, in total, about 12 places where this problem occurs in that particular source file.

I have not checked to see if a corresponding problem occurs elsewhere.

gafter commented 9 years ago

We are past loc freeze for 1.0. Moving to 1.1.