Merge pull request #5222 from blackdwarf/slnlocstrings
Adding strings for dotnet-sln command for LOC
This commit is contained in:
commit
7bcffe9e82
5 changed files with 37 additions and 0 deletions
|
@ -155,6 +155,12 @@ namespace Microsoft.DotNet.Tools
|
|||
/// arguments
|
||||
public const string ArgumentsProjectOrSolutionDescription = "The project or solution to operation on. If a file is not specified, the current directory is searched.";
|
||||
|
||||
/// sln
|
||||
public const string ArgumentsProjectDescription = "The project file to operate on. If a file is not specified, the command will search the current directory for one.";
|
||||
public const string ArgumentsSolutionDescription = "Solution file to operate on. If not specified, the command will search the current directory for one.";
|
||||
public const string CmdSlnFile = "<SLN_FILE>";
|
||||
public const string CmdProjectFile = "<PROJECT>";
|
||||
|
||||
/// commands
|
||||
public const string CmdFramework = "FRAMEWORK";
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ namespace Microsoft.DotNet.Tools.Help
|
|||
pack {LocalizableStrings.PackDefinition}
|
||||
migrate {LocalizableStrings.MigrateDefinition}
|
||||
clean {LocalizableStrings.CleanDefinition}
|
||||
sln {LocalizableStrings.SlnDefinition}
|
||||
|
||||
Project modification commands:
|
||||
add Add items to the project
|
||||
|
|
|
@ -61,5 +61,7 @@
|
|||
public const string VsTestDefinition = "Runs Microsoft Test Execution Command Line Tool.";
|
||||
|
||||
public const string CleanDefinition = "Clean build output(s).";
|
||||
|
||||
public const string SlnDefinition = "Modify solution (SLN) files.";
|
||||
}
|
||||
}
|
||||
|
|
27
src/dotnet/commands/dotnet-sln/LocalizableStrings.cs
Normal file
27
src/dotnet/commands/dotnet-sln/LocalizableStrings.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
namespace Microsoft.DotNet.Tools.Sln
|
||||
{
|
||||
internal class LocalizableStrings
|
||||
{
|
||||
public const string AppFullName = ".NET modify solution file command";
|
||||
|
||||
public const string AppDescription = "Command to add, remove, and list projects from the solution (SLN) file.";
|
||||
|
||||
public const string AppHelpText = "Projects to add or to remove from the solution.";
|
||||
|
||||
public const string AddAppFullName = ".NET Add project(s) to a solution file Command";
|
||||
public const string AddSubcommandHelpText = "Add a specified project(s) to the solution.";
|
||||
|
||||
public const string RemoveAppFullName = ".NET Remove project(s) from a solution file Command";
|
||||
public const string RemoveSubcommandHelpText = "Remove the specified project(s) from the solution. The project is not impacted.";
|
||||
|
||||
public const string ListAppFullName = ".NET List project(s) in a solution file Command";
|
||||
public const string ListSubcommandHelpText = "List all projects in the solution.";
|
||||
|
||||
public const string CreateAppFullName = ".NET Create a solution file Command";
|
||||
public const string CreateSubcommandHelpText = "Create a solution file.";
|
||||
|
||||
}
|
||||
}
|
|
@ -41,6 +41,7 @@ Commands:
|
|||
pack Creates a NuGet package.
|
||||
migrate Migrates a project.json based project to a msbuild based project.
|
||||
clean Clean build output(s).
|
||||
sln Modify solution (SLN) files.
|
||||
|
||||
Project modification commands:
|
||||
add Add items to the project
|
||||
|
|
Loading…
Add table
Reference in a new issue