249 lines
13 KiB
XML
249 lines
13 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="MultipleBodyParametersOrPropertiesAreNotAllowed" xml:space="preserve">
|
|
<value>More than one parameter and/or property is bound to the HTTP request's content.</value>
|
|
</data>
|
|
<data name="ArgumentCannotBeNullOrEmpty" xml:space="preserve">
|
|
<value>Value cannot be null or empty.</value>
|
|
</data>
|
|
<data name="KeyValuePair_BothKeyAndValueMustBePresent" xml:space="preserve">
|
|
<value>A value is required.</value>
|
|
</data>
|
|
<data name="Common_PropertyNotFound" xml:space="preserve">
|
|
<value>The property {0}.{1} could not be found.</value>
|
|
</data>
|
|
<data name="Common_ParameterNotFound" xml:space="preserve">
|
|
<value>The parameter '{0}' could not be found.</value>
|
|
</data>
|
|
<data name="DataAnnotationsModelValidatorProvider_ConstructorRequirements" xml:space="preserve">
|
|
<value>The type '{0}' must have a public constructor which accepts a single parameter of type '{1}'.</value>
|
|
</data>
|
|
<data name="JQuerySyntaxMissingClosingBracket" xml:space="preserve">
|
|
<value>The key is invalid JQuery syntax because it is missing a closing bracket.</value>
|
|
</data>
|
|
<data name="MissingDataMemberIsRequired" xml:space="preserve">
|
|
<value>Property '{0}' on type '{1}' is invalid. Value-typed properties marked as [Required] must also be marked with [DataMember(IsRequired=true)] to be recognized as required. Consider attributing the declaring type with [DataContract] and the property with [DataMember(IsRequired=true)].</value>
|
|
</data>
|
|
<data name="MissingRequiredMember" xml:space="preserve">
|
|
<value>The '{0}' property is required.</value>
|
|
</data>
|
|
<data name="ModelBinderConfig_ValueInvalid" xml:space="preserve">
|
|
<value>The value '{0}' is not valid for {1}.</value>
|
|
</data>
|
|
<data name="ModelBinderConfig_ValueRequired" xml:space="preserve">
|
|
<value>A value is required.</value>
|
|
</data>
|
|
<data name="ModelBinderUtil_ModelCannotBeNull" xml:space="preserve">
|
|
<value>The binding context has a null Model, but this binder requires a non-null model of type '{0}'.</value>
|
|
</data>
|
|
<data name="ModelBinderUtil_ModelInstanceIsWrong" xml:space="preserve">
|
|
<value>The binding context has a Model of type '{0}', but this binder can only operate on models of type '{1}'.</value>
|
|
</data>
|
|
<data name="ModelBinderUtil_ModelMetadataCannotBeNull" xml:space="preserve">
|
|
<value>The binding context cannot have a null ModelMetadata.</value>
|
|
</data>
|
|
<data name="ModelBinderUtil_ModelTypeIsWrong" xml:space="preserve">
|
|
<value>The binding context has a ModelType of '{0}', but this binder can only operate on models of type '{1}'.</value>
|
|
</data>
|
|
<data name="ModelBindingContext_ModelMetadataMustBeSet" xml:space="preserve">
|
|
<value>The ModelMetadata property must be set before accessing this property.</value>
|
|
</data>
|
|
<data name="PropertyBindingPredicateProvider_WrongType" xml:space="preserve">
|
|
<value>The type '{0}' does not implement the interface '{1}'.</value>
|
|
</data>
|
|
<data name="ValidatableObjectAdapter_IncompatibleType" xml:space="preserve">
|
|
<value>The model object inside the metadata claimed to be compatible with '{0}', but was actually '{1}'.</value>
|
|
</data>
|
|
<data name="ValidationAttributeOnField" xml:space="preserve">
|
|
<value>Field '{0}' on type '{1}' is attributed with one or more validation attributes. Validation attributes on fields are not supported. Consider using a public property for validation instead.</value>
|
|
</data>
|
|
<data name="ValidationAttributeOnNonPublicProperty" xml:space="preserve">
|
|
<value>Non-public property '{0}' on type '{1}' is attributed with one or more validation attributes. Validation attributes on non-public properties are not supported. Consider using a public property for validation instead.</value>
|
|
</data>
|
|
<data name="Validation_InvalidFieldCannotBeReset" xml:space="preserve">
|
|
<value>A field previously marked invalid should not be marked valid.</value>
|
|
</data>
|
|
<data name="Validation_InvalidFieldCannotBeReset_ToSkipped" xml:space="preserve">
|
|
<value>A field previously marked invalid should not be marked skipped.</value>
|
|
</data>
|
|
<data name="Validation_ValueNotFound" xml:space="preserve">
|
|
<value>A value is required but was not present in the request.</value>
|
|
</data>
|
|
<data name="ValueProviderResult_CannotConvertEnum" xml:space="preserve">
|
|
<value>Cannot convert value '{0}' to enum type '{1}'.</value>
|
|
</data>
|
|
<data name="ValueProviderResult_NoConverterExists" xml:space="preserve">
|
|
<value>The parameter conversion from type '{0}' to type '{1}' failed because no type converter can convert between these types.</value>
|
|
</data>
|
|
<data name="DataAnnotationsModelMetadataProvider_UnknownProperty" xml:space="preserve">
|
|
<value>{0} has a DisplayColumn attribute for {1}, but property {1} does not exist.</value>
|
|
</data>
|
|
<data name="DataAnnotationsModelMetadataProvider_UnreadableProperty" xml:space="preserve">
|
|
<value>{0} has a DisplayColumn attribute for {1}, but property {1} does not have a public 'get' method.</value>
|
|
</data>
|
|
<data name="ModelStateDictionary_MaxModelStateErrors" xml:space="preserve">
|
|
<value>The maximum number of allowed model errors has been reached.</value>
|
|
</data>
|
|
<data name="BinderType_MustBeIModelBinderOrIModelBinderProvider" xml:space="preserve">
|
|
<value>The type '{0}' must implement either '{1}' or '{2}' to be used as a model binder.</value>
|
|
</data>
|
|
<data name="ModelBinderUtil_ValueInvalid" xml:space="preserve">
|
|
<value>The value '{0}' is not valid for {1}.</value>
|
|
</data>
|
|
<data name="ModelBinderUtil_ValueInvalidGeneric" xml:space="preserve">
|
|
<value>The supplied value is invalid for {0}.</value>
|
|
</data>
|
|
<data name="BindingSource_Body" xml:space="preserve">
|
|
<value>Body</value>
|
|
</data>
|
|
<data name="BindingSource_Custom" xml:space="preserve">
|
|
<value>Custom</value>
|
|
</data>
|
|
<data name="BindingSource_Form" xml:space="preserve">
|
|
<value>Form</value>
|
|
</data>
|
|
<data name="BindingSource_Header" xml:space="preserve">
|
|
<value>Header</value>
|
|
</data>
|
|
<data name="BindingSource_Services" xml:space="preserve">
|
|
<value>Services</value>
|
|
</data>
|
|
<data name="BindingSource_ModelBinding" xml:space="preserve">
|
|
<value>ModelBinding</value>
|
|
</data>
|
|
<data name="BindingSource_Path" xml:space="preserve">
|
|
<value>Path</value>
|
|
</data>
|
|
<data name="BindingSource_Query" xml:space="preserve">
|
|
<value>Query</value>
|
|
</data>
|
|
<data name="BindingSource_CannotBeComposite" xml:space="preserve">
|
|
<value>The provided binding source '{0}' is a composite. '{1}' requires that the source must represent a single type of input.</value>
|
|
</data>
|
|
<data name="BindingSource_MustBeFromRequest" xml:space="preserve">
|
|
<value>The provided binding source '{0}' is not a request-based binding source. '{1}' requires that the source must represent data from an HTTP request.</value>
|
|
</data>
|
|
<data name="BindingSource_CannotBeGreedy" xml:space="preserve">
|
|
<value>The provided binding source '{0}' is a greedy data source. '{1}' does not support greedy data sources.</value>
|
|
</data>
|
|
<data name="BindingSource_MustBeGreedy" xml:space="preserve">
|
|
<value>The provided binding source '{0}' is not a greedy data source. '{1}' only supports greedy data sources.</value>
|
|
</data>
|
|
</root> |