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