9ca32aa3ea
* Implements option to remove metadata (see #1928) * Add unit test * renamed settings switch, update ui text * Fix exception type, add justification for swallowing exception * Add unit test to check handling if no metadata is there in targetfile * Reordered the checkboxes as suggested by @htcfreek * Reduced size of test image
286 lines
11 KiB
XML
286 lines
11 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="AllFilesFilter" xml:space="preserve">
|
|
<value>All Files</value>
|
|
</data>
|
|
<data name="Cancel" xml:space="preserve">
|
|
<value>Cancel</value>
|
|
</data>
|
|
<data name="Height" xml:space="preserve">
|
|
<value>Height</value>
|
|
</data>
|
|
<data name="ImageResizer" xml:space="preserve">
|
|
<value>Image Resizer</value>
|
|
<comment>Product name, do not loc</comment>
|
|
</data>
|
|
<data name="Input_Auto" xml:space="preserve">
|
|
<value>(auto)</value>
|
|
</data>
|
|
<data name="Input_Content" xml:space="preserve">
|
|
<value>Select a size</value>
|
|
</data>
|
|
<data name="Input_Custom" xml:space="preserve">
|
|
<value>Custom</value>
|
|
</data>
|
|
<data name="Input_IgnoreOrientation" xml:space="preserve">
|
|
<value>Ign_ore the orientation of pictures</value>
|
|
</data>
|
|
<data name="Input_GifWarning" xml:space="preserve">
|
|
<value>Gif files with animations may not be correctly resized.</value>
|
|
</data>
|
|
<data name="Input_Replace" xml:space="preserve">
|
|
<value>R_esize the original pictures (don't create copies)</value>
|
|
</data>
|
|
<data name="Input_Resize" xml:space="preserve">
|
|
<value>Resize</value>
|
|
</data>
|
|
<data name="Input_ShrinkOnly" xml:space="preserve">
|
|
<value>_Make pictures smaller but not larger</value>
|
|
</data>
|
|
<data name="Large" xml:space="preserve">
|
|
<value>Large</value>
|
|
</data>
|
|
<data name="Medium" xml:space="preserve">
|
|
<value>Medium</value>
|
|
</data>
|
|
<data name="OK" xml:space="preserve">
|
|
<value>OK</value>
|
|
</data>
|
|
<data name="OK_Tooltip" xml:space="preserve">
|
|
<value>Apply settings</value>
|
|
</data>
|
|
<data name="Phone" xml:space="preserve">
|
|
<value>Phone</value>
|
|
</data>
|
|
<data name="PictureFilter" xml:space="preserve">
|
|
<value>All Picture Files</value>
|
|
</data>
|
|
<data name="PngInterlaceOption_Default" xml:space="preserve">
|
|
<value>(Default)</value>
|
|
</data>
|
|
<data name="PngInterlaceOption_Off" xml:space="preserve">
|
|
<value>Off</value>
|
|
</data>
|
|
<data name="PngInterlaceOption_On" xml:space="preserve">
|
|
<value>On</value>
|
|
</data>
|
|
<data name="Progress_MainInstruction" xml:space="preserve">
|
|
<value>Resizing your pictures...</value>
|
|
</data>
|
|
<data name="Progress_Stop" xml:space="preserve">
|
|
<value>_Stop</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_HourMinute" xml:space="preserve">
|
|
<value>About {0} hour, {1} minute remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_HourMinutes" xml:space="preserve">
|
|
<value>About {0} hour, {1} minutes remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_HoursMinute" xml:space="preserve">
|
|
<value>About {0} hours, {1} minute remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_HoursMinutes" xml:space="preserve">
|
|
<value>About {0} hours, {1} minutes remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_MinuteSecond" xml:space="preserve">
|
|
<value>About {1} minute, {2} second remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_MinuteSeconds" xml:space="preserve">
|
|
<value>About {1} minute, {2} seconds remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_MinutesSecond" xml:space="preserve">
|
|
<value>About {1} minutes, {2} second remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_MinutesSeconds" xml:space="preserve">
|
|
<value>About {1} minutes, {2} seconds remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_Second" xml:space="preserve">
|
|
<value>About {2} second remaining.</value>
|
|
</data>
|
|
<data name="Progress_TimeRemaining_Seconds" xml:space="preserve">
|
|
<value>About {2} seconds remaining.</value>
|
|
</data>
|
|
<data name="ResizeFit_Fill" xml:space="preserve">
|
|
<value>Fill</value>
|
|
</data>
|
|
<data name="ResizeFit_Fill_ThirdPersonSingular" xml:space="preserve">
|
|
<value>fills</value>
|
|
</data>
|
|
<data name="ResizeFit_Fit" xml:space="preserve">
|
|
<value>Fit</value>
|
|
</data>
|
|
<data name="ResizeFit_Fit_ThirdPersonSingular" xml:space="preserve">
|
|
<value>fits within</value>
|
|
</data>
|
|
<data name="ResizeFit_Stretch" xml:space="preserve">
|
|
<value>Stretch</value>
|
|
</data>
|
|
<data name="ResizeFit_Stretch_ThirdPersonSingular" xml:space="preserve">
|
|
<value>stretches to</value>
|
|
</data>
|
|
<data name="ResizeUnit_Centimeter" xml:space="preserve">
|
|
<value>Centimeters</value>
|
|
</data>
|
|
<data name="ResizeUnit_Inch" xml:space="preserve">
|
|
<value>Inches</value>
|
|
</data>
|
|
<data name="ResizeUnit_Percent" xml:space="preserve">
|
|
<value>Percent</value>
|
|
</data>
|
|
<data name="ResizeUnit_Pixel" xml:space="preserve">
|
|
<value>Pixels</value>
|
|
</data>
|
|
<data name="Resize_Tooltip" xml:space="preserve">
|
|
<value>Resize pictures</value>
|
|
</data>
|
|
<data name="Resize_Type" xml:space="preserve">
|
|
<value>Resize type</value>
|
|
</data>
|
|
<data name="Results_Close" xml:space="preserve">
|
|
<value>Close</value>
|
|
</data>
|
|
<data name="Results_MainInstruction" xml:space="preserve">
|
|
<value>Can't resize the following pictures</value>
|
|
</data>
|
|
<data name="Small" xml:space="preserve">
|
|
<value>Small</value>
|
|
</data>
|
|
<data name="Times_Symbol" xml:space="preserve">
|
|
<value>Times Symbol</value>
|
|
</data>
|
|
<data name="Unit" xml:space="preserve">
|
|
<value>Unit</value>
|
|
</data>
|
|
<data name="ValueMustBeBetween" xml:space="preserve">
|
|
<value>Value must be between '{0}' and '{1}'.</value>
|
|
</data>
|
|
<data name="Version" xml:space="preserve">
|
|
<value>Version</value>
|
|
</data>
|
|
<data name="Width" xml:space="preserve">
|
|
<value>Width</value>
|
|
</data>
|
|
<data name="Open_settings" xml:space="preserve">
|
|
<value>Open settings</value>
|
|
</data>
|
|
<data name="Input_RemoveMetadata" xml:space="preserve">
|
|
<value>Remove metadata that doesn't affect rendering</value>
|
|
</data>
|
|
</root> |