Mercurial > pub > bltoolkit
comparison Source/Properties/Resources.resx @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <root> | |
3 <!-- | |
4 Microsoft ResX Schema | |
5 | |
6 Version 2.0 | |
7 | |
8 The primary goals of this format is to allow a simple XML format | |
9 that is mostly human readable. The generation and parsing of the | |
10 various data types are done through the TypeConverter classes | |
11 associated with the data types. | |
12 | |
13 Example: | |
14 | |
15 ... ado.net/XML headers & schema ... | |
16 <resheader name="resmimetype">text/microsoft-resx</resheader> | |
17 <resheader name="version">2.0</resheader> | |
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |
23 <value>[base64 mime encoded serialized .NET Framework object]</value> | |
24 </data> | |
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |
27 <comment>This is a comment</comment> | |
28 </data> | |
29 | |
30 There are any number of "resheader" rows that contain simple | |
31 name/value pairs. | |
32 | |
33 Each data row contains a name, and value. The row also contains a | |
34 type or mimetype. Type corresponds to a .NET class that support | |
35 text/value conversion through the TypeConverter architecture. | |
36 Classes that don't support this are serialized and stored with the | |
37 mimetype set. | |
38 | |
39 The mimetype is used for serialized objects, and tells the | |
40 ResXResourceReader how to depersist the object. This is currently not | |
41 extensible. For a given mimetype the value must be set accordingly: | |
42 | |
43 Note - application/x-microsoft.net.object.binary.base64 is the format | |
44 that the ResXResourceWriter will generate, however the reader can | |
45 read any of the formats listed below. | |
46 | |
47 mimetype: application/x-microsoft.net.object.binary.base64 | |
48 value : The object must be serialized with | |
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | |
50 : and then encoded with base64 encoding. | |
51 | |
52 mimetype: application/x-microsoft.net.object.soap.base64 | |
53 value : The object must be serialized with | |
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |
55 : and then encoded with base64 encoding. | |
56 | |
57 mimetype: application/x-microsoft.net.object.bytearray.base64 | |
58 value : The object must be serialized into a byte array | |
59 : using a System.ComponentModel.TypeConverter | |
60 : and then encoded with base64 encoding. | |
61 --> | |
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | |
64 <xsd:element name="root" msdata:IsDataSet="true"> | |
65 <xsd:complexType> | |
66 <xsd:choice maxOccurs="unbounded"> | |
67 <xsd:element name="metadata"> | |
68 <xsd:complexType> | |
69 <xsd:sequence> | |
70 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |
71 </xsd:sequence> | |
72 <xsd:attribute name="name" use="required" type="xsd:string" /> | |
73 <xsd:attribute name="type" type="xsd:string" /> | |
74 <xsd:attribute name="mimetype" type="xsd:string" /> | |
75 <xsd:attribute ref="xml:space" /> | |
76 </xsd:complexType> | |
77 </xsd:element> | |
78 <xsd:element name="assembly"> | |
79 <xsd:complexType> | |
80 <xsd:attribute name="alias" type="xsd:string" /> | |
81 <xsd:attribute name="name" type="xsd:string" /> | |
82 </xsd:complexType> | |
83 </xsd:element> | |
84 <xsd:element name="data"> | |
85 <xsd:complexType> | |
86 <xsd:sequence> | |
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |
89 </xsd:sequence> | |
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | |
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |
93 <xsd:attribute ref="xml:space" /> | |
94 </xsd:complexType> | |
95 </xsd:element> | |
96 <xsd:element name="resheader"> | |
97 <xsd:complexType> | |
98 <xsd:sequence> | |
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |
100 </xsd:sequence> | |
101 <xsd:attribute name="name" type="xsd:string" use="required" /> | |
102 </xsd:complexType> | |
103 </xsd:element> | |
104 </xsd:choice> | |
105 </xsd:complexType> | |
106 </xsd:element> | |
107 </xsd:schema> | |
108 <resheader name="resmimetype"> | |
109 <value>text/microsoft-resx</value> | |
110 </resheader> | |
111 <resheader name="version"> | |
112 <value>2.0</value> | |
113 </resheader> | |
114 <resheader name="reader"> | |
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
116 </resheader> | |
117 <resheader name="writer"> | |
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
119 </resheader> | |
120 <data name="DbManager_ConnectionTypeMismatch" xml:space="preserve"> | |
121 <value>The connection does not match the data provider type.</value> | |
122 </data> | |
123 <data name="DbManager_UnknownDataProvider" xml:space="preserve"> | |
124 <value>A suitable data provider is not available for configuration '{0}'.</value> | |
125 </data> | |
126 <data name="DbManager_UnknownConfiguration" xml:space="preserve"> | |
127 <value>The '{0}' key does not exist in the configuration file.</value> | |
128 </data> | |
129 <data name="DbManager_UnknownConnectionType" xml:space="preserve"> | |
130 <value>The '{0}' type of the connection could not be recognized.</value> | |
131 </data> | |
132 <data name="DbManager_NotDbDataParameter" xml:space="preserve"> | |
133 <value>Only objects of type IDbDataParameter or arrays of IDbDataParameter are supported</value> | |
134 </data> | |
135 <data name="DbManager_MismatchParameterCount" xml:space="preserve"> | |
136 <value>Parameter count does not match Parameter Value count.</value> | |
137 </data> | |
138 <data name="DbManager_InvalidDataProviderName" xml:space="preserve"> | |
139 <value>dataProvider.Name must be a valid string</value> | |
140 </data> | |
141 <data name="DbManager_InvalidDataProviderProviderName" xml:space="preserve"> | |
142 <value>dataProvider.ProviderName must be a valid string</value> | |
143 </data> | |
144 <data name="DbManager_InvalidDataProviderConnectionType" xml:space="preserve"> | |
145 <value>dataProvider.ConnectionType must be a valid connection type</value> | |
146 </data> | |
147 <data name="DbManager_InvalidProviderName" xml:space="preserve"> | |
148 <value>providerName must be a valid string</value> | |
149 </data> | |
150 <data name="DbManager_CannotUpdateNullDataset" xml:space="preserve"> | |
151 <value>DataSet must be initialized before calling Update routine. Cannot update database from a null dataset.</value> | |
152 </data> | |
153 <data name="DbManager_CannotUpdateNullDataTable" xml:space="preserve"> | |
154 <value>DataTable must be initialized before calling Update routine. Cannot update database from a null data table.</value> | |
155 </data> | |
156 <data name="EmitHelper_NotExpectedType" xml:space="preserve"> | |
157 <value>Type '{0}' is not expected.</value> | |
158 </data> | |
159 <data name="EmitHelper_NoSuchMethod" xml:space="preserve"> | |
160 <value>Failed to query type '{0}' for method '{1}'.</value> | |
161 </data> | |
162 <data name="Convert_InvalidCast" xml:space="preserve"> | |
163 <value>Invalid cast from {0} to {1}</value> | |
164 </data> | |
165 <data name="TypeBuilder_CannotGetGetter" xml:space="preserve"> | |
166 <value>The '{0}' type does not have appropriate getter. See '{1}' member '{2}' of '{3}' type.</value> | |
167 </data> | |
168 <data name="TypeBuilder_CannotGetSetter" xml:space="preserve"> | |
169 <value>The '{0}' type does not have appropriate setter. See '{1}' member '{2}' of '{3}' type.</value> | |
170 </data> | |
171 <data name="TypeBuilder_UnknownParameterType" xml:space="preserve"> | |
172 <value>The method '{0}' of '{1}' has parameter '{2}' wich can't be handled. Please specify attrbutes [Parent] or [PropertyInfo] to get access to them.</value> | |
173 </data> | |
174 <data name="TypeBuilder_NoDefaultCtor" xml:space="preserve"> | |
175 <value>Could not build the '{0}' type: default constructor not found.</value> | |
176 </data> | |
177 <data name="TypeBuilder_PropertyTypeHasNoPublicDefaultCtor" xml:space="preserve"> | |
178 <value>Could not build the '{0}' property of the '{1}' type: type '{2}' has to have public default constructor.</value> | |
179 </data> | |
180 <data name="TypeBuilder_PropertyTypeHasNoPublicCtor" xml:space="preserve"> | |
181 <value>Could not build the '{0}' property of the '{1}' type: type '{2}' has to have public constructor.</value> | |
182 </data> | |
183 <data name="TypeBuilder_PropertyTypeHasNoCtorWithParamType" xml:space="preserve"> | |
184 <value>Could not build the '{0}' property of the '{1}' type: type '{2}' has to have constructor taking type '{3}'.</value> | |
185 </data> | |
186 <data name="TypeBuilder_PublicMethodMustBeImplemented" xml:space="preserve"> | |
187 <value>Type '{0}' must implement required public method '{1}'</value> | |
188 </data> | |
189 <data name="TypeBuilder_PublicMethodNotImplemented" xml:space="preserve"> | |
190 <value>Type '{0}' does not implement public method '{1}'</value> | |
191 </data> | |
192 <data name="DuckTyping_InterfaceMustBePublic" xml:space="preserve"> | |
193 <value>The interface must be public.</value> | |
194 </data> | |
195 <data name="DuckTyping_InterfaceTypeMustBeAnInterface" xml:space="preserve"> | |
196 <value>'interfaceType' must be an interface.</value> | |
197 </data> | |
198 <data name="DuckTyping_NotASubtypeOf" xml:space="preserve"> | |
199 <value>'{0}' is not a subtype of '{1}'.</value> | |
200 </data> | |
201 <data name="DuckTyping_InvalidNumberOfObjs" xml:space="preserve"> | |
202 <value>Invalid number of 'baseObjectTypes' or 'objs'.</value> | |
203 </data> | |
204 <data name="MapIndex_EmptyNames" xml:space="preserve"> | |
205 <value>At least one field name must be specified</value> | |
206 </data> | |
207 <data name="MapIndex_EmptyIndices" xml:space="preserve"> | |
208 <value>At least one field index must be specified</value> | |
209 </data> | |
210 <data name="MapIndex_EmptyFields" xml:space="preserve"> | |
211 <value>At least one field name or index must be specified</value> | |
212 </data> | |
213 <data name="MapIndex_BadField" xml:space="preserve"> | |
214 <value>Type '{0}' does not contain field '{1}'.</value> | |
215 </data> | |
216 <data name="MappingSchema_IncompatibleArrayTypes" xml:space="preserve"> | |
217 <value>Can not convert array of type '{0}' to array of '{1}'.</value> | |
218 </data> | |
219 <data name="AsyncAspectBuilder_NoTargetMethod" xml:space="preserve"> | |
220 <value>Can not figure out the target method for the method '{0}.{1}'.</value> | |
221 </data> | |
222 <data name="OverloadAspectBuilder_NoOverloadedMethod" xml:space="preserve"> | |
223 <value>Can not figure out the overloaded method for the method '{0}.{1}'.</value> | |
224 </data> | |
225 <data name="DbManager_MoreThenOneDefaultProvider" xml:space="preserve"> | |
226 <value>Both `{0}' and `{1}' data providers are default</value> | |
227 </data> | |
228 <data name="TypeFactory_BuildFailed" xml:space="preserve"> | |
229 <value>Could not build the '{0}' type.</value> | |
230 </data> | |
231 <data name="AbstractClassBuilder_TypeIsNotAnInterface" xml:space="preserve"> | |
232 <value>The '{0}' must be an interface.</value> | |
233 </data> | |
234 <data name="DataAccessor_UnknownIndex" xml:space="preserve"> | |
235 <value>Index is not defined for the method '{0}.{1}'.</value> | |
236 </data> | |
237 <data name="DataAccessor_InvalidKeyType" xml:space="preserve"> | |
238 <value>Key type for the method '{0}.{1}' can be of type object or CompoundValue.</value> | |
239 </data> | |
240 <data name="DataAccessot_ParameterNotFound" xml:space="preserve"> | |
241 <value>No such parameter: '{0}'</value> | |
242 </data> | |
243 <data name="DataAccessor_IndexIsComplex" xml:space="preserve"> | |
244 <value>Index has more then one field for the method '{0}.{1}'. Use CompoundValue as the Key type</value> | |
245 </data> | |
246 <data name="DataAccessorBuilder_BadListItemType" xml:space="preserve"> | |
247 <value>Can not determine object type for the method '{0}.{1}'</value> | |
248 </data> | |
249 <data name="DataAccessorBuilder_BadKeyType" xml:space="preserve"> | |
250 <value>Key type for the method '{0}.{1}' can be of type object, CompoundValue, or a scalar type.</value> | |
251 </data> | |
252 <data name="DataAccessorBuilder_ScalarFieldNameMissing" xml:space="preserve"> | |
253 <value>Scalar field name is not defined for the method '{0}.{1}'.</value> | |
254 </data> | |
255 <data name="DataAccessorBuilderTooManyDestinations" xml:space="preserve"> | |
256 <value>More then one parameter is marked as destination</value> | |
257 </data> | |
258 <data name="DataAccessorBuilder_DataSetTableMustBeByName" xml:space="preserve"> | |
259 <value>DataSetTable attribute for method '{0}.{1}' may not be an index</value> | |
260 </data> | |
261 <data name="DataAccessorBuilder_CantExecuteNonQueryToDestination" xml:space="preserve"> | |
262 <value>ExecuteNonQuery does not support the Destination attribute</value> | |
263 </data> | |
264 <data name="DataAccessorBuilder_ScalarDestinationIsNotByRef" xml:space="preserve"> | |
265 <value>ExecuteScalar destination must be an out or a ref parameter.</value> | |
266 </data> | |
267 <data name="DataAccessorBuilder_IncompatibleDestinationType" xml:space="preserve"> | |
268 <value>The return type '{0}' of the method '{1}' is incompatible with the destination parameter type '{2}'.</value> | |
269 </data> | |
270 <data name="DataAccessorBuilder_CantCreateTypeInstance" xml:space="preserve"> | |
271 <value>Cannot create an instance of the type '{0}'</value> | |
272 </data> | |
273 <data name="DataAccessorBuilder_EqualsMethodIsNotPublic" xml:space="preserve"> | |
274 <value>The type '{0}' does not have 'Equals' method</value> | |
275 </data> | |
276 <data name="CacheAttribute_ParentTypeConstraintViolated" xml:space="preserve"> | |
277 <value>Parameter 'cacheAspectType' must be of CacheAspect type</value> | |
278 </data> | |
279 <data name="InterceptCallInfo_CallMethodInfoIsNotMutable" xml:space="preserve"> | |
280 <value>MethodInfo can not be changed.</value> | |
281 </data> | |
282 <data name="NameOrIndexParameter_BadName" xml:space="preserve"> | |
283 <value>Name must be a valid string.</value> | |
284 </data> | |
285 <data name="NameOrIndexParameter_BadIndex" xml:space="preserve"> | |
286 <value>The index parameter must be greater or equal to zero.</value> | |
287 </data> | |
288 <data name="DataAccessorBase_NoDbManager" xml:space="preserve"> | |
289 <value>DbManager object is not provided.</value> | |
290 </data> | |
291 <data name="TypeBuilder_GenericShouldBeSingleTyped" xml:space="preserve"> | |
292 <value>Could not build the '{0}' property of the '{1}' type: generic type '{2}' and it's generic parameter types should have only one parameter type.</value> | |
293 </data> | |
294 </root> |