From 17facfacf5fce15abf1280e5de3e25ad46dca6bd Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Sat, 22 May 2021 01:16:30 +0200 Subject: [PATCH] Introduce resx for BuildValidator and MS.CA.Rebuild to allow localization (#53447) --- .../Core/Rebuild/CompilationFactory.cs | 6 +- .../Core/Rebuild/CompilationOptionsReader.cs | 8 +- src/Compilers/Core/Rebuild/Extensions.cs | 2 +- .../Rebuild/MetadataCompilationOptions.cs | 2 +- .../Microsoft.CodeAnalysis.Rebuild.csproj | 4 + .../Core/Rebuild/RebuildResources.resx | 150 ++++++++++++++++++ .../Rebuild/VisualBasicCompilationFactory.cs | 2 +- .../Core/Rebuild/xlf/RebuildResources.cs.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.de.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.es.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.fr.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.it.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.ja.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.ko.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.pl.xlf | 57 +++++++ .../Rebuild/xlf/RebuildResources.pt-BR.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.ru.xlf | 57 +++++++ .../Core/Rebuild/xlf/RebuildResources.tr.xlf | 57 +++++++ .../Rebuild/xlf/RebuildResources.zh-Hans.xlf | 57 +++++++ .../Rebuild/xlf/RebuildResources.zh-Hant.xlf | 57 +++++++ .../BuildValidator/BuildValidator.csproj | 4 + .../BuildValidatorResources.resx | 144 +++++++++++++++++ src/Tools/BuildValidator/IldasmUtilities.cs | 2 +- src/Tools/BuildValidator/Program.cs | 22 +-- .../xlf/BuildValidatorResources.cs.xlf | 47 ++++++ .../xlf/BuildValidatorResources.de.xlf | 47 ++++++ .../xlf/BuildValidatorResources.es.xlf | 47 ++++++ .../xlf/BuildValidatorResources.fr.xlf | 47 ++++++ .../xlf/BuildValidatorResources.it.xlf | 47 ++++++ .../xlf/BuildValidatorResources.ja.xlf | 47 ++++++ .../xlf/BuildValidatorResources.ko.xlf | 47 ++++++ .../xlf/BuildValidatorResources.pl.xlf | 47 ++++++ .../xlf/BuildValidatorResources.pt-BR.xlf | 47 ++++++ .../xlf/BuildValidatorResources.ru.xlf | 47 ++++++ .../xlf/BuildValidatorResources.tr.xlf | 47 ++++++ .../xlf/BuildValidatorResources.zh-Hans.xlf | 47 ++++++ .../xlf/BuildValidatorResources.zh-Hant.xlf | 47 ++++++ 37 files changed, 1673 insertions(+), 25 deletions(-) create mode 100644 src/Compilers/Core/Rebuild/RebuildResources.resx create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.cs.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.de.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.es.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.fr.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.it.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.ja.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.ko.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.pl.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.pt-BR.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.ru.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.tr.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hans.xlf create mode 100644 src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hant.xlf create mode 100644 src/Tools/BuildValidator/BuildValidatorResources.resx create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.cs.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.de.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.es.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.fr.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.it.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.ja.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.ko.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.pl.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.pt-BR.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.ru.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.tr.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hans.xlf create mode 100644 src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hant.xlf diff --git a/src/Compilers/Core/Rebuild/CompilationFactory.cs b/src/Compilers/Core/Rebuild/CompilationFactory.cs index 8a4ac8747ac9c..828aa0646560b 100644 --- a/src/Compilers/Core/Rebuild/CompilationFactory.cs +++ b/src/Compilers/Core/Rebuild/CompilationFactory.cs @@ -117,7 +117,7 @@ public unsafe EmitResult Emit( { if (rebuildPdbStream is object) { - throw new ArgumentException("PDB stream must be null because the compilation has an embedded PDB", nameof(rebuildPdbStream)); + throw new ArgumentException(RebuildResources.PDB_stream_must_be_null_because_the_compilation_has_an_embedded_PDB, nameof(rebuildPdbStream)); } debugInformationFormat = DebugInformationFormat.Embedded; @@ -127,13 +127,13 @@ public unsafe EmitResult Emit( { if (rebuildPdbStream is null) { - throw new ArgumentException("A non-null PDB stream must be provided because the compilation does not have an embedded PDB", nameof(rebuildPdbStream)); + throw new ArgumentException(RebuildResources.A_non_null_PDB_stream_must_be_provided_because_the_compilation_does_not_have_an_embedded_PDB, nameof(rebuildPdbStream)); } debugInformationFormat = DebugInformationFormat.PortablePdb; var codeViewEntry = OptionsReader.PeReader.ReadDebugDirectory().Single(entry => entry.Type == DebugDirectoryEntryType.CodeView); var codeView = OptionsReader.PeReader.ReadCodeViewDebugDirectoryData(codeViewEntry); - pdbFilePath = codeView.Path ?? throw new InvalidOperationException("Could not get PDB file path"); + pdbFilePath = codeView.Path ?? throw new InvalidOperationException(RebuildResources.Could_not_get_PDB_file_path); } var rebuildData = new RebuildData( diff --git a/src/Compilers/Core/Rebuild/CompilationOptionsReader.cs b/src/Compilers/Core/Rebuild/CompilationOptionsReader.cs index eeb6bf1c1699a..493188491583c 100644 --- a/src/Compilers/Core/Rebuild/CompilationOptionsReader.cs +++ b/src/Compilers/Core/Rebuild/CompilationOptionsReader.cs @@ -65,7 +65,7 @@ public BlobReader GetMetadataCompilationOptionsBlobReader() { if (!TryGetMetadataCompilationOptionsBlobReader(out var reader)) { - throw new InvalidOperationException("Does not contain metadata compilation options"); + throw new InvalidOperationException(RebuildResources.Does_not_contain_metadata_compilation_options); } return reader; } @@ -100,7 +100,7 @@ public string GetLanguageName() var pdbCompilationOptions = GetMetadataCompilationOptions(); if (!pdbCompilationOptions.TryGetUniqueOption(CompilationOptionNames.Language, out var language)) { - throw new Exception("Invalid language name"); + throw new Exception(RebuildResources.Invalid_language_name); } return language; @@ -381,7 +381,7 @@ public IEnumerable GetMetadataReferenceInfo() // byte has data. if ((embedInteropTypesAndKind & 0b11111100) != 0) { - throw new InvalidDataException($"Unexpected value for EmbedInteropTypes/MetadataImageKind {embedInteropTypesAndKind}"); + throw new InvalidDataException(string.Format(RebuildResources.Unexpected_value_for_EmbedInteropTypes_MetadataImageKind_0, embedInteropTypesAndKind)); } var embedInteropTypes = (embedInteropTypesAndKind & 0b10) == 0b10; @@ -465,7 +465,7 @@ where PdbReader.GetGuid(cdi.Kind) == infoGuid { if (value is null or { Length: 0 }) { - throw new InvalidDataException("Encountered null or empty key for compilation options pairs"); + throw new InvalidDataException(RebuildResources.Encountered_null_or_empty_key_for_compilation_options_pairs); } key = value; diff --git a/src/Compilers/Core/Rebuild/Extensions.cs b/src/Compilers/Core/Rebuild/Extensions.cs index 918d2bf329058..ed745b61ba941 100644 --- a/src/Compilers/Core/Rebuild/Extensions.cs +++ b/src/Compilers/Core/Rebuild/Extensions.cs @@ -17,7 +17,7 @@ internal static void SkipNullTerminator(ref this BlobReader blobReader) var b = blobReader.ReadByte(); if (b != '\0') { - throw new InvalidDataException($"Encountered unexpected byte \"{b}\" when expecting a null terminator"); + throw new InvalidDataException(string.Format(RebuildResources.Encountered_unexpected_byte_0_when_expecting_a_null_terminator, b)); } } diff --git a/src/Compilers/Core/Rebuild/MetadataCompilationOptions.cs b/src/Compilers/Core/Rebuild/MetadataCompilationOptions.cs index c45cf2f592881..b73ec8ca8753c 100644 --- a/src/Compilers/Core/Rebuild/MetadataCompilationOptions.cs +++ b/src/Compilers/Core/Rebuild/MetadataCompilationOptions.cs @@ -51,7 +51,7 @@ public string GetUniqueOption(string optionName) var optionValues = _options.Where(pair => pair.optionName == optionName).ToArray(); if (optionValues.Length != 1) { - throw new InvalidOperationException($"{optionName} exists {optionValues.Length} times in compilation options"); + throw new InvalidOperationException(string.Format(RebuildResources._0_exists_1_times_in_compilation_options, optionName, optionValues.Length)); } return optionValues[0].value; diff --git a/src/Compilers/Core/Rebuild/Microsoft.CodeAnalysis.Rebuild.csproj b/src/Compilers/Core/Rebuild/Microsoft.CodeAnalysis.Rebuild.csproj index a2af82cde4c38..5c29391f49c6d 100644 --- a/src/Compilers/Core/Rebuild/Microsoft.CodeAnalysis.Rebuild.csproj +++ b/src/Compilers/Core/Rebuild/Microsoft.CodeAnalysis.Rebuild.csproj @@ -25,4 +25,8 @@ + + + + diff --git a/src/Compilers/Core/Rebuild/RebuildResources.resx b/src/Compilers/Core/Rebuild/RebuildResources.resx new file mode 100644 index 0000000000000..3971925d31cd4 --- /dev/null +++ b/src/Compilers/Core/Rebuild/RebuildResources.resx @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + '{0}' exists '{1}' times in compilation options. + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + Cannot create compilation options: {0} + + + Could not get PDB file path. + + + Does not contain metadata compilation options. + + + Encountered null or empty key for compilation options pairs. + + + Encountered unexpected byte '{0}' when expecting a null terminator. + + + Invalid language name. + + + PDB stream must be null because the compilation has an embedded PDB. + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/VisualBasicCompilationFactory.cs b/src/Compilers/Core/Rebuild/VisualBasicCompilationFactory.cs index 9e2e1cee86026..aa038058f594c 100644 --- a/src/Compilers/Core/Rebuild/VisualBasicCompilationFactory.cs +++ b/src/Compilers/Core/Rebuild/VisualBasicCompilationFactory.cs @@ -78,7 +78,7 @@ private static VisualBasicCompilationOptions CreateVisualBasicCompilationOptions var diagnostic = diagnostics?.FirstOrDefault(x => x.IsUnsuppressedError); if (diagnostic is object) { - throw new Exception($"Cannot create compilation options: {diagnostic}"); + throw new Exception(string.Format(RebuildResources.Cannot_create_compilation_options_0, diagnostic)); } } diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.cs.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.cs.xlf new file mode 100644 index 0000000000000..e6a62881b2b96 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.cs.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.de.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.de.xlf new file mode 100644 index 0000000000000..716ed686e8a68 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.de.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.es.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.es.xlf new file mode 100644 index 0000000000000..eebeff9ca59ee --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.es.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.fr.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.fr.xlf new file mode 100644 index 0000000000000..dba8c52fa4fa4 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.fr.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.it.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.it.xlf new file mode 100644 index 0000000000000..71f7bca0fb6de --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.it.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.ja.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.ja.xlf new file mode 100644 index 0000000000000..5374a3e2ec0b8 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.ja.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.ko.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.ko.xlf new file mode 100644 index 0000000000000..cbd6ccd4b6799 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.ko.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.pl.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.pl.xlf new file mode 100644 index 0000000000000..d5f53a1b4be42 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.pl.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.pt-BR.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.pt-BR.xlf new file mode 100644 index 0000000000000..f33d5cda1d2fd --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.pt-BR.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.ru.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.ru.xlf new file mode 100644 index 0000000000000..8d1b62f73bb6e --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.ru.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.tr.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.tr.xlf new file mode 100644 index 0000000000000..827587fa80614 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.tr.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hans.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hans.xlf new file mode 100644 index 0000000000000..da2cf9de58560 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hans.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hant.xlf b/src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hant.xlf new file mode 100644 index 0000000000000..438731677df53 --- /dev/null +++ b/src/Compilers/Core/Rebuild/xlf/RebuildResources.zh-Hant.xlf @@ -0,0 +1,57 @@ + + + + + + '{0}' exists '{1}' times in compilation options. + '{0}' exists '{1}' times in compilation options. + + + + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + A non-null PDB stream must be provided because the compilation does not have an embedded PDB. + + + + Cannot create compilation options: {0} + Cannot create compilation options: {0} + + + + Could not get PDB file path. + Could not get PDB file path. + + + + Does not contain metadata compilation options. + Does not contain metadata compilation options. + + + + Encountered null or empty key for compilation options pairs. + Encountered null or empty key for compilation options pairs. + + + + Encountered unexpected byte '{0}' when expecting a null terminator. + Encountered unexpected byte '{0}' when expecting a null terminator. + + + + Invalid language name. + Invalid language name. + + + + PDB stream must be null because the compilation has an embedded PDB. + PDB stream must be null because the compilation has an embedded PDB. + + + + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + Unexpected value for EmbedInteropTypes/MetadataImageKind '{0}'. + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/BuildValidator.csproj b/src/Tools/BuildValidator/BuildValidator.csproj index 36399f90ac233..857ee4dcae97b 100644 --- a/src/Tools/BuildValidator/BuildValidator.csproj +++ b/src/Tools/BuildValidator/BuildValidator.csproj @@ -27,5 +27,9 @@ + + + + diff --git a/src/Tools/BuildValidator/BuildValidatorResources.resx b/src/Tools/BuildValidator/BuildValidatorResources.resx new file mode 100644 index 0000000000000..f7a4362c71708 --- /dev/null +++ b/src/Tools/BuildValidator/BuildValidatorResources.resx @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Assemblies to be excluded (substring match) + + + Do not output log information to console + + + Output debug info when rebuild is not equal to the original + + + Output verbose log information + + + Path to assemblies to rebuild (can be specified one or more times) + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + Path to referenced assemblies (can be specified zero or more times) + + + Path to sources to use in rebuild + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/IldasmUtilities.cs b/src/Tools/BuildValidator/IldasmUtilities.cs index 8204473a95087..b617c37ff759b 100644 --- a/src/Tools/BuildValidator/IldasmUtilities.cs +++ b/src/Tools/BuildValidator/IldasmUtilities.cs @@ -31,7 +31,7 @@ private static string GetIldasmPath() } else { - throw new PlatformNotSupportedException("Runtime platform not supported for testing"); + throw new PlatformNotSupportedException(); } return Path.Combine(directory, "runtimes", ridName, "native", ildasmExeName); diff --git a/src/Tools/BuildValidator/Program.cs b/src/Tools/BuildValidator/Program.cs index 0b9bbb8d0b880..83e4b6b9005f2 100644 --- a/src/Tools/BuildValidator/Program.cs +++ b/src/Tools/BuildValidator/Program.cs @@ -9,17 +9,11 @@ using System.CommandLine.Invocation; using System.IO; using System.Linq; -using System.Net.Http.Headers; -using System.Reflection; -using System.Reflection.Metadata; using System.Reflection.PortableExecutable; using System.Text; -using System.Text.RegularExpressions; -using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Rebuild; using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Logging.Console; using Newtonsoft.Json; namespace BuildValidator @@ -40,28 +34,28 @@ static int Main(string[] args) var rootCommand = new RootCommand { new Option( - "--assembliesPath", "Path to assemblies to rebuild (can be specified one or more times)" + "--assembliesPath", BuildValidatorResources.Path_to_assemblies_to_rebuild_can_be_specified_one_or_more_times ) { IsRequired = true, Argument = { Arity = ArgumentArity.OneOrMore } }, new Option( - "--exclude", "Assemblies to be excluded (substring match)" + "--exclude", BuildValidatorResources.Assemblies_to_be_excluded_substring_match ) { Argument = { Arity = ArgumentArity.ZeroOrMore } }, new Option( - "--sourcePath", "Path to sources to use in rebuild" + "--sourcePath", BuildValidatorResources.Path_to_sources_to_use_in_rebuild ) { IsRequired = true }, new Option( - "--referencesPath", "Path to referenced assemblies (can be specified zero or more times)" + "--referencesPath", BuildValidatorResources.Path_to_referenced_assemblies_can_be_specified_zero_or_more_times ) { Argument = { Arity = ArgumentArity.ZeroOrMore } }, new Option( - "--verbose", "Output verbose log information" + "--verbose", BuildValidatorResources.Output_verbose_log_information ), new Option( - "--quiet", "Do not output log information to console" + "--quiet", BuildValidatorResources.Do_not_output_log_information_to_console ), new Option( - "--debug", "Output debug info when rebuild is not equal to the original" + "--debug", BuildValidatorResources.Output_debug_info_when_rebuild_is_not_equal_to_the_original ), new Option( - "--debugPath", "Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled." + "--debugPath", BuildValidatorResources.Path_to_output_debug_info ) }; rootCommand.Handler = CommandHandler.Create(new Func(HandleCommand)); diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.cs.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.cs.xlf new file mode 100644 index 0000000000000..da6aa8f3e236e --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.cs.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.de.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.de.xlf new file mode 100644 index 0000000000000..804baaa8dfcaf --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.de.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.es.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.es.xlf new file mode 100644 index 0000000000000..46aacbd857dda --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.es.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.fr.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.fr.xlf new file mode 100644 index 0000000000000..6b1ce5954ec2f --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.fr.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.it.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.it.xlf new file mode 100644 index 0000000000000..61ab76376365d --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.it.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.ja.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.ja.xlf new file mode 100644 index 0000000000000..0e66c2d79f153 --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.ja.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.ko.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.ko.xlf new file mode 100644 index 0000000000000..0b9227bb3239a --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.ko.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.pl.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.pl.xlf new file mode 100644 index 0000000000000..5f2a45f19b020 --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.pl.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.pt-BR.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.pt-BR.xlf new file mode 100644 index 0000000000000..3636535380da9 --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.pt-BR.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.ru.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.ru.xlf new file mode 100644 index 0000000000000..7be7f6c1d4506 --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.ru.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.tr.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.tr.xlf new file mode 100644 index 0000000000000..1f3ee02cac9cd --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.tr.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hans.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hans.xlf new file mode 100644 index 0000000000000..6a822e11dca96 --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hans.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file diff --git a/src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hant.xlf b/src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hant.xlf new file mode 100644 index 0000000000000..96c947915202b --- /dev/null +++ b/src/Tools/BuildValidator/xlf/BuildValidatorResources.zh-Hant.xlf @@ -0,0 +1,47 @@ + + + + + + Assemblies to be excluded (substring match) + Assemblies to be excluded (substring match) + + + + Do not output log information to console + Do not output log information to console + + + + Output debug info when rebuild is not equal to the original + Output debug info when rebuild is not equal to the original + + + + Output verbose log information + Output verbose log information + + + + Path to assemblies to rebuild (can be specified one or more times) + Path to assemblies to rebuild (can be specified one or more times) + + + + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + Path to output debug info. Defaults to the user temp directory. Note that a unique debug path should be specified for every instance of the tool running with `--debug` enabled. + + + + Path to referenced assemblies (can be specified zero or more times) + Path to referenced assemblies (can be specified zero or more times) + + + + Path to sources to use in rebuild + Path to sources to use in rebuild + + + + + \ No newline at end of file