Statistics
| Branch: | Revision:

root / trunk / Pithos.ShellExtensions / Properties / Resources.resx @ f3d080df

History | View | Annotate | Download (6.4 kB)

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