diff --git a/src/dotnet/CommandLine/LocalizableStrings.resx b/src/dotnet/CommandLine/LocalizableStrings.resx
index b9051ddad..8998d54e2 100644
--- a/src/dotnet/CommandLine/LocalizableStrings.resx
+++ b/src/dotnet/CommandLine/LocalizableStrings.resx
@@ -133,7 +133,7 @@
Response file '{0}' doesn't exist.
- Show help information
+ Show command line help.Show version information
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.cs.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.cs.xlf
index 529936172..b4fbb97db 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.cs.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.cs.xlf
@@ -23,8 +23,8 @@
-
- Zobrazit nápovědu
+
+ Zobrazit nápovědu
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.de.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.de.xlf
index d291993ff..f127a049c 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.de.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.de.xlf
@@ -23,8 +23,8 @@
-
- Hilfeinformationen anzeigen
+
+ Hilfeinformationen anzeigen
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.es.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.es.xlf
index e8bf947f7..25a1e781b 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.es.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.es.xlf
@@ -23,8 +23,8 @@
-
- Mostrar información de ayuda
+
+ Mostrar información de ayuda
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.fr.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.fr.xlf
index c788f87f0..345012854 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.fr.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.fr.xlf
@@ -23,8 +23,8 @@
-
- Afficher les informations d'aide
+
+ Afficher les informations d'aide
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.it.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.it.xlf
index 14961a263..1cb707e0b 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.it.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.it.xlf
@@ -23,8 +23,8 @@
-
- Visualizza la Guida
+
+ Visualizza la Guida
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.ja.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.ja.xlf
index 50971bca9..948ae3381 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.ja.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.ja.xlf
@@ -23,8 +23,8 @@
-
- ヘルプ情報を表示する
+
+ ヘルプ情報を表示する
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.ko.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.ko.xlf
index 31d7d28bb..dfb683b3e 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.ko.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.ko.xlf
@@ -23,8 +23,8 @@
-
- 도움말 정보 표시
+
+ 도움말 정보 표시
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.pl.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.pl.xlf
index 4b588e0db..47d5efad6 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.pl.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.pl.xlf
@@ -23,8 +23,8 @@
-
- Wyświetl informacje pomocy
+
+ Wyświetl informacje pomocy
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.pt-BR.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.pt-BR.xlf
index 474492f36..1fa002026 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.pt-BR.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.pt-BR.xlf
@@ -23,8 +23,8 @@
-
- Mostrar informações de ajuda
+
+ Mostrar informações de ajuda
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.ru.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.ru.xlf
index 2565938b9..5d3a93a90 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.ru.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.ru.xlf
@@ -23,8 +23,8 @@
-
- Показать справку
+
+ Показать справку
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.tr.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.tr.xlf
index ac2ef1d79..0f992be88 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.tr.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.tr.xlf
@@ -23,8 +23,8 @@
-
- Yardım bilgilerini göster
+
+ Yardım bilgilerini göster
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hans.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hans.xlf
index 1df688e04..fa20b11a2 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hans.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hans.xlf
@@ -23,8 +23,8 @@
-
- 显示帮助信息
+
+ 显示帮助信息
diff --git a/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hant.xlf b/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hant.xlf
index f3ed08ca1..981293c54 100644
--- a/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hant.xlf
+++ b/src/dotnet/CommandLine/xlf/LocalizableStrings.zh-Hant.xlf
@@ -23,8 +23,8 @@
-
- 顯示說明資訊
+
+ 顯示說明資訊
diff --git a/src/dotnet/CommonLocalizableStrings.resx b/src/dotnet/CommonLocalizableStrings.resx
index f4c170343..d922c877f 100644
--- a/src/dotnet/CommonLocalizableStrings.resx
+++ b/src/dotnet/CommonLocalizableStrings.resx
@@ -432,18 +432,12 @@
The project or solution to operation on. If a file is not specified, the current directory is searched.
-
- The project file to operate on. If a file is not specified, the command will search the current directory for one.
-
-
- Solution file to operate on. If not specified, the command will search the current directory for one.
-
-
- SLN_FILE
-
-
+
PROJECT
+
+ The project file to operate on. If a file is not specified, the command will search the current directory for one.
+
FRAMEWORK
@@ -500,25 +494,16 @@
{1}.
- Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
-
-
- Target framework to publish for. The target framework has to be specified in the project file.
-
-
- Publish the project for a given runtime. This is used when creating self-contained deployment. Default is to publish a framework-dependent app.
-
-
- Configuration to use for building the project. Default for most projects is "Debug".
+ Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
- Defines the value for the $(VersionSuffix) property in the project.
+ Set the value of the $(VersionSuffix) property to use when building the project.
- Show help information.
+ Show command line help.
- Does not do an implicit restore when executing the command.
+ Do not restore the project before building.Invalid XML: {0}
@@ -646,4 +631,19 @@ setx PATH "%PATH%;{0}"
Failed to read NuGet LockFile for tool package '{0}': {1}
+
+ LEVEL
+
+
+ FRAMEWORK
+
+
+ RUNTIME_IDENTIFIER
+
+
+ CONFIGURATION
+
+
+ VERSION_SUFFIX
+
diff --git a/src/dotnet/CommonOptions.cs b/src/dotnet/CommonOptions.cs
index 90b254107..c86d8c53a 100644
--- a/src/dotnet/CommonOptions.cs
+++ b/src/dotnet/CommonOptions.cs
@@ -25,32 +25,33 @@ namespace Microsoft.DotNet.Cli
"n", "normal",
"d", "detailed",
"diag", "diagnostic")
+ .With(name: CommonLocalizableStrings.LevelArgumentName)
.ForwardAsSingle(o => $"-verbosity:{o.Arguments.Single()}"));
- public static Option FrameworkOption() =>
+ public static Option FrameworkOption(string description) =>
Create.Option(
"-f|--framework",
- CommonLocalizableStrings.FrameworkOptionDescription,
+ description,
Accept.ExactlyOneArgument()
.WithSuggestionsFrom(_ => Suggest.TargetFrameworksFromProjectFile())
- .With(name: "FRAMEWORK")
+ .With(name: CommonLocalizableStrings.FrameworkArgumentName)
.ForwardAsSingle(o => $"-property:TargetFramework={o.Arguments.Single()}"));
- public static Option RuntimeOption() =>
+ public static Option RuntimeOption(string description) =>
Create.Option(
"-r|--runtime",
- CommonLocalizableStrings.RuntimeOptionDescription,
+ description,
Accept.ExactlyOneArgument()
.WithSuggestionsFrom(_ => Suggest.RunTimesFromProjectFile())
- .With(name: "RUNTIME_IDENTIFIER")
+ .With(name: CommonLocalizableStrings.RuntimeIdentifierArgumentName)
.ForwardAsSingle(o => $"-property:RuntimeIdentifier={o.Arguments.Single()}"));
- public static Option ConfigurationOption() =>
+ public static Option ConfigurationOption(string description) =>
Create.Option(
"-c|--configuration",
- CommonLocalizableStrings.ConfigurationOptionDescription,
+ description,
Accept.ExactlyOneArgument()
- .With(name: "CONFIGURATION")
+ .With(name: CommonLocalizableStrings.ConfigurationArgumentName)
.WithSuggestionsFrom("DEBUG", "RELEASE")
.ForwardAsSingle(o => $"-property:Configuration={o.Arguments.Single()}"));
@@ -59,7 +60,7 @@ namespace Microsoft.DotNet.Cli
"--version-suffix",
CommonLocalizableStrings.CmdVersionSuffixDescription,
Accept.ExactlyOneArgument()
- .With(name: "VERSION_SUFFIX")
+ .With(name: CommonLocalizableStrings.VersionSuffixArgumentName)
.ForwardAsSingle(o => $"-property:VersionSuffix={o.Arguments.Single()}"));
public static ArgumentsRule DefaultToCurrentDirectory(this ArgumentsRule rule) =>
diff --git a/src/dotnet/ParseResultExtensions.cs b/src/dotnet/ParseResultExtensions.cs
index b662d9430..129d2eb67 100644
--- a/src/dotnet/ParseResultExtensions.cs
+++ b/src/dotnet/ParseResultExtensions.cs
@@ -10,7 +10,7 @@ namespace Microsoft.DotNet.Cli
public static class ParseResultExtensions
{
public static void ShowHelp(this ParseResult parseResult) =>
- Console.WriteLine(parseResult.Command().HelpView());
+ Console.WriteLine(parseResult.Command().HelpView().TrimEnd());
public static void ShowHelpOrErrorIfAppropriate(this ParseResult parseResult)
{
@@ -21,7 +21,7 @@ namespace Microsoft.DotNet.Cli
throw new CommandParsingException(
message: string.Join(Environment.NewLine,
parseResult.Errors.Select(e => e.Message)),
- helpText: parseResult?.Command()?.HelpView());
+ helpText: parseResult?.Command()?.HelpView().TrimEnd());
}
}
@@ -34,7 +34,7 @@ namespace Microsoft.DotNet.Cli
appliedCommand.Arguments.Contains("/?"))
{
// NOTE: this is a temporary stage in refactoring toward the ClicCommandLineParser being used at the CLI entry point.
- throw new HelpException(parseResult.Command().HelpView());
+ throw new HelpException(parseResult.Command().HelpView().TrimEnd());
}
}
}
diff --git a/src/dotnet/commands/dotnet-add/AddCommandParser.cs b/src/dotnet/commands/dotnet-add/AddCommandParser.cs
index 39093759a..906874a0b 100644
--- a/src/dotnet/commands/dotnet-add/AddCommandParser.cs
+++ b/src/dotnet/commands/dotnet-add/AddCommandParser.cs
@@ -17,8 +17,9 @@ namespace Microsoft.DotNet.Cli
LocalizableStrings.NetAddCommand,
Accept.ExactlyOneArgument()
.DefaultToCurrentDirectory()
- .With(name: CommonLocalizableStrings.CmdProjectFile,
- description: CommonLocalizableStrings.ArgumentsProjectDescription), AddPackageParser.AddPackage(),
+ .With(name: CommonLocalizableStrings.ProjectArgumentName,
+ description: CommonLocalizableStrings.ProjectArgumentDescription),
+ AddPackageParser.AddPackage(),
AddProjectToProjectReferenceParser.AddProjectReference(),
CommonOptions.HelpOption());
}
diff --git a/src/dotnet/commands/dotnet-add/Program.cs b/src/dotnet/commands/dotnet-add/Program.cs
index 829c5e454..274dfb939 100644
--- a/src/dotnet/commands/dotnet-add/Program.cs
+++ b/src/dotnet/commands/dotnet-add/Program.cs
@@ -17,7 +17,7 @@ namespace Microsoft.DotNet.Tools.Add
protected override string CommandName => "add";
protected override string FullCommandNameLocalized => LocalizableStrings.NetAddCommand;
protected override string ArgumentName => Constants.ProjectArgumentName;
- protected override string ArgumentDescriptionLocalized => CommonLocalizableStrings.ArgumentsProjectDescription;
+ protected override string ArgumentDescriptionLocalized => CommonLocalizableStrings.ProjectArgumentDescription;
internal override Dictionary> SubCommands =>
new Dictionary>
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/AddPackageParser.cs b/src/dotnet/commands/dotnet-add/dotnet-add-package/AddPackageParser.cs
index 2415d1479..734892649 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/AddPackageParser.cs
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/AddPackageParser.cs
@@ -36,7 +36,7 @@ namespace Microsoft.DotNet.Cli
Accept.ExactlyOneArgument()
.With(name: LocalizableStrings.CmdFramework)
.ForwardAsSingle(o => $"--framework {o.Arguments.Single()}")),
- Create.Option("-n|--no-restore ",
+ Create.Option("-n|--no-restore",
LocalizableStrings.CmdNoRestoreDescription),
Create.Option("-s|--source",
LocalizableStrings.CmdSourceDescription,
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx
index 7a3899aa7..36320b010 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/LocalizableStrings.resx
@@ -130,19 +130,19 @@
Please specify one package reference to add.
- Adds reference only when targeting a specific framework.
+ Add the reference only when targeting a specific framework.
- Adds reference without performing restore preview and compatibility check.
+ Add the reference without performing restore preview and compatibility check.
- Specifies NuGet package sources to use during the restore.
+ The NuGet package source to use during the restore.
- Restores the packages to the specified directory.
+ The directory to restore packages to.
- Version for the package to be added.
+ The version of the package to add.Unable to create dependency graph file for project '{0}'. Cannot add package reference.
@@ -160,7 +160,7 @@
SOURCE
- PACKAGE_DIRECTORY
+ PACKAGE_DIRUnable to generate a temporary file for project '{0}'. Cannot add package reference. Please clear the temp directory and try again.
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.cs.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.cs.xlf
index ebd41864f..dfe3f4ed9 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.cs.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.cs.xlf
@@ -18,28 +18,28 @@
-
- Přidá odkaz jen v případě, že cílem je konkrétní architektura.
+
+ Přidá odkaz jen v případě, že cílem je konkrétní architektura.
-
- Přidá odkaz bez provedení náhledu obnovení a kontroly kompatibility.
+
+ Přidá odkaz bez provedení náhledu obnovení a kontroly kompatibility.
-
- Určuje zdroje balíčků NuGet, které se mají použít při obnovení.
+
+ Určuje zdroje balíčků NuGet, které se mají použít při obnovení.
-
- Obnoví balíčky do zadaného adresáře.
+
+ Obnoví balíčky do zadaného adresáře.
-
- Verze balíčku, která se má přidat.
+
+ Verze balíčku, která se má přidat.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.de.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.de.xlf
index 9ccb71570..a3016887c 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.de.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.de.xlf
@@ -18,28 +18,28 @@
-
- Fügt nur bei Verwendung eines bestimmten Zielframeworks einen Verweis hinzu.
+
+ Fügt nur bei Verwendung eines bestimmten Zielframeworks einen Verweis hinzu.
-
- Fügt ohne Durchführen einer Wiederherstellungsvorschau und einer Kompatibilitätsprüfung einen Verweis hinzu.
+
+ Fügt ohne Durchführen einer Wiederherstellungsvorschau und einer Kompatibilitätsprüfung einen Verweis hinzu.
-
- Gibt NuGet-Paketquellen für die Wiederherstellung an.
+
+ Gibt NuGet-Paketquellen für die Wiederherstellung an.
-
- Stellt die Pakete im angegebenen Verzeichnis wieder her.
+
+ Stellt die Pakete im angegebenen Verzeichnis wieder her.
-
- Version für das Paket, das hinzugefügt werden soll.
+
+ Version für das Paket, das hinzugefügt werden soll.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.es.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.es.xlf
index 0e33acc21..0dd40da84 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.es.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.es.xlf
@@ -18,28 +18,28 @@
-
- Agrega una referencia solo cuando el destino es una plataforma específica.
+
+ Agrega una referencia solo cuando el destino es una plataforma específica.
-
- Agrega una referencia sin realizar la vista previa de restauración y la comprobación de compatibilidad.
+
+ Agrega una referencia sin realizar la vista previa de restauración y la comprobación de compatibilidad.
-
- Especifica orígenes de paquete NuGet para usar durante la restauración.
+
+ Especifica orígenes de paquete NuGet para usar durante la restauración.
-
- Restaura los paquetes en el directorio especificado.
+
+ Restaura los paquetes en el directorio especificado.
-
- Versión del paquete que se va a agregar.
+
+ Versión del paquete que se va a agregar.
@@ -63,8 +63,8 @@
-
- DIRECTORIO_DE_PAQUETE
+
+ DIRECTORIO_DE_PAQUETE
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.fr.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.fr.xlf
index ad37fbc93..fa4124efb 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.fr.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.fr.xlf
@@ -18,28 +18,28 @@
-
- Ajoute une référence uniquement en cas de ciblage d'un framework spécifique.
+
+ Ajoute une référence uniquement en cas de ciblage d'un framework spécifique.
-
- Ajoute une référence sans effectuer d'aperçu de restauration ni de vérification de compatibilité.
+
+ Ajoute une référence sans effectuer d'aperçu de restauration ni de vérification de compatibilité.
-
- Spécifie les sources de package NuGet à utiliser durant la restauration.
+
+ Spécifie les sources de package NuGet à utiliser durant la restauration.
-
- Restaure les packages dans le répertoire spécifié.
+
+ Restaure les packages dans le répertoire spécifié.
-
- Version du package à ajouter.
+
+ Version du package à ajouter.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.it.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.it.xlf
index 1655f2ad8..97b0db78d 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.it.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.it.xlf
@@ -18,28 +18,28 @@
-
- Aggiunge il riferimento solo se destinato a un framework specifico.
+
+ Aggiunge il riferimento solo se destinato a un framework specifico.
-
- Aggiunge il riferimento senza eseguire l'anteprima di restore e la verifica della compatibilità.
+
+ Aggiunge il riferimento senza eseguire l'anteprima di restore e la verifica della compatibilità.
-
- Consente di specificare le origini pacchetto NuGet da usare durante il ripristino.
+
+ Consente di specificare le origini pacchetto NuGet da usare durante il ripristino.
-
- Ripristina i pacchetti nella directory specificata.
+
+ Ripristina i pacchetti nella directory specificata.
-
- Versione del pacchetto da aggiungere.
+
+ Versione del pacchetto da aggiungere.
@@ -63,8 +63,8 @@
-
- DIRECTORY_PACCHETTO
+
+ DIRECTORY_PACCHETTO
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ja.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ja.xlf
index a3923e032..694661e14 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ja.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ja.xlf
@@ -18,28 +18,28 @@
-
- 特定のフレームワークを対象とする場合にのみ参照を追加します。
+
+ 特定のフレームワークを対象とする場合にのみ参照を追加します。
-
- 復元のプレビューや互換性チェックを行わずに参照を追加します。
+
+ 復元のプレビューや互換性チェックを行わずに参照を追加します。
-
- 復元中に使用する NuGet パッケージ ソースを指定します。
+
+ 復元中に使用する NuGet パッケージ ソースを指定します。
-
- 指定されたディレクトリにパッケージを復元します。
+
+ 指定されたディレクトリにパッケージを復元します。
-
- 追加するパッケージのバージョン。
+
+ 追加するパッケージのバージョン。
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ko.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ko.xlf
index 52271dff2..6f5e5962b 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ko.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ko.xlf
@@ -18,28 +18,28 @@
-
- 특정 프레임워크를 대상으로 지정할 때에만 참조를 추가합니다.
+
+ 특정 프레임워크를 대상으로 지정할 때에만 참조를 추가합니다.
-
- 미리 보기 복원 및 호환성 검사를 수행하지 않고 참조를 추가합니다.
+
+ 미리 보기 복원 및 호환성 검사를 수행하지 않고 참조를 추가합니다.
-
- 복원 중 사용할 NuGet 패키지 소스를 지정합니다.
+
+ 복원 중 사용할 NuGet 패키지 소스를 지정합니다.
-
- 패키지를 지정된 디렉터리에 복원합니다.
+
+ 패키지를 지정된 디렉터리에 복원합니다.
-
- 추가할 패키지의 버전입니다.
+
+ 추가할 패키지의 버전입니다.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pl.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pl.xlf
index 06f83581f..45e41afee 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pl.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pl.xlf
@@ -18,28 +18,28 @@
-
- Dodaje odwołanie tylko w przypadku określenia konkretnej platformy docelowej.
+
+ Dodaje odwołanie tylko w przypadku określenia konkretnej platformy docelowej.
-
- Dodaje odwołanie bez tworzenia podglądu przywracania i sprawdzania zgodności.
+
+ Dodaje odwołanie bez tworzenia podglądu przywracania i sprawdzania zgodności.
-
- Określa źródła pakietów NuGet podczas przywracania.
+
+ Określa źródła pakietów NuGet podczas przywracania.
-
- Przywraca pakiety do określonego katalogu.
+
+ Przywraca pakiety do określonego katalogu.
-
- Wersja pakietu do dodania.
+
+ Wersja pakietu do dodania.
@@ -63,8 +63,8 @@
-
- KATALOG_PAKIETU
+
+ KATALOG_PAKIETU
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pt-BR.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pt-BR.xlf
index 85828224a..05dc7dca2 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pt-BR.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.pt-BR.xlf
@@ -18,28 +18,28 @@
-
- Adiciona referência apenas ao definir uma estrutura específica como destino.
+
+ Adiciona referência apenas ao definir uma estrutura específica como destino.
-
- Adiciona referência sem executar a visualização da restauração e a verificação de compatibilidade.
+
+ Adiciona referência sem executar a visualização da restauração e a verificação de compatibilidade.
-
- Especifica as fontes de pacote NuGet a serem usadas durante a restauração.
+
+ Especifica as fontes de pacote NuGet a serem usadas durante a restauração.
-
- Restaura os pacotes para o diretório especificado.
+
+ Restaura os pacotes para o diretório especificado.
-
- Versão do pacote a ser adicionada.
+
+ Versão do pacote a ser adicionada.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ru.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ru.xlf
index e9677af5b..e57fae4e9 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ru.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.ru.xlf
@@ -18,28 +18,28 @@
-
- Добавляет ссылку только при выборе конкретной целевой платформы.
+
+ Добавляет ссылку только при выборе конкретной целевой платформы.
-
- Добавляет ссылку без предварительной проверки восстановления и совместимости.
+
+ Добавляет ссылку без предварительной проверки восстановления и совместимости.
-
- Указывает источники пакетов NuGet, используемые во время восстановления.
+
+ Указывает источники пакетов NuGet, используемые во время восстановления.
-
- Восстанавливает пакеты в указанном каталоге.
+
+ Восстанавливает пакеты в указанном каталоге.
-
- Версия добавляемого пакета.
+
+ Версия добавляемого пакета.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.tr.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.tr.xlf
index f63725aad..edbca50eb 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.tr.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.tr.xlf
@@ -18,28 +18,28 @@
-
- Yalnızca belirli bir çerçeveyi hedeflerken başvuru ekler.
+
+ Yalnızca belirli bir çerçeveyi hedeflerken başvuru ekler.
-
- Geri yükleme önizlemesi ve uyumluluk denetimi gerçekleştirmeden başvuru ekler.
+
+ Geri yükleme önizlemesi ve uyumluluk denetimi gerçekleştirmeden başvuru ekler.
-
- Geri yükleme sırasında kullanılacak NuGet paketi kaynaklarını belirtir.
+
+ Geri yükleme sırasında kullanılacak NuGet paketi kaynaklarını belirtir.
-
- Paketleri belirtilen dizine geri yükler.
+
+ Paketleri belirtilen dizine geri yükler.
-
- Eklenecek paketin sürümü.
+
+ Eklenecek paketin sürümü.
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hans.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hans.xlf
index d5cd95a63..9d4f9ebe7 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hans.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hans.xlf
@@ -18,28 +18,28 @@
-
- 仅针对特定框架添加引用。
+
+ 仅针对特定框架添加引用。
-
- 在没有执行还原预览和兼容性检查的情况下添加引用。
+
+ 在没有执行还原预览和兼容性检查的情况下添加引用。
-
- 使用还原期间所用的特定 NuGet 包源。
+
+ 使用还原期间所用的特定 NuGet 包源。
-
- 将包还原到指定目录。
+
+ 将包还原到指定目录。
-
- 要添加的包的版本。
+
+ 要添加的包的版本。
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hant.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hant.xlf
index 710618885..9f8584c45 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hant.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-package/xlf/LocalizableStrings.zh-Hant.xlf
@@ -18,28 +18,28 @@
-
- 只有在以特定架構為目標時才新增參考。
+
+ 只有在以特定架構為目標時才新增參考。
-
- 無須執行還原預覽及相容性檢查,即可新增參考。
+
+ 無須執行還原預覽及相容性檢查,即可新增參考。
-
- 指定在還原期間要使用的 NuGet 套件來源。
+
+ 指定在還原期間要使用的 NuGet 套件來源。
-
- 將套件還原到指定目錄。
+
+ 將套件還原到指定目錄。
-
- 要新增的套件版本。
+
+ 要新增的套件版本。
@@ -63,8 +63,8 @@
-
- PACKAGE_DIRECTORY
+
+ PACKAGE_DIRECTORY
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-reference/AddProjectToProjectReferenceParser.cs b/src/dotnet/commands/dotnet-add/dotnet-add-reference/AddProjectToProjectReferenceParser.cs
index 1bbddea4c..59d2b09d7 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-reference/AddProjectToProjectReferenceParser.cs
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-reference/AddProjectToProjectReferenceParser.cs
@@ -14,8 +14,8 @@ namespace Microsoft.DotNet.Cli
"reference",
LocalizableStrings.AppFullName,
Accept.OneOrMoreArguments()
- .With(name: "PROJECT_PATH",
- description: LocalizableStrings.AppHelpText),
+ .With(name: LocalizableStrings.ProjectPathArgumentName,
+ description: LocalizableStrings.ProjectPathArgumentDescription),
CommonOptions.HelpOption(),
Create.Option("-f|--framework", LocalizableStrings.CmdFrameworkDescription,
Accept.ExactlyOneArgument()
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx b/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx
index f95da9418..2d466ef85 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-reference/LocalizableStrings.resx
@@ -123,10 +123,13 @@
Command to add project to project reference
-
- Project to project references to add
+
+ PROJECT_PATH
+
+
+ The paths to the projects to add as references.
- Add reference only when targeting a specific framework
+ Add the reference only when targeting a specific framework.
\ No newline at end of file
diff --git a/src/dotnet/commands/dotnet-add/dotnet-add-reference/xlf/LocalizableStrings.cs.xlf b/src/dotnet/commands/dotnet-add/dotnet-add-reference/xlf/LocalizableStrings.cs.xlf
index 04afff8a3..31eed5503 100644
--- a/src/dotnet/commands/dotnet-add/dotnet-add-reference/xlf/LocalizableStrings.cs.xlf
+++ b/src/dotnet/commands/dotnet-add/dotnet-add-reference/xlf/LocalizableStrings.cs.xlf
@@ -12,14 +12,19 @@
Příkaz pro přidání odkazu mezi projekty
-
-
- Přidávané odkazy mezi projekty
+
+
+ Přidat odkaz jen v případě, že cílem je konkrétní architektura
-
-
- Přidat odkaz jen v případě, že cílem je konkrétní architektura
+
+
+ PROJECT_PATH
+
+
+
+
+ The paths to the projects to add as references.