mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
GetEventResources.txt into GetEventResources.resx for Microsoft.PowerShell.Commands.Diagnostics resources
This commit is contained in:
@@ -0,0 +1,289 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="CounterNotALogFile" xml:space="preserve">
|
||||
<value>The {0} file does not have the expected file name extension. Specify only .blg, .csv, or .tsv files when you use the Path parameter.</value>
|
||||
</data>
|
||||
<data name="CounterApiError" xml:space="preserve">
|
||||
<value>Internal performance counter API call failed. Error: {0:x8}.</value>
|
||||
</data>
|
||||
<data name="LogProviderOrPathNeeded" xml:space="preserve">
|
||||
<value>You must specify at least one Log, Provider or Path key-value pair.</value>
|
||||
</data>
|
||||
<data name="NoMatchingProvidersFound" xml:space="preserve">
|
||||
<value>There is not an event provider on the {0} computer that matches "{1}".</value>
|
||||
</data>
|
||||
<data name="NullNotAllowedInHashtable" xml:space="preserve">
|
||||
<value>A null value was encountered in the {0} hash table key. Null values are not permitted.</value>
|
||||
</data>
|
||||
<data name="QueryTrace" xml:space="preserve">
|
||||
<value>Constructed structured query:
|
||||
{0}.</value>
|
||||
</data>
|
||||
<data name="ProviderLogLink" xml:space="preserve">
|
||||
<value>The {0} provider writes events to the {1} log.</value>
|
||||
</data>
|
||||
<data name="CounterInvalidDateRange" xml:space="preserve">
|
||||
<value>The value of the StartTime parameter must be less than the value of the EndTime parameter.</value>
|
||||
</data>
|
||||
<data name="NoMatchingLogsFound" xml:space="preserve">
|
||||
<value>There is not an event log on the {0} computer that matches "{1}".</value>
|
||||
</data>
|
||||
<data name="Vendor" xml:space="preserve">
|
||||
<value>Microsoft</value>
|
||||
</data>
|
||||
<data name="CounterCircularNoMaxSize" xml:space="preserve">
|
||||
<value>The Circular parameter will be ignored unless the MaxSize parameter is also specified.</value>
|
||||
</data>
|
||||
<data name="FileOpenFailed" xml:space="preserve">
|
||||
<value>Unable to open the {0} file for writing.</value>
|
||||
</data>
|
||||
<data name="KeywordLongExpected" xml:space="preserve">
|
||||
<value>Invalid value '{0}' specified for keyword.</value>
|
||||
</data>
|
||||
<data name="CounterExportSampleNotInInitialSet" xml:space="preserve">
|
||||
<value>The {0} performance counter cannot be exported to the {1} file because it was not part of the first sample set.</value>
|
||||
</data>
|
||||
<data name="NoMatchingEventsFound" xml:space="preserve">
|
||||
<value>No events were found that match the specified selection criteria.</value>
|
||||
</data>
|
||||
<data name="CounterPathTranslationFailed" xml:space="preserve">
|
||||
<value>The default values for this command failed. Error: {0:x8}.</value>
|
||||
</data>
|
||||
<data name="CounterNoMixedLogTypes" xml:space="preserve">
|
||||
<value>You cannot import different types of performance log files in the same command. Specify only one type of file in the Path parameter.</value>
|
||||
</data>
|
||||
<data name="NotAFileSystemPath" xml:space="preserve">
|
||||
<value>The {0} path does not appear to be a valid log file path. Specify a valid file system path.</value>
|
||||
</data>
|
||||
<data name="EventIdNotSpecified" xml:space="preserve">
|
||||
<value>A valid Event Id must be specified.</value>
|
||||
</data>
|
||||
<data name="ProviderMetadataUnavailable" xml:space="preserve">
|
||||
<value>Could not retrieve information about the {0} provider. Error: {1}.</value>
|
||||
</data>
|
||||
<data name="SpecifyOldestForLog" xml:space="preserve">
|
||||
<value>The {0} event log can be read only in the forward chronological order because it is an analytical or a debug log. To see events from the {0} event log, use the Oldest parameter in the command.</value>
|
||||
</data>
|
||||
<data name="ExportDestPathAmbiguous" xml:space="preserve">
|
||||
<value>The following export destination path is ambiguous: {0}.</value>
|
||||
</data>
|
||||
<data name="CounterPathIsInvalid" xml:space="preserve">
|
||||
<value>The {0} performance counter path is not valid.</value>
|
||||
</data>
|
||||
<data name="CounterSampleDataInvalid" xml:space="preserve">
|
||||
<value>The data in one of the performance counter samples is not valid. View the Status property for each PerformanceCounterSample object to make sure it contains valid data.</value>
|
||||
</data>
|
||||
<data name="PayloadMismatch" xml:space="preserve">
|
||||
<value>Provided payload does not match with the template that was defined for event id {0}.
|
||||
The defined template is following:
|
||||
{1}</value>
|
||||
</data>
|
||||
<data name="NoMatchingCounterSetsFound" xml:space="preserve">
|
||||
<value>Cannot find any performance counter sets on the {0} computer that match the following: {1}.</value>
|
||||
</data>
|
||||
<data name="CounterPathsInFilesInvalid" xml:space="preserve">
|
||||
<value>No valid counter paths were found in the files.</value>
|
||||
</data>
|
||||
<data name="FileCreateFailed" xml:space="preserve">
|
||||
<value>Unable to create the {0} file. Verify that the path is valid.</value>
|
||||
</data>
|
||||
<data name="NoCounterSetsOnComputer" xml:space="preserve">
|
||||
<value>Could not find any performance counter sets on the {0} computer: error {1:x8}. Verify that the {0} computer exists, that it is discoverable, and that you have sufficient privileges to view performance counter data on that computer.</value>
|
||||
</data>
|
||||
<data name="IncorrectEventId" xml:space="preserve">
|
||||
<value>Event cannot be written because there are no events defined with id {0} for the provider {1}. Please correct the event id and try again.</value>
|
||||
</data>
|
||||
<data name="InvalidContext" xml:space="preserve">
|
||||
<value>The {0} Context key-value is not a valid SID or NT account name.</value>
|
||||
</data>
|
||||
<data name="IncorrectEventVersion" xml:space="preserve">
|
||||
<value>Event cannot be written because the specified version {0} for event {1} is not defined for the provider {2}. Please correct the version and try again.</value>
|
||||
</data>
|
||||
<data name="CounterInvalidFormat" xml:space="preserve">
|
||||
<value>The {0} format type is not a valid format for a counter file. Possible values for the Format parameter are .blg, .csv, or .tsv.</value>
|
||||
</data>
|
||||
<data name="Counter32FileLimit" xml:space="preserve">
|
||||
<value>You cannot import more than 32 .blg counter log files in each command.</value>
|
||||
</data>
|
||||
<data name="SpecifiedProvidersDontWriteToLog" xml:space="preserve">
|
||||
<value>The specified providers do not write events to the {0} log. This log will be ignored.</value>
|
||||
</data>
|
||||
<data name="InvalidSIDFormat" xml:space="preserve">
|
||||
<value>The following value is not in a valid security identifier (SID) format: {0}. Enter a valid SID, such as S-1-5-32-544.</value>
|
||||
</data>
|
||||
<data name="NoProviderFound" xml:space="preserve">
|
||||
<value>No provider found with name {0}.</value>
|
||||
</data>
|
||||
<data name="CounterSetEnumAccessDenied" xml:space="preserve">
|
||||
<value>Cannot retrieve information about the {0} performance counter set because access was denied.</value>
|
||||
</data>
|
||||
<data name="VersionNotSpecified" xml:space="preserve">
|
||||
<value>Event cannot be written because multiple events with id {0} have beend defined for provider {1}. Please provide a version for the event and try again.</value>
|
||||
</data>
|
||||
<data name="SpecifyOldestForEtlEvt" xml:space="preserve">
|
||||
<value>The {0} event log file can be read only in the forward chronological order because it is an .etl or an .evt file. To see events from the {0} event log, use the Oldest parameter in the command.</value>
|
||||
</data>
|
||||
<data name="ProviderNotSpecified" xml:space="preserve">
|
||||
<value>Provider name must be specified.</value>
|
||||
</data>
|
||||
<data name="NotALogFile" xml:space="preserve">
|
||||
<value>The {0} file does not appear to be a valid log file. Specify only .evtx, .etl, or .evt files as values of the Path parameter.</value>
|
||||
</data>
|
||||
<data name="CounterPathInvalidOrNotInFile" xml:space="preserve">
|
||||
<value>The {0} performance counter path is either not valid or it is not present in the following files: {1}.</value>
|
||||
</data>
|
||||
<data name="Timestamp" xml:space="preserve">
|
||||
<value>Timestamp</value>
|
||||
</data>
|
||||
<data name="DateTimeExpected" xml:space="preserve">
|
||||
<value>The following value is not in a valid DateTime format: {0}.</value>
|
||||
</data>
|
||||
<data name="LogInfoUnavailable" xml:space="preserve">
|
||||
<value>Could not retrieve information about the {0} log. Error: {1}.</value>
|
||||
</data>
|
||||
<data name="NoEventMessage" xml:space="preserve">
|
||||
<value>Cannot retrieve event message text.</value>
|
||||
</data>
|
||||
<data name="CounterFileExists" xml:space="preserve">
|
||||
<value>The {0} file already exists. To overwrite this file, use the Force parameter in the Export-Counter command.</value>
|
||||
</data>
|
||||
<data name="CounterContinuousOrMaxSamples" xml:space="preserve">
|
||||
<value>The Continuous parameter and the MaxSamples parameter cannot be used in the same command.</value>
|
||||
</data>
|
||||
<data name="ExportCtrWin7Required" xml:space="preserve">
|
||||
<value>This cmdlet can be run only on Microsoft Windows 7 and above.</value>
|
||||
</data>
|
||||
<data name="Description" xml:space="preserve">
|
||||
<value>This Windows PowerShell snap-in contains Windows Eventing and Performance Counter cmdlets.</value>
|
||||
</data>
|
||||
<data name="NoMatchingCounterSetsInFile" xml:space="preserve">
|
||||
<value>Cannot find any performance counter sets in the {0} files that match the following: {1}.</value>
|
||||
</data>
|
||||
<data name="LogsAndProvidersDontOverlap" xml:space="preserve">
|
||||
<value>The specified providers do not write events to any of the specified logs.</value>
|
||||
</data>
|
||||
<data name="CookedValues" xml:space="preserve">
|
||||
<value>Cooked Values</value>
|
||||
</data>
|
||||
<data name="Counter1FileLimit" xml:space="preserve">
|
||||
<value>You cannot import more than one comma-separated (.csv) or tab-separated (.tsv) performance counter file in each command.</value>
|
||||
</data>
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user