Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some of the unused resource strings #64379

Merged
merged 2 commits into from
Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/libraries/Common/tests/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,6 @@
<data name="IO_PathTooLong_Path" xml:space="preserve">
<value>IO_PathTooLong_Path {0}</value>
</data>
<data name="Arg_InvalidSearchPattern" xml:space="preserve">
<value>Arg_InvalidSearchPattern {0}</value>
</data>
<data name="Argv_IncludeDoubleQuote" xml:space="preserve">
<value>The argv[0] argument cannot include a double quote.</value>
</data>
Expand All @@ -168,9 +165,6 @@
<data name="net_http_hpack_bad_integer" xml:space="preserve">
<value>HPACK integer exceeds limits or has an overlong encoding.</value>
</data>
<data name="net_http_hpack_encode_failure" xml:space="preserve">
<value>Failed to HPACK encode the headers.</value>
</data>
<data name="net_http_hpack_huffman_decode_failed" xml:space="preserve">
<value>Huffman-coded literal string failed to decode.</value>
</data>
Expand Down Expand Up @@ -201,9 +195,6 @@
<data name="net_quic_connectionaborted" xml:space="preserve">
<value>Connection aborted by peer ({0}).</value>
</data>
<data name="net_quic_notsupported" xml:space="preserve">
<value>QUIC is not supported on this platform. See https://aka.ms/dotnetquic</value>
</data>
<data name="net_quic_operationaborted" xml:space="preserve">
<value>Operation aborted.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,6 @@
<data name="EventSource_RecursiveTypeDefinition" xml:space="preserve">
<value>Recursive type definition is not supported.</value>
</data>
<data name="EventSource_SessionIdError" xml:space="preserve">
<value>Bit position in AllKeywords ({0}) must equal the command argument named "EtwSessionKeyword" ({1}).</value>
</data>
<data name="EventSource_StopsFollowStarts" xml:space="preserve">
<value>An event with stop suffix must follow a corresponding event with a start suffix.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@
<value>Multiple constructors accepting all given argument types have been found in type '{0}'. There should only be one applicable constructor.</value>
<comment>{0} = service type</comment>
</data>
<data name="CannotLocateImplementation" xml:space="preserve">
<value>Unable to locate implementation '{0}' for service '{1}'.</value>
<comment>{0} = implementation type, {1} = service type</comment>
</data>
<data name="CannotResolveService" xml:space="preserve">
<value>Unable to resolve service for type '{0}' while attempting to activate '{1}'.</value>
<comment>{0} = service which cannot be resolved, {1} = service being activated</comment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,9 @@
<data name="ErrorCreateTimer" xml:space="preserve">
<value>Cannot create timer.</value>
</data>
<data name="ErrorGetTempPath" xml:space="preserve">
<value>Cannot get temporary file name</value>
</data>
<data name="ErrorKillTimer" xml:space="preserve">
<value>Cannot end timer.</value>
</data>
<data name="ErrorSystemEventsNotSupported" xml:space="preserve">
<value>System event notifications are not supported under the current context. Server processes, for example, may not support global system event notifications.</value>
</data>
<data name="InvalidLowBoundArgument" xml:space="preserve">
<value>'{1}' is not a valid value for '{0}'. '{0}' must be greater than {2}.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
<data name="Argument_NullElement" xml:space="preserve">
<value>'{0}' cannot contain a null (Nothing in Visual Basic) element.</value>
</data>
<data name="AssemblyFileNotFoundOrWrongType" xml:space="preserve">
<value>Assembly file {0} is either not found or not a dll or exe file.</value>
</data>
<data name="CardinalityMismatch_NoExports" xml:space="preserve">
<value>No exports were found that match the constraint: {0}</value>
</data>
Expand Down Expand Up @@ -129,12 +126,6 @@
<data name="InvalidMetadataView" xml:space="preserve">
<value>The Type '{0}' supplied is not a valid Metadata View.</value>
</data>
<data name="InvalidOperationReentrantCompose" xml:space="preserve">
<value>A call to Compose occurred during a call to Compose on the same CompositionContainer object. Use the IsComposing property on CompositionContainer to ensure a composition is not already in progress before calling Compose.</value>
</data>
<data name="MetadataItemNotSupported" xml:space="preserve">
<value>This export does not support the metadata item '{0}'.</value>
</data>
<data name="NotSupportedInterfaceMetadataView" xml:space="preserve">
<value>Interface '{0}' is not a valid MetadataView; MetadataViews do not support non-public interfaces, and interfaces that contain members that are not properties.</value>
</data>
Expand All @@ -144,9 +135,6 @@
<data name="NotImplemented_NotOverriddenByDerived" xml:space="preserve">
<value>The {0} member must be overridden by a derived class.</value>
</data>
<data name="NotSupportedReadOnlyDictionary" xml:space="preserve">
<value>The underlying dictionary is read-only.</value>
</data>
<data name="ObjectAlreadyInitialized" xml:space="preserve">
<value>This property cannot be set after the object's public surface has been accessed.</value>
</data>
Expand Down Expand Up @@ -357,9 +345,6 @@
<data name="CompositionTrace_Discovery_DefinitionMismatchedExportArity" xml:space="preserve">
<value>The composable part definition '{0}' was ignored because the export '{1}' has different generic parameters than the part type.</value>
</data>
<data name="InvalidArgument_ReflectionContext" xml:space="preserve">
<value>'reflectionContext' must be a type that is assignable from System.Reflection.ReflectionContext.</value>
</data>
<data name="Argument_ReflectionContextReturnsReflectionOnlyType" xml:space="preserve">
<value>'{0}' returns a mapped type that is a reflection-only type which is not supported.</value>
</data>
Expand All @@ -369,15 +354,9 @@
<data name="ContractMismatch_MetadataViewImplementationCanNotBeNull" xml:space="preserve">
<value>The implementation type for the MetadataView '{0} can not be null.</value>
</data>
<data name="InvalidPartCreationPolicyOnImport" xml:space="preserve">
<value>A CreationPolicy of '(0)' can not be applied to an Import that is not an ExportFactory.</value>
</data>
<data name="ExportFactory_TooManyGenericParameters" xml:space="preserve">
<value>ExportFactory subclass '{0}' can not have more than two generic parameters.</value>
</data>
<data name="CatalogMutation_Invalid" xml:space="preserve">
<value>ScopingPolicyCatalog does not support catalog mutation.</value>
</data>
<data name="NotSupportedCatalogChanges" xml:space="preserve">
<value>This CompositionService does not support catalog changes.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CompositionOperation_SharingLockRequired" xml:space="preserve">
<value>Sharing lock is required</value>
</data>
<data name="Dependency_ExportNotFound" xml:space="preserve">
<value>No export was found for the contract '{0}'</value>
</data>
Expand All @@ -73,9 +70,6 @@
<data name="Dependency_ToStringFormat" xml:space="preserve">
<value>'{0}' on contract '{1}' supplied by {2}</value>
</data>
<data name="ExportDescriptorNull" xml:space="preserve">
<value>Export descriptor fulfillment function returned null.</value>
</data>
<data name="ExportDescriptor_ToStringFormat" xml:space="preserve">
<value>{0} supplied by {1}</value>
</data>
Expand Down Expand Up @@ -103,9 +97,6 @@
<data name="Component_NotCreatableOutsideSharingBoundary" xml:space="preserve">
<value>The component (unknown) cannot be created outside the {0} sharing boundary.</value>
</data>
<data name="Keyword_MetadataViewProvider" xml:space="preserve">
<value>Metadata View Provider</value>
</data>
<data name="MetadataViewProvider_InvalidViewImplementation" xml:space="preserve">
<value>The type '{0}' cannot be used as a metadata view. A metadata view must be a concrete class with a parameterless or dictionary constructor.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
</data>
<!--
other exceptions
-->
-->
<data name="Config_add_configurationsection_already_added" xml:space="preserve">
<value>Cannot add a ConfigurationSection that already belongs to the Configuration.</value>
</data>
Expand Down Expand Up @@ -364,9 +364,6 @@
<data name="Config_source_invalid_format" xml:space="preserve">
<value>The configSource attribute must be a relative physical path.</value>
</data>
<data name="Config_source_invalid_chars" xml:space="preserve">
<value>The configSource attribute must be a relative physical path, so the '/' character is not allowed.</value>
</data>
<data name="Config_source_requires_file" xml:space="preserve">
<value>The 'configSource' property may not be set in a configuration that has no associated file.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
<data name="Xml_MultipleTargetConverterError" xml:space="preserve"><value>An error occurred with the multiple target converter while writing an Xml Schema. See the inner exception for details.</value></data>
<data name="Xml_MultipleTargetConverterEmpty" xml:space="preserve"><value>An error occurred with the multiple target converter while writing an Xml Schema. A null or empty string was returned.</value></data>
<data name="Xml_MergeDuplicateDeclaration" xml:space="preserve"><value>Duplicated declaration '{0}'.</value></data>
<data name="Xml_MissingTable" xml:space="preserve"><value>Cannot load diffGram. Table '{0}' is missing in the destination dataset.</value></data>
<data name="Xml_MissingSQL" xml:space="preserve"><value>Cannot load diffGram. The 'sql' node is missing.</value></data>
<data name="Xml_ColumnConflict" xml:space="preserve"><value>Column name '{0}' is defined for different mapping types.</value></data>
<data name="Xml_InvalidPrefix_SpecialCharacters" xml:space="preserve"><value>Prefix '{0}' is not valid, because it contains special characters.</value></data>
Expand Down
6 changes: 0 additions & 6 deletions src/libraries/System.Data.Odbc/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@
<data name="ADP_CollectionIsNotParent" xml:space="preserve">
<value>The {0} is already contained by another {1}.</value>
</data>
<data name="ADP_CollectionIsParent" xml:space="preserve">
<value>The {0} with is already contained by this {1}.</value>
</data>
<data name="ADP_CollectionNullValue" xml:space="preserve">
<value>The {0} only accepts non-null {1} type objects.</value>
</data>
Expand Down Expand Up @@ -377,9 +374,6 @@
<data name="ADP_TransactionZombied" xml:space="preserve">
<value>This {0} has completed; it is no longer usable.</value>
</data>
<data name="ADP_DbRecordReadOnly" xml:space="preserve">
<value>'{0}' cannot be called when the record is read only.</value>
</data>
<data name="ADP_NonSeqByteAccess" xml:space="preserve">
<value>Invalid {2} attempt at dataIndex '{0}'. With CommandBehavior.SequentialAccess, you may only read from dataIndex '{1}' or greater.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@
<data name="SetFormatOnStartedActivity" xml:space="preserve">
<value>"Can not change format for an activity that was already started"</value>
</data>
<data name="SetLinkInvalid" xml:space="preserve">
<value>"Can not add link to activity after it has been started"</value>
</data>
<data name="SetParentIdOnActivityWithParent" xml:space="preserve">
<value>"Can not set ParentId on activity which has parent"</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@
<data name="CantRetrieveEntries" xml:space="preserve">
<value>Cannot retrieve all entries.</value>
</data>
<data name="DuplicateLogName" xml:space="preserve">
<value>Only the first eight characters of a custom log name are significant, and there is already another log on the system using the first eight characters of the name given. Name given: '{0}', name of existing log: '{1}'.</value>
</data>
<data name="EventID" xml:space="preserve">
<value>Invalid eventID value '{0}'. It must be in the range between '{1}' and '{2}'.</value>
</data>
Expand Down Expand Up @@ -242,7 +239,4 @@
<data name="LogAlreadyExistsAsSource" xml:space="preserve">
<value>Log {0} has already been registered as a source on the local computer.</value>
</data>
<data name="NotSupported_IONonFileDevices" xml:space="preserve">
<value>Opening Win32 devices other than file such as COM ports, printers, disk partitions and tape drives is not supported. Avoid use of "\\\\.\\" in the path.</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@
<data name="SharedMemoryGhosted" xml:space="preserve">
<value>Cannot access shared memory, AppDomain has been unloaded.</value>
</data>
<data name="SetSecurityDescriptionFailed" xml:space="preserve">
<value>Cannot initialize security descriptor initialized.</value>
</data>
<data name="CantCreateFileMapping" xml:space="preserve">
<value>Cannot create file mapping.</value>
</data>
Expand Down Expand Up @@ -322,7 +319,7 @@
</data>
<data name="Perflib_InvalidOperation_CounterSetContainsNoCounter" xml:space="preserve">
<value>CounterSet '{0}' does not include any counters.</value>
</data>
</data>
<data name="Perflib_Argument_CounterSetAlreadyRegister" xml:space="preserve">
<value>CounterSet '{0}' already registered.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,6 @@
<data name="UseShellExecuteNotSupported" xml:space="preserve">
<value>UseShellExecute is not supported on this platform.</value>
</data>
<data name="GetProcessInfoNotSupported" xml:space="preserve">
<value>Retrieving information about local processes is not supported on this platform.</value>
</data>
<data name="StandardInputEncodingNotAllowed" xml:space="preserve">
<value>StandardInputEncoding is only supported when standard input is redirected.</value>
</data>
Expand Down
Loading