mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
This PR essentially reverts https://github.com/PowerShell/PowerShell/pull/3331, which updated all W3C URIs in the `.resx` files from `http` to `https`. That change turned out to be wrong. Those W3C URIs are namespace identifiers, not fetchable URLs -- they must be byte‑exact. Changing them to use `https` corrupted them, and thus `ManagedParser` in the localization pipeline can't recognize the schema, which resulted in the `BL1024 "child table to itself"` error. - This PR makes pure, mechanical 2-line substitution in every `.resx` file: `https://www.w3.org → http://www.w3.org`. - The `ClipboardResources.resx` was using Schema version 1.3, and it's changed to version 2.0 as the rest `.resx` files in this PR.
193 lines
9.8 KiB
XML
193 lines
9.8 KiB
XML
<?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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</resheader>
|
|
<resheader name="writer">
|
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
</resheader>
|
|
<data name="AmbiguousMethodName" xml:space="preserve">
|
|
<value>Input name "{0}" is ambiguous. It can be resolved to multiple matched methods. Possible matches include:{1}.</value>
|
|
</data>
|
|
<data name="AmbiguousPropertyOrMethodName" xml:space="preserve">
|
|
<value>Input name "{0}" is ambiguous. It can be resolved to multiple matched members. Possible matches include:{1}.</value>
|
|
</data>
|
|
<data name="ForEachObjectKeyAction" xml:space="preserve">
|
|
<value>Retrieve the value for key '{0}'</value>
|
|
</data>
|
|
<data name="ForEachObjectMethodActionWithArguments" xml:space="preserve">
|
|
<value>Invoke method '{0}' with arguments: {1}</value>
|
|
</data>
|
|
<data name="ForEachObjectMethodActionWithoutArguments" xml:space="preserve">
|
|
<value>Invoke method '{0}'</value>
|
|
</data>
|
|
<data name="ForEachObjectPropertyAction" xml:space="preserve">
|
|
<value>Retrieve the value for property '{0}'</value>
|
|
</data>
|
|
<data name="ForEachObjectTarget" xml:space="preserve">
|
|
<value>InputObject: {0}</value>
|
|
</data>
|
|
<data name="InputObjectIsNull" xml:space="preserve">
|
|
<value>Cannot operate on a 'null' input object.</value>
|
|
</data>
|
|
<data name="MethodNotFound" xml:space="preserve">
|
|
<value>Input name "{0}" cannot be resolved to a method.</value>
|
|
</data>
|
|
<data name="NoMethodInvocationInRestrictedLanguageMode" xml:space="preserve">
|
|
<value>Cannot invoke a method in the restricted language mode.</value>
|
|
</data>
|
|
<data name="NoShouldProcessForScriptBlockSet" xml:space="preserve">
|
|
<value>The -WhatIf and -Confirm parameters are not supported for script blocks.</value>
|
|
</data>
|
|
<data name="OperationNotAllowedInRestrictedLanguageMode" xml:space="preserve">
|
|
<value>The '{0}' operation is not allowed in the RestrictedLanguage mode.</value>
|
|
</data>
|
|
<data name="OperatorNotSpecified" xml:space="preserve">
|
|
<value>An operator is required to compare the two specified values. Include a valid operator in the command, and then try the command again. For example, Get-Process | Where-Object -Property Name -eq Idle</value>
|
|
</data>
|
|
<data name="PropertyNotFound" xml:space="preserve">
|
|
<value>The input name "{0}" cannot be resolved to a property.</value>
|
|
</data>
|
|
<data name="PropertyOrMethodNotFound" xml:space="preserve">
|
|
<value>The input name "{0}" cannot be resolved to a member.</value>
|
|
</data>
|
|
<data name="ValueNotSpecifiedForWhereObject" xml:space="preserve">
|
|
<value>The specified operator requires both the -Property and -Value parameters. Provide values for both parameters, and then try the command again.</value>
|
|
</data>
|
|
<data name="PSTaskStreamWriterWrongThread" xml:space="preserve">
|
|
<value>This method cannot be run on the current thread. It can only be called on the cmdlet thread.</value>
|
|
</data>
|
|
<data name="ParallelUsingVariableCannotBeScriptBlock" xml:space="preserve">
|
|
<value>A ForEach-Object -Parallel using variable cannot be a script block. Passed-in script block variables are not supported with ForEach-Object -Parallel, and can result in undefined behavior.</value>
|
|
</data>
|
|
<data name="ParallelPipedInputObjectCannotBeScriptBlock" xml:space="preserve">
|
|
<value>A ForEach-Object -Parallel piped input object cannot be a script block. Passed-in script block variables are not supported with ForEach-Object -Parallel, and can result in undefined behavior.</value>
|
|
</data>
|
|
<data name="ParallelCannotUseTimeoutWithJob" xml:space="preserve">
|
|
<value>The 'TimeoutSeconds' parameter cannot be used with the 'AsJob' parameter.</value>
|
|
</data>
|
|
<data name="ParallelCommonParametersNotSupported" xml:space="preserve">
|
|
<value>The following common parameters are not currently supported in the Parallel parameter set:
|
|
ErrorAction, WarningAction, InformationAction, PipelineVariable</value>
|
|
</data>
|
|
<data name="ParallelPipedInputProcessingError" xml:space="preserve">
|
|
<value>An unexpected error has occurred while processing ForEach-Object -Parallel input. This may mean that some of the piped input did not get processed. Error: {0}.</value>
|
|
</data>
|
|
<data name="WDACLogTitle" xml:space="preserve">
|
|
<value>ForEach-Object Cmdlet</value>
|
|
</data>
|
|
<data name="WDACLogMessage" xml:space="preserve">
|
|
<value>Method invocation on type '{0}' will not be allowed when run in Constrained Language mode.</value>
|
|
</data>
|
|
</root> |