root / trunk / Pithos.Client.WPF / Properties / Resources.resx @ 422c9598
History | View | Annotate | Download (5.4 kB)
1 | 9bae55d1 | Panagiotis Kanavos | <?xml version="1.0" encoding="utf-8"?> |
---|---|---|---|
2 | 9bae55d1 | Panagiotis Kanavos | <root> |
3 | 9bae55d1 | Panagiotis Kanavos | <!-- |
4 | 9bae55d1 | Panagiotis Kanavos | Microsoft ResX Schema |
5 | 9bae55d1 | Panagiotis Kanavos | |
6 | 9bae55d1 | Panagiotis Kanavos | Version 2.0 |
7 | 9bae55d1 | Panagiotis Kanavos | |
8 | 9bae55d1 | Panagiotis Kanavos | The primary goals of this format is to allow a simple XML format |
9 | 9bae55d1 | Panagiotis Kanavos | that is mostly human readable. The generation and parsing of the |
10 | 9bae55d1 | Panagiotis Kanavos | various data types are done through the TypeConverter classes |
11 | 9bae55d1 | Panagiotis Kanavos | associated with the data types. |
12 | 9bae55d1 | Panagiotis Kanavos | |
13 | 9bae55d1 | Panagiotis Kanavos | Example: |
14 | 9bae55d1 | Panagiotis Kanavos | |
15 | 9bae55d1 | Panagiotis Kanavos | ... ado.net/XML headers & schema ... |
16 | 9bae55d1 | Panagiotis Kanavos | <resheader name="resmimetype">text/microsoft-resx</resheader> |
17 | 9bae55d1 | Panagiotis Kanavos | <resheader name="version">2.0</resheader> |
18 | 9bae55d1 | Panagiotis Kanavos | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
19 | 9bae55d1 | Panagiotis Kanavos | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
20 | 9bae55d1 | Panagiotis Kanavos | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
21 | 9bae55d1 | Panagiotis Kanavos | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
22 | 9bae55d1 | Panagiotis Kanavos | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
23 | 9bae55d1 | Panagiotis Kanavos | <value>[base64 mime encoded serialized .NET Framework object]</value> |
24 | 9bae55d1 | Panagiotis Kanavos | </data> |
25 | 9bae55d1 | Panagiotis Kanavos | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
26 | 9bae55d1 | Panagiotis Kanavos | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
27 | 9bae55d1 | Panagiotis Kanavos | <comment>This is a comment</comment> |
28 | 9bae55d1 | Panagiotis Kanavos | </data> |
29 | 9bae55d1 | Panagiotis Kanavos | |
30 | 9bae55d1 | Panagiotis Kanavos | There are any number of "resheader" rows that contain simple |
31 | 9bae55d1 | Panagiotis Kanavos | name/value pairs. |
32 | 9bae55d1 | Panagiotis Kanavos | |
33 | 9bae55d1 | Panagiotis Kanavos | Each data row contains a name, and value. The row also contains a |
34 | 9bae55d1 | Panagiotis Kanavos | type or mimetype. Type corresponds to a .NET class that support |
35 | 9bae55d1 | Panagiotis Kanavos | text/value conversion through the TypeConverter architecture. |
36 | 9bae55d1 | Panagiotis Kanavos | Classes that don't support this are serialized and stored with the |
37 | 9bae55d1 | Panagiotis Kanavos | mimetype set. |
38 | 9bae55d1 | Panagiotis Kanavos | |
39 | 9bae55d1 | Panagiotis Kanavos | The mimetype is used for serialized objects, and tells the |
40 | 9bae55d1 | Panagiotis Kanavos | ResXResourceReader how to depersist the object. This is currently not |
41 | 9bae55d1 | Panagiotis Kanavos | extensible. For a given mimetype the value must be set accordingly: |
42 | 9bae55d1 | Panagiotis Kanavos | |
43 | 9bae55d1 | Panagiotis Kanavos | Note - application/x-microsoft.net.object.binary.base64 is the format |
44 | 9bae55d1 | Panagiotis Kanavos | that the ResXResourceWriter will generate, however the reader can |
45 | 9bae55d1 | Panagiotis Kanavos | read any of the formats listed below. |
46 | 9bae55d1 | Panagiotis Kanavos | |
47 | 9bae55d1 | Panagiotis Kanavos | mimetype: application/x-microsoft.net.object.binary.base64 |
48 | 9bae55d1 | Panagiotis Kanavos | value : The object must be serialized with |
49 | 9bae55d1 | Panagiotis Kanavos | : System.Serialization.Formatters.Binary.BinaryFormatter |
50 | 9bae55d1 | Panagiotis Kanavos | : and then encoded with base64 encoding. |
51 | 9bae55d1 | Panagiotis Kanavos | |
52 | 9bae55d1 | Panagiotis Kanavos | mimetype: application/x-microsoft.net.object.soap.base64 |
53 | 9bae55d1 | Panagiotis Kanavos | value : The object must be serialized with |
54 | 9bae55d1 | Panagiotis Kanavos | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
55 | 9bae55d1 | Panagiotis Kanavos | : and then encoded with base64 encoding. |
56 | 9bae55d1 | Panagiotis Kanavos | |
57 | 9bae55d1 | Panagiotis Kanavos | mimetype: application/x-microsoft.net.object.bytearray.base64 |
58 | 9bae55d1 | Panagiotis Kanavos | value : The object must be serialized into a byte array |
59 | 9bae55d1 | Panagiotis Kanavos | : using a System.ComponentModel.TypeConverter |
60 | 9bae55d1 | Panagiotis Kanavos | : and then encoded with base64 encoding. |
61 | 9bae55d1 | Panagiotis Kanavos | --> |
62 | 9bae55d1 | Panagiotis Kanavos | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
63 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="root" msdata:IsDataSet="true"> |
64 | 9bae55d1 | Panagiotis Kanavos | <xsd:complexType> |
65 | 9bae55d1 | Panagiotis Kanavos | <xsd:choice maxOccurs="unbounded"> |
66 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="metadata"> |
67 | 9bae55d1 | Panagiotis Kanavos | <xsd:complexType> |
68 | 9bae55d1 | Panagiotis Kanavos | <xsd:sequence> |
69 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
70 | 9bae55d1 | Panagiotis Kanavos | </xsd:sequence> |
71 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="name" type="xsd:string" /> |
72 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="type" type="xsd:string" /> |
73 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="mimetype" type="xsd:string" /> |
74 | 9bae55d1 | Panagiotis Kanavos | </xsd:complexType> |
75 | 9bae55d1 | Panagiotis Kanavos | </xsd:element> |
76 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="assembly"> |
77 | 9bae55d1 | Panagiotis Kanavos | <xsd:complexType> |
78 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="alias" type="xsd:string" /> |
79 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="name" type="xsd:string" /> |
80 | 9bae55d1 | Panagiotis Kanavos | </xsd:complexType> |
81 | 9bae55d1 | Panagiotis Kanavos | </xsd:element> |
82 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="data"> |
83 | 9bae55d1 | Panagiotis Kanavos | <xsd:complexType> |
84 | 9bae55d1 | Panagiotis Kanavos | <xsd:sequence> |
85 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
86 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
87 | 9bae55d1 | Panagiotis Kanavos | </xsd:sequence> |
88 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> |
89 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
90 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
91 | 9bae55d1 | Panagiotis Kanavos | </xsd:complexType> |
92 | 9bae55d1 | Panagiotis Kanavos | </xsd:element> |
93 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="resheader"> |
94 | 9bae55d1 | Panagiotis Kanavos | <xsd:complexType> |
95 | 9bae55d1 | Panagiotis Kanavos | <xsd:sequence> |
96 | 9bae55d1 | Panagiotis Kanavos | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
97 | 9bae55d1 | Panagiotis Kanavos | </xsd:sequence> |
98 | 9bae55d1 | Panagiotis Kanavos | <xsd:attribute name="name" type="xsd:string" use="required" /> |
99 | 9bae55d1 | Panagiotis Kanavos | </xsd:complexType> |
100 | 9bae55d1 | Panagiotis Kanavos | </xsd:element> |
101 | 9bae55d1 | Panagiotis Kanavos | </xsd:choice> |
102 | 9bae55d1 | Panagiotis Kanavos | </xsd:complexType> |
103 | 9bae55d1 | Panagiotis Kanavos | </xsd:element> |
104 | 9bae55d1 | Panagiotis Kanavos | </xsd:schema> |
105 | 9bae55d1 | Panagiotis Kanavos | <resheader name="resmimetype"> |
106 | 9bae55d1 | Panagiotis Kanavos | <value>text/microsoft-resx</value> |
107 | 9bae55d1 | Panagiotis Kanavos | </resheader> |
108 | 9bae55d1 | Panagiotis Kanavos | <resheader name="version"> |
109 | 9bae55d1 | Panagiotis Kanavos | <value>2.0</value> |
110 | 9bae55d1 | Panagiotis Kanavos | </resheader> |
111 | 9bae55d1 | Panagiotis Kanavos | <resheader name="reader"> |
112 | 9bae55d1 | Panagiotis Kanavos | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
113 | 9bae55d1 | Panagiotis Kanavos | </resheader> |
114 | 9bae55d1 | Panagiotis Kanavos | <resheader name="writer"> |
115 | 9bae55d1 | Panagiotis Kanavos | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
116 | 9bae55d1 | Panagiotis Kanavos | </resheader> |
117 | 9bae55d1 | Panagiotis Kanavos | </root> |