mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-24 00:48:00 +08:00
1e0033166f
* Adds the GcodeThumbnailProvider * Registers the GcodeThumbnailProvider * Adds Settings support * Reverts solution changes back to original * Corrects "Gcode" text with "G-code" * Adds gcode thumbnail setting description * Follow up on PR review comments * Adds GcodePreviewHandler * Follow up on PR review comments * Renames assemblies following #14903
189 lines
8.4 KiB
XML
189 lines
8.4 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="General_Description" xml:space="preserve">
|
|
<value>PowerToys add-ons for Windows File Explorer.</value>
|
|
</data>
|
|
<data name="Module_Name" xml:space="preserve">
|
|
<value>File Explorer</value>
|
|
</data>
|
|
<data name="Icon_Key_Name" xml:space="preserve">
|
|
<value>pt-power-preview</value>
|
|
</data>
|
|
<data name="Explr_Icons_Prev_Sttngs_Group_Desc" xml:space="preserve">
|
|
<value>Settings Group Header Text</value>
|
|
</data>
|
|
<data name="Explr_Icons_Prev_Sttngs_Group_Text" xml:space="preserve">
|
|
<value>Explorer Icons</value>
|
|
</data>
|
|
<data name="Prvpane_File_Prev_Sttngs_Group_Desc" xml:space="preserve">
|
|
<value>Settings Group Header Text</value>
|
|
</data>
|
|
<data name="Prvpane_File_Prev_Sttngs_Group_Text" xml:space="preserve">
|
|
<value>Preview pane extensions</value>
|
|
</data>
|
|
<data name="Prevpane_Md_Settings_Description" xml:space="preserve">
|
|
<value>Markdown Previewer</value>
|
|
</data>
|
|
<data name="Prevpane_Md_Settings_Displayname" xml:space="preserve">
|
|
<value>Markdown Previewer</value>
|
|
</data>
|
|
<data name="Prevpane_Svg_Settings_Description" xml:space="preserve">
|
|
<value>Svg Previewer</value>
|
|
</data>
|
|
<data name="Prevpane_Svg_Settings_Displayname" xml:space="preserve">
|
|
<value>SVG Previewer</value>
|
|
</data>
|
|
<data name="Svg_Thumbnail_Provider_Settings_Description" xml:space="preserve">
|
|
<value>Svg Thumbnail Provider</value>
|
|
</data>
|
|
<data name="Explr_Svg_Settings_Description" xml:space="preserve">
|
|
<value>Render SVG images</value>
|
|
</data>
|
|
<data name="FileExplorer_Admin_Restart_Warning_Description" xml:space="preserve">
|
|
<value>Some of the File Explorer modules could not be turned off/on as per your settings. Please restart PowerToys as admin for the changes to take place.</value>
|
|
</data>
|
|
<data name="FileExplorer_Admin_Restart_Warning_Title" xml:space="preserve">
|
|
<value>Couldn't modify File Explorer modules</value>
|
|
</data>
|
|
<data name="FileExplorer_Admin_Restart_Warning_Open_Settings" xml:space="preserve">
|
|
<value>Open Settings</value>
|
|
</data>
|
|
<data name="FileExplorer_Admin_Restart_Warning_Dont_Show_Again" xml:space="preserve">
|
|
<value>Don't show again</value>
|
|
</data>
|
|
<data name="Prevpane_Pdf_Settings_Description" xml:space="preserve">
|
|
<value>PDF Previewer</value>
|
|
</data>
|
|
<data name="Prevpane_Pdf_Settings_Displayname" xml:space="preserve">
|
|
<value>PDF Previewer</value>
|
|
</data>
|
|
<data name="Pdf_Thumbnail_Provider_Settings_Description" xml:space="preserve">
|
|
<value>Pdf Thumbnail Provider</value>
|
|
</data>
|
|
<data name="Gcode_Thumbnail_Provider_Settings_Description" xml:space="preserve">
|
|
<value>G-code Thumbnail Provider</value>
|
|
</data>
|
|
<data name="Prevpane_Gcode_Settings_Description" xml:space="preserve">
|
|
<value>G-code Previewer</value>
|
|
</data>
|
|
<data name="Prevpane_Gcode_Settings_Displayname" xml:space="preserve">
|
|
<value>G-code Previewer</value>
|
|
</data>
|
|
</root> |