diff options
| author | Bob Arnson <bob@firegiant.com> | 2020-08-26 16:11:54 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2020-08-26 16:13:33 -0400 |
| commit | 8e9567e153c0a9cdc87a50ad42fa87b07041bf83 (patch) | |
| tree | 3b6b4ca68979de686a62316c89811c992d3644eb /src | |
| parent | b2e187154d8c89954a8659c3bd19c3dc89fdfbce (diff) | |
| download | wix-8e9567e153c0a9cdc87a50ad42fa87b07041bf83.tar.gz wix-8e9567e153c0a9cdc87a50ad42fa87b07041bf83.tar.bz2 wix-8e9567e153c0a9cdc87a50ad42fa87b07041bf83.zip | |
Clean up unused strings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Data/WixDataStrings.Designer.cs | 115 | ||||
| -rw-r--r-- | src/WixToolset.Data/WixDataStrings.resx | 33 | ||||
| -rw-r--r-- | src/WixToolset.Data/WixToolset.Data.csproj | 15 |
3 files changed, 27 insertions, 136 deletions
diff --git a/src/WixToolset.Data/WixDataStrings.Designer.cs b/src/WixToolset.Data/WixDataStrings.Designer.cs index 23555d3c..de26156a 100644 --- a/src/WixToolset.Data/WixDataStrings.Designer.cs +++ b/src/WixToolset.Data/WixDataStrings.Designer.cs | |||
| @@ -1,4 +1,12 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | 1 | //------------------------------------------------------------------------------ |
| 2 | // <auto-generated> | ||
| 3 | // This code was generated by a tool. | ||
| 4 | // Runtime Version:4.0.30319.42000 | ||
| 5 | // | ||
| 6 | // Changes to this file may cause incorrect behavior and will be lost if | ||
| 7 | // the code is regenerated. | ||
| 8 | // </auto-generated> | ||
| 9 | //------------------------------------------------------------------------------ | ||
| 2 | 10 | ||
| 3 | namespace WixToolset.Data { | 11 | namespace WixToolset.Data { |
| 4 | using System; | 12 | using System; |
| @@ -11,7 +19,7 @@ namespace WixToolset.Data { | |||
| 11 | // class via a tool like ResGen or Visual Studio. | 19 | // class via a tool like ResGen or Visual Studio. |
| 12 | // To add or remove a member, edit your .ResX file then rerun ResGen | 20 | // To add or remove a member, edit your .ResX file then rerun ResGen |
| 13 | // with the /str option, or rebuild your VS project. | 21 | // with the /str option, or rebuild your VS project. |
| 14 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] | 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] |
| 15 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
| 16 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
| 17 | public class WixDataStrings { | 25 | public class WixDataStrings { |
| @@ -28,7 +36,7 @@ namespace WixToolset.Data { | |||
| 28 | /// Returns the cached ResourceManager instance used by this class. | 36 | /// Returns the cached ResourceManager instance used by this class. |
| 29 | /// </summary> | 37 | /// </summary> |
| 30 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
| 31 | internal static global::System.Resources.ResourceManager ResourceManager { | 39 | public static global::System.Resources.ResourceManager ResourceManager { |
| 32 | get { | 40 | get { |
| 33 | if (object.ReferenceEquals(resourceMan, null)) { | 41 | if (object.ReferenceEquals(resourceMan, null)) { |
| 34 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WixToolset.Data.WixDataStrings", typeof(WixDataStrings).Assembly); | 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WixToolset.Data.WixDataStrings", typeof(WixDataStrings).Assembly); |
| @@ -43,7 +51,7 @@ namespace WixToolset.Data { | |||
| 43 | /// resource lookups using this strongly typed resource class. | 51 | /// resource lookups using this strongly typed resource class. |
| 44 | /// </summary> | 52 | /// </summary> |
| 45 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
| 46 | internal static global::System.Globalization.CultureInfo Culture { | 54 | public static global::System.Globalization.CultureInfo Culture { |
| 47 | get { | 55 | get { |
| 48 | return resourceCulture; | 56 | return resourceCulture; |
| 49 | } | 57 | } |
| @@ -62,96 +70,6 @@ namespace WixToolset.Data { | |||
| 62 | } | 70 | } |
| 63 | 71 | ||
| 64 | /// <summary> | 72 | /// <summary> |
| 65 | /// Looks up a localized string similar to A Merge table FileCompression column cannot be set to the invalid value '{0}'.. | ||
| 66 | /// </summary> | ||
| 67 | public static string EXP_CannotSetMergeTableFileCompressionColumnToInvalidValue { | ||
| 68 | get { | ||
| 69 | return ResourceManager.GetString("EXP_CannotSetMergeTableFileCompressionColumnToInvalidValue", resourceCulture); | ||
| 70 | } | ||
| 71 | } | ||
| 72 | |||
| 73 | /// <summary> | ||
| 74 | /// Looks up a localized string similar to Collection has {0} elements. Must have at least one.. | ||
| 75 | /// </summary> | ||
| 76 | internal static string EXP_CollectionMustHaveAtLeastOneElement { | ||
| 77 | get { | ||
| 78 | return ResourceManager.GetString("EXP_CollectionMustHaveAtLeastOneElement", resourceCulture); | ||
| 79 | } | ||
| 80 | } | ||
| 81 | |||
| 82 | /// <summary> | ||
| 83 | /// Looks up a localized string similar to Element must be a subclass of {0}, but was of type {1}.. | ||
| 84 | /// </summary> | ||
| 85 | internal static string EXP_ElementIsSubclassOfDifferentType { | ||
| 86 | get { | ||
| 87 | return ResourceManager.GetString("EXP_ElementIsSubclassOfDifferentType", resourceCulture); | ||
| 88 | } | ||
| 89 | } | ||
| 90 | |||
| 91 | /// <summary> | ||
| 92 | /// Looks up a localized string similar to Element of type {0} found in enumerator. Must be ChoiceItem or SequenceItem.. | ||
| 93 | /// </summary> | ||
| 94 | internal static string EXP_ElementMustBeChoiceItemOrSequenceItem { | ||
| 95 | get { | ||
| 96 | return ResourceManager.GetString("EXP_ElementMustBeChoiceItemOrSequenceItem", resourceCulture); | ||
| 97 | } | ||
| 98 | } | ||
| 99 | |||
| 100 | /// <summary> | ||
| 101 | /// Looks up a localized string similar to Element of type {0} is not valid for this collection.. | ||
| 102 | /// </summary> | ||
| 103 | internal static string EXP_ElementOfTypeIsNotValidForThisCollection { | ||
| 104 | get { | ||
| 105 | return ResourceManager.GetString("EXP_ElementOfTypeIsNotValidForThisCollection", resourceCulture); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | |||
| 109 | /// <summary> | ||
| 110 | /// Looks up a localized string similar to ISchemaElement with name {0} does not implement ICreateChildren.. | ||
| 111 | /// </summary> | ||
| 112 | internal static string EXP_ISchemaElementDoesnotImplementICreateChildren { | ||
| 113 | get { | ||
| 114 | return ResourceManager.GetString("EXP_ISchemaElementDoesnotImplementICreateChildren", resourceCulture); | ||
| 115 | } | ||
| 116 | } | ||
| 117 | |||
| 118 | /// <summary> | ||
| 119 | /// Looks up a localized string similar to ISchemaElement with name {0} does not implement ISetAttributes.. | ||
| 120 | /// </summary> | ||
| 121 | internal static string EXP_ISchemaElementDoesnotImplementISetAttribute { | ||
| 122 | get { | ||
| 123 | return ResourceManager.GetString("EXP_ISchemaElementDoesnotImplementISetAttribute", resourceCulture); | ||
| 124 | } | ||
| 125 | } | ||
| 126 | |||
| 127 | /// <summary> | ||
| 128 | /// Looks up a localized string similar to A Merge table FileCompression column contains an invalid value '{0}'.. | ||
| 129 | /// </summary> | ||
| 130 | public static string EXP_MergeTableFileCompressionColumnContainsInvalidValue { | ||
| 131 | get { | ||
| 132 | return ResourceManager.GetString("EXP_MergeTableFileCompressionColumnContainsInvalidValue", resourceCulture); | ||
| 133 | } | ||
| 134 | } | ||
| 135 | |||
| 136 | /// <summary> | ||
| 137 | /// Looks up a localized string similar to Multiple root elements found in file.. | ||
| 138 | /// </summary> | ||
| 139 | internal static string EXP_MultipleRootElementsFoundInFile { | ||
| 140 | get { | ||
| 141 | return ResourceManager.GetString("EXP_MultipleRootElementsFoundInFile", resourceCulture); | ||
| 142 | } | ||
| 143 | } | ||
| 144 | |||
| 145 | /// <summary> | ||
| 146 | /// Looks up a localized string similar to Type {0} is not valid for this collection.. | ||
| 147 | /// </summary> | ||
| 148 | internal static string EXP_TypeIsNotValidForThisCollection { | ||
| 149 | get { | ||
| 150 | return ResourceManager.GetString("EXP_TypeIsNotValidForThisCollection", resourceCulture); | ||
| 151 | } | ||
| 152 | } | ||
| 153 | |||
| 154 | /// <summary> | ||
| 155 | /// Looks up a localized string similar to Unknown column type: {0}. | 73 | /// Looks up a localized string similar to Unknown column type: {0}. |
| 156 | /// </summary> | 74 | /// </summary> |
| 157 | public static string EXP_UnknownColumnType { | 75 | public static string EXP_UnknownColumnType { |
| @@ -168,14 +86,5 @@ namespace WixToolset.Data { | |||
| 168 | return ResourceManager.GetString("EXP_UnsupportedTable", resourceCulture); | 86 | return ResourceManager.GetString("EXP_UnsupportedTable", resourceCulture); |
| 169 | } | 87 | } |
| 170 | } | 88 | } |
| 171 | |||
| 172 | /// <summary> | ||
| 173 | /// Looks up a localized string similar to XmlElement with name {0} does not have a corresponding ISchemaElement.. | ||
| 174 | /// </summary> | ||
| 175 | internal static string EXP_XmlElementDoesnotHaveISchemaElement { | ||
| 176 | get { | ||
| 177 | return ResourceManager.GetString("EXP_XmlElementDoesnotHaveISchemaElement", resourceCulture); | ||
| 178 | } | ||
| 179 | } | ||
| 180 | } | 89 | } |
| 181 | } | 90 | } |
diff --git a/src/WixToolset.Data/WixDataStrings.resx b/src/WixToolset.Data/WixDataStrings.resx index 19cdc3c7..999f5057 100644 --- a/src/WixToolset.Data/WixDataStrings.resx +++ b/src/WixToolset.Data/WixDataStrings.resx | |||
| @@ -120,43 +120,10 @@ | |||
| 120 | <data name="EXP_UnsupportedTable" xml:space="preserve"> | 120 | <data name="EXP_UnsupportedTable" xml:space="preserve"> |
| 121 | <value>The table {0} is not supported.</value> | 121 | <value>The table {0} is not supported.</value> |
| 122 | </data> | 122 | </data> |
| 123 | <data name="EXP_MergeTableFileCompressionColumnContainsInvalidValue" xml:space="preserve"> | ||
| 124 | <value>A Merge table FileCompression column contains an invalid value '{0}'.</value> | ||
| 125 | </data> | ||
| 126 | <data name="EXP_CannotSetMergeTableFileCompressionColumnToInvalidValue" xml:space="preserve"> | ||
| 127 | <value>A Merge table FileCompression column cannot be set to the invalid value '{0}'.</value> | ||
| 128 | </data> | ||
| 129 | <data name="EXP_CannotModularizeIllegalID" xml:space="preserve"> | 123 | <data name="EXP_CannotModularizeIllegalID" xml:space="preserve"> |
| 130 | <value>The value '{0}' is not a legal identifier and therefore cannot be modularized.</value> | 124 | <value>The value '{0}' is not a legal identifier and therefore cannot be modularized.</value> |
| 131 | </data> | 125 | </data> |
| 132 | <data name="EXP_UnknownColumnType" xml:space="preserve"> | 126 | <data name="EXP_UnknownColumnType" xml:space="preserve"> |
| 133 | <value>Unknown column type: {0}</value> | 127 | <value>Unknown column type: {0}</value> |
| 134 | </data> | 128 | </data> |
| 135 | <data name="EXP_MultipleRootElementsFoundInFile" xml:space="preserve"> | ||
| 136 | <value>Multiple root elements found in file.</value> | ||
| 137 | </data> | ||
| 138 | <data name="EXP_ISchemaElementDoesnotImplementICreateChildren" xml:space="preserve"> | ||
| 139 | <value>ISchemaElement with name {0} does not implement ICreateChildren.</value> | ||
| 140 | </data> | ||
| 141 | <data name="EXP_ISchemaElementDoesnotImplementISetAttribute" xml:space="preserve"> | ||
| 142 | <value>ISchemaElement with name {0} does not implement ISetAttributes.</value> | ||
| 143 | </data> | ||
| 144 | <data name="EXP_XmlElementDoesnotHaveISchemaElement" xml:space="preserve"> | ||
| 145 | <value>XmlElement with name {0} does not have a corresponding ISchemaElement.</value> | ||
| 146 | </data> | ||
| 147 | <data name="EXP_CollectionMustHaveAtLeastOneElement" xml:space="preserve"> | ||
| 148 | <value>Collection has {0} elements. Must have at least one.</value> | ||
| 149 | </data> | ||
| 150 | <data name="EXP_ElementIsSubclassOfDifferentType" xml:space="preserve"> | ||
| 151 | <value>Element must be a subclass of {0}, but was of type {1}.</value> | ||
| 152 | </data> | ||
| 153 | <data name="EXP_ElementOfTypeIsNotValidForThisCollection" xml:space="preserve"> | ||
| 154 | <value>Element of type {0} is not valid for this collection.</value> | ||
| 155 | </data> | ||
| 156 | <data name="EXP_TypeIsNotValidForThisCollection" xml:space="preserve"> | ||
| 157 | <value>Type {0} is not valid for this collection.</value> | ||
| 158 | </data> | ||
| 159 | <data name="EXP_ElementMustBeChoiceItemOrSequenceItem" xml:space="preserve"> | ||
| 160 | <value>Element of type {0} found in enumerator. Must be ChoiceItem or SequenceItem.</value> | ||
| 161 | </data> | ||
| 162 | </root> \ No newline at end of file | 129 | </root> \ No newline at end of file |
diff --git a/src/WixToolset.Data/WixToolset.Data.csproj b/src/WixToolset.Data/WixToolset.Data.csproj index 9f57e2e7..598803fe 100644 --- a/src/WixToolset.Data/WixToolset.Data.csproj +++ b/src/WixToolset.Data/WixToolset.Data.csproj | |||
| @@ -20,4 +20,19 @@ | |||
| 20 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> | 20 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> |
| 21 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.1.91" PrivateAssets="all" /> | 21 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.1.91" PrivateAssets="all" /> |
| 22 | </ItemGroup> | 22 | </ItemGroup> |
| 23 | |||
| 24 | <ItemGroup> | ||
| 25 | <Compile Update="WixDataStrings.Designer.cs"> | ||
| 26 | <DesignTime>True</DesignTime> | ||
| 27 | <AutoGen>True</AutoGen> | ||
| 28 | <DependentUpon>WixDataStrings.resx</DependentUpon> | ||
| 29 | </Compile> | ||
| 30 | </ItemGroup> | ||
| 31 | |||
| 32 | <ItemGroup> | ||
| 33 | <EmbeddedResource Update="WixDataStrings.resx"> | ||
| 34 | <Generator>PublicResXFileCodeGenerator</Generator> | ||
| 35 | <LastGenOutput>WixDataStrings.Designer.cs</LastGenOutput> | ||
| 36 | </EmbeddedResource> | ||
| 37 | </ItemGroup> | ||
| 23 | </Project> | 38 | </Project> |
