Skip to content

A Swiss Army knife for developers.

Added a new reusable FileSelector control allowing tools to get one or many files as input. (#308)

Etienne Baudoux5708f953b05a
diff --git a/README.md b/README.md
index a434fa5d4..b304203e2 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@ Here is the list of tool name you can use:
- `hash` - Hash Generator
- `uuid` - UUID Generator
- `loremipsum` - Lorem Ipsum Generator
-- `checksum` - CheckSum File
+- `checksum` - Checksum File
- `jsonformat` Json Formatter
- `sqlformat` - SQL Formatter
- `jsonyaml` - Json <> Yaml
diff --git a/src/dev/impl/DevToys/DevToys.csproj b/src/dev/impl/DevToys/DevToys.csproj
index fcb422797..566783b8d 100644
--- a/src/dev/impl/DevToys/DevToys.csproj
+++ b/src/dev/impl/DevToys/DevToys.csproj
@@ -67,6 +67,9 @@
<Compile Include="Models\Radix.cs" />
<Compile Include="Models\NumberBaseFormat.cs" />
<Compile Include="Models\TileIconSizeDefinition.cs" />
+ <Compile Include="UI\Controls\FileSelector.xaml.cs">
+ <DependentUpon>FileSelector.xaml</DependentUpon>
+ </Compile>
<Compile Include="UI\Controls\ToolProvidersGridView.xaml.cs">
<DependentUpon>ToolProvidersGridView.xaml</DependentUpon>
</Compile>
@@ -533,6 +536,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
+ <Page Include="UI\Controls\FileSelector.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
<Page Include="UI\Controls\ToolProvidersGridView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
diff --git a/src/dev/impl/DevToys/LanguageManager.cs b/src/dev/impl/DevToys/LanguageManager.cs
index 24b1fb0ca..63f43d968 100644
--- a/src/dev/impl/DevToys/LanguageManager.cs
+++ b/src/dev/impl/DevToys/LanguageManager.cs
@@ -393,36 +393,11 @@ namespace DevToys
/// </summary>
public string OutputComparer => _resources.GetString("OutputComparer");
- /// <summary>
- /// Gets the resource SaveAs.
- /// </summary>
- public string SaveAs => _resources.GetString("SaveAs");
-
/// <summary>
/// Gets the resource SearchDisplayName.
/// </summary>
public string SearchDisplayName => _resources.GetString("SearchDisplayName");
- /// <summary>
- /// Gets the resource SelectFilesInstruction1.
- /// </summary>
- public string SelectFilesInstruction1 => _resources.GetString("SelectFilesInstruction1");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction2.
- /// </summary>
- public string SelectFilesInstruction2 => _resources.GetString("SelectFilesInstruction2");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction3.
- /// </summary>
- public string SelectFilesInstruction3 => _resources.GetString("SelectFilesInstruction3");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction4.
- /// </summary>
- public string SelectFilesInstruction4 => _resources.GetString("SelectFilesInstruction4");
-
/// <summary>
/// Gets the resource Uppercase.
/// </summary>
@@ -453,26 +428,6 @@ namespace DevToys
/// </summary>
public string SearchDisplayName => _resources.GetString("SearchDisplayName");
- /// <summary>
- /// Gets the resource InvalidSelectedFiles.
- /// </summary>
- public string InvalidSelectedFiles => _resources.GetString("InvalidSelectedFiles");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction1.
- /// </summary>
- public string SelectFilesInstruction1 => _resources.GetString("SelectFilesInstruction1");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction2.
- /// </summary>
- public string SelectFilesInstruction2 => _resources.GetString("SelectFilesInstruction2");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction3.
- /// </summary>
- public string SelectFilesInstruction3 => _resources.GetString("SelectFilesInstruction3");
-
/// <summary>
/// Gets the resource SaveAs.
/// </summary>
@@ -502,11 +457,6 @@ namespace DevToys
/// Gets the resource TritanopiaSimulation.
/// </summary>
public string TritanopiaSimulation => _resources.GetString("TritanopiaSimulation");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction4.
- /// </summary>
- public string SelectFilesInstruction4 => _resources.GetString("SelectFilesInstruction4");
}
public class CommonStrings : ObservableObject
@@ -538,6 +488,70 @@ namespace DevToys
/// </summary>
public string Delete => _resources.GetString("Delete");
+ /// <summary>
+ /// Gets the resource FileSelectorBrowseFiles.
+ /// </summary>
+ public string FileSelectorBrowseFiles => _resources.GetString("FileSelectorBrowseFiles");
+
+ /// <summary>
+ /// Gets the resource FileSelectorBrowseFolders.
+ /// </summary>
+ public string FileSelectorBrowseFolders => _resources.GetString("FileSelectorBrowseFolders");
+
+ /// <summary>
+ /// Gets the resource FileSelectorDragDropAnyFile.
+ /// </summary>
+ public string FileSelectorDragDropAnyFile => _resources.GetString("FileSelectorDragDropAnyFile");
+
+ /// <summary>
+ /// Gets the resource FileSelectorDragDropAnyFiles.
+ /// </summary>
+ public string FileSelectorDragDropAnyFiles => _resources.GetString("FileSelectorDragDropAnyFiles");
+
+ /// <summary>
+ /// Gets the resource FileSelectorDragDropAnySpecificFile.
+ /// </summary>
+ public string FileSelectorDragDropAnySpecificFile => _resources.GetString("FileSelectorDragDropAnySpecificFile");
+
+ /// <summary>
+ /// Gets the resource FileSelectorDragDropAnySpecificFile with format.
+ /// </summary>
+ public string GetFormattedFileSelectorDragDropAnySpecificFile(string? param0)
+ {
+ return string.Format(FileSelectorDragDropAnySpecificFile, param0);
+ }
+
+ /// <summary>
+ /// Gets the resource FileSelectorDragDropAnySpecificFiles.
+ /// </summary>
+ public string FileSelectorDragDropAnySpecificFiles => _resources.GetString("FileSelectorDragDropAnySpecificFiles");
+
+ /// <summary>
+ /// Gets the resource FileSelectorDragDropAnySpecificFiles with format.
+ /// </summary>
+ public string GetFormattedFileSelectorDragDropAnySpecificFiles(string? param0)
+ {
+ return string.Format(FileSelectorDragDropAnySpecificFiles, param0);
+ }
+
+ /// <summary>
+ /// Gets the resource FileSelectorInvalidSelectedFiles.
+ /// </summary>
+ public string FileSelectorInvalidSelectedFiles => _resources.GetString("FileSelectorInvalidSelectedFiles");
+
+ /// <summary>
+ /// Gets the resource FileSelectorInvalidSelectedFiles with format.
+ /// </summary>
+ public string GetFormattedFileSelectorInvalidSelectedFiles(string? param0)
+ {
+ return string.Format(FileSelectorInvalidSelectedFiles, param0);
+ }
+
+ /// <summary>
+ /// Gets the resource FileSelectorOr.
+ /// </summary>
+ public string FileSelectorOr => _resources.GetString("FileSelectorOr");
+
/// <summary>
/// Gets the resource Gigabytes.
/// </summary>
@@ -971,11 +985,6 @@ namespace DevToys
/// </summary>
public string FileSizeDisplay => _resources.GetString("FileSizeDisplay");
- /// <summary>
- /// Gets the resource InvalidSelectedFiles.
- /// </summary>
- public string InvalidSelectedFiles => _resources.GetString("InvalidSelectedFiles");
-
/// <summary>
/// Gets the resource OK.
/// </summary>
@@ -996,21 +1005,6 @@ namespace DevToys
/// </summary>
public string SeeErrorMessage => _resources.GetString("SeeErrorMessage");
- /// <summary>
- /// Gets the resource SelectFilesInstruction1.
- /// </summary>
- public string SelectFilesInstruction1 => _resources.GetString("SelectFilesInstruction1");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction2.
- /// </summary>
- public string SelectFilesInstruction2 => _resources.GetString("SelectFilesInstruction2");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction3.
- /// </summary>
- public string SelectFilesInstruction3 => _resources.GetString("SelectFilesInstruction3");
-
/// <summary>
/// Gets the resource Description.
/// </summary>
@@ -1688,11 +1682,6 @@ namespace DevToys
/// </summary>
public string FileSizeDisplay => _resources.GetString("FileSizeDisplay");
- /// <summary>
- /// Gets the resource InvalidSelectedFiles.
- /// </summary>
- public string InvalidSelectedFiles => _resources.GetString("InvalidSelectedFiles");
-
/// <summary>
/// Gets the resource OK.
/// </summary>
@@ -1713,21 +1702,6 @@ namespace DevToys
/// </summary>
public string SeeErrorMessage => _resources.GetString("SeeErrorMessage");
- /// <summary>
- /// Gets the resource SelectFilesInstruction1.
- /// </summary>
- public string SelectFilesInstruction1 => _resources.GetString("SelectFilesInstruction1");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction2.
- /// </summary>
- public string SelectFilesInstruction2 => _resources.GetString("SelectFilesInstruction2");
-
- /// <summary>
- /// Gets the resource SelectFilesInstruction3.
- /// </summary>
- public string SelectFilesInstruction3 => _resources.GetString("SelectFilesInstruction3");
-
/// <summary>
/// Gets the resource Description.
/// </summary>
diff --git a/src/dev/impl/DevToys/Strings/cs-CZ/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/cs-CZ/CheckSumGenerator.resw
index aaf09ef93..9a2c92b38 100644
--- a/src/dev/impl/DevToys/Strings/cs-CZ/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/cs-CZ/CheckSumGenerator.resw
@@ -148,19 +148,7 @@
<value>Porovnání s výstupem</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>Kontrolní součet</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Sem přetáhněte soubory</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>nebo</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procházet soubory</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Vložit</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Velká písmena</value>
diff --git a/src/dev/impl/DevToys/Strings/cs-CZ/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/cs-CZ/ColorBlindnessSimulator.resw
index 5b3e11605..348ac51f7 100644
--- a/src/dev/impl/DevToys/Strings/cs-CZ/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/cs-CZ/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulátor Barvosleposti</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Pouze soubory .png, .jpg, .jpeg nebo .bmp mohou být použity.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Sem přetáhněte soubory PNG, JPEG nebo BMP</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>nebo</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procházet soubory</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Uložit jako</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulace Tritanopie</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Vložit</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/cs-CZ/Common.resw b/src/dev/impl/DevToys/Strings/cs-CZ/Common.resw
index 507ef84ea..0e72a4338 100644
--- a/src/dev/impl/DevToys/Strings/cs-CZ/Common.resw
+++ b/src/dev/impl/DevToys/Strings/cs-CZ/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Odstranit</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/cs-CZ/ImageConverter.resw b/src/dev/impl/DevToys/Strings/cs-CZ/ImageConverter.resw
index b421d082e..d8cf5560c 100644
--- a/src/dev/impl/DevToys/Strings/cs-CZ/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/cs-CZ/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Pouze soubory .png, .jpg a .jpeg mohou být použity.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Zobrazit detaily</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Sem přetáhněte soubory obrázků</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>nebo</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procházet soubory</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Bezztrátová konverze obrázků</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/cs-CZ/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/cs-CZ/PngJpgCompressor.resw
index 1c0d9ef43..c9c6095b8 100644
--- a/src/dev/impl/DevToys/Strings/cs-CZ/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/cs-CZ/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Jsou podporovány pouze soubory .png, .jpg a .jpeg.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Zobrazit podrobnosti</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Sem přetáhněte soubory PNG nebo JPEG</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>nebo</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procházet soubory</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Bezztrátové optimalizování PNG a JPEG</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/de-DE/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/de-DE/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/de-DE/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/de-DE/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/de-DE/ColorBlindnessSimulator.resw
index ecc221117..db747a6b7 100644
--- a/src/dev/impl/DevToys/Strings/de-DE/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/de-DE/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Farbenblindheits Simulator</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Es können nur .png, .jpg, .jpeg oder .bmp Dateien verwendet werden.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop deine PNG, JPEG oder BMP Datei hier</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>oder</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Dateien durchsuchen</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Speichern als</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Tritanopie simulieren</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Einfügen</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/de-DE/Common.resw b/src/dev/impl/DevToys/Strings/de-DE/Common.resw
index ff52881f0..f09e85dd0 100644
--- a/src/dev/impl/DevToys/Strings/de-DE/Common.resw
+++ b/src/dev/impl/DevToys/Strings/de-DE/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Löschen</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/de-DE/ImageConverter.resw b/src/dev/impl/DevToys/Strings/de-DE/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/de-DE/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/de-DE/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/de-DE/PngJpgCompressor.resw
index 1e127b5d5..8006739d7 100644
--- a/src/dev/impl/DevToys/Strings/de-DE/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/de-DE/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} ist eine Dezimalzahl, welche die Dateigröße darstellt. {1} ist eine Einheit, wie Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Nur .png, .jpg und .jpeg Dateien können verwendet werden.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Details anzeigen...</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop deine PNG oder JPEG Datei hier</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>oder</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Dateien durchsuchen</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Verlustfreier PNG und JPEG Optimierer</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/en-US/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/en-US/CheckSumGenerator.resw
index 508515613..7e602e247 100644
--- a/src/dev/impl/DevToys/Strings/en-US/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/en-US/CheckSumGenerator.resw
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
- <value>CheckSum Generator tool</value>
+ <value>Checksum Generator tool</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
@@ -127,7 +127,7 @@
<value>Configuration</value>
</data>
<data name="Description" xml:space="preserve">
- <value>Generate an hash with CheckSum based on a file</value>
+ <value>Generate an hash with Checksum based on a file</value>
</data>
<data name="HashingAlgorithmDescription" xml:space="preserve">
<value>Select which hashing algorithm you want to use</value>
@@ -139,7 +139,7 @@
<value>Input</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>Output</value>
@@ -147,23 +147,8 @@
<data name="OutputComparer" xml:space="preserve">
<value>Output Comparer</value>
</data>
- <data name="SaveAs" xml:space="preserve">
- <value>Save as</value>
- </data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Uppercase</value>
diff --git a/src/dev/impl/DevToys/Strings/en-US/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/en-US/ColorBlindnessSimulator.resw
index 26b764f85..170beaec7 100644
--- a/src/dev/impl/DevToys/Strings/en-US/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/en-US/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Color Blindness Simulator</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only a .png, .jpg, .jpeg or .bmp file can be used.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a PNG, JPEG or BMP file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Save as</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Tritanopia simulation</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/en-US/Common.resw b/src/dev/impl/DevToys/Strings/en-US/Common.resw
index 2a0ea05fe..177fea0ba 100644
--- a/src/dev/impl/DevToys/Strings/en-US/Common.resw
+++ b/src/dev/impl/DevToys/Strings/en-US/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Delete</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw b/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw
index ca2eeb44f..270f13d0c 100644
--- a/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/en-US/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only .png, .jpg and .jpeg files can be used.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>See details</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop image files here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Lossless image converter</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/en-US/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/en-US/PngJpgCompressor.resw
index 40492ab2d..955922406 100644
--- a/src/dev/impl/DevToys/Strings/en-US/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/en-US/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only .png, .jpg and .jpeg files can be used.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>See details</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop PNG or JPEG files here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Lossless PNG and JPEG optimizer</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/es-AR/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/es-AR/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/es-AR/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/es-AR/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/es-AR/ColorBlindnessSimulator.resw
index 0ef28d5e4..2efd60038 100644
--- a/src/dev/impl/DevToys/Strings/es-AR/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/es-AR/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulador de Daltonismo</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Solo archivos .png, .jpg, .jpeg o .bmp pueden ser usados.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arrastrá y solta un archivo PNG, JPEG o BMP acá</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>o</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Buscar archivos</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Guardar como</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulación de tritanopía</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Pegar</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/es-AR/Common.resw b/src/dev/impl/DevToys/Strings/es-AR/Common.resw
index 416e7de67..36c3833c9 100644
--- a/src/dev/impl/DevToys/Strings/es-AR/Common.resw
+++ b/src/dev/impl/DevToys/Strings/es-AR/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Eliminar</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/es-AR/ImageConverter.resw b/src/dev/impl/DevToys/Strings/es-AR/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/es-AR/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/es-AR/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/es-AR/PngJpgCompressor.resw
index 8217710d0..a76321975 100644
--- a/src/dev/impl/DevToys/Strings/es-AR/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/es-AR/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} es el número decimal que representa el tamaño del archivo. {1} es la unidad, por ejemplo Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Solo se pueden usar archivos .png, .jpg y .jpeg.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Ver detalles</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arrastar y solta archivos PNG o JPEG acá</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>o</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Buscar archivos</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Optimizador de PNG y JPEG sin pérdidas</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/es-ES/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/es-ES/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/es-ES/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/es-ES/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/es-ES/ColorBlindnessSimulator.resw
index 80624d51c..2efd60038 100644
--- a/src/dev/impl/DevToys/Strings/es-ES/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/es-ES/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulador de Daltonismo</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Solo archivos .png, .jpg, .jpeg o .bmp pueden ser usados.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arrastra y suelta un archivo PNG, JPEG o BMP aquí</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>o</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Buscar archivos</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Guardar como</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulación de tritanopía</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Pegar</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/es-ES/Common.resw b/src/dev/impl/DevToys/Strings/es-ES/Common.resw
index bd4ba32ce..e10715d3d 100644
--- a/src/dev/impl/DevToys/Strings/es-ES/Common.resw
+++ b/src/dev/impl/DevToys/Strings/es-ES/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Eliminar</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/es-ES/ImageConverter.resw b/src/dev/impl/DevToys/Strings/es-ES/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/es-ES/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/es-ES/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/es-ES/PngJpgCompressor.resw
index c53b8946e..78108eb6c 100644
--- a/src/dev/impl/DevToys/Strings/es-ES/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/es-ES/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} es el número decimal que representa el tamaño del archivo. {1} es la unidad, por ejemplo Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Solo se pueden usar archivos .png, .jpg y .jpeg.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Ver detalles</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arrastra y suelta archivos PNG o JPEG aquí</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>o</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Buscar archivos</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Optimizador de PNG y JPEG sin pérdidas</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/fr-FR/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/fr-FR/CheckSumGenerator.resw
index 022282b02..7e602e247 100644
--- a/src/dev/impl/DevToys/Strings/fr-FR/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/fr-FR/CheckSumGenerator.resw
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
- <value>CheckSum Generator tool</value>
+ <value>Checksum Generator tool</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
@@ -127,7 +127,7 @@
<value>Configuration</value>
</data>
<data name="Description" xml:space="preserve">
- <value>Generate an hash with CheckSum based on a file</value>
+ <value>Generate an hash with Checksum based on a file</value>
</data>
<data name="HashingAlgorithmDescription" xml:space="preserve">
<value>Select which hashing algorithm you want to use</value>
@@ -139,7 +139,7 @@
<value>Input</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>Output</value>
@@ -148,19 +148,7 @@
<value>Output Comparer</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Uppercase</value>
diff --git a/src/dev/impl/DevToys/Strings/fr-FR/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/fr-FR/ColorBlindnessSimulator.resw
index 7b6936c2c..46e61775c 100644
--- a/src/dev/impl/DevToys/Strings/fr-FR/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/fr-FR/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulateur de Daltonisme</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Seul un fichier .png, .jpg, .jpeg et bmp peut être utilisé.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Glissez &amp; déposez un fichier PNG, JPEG ou BMP ici</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>ou</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Selectionner un fichier</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Enregistrer-sous</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulation de tritanopie</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Coller</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/fr-FR/Common.resw b/src/dev/impl/DevToys/Strings/fr-FR/Common.resw
index 7702e91a9..b4918a92c 100644
--- a/src/dev/impl/DevToys/Strings/fr-FR/Common.resw
+++ b/src/dev/impl/DevToys/Strings/fr-FR/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Supprimer</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GO</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/fr-FR/ImageConverter.resw b/src/dev/impl/DevToys/Strings/fr-FR/ImageConverter.resw
index ca2eeb44f..270f13d0c 100644
--- a/src/dev/impl/DevToys/Strings/fr-FR/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/fr-FR/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only .png, .jpg and .jpeg files can be used.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>See details</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop image files here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Lossless image converter</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/fr-FR/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/fr-FR/PngJpgCompressor.resw
index 859462353..abbb1107d 100644
--- a/src/dev/impl/DevToys/Strings/fr-FR/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/fr-FR/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Seul des fichiers .png, .jpg et .jpeg peuvent être utilisés.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Voir les détails</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Glissez &amp; déposez des fichiers PNG ou JPEG ici</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>ou</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Selectionner des fichiers</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Optimiseur PNG et JPEG sans perte</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/hu-HU/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/hu-HU/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/hu-HU/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/hu-HU/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/hu-HU/ColorBlindnessSimulator.resw
index 8f02a4428..1f914f841 100644
--- a/src/dev/impl/DevToys/Strings/hu-HU/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/hu-HU/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Színvakság Szimulátor</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Csak .png, .jpg, .jpeg vagy .bmp fájlok használhatóak.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Húzz be egy PNG, JPEG vagy BMP fájlt ide</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>vagy</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Fájlok tallózása</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Mentés másként</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Tritanopia szimuláció</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Beillesztés</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/hu-HU/Common.resw b/src/dev/impl/DevToys/Strings/hu-HU/Common.resw
index 526fa59cc..59af178a5 100644
--- a/src/dev/impl/DevToys/Strings/hu-HU/Common.resw
+++ b/src/dev/impl/DevToys/Strings/hu-HU/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Törlés</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/hu-HU/ImageConverter.resw b/src/dev/impl/DevToys/Strings/hu-HU/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/hu-HU/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/hu-HU/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/hu-HU/PngJpgCompressor.resw
index fcb55b6a0..315796338 100644
--- a/src/dev/impl/DevToys/Strings/hu-HU/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/hu-HU/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} egy decimális szám, amely a fájl méretét reprezentálja. {1} egy egység, mint a Bájt, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Csak .png, .jpg és .jpeg fájlok használhatóak.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Részletek megjelenítése</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Húzz be egy PNG vagy JPEG fájlt ide</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>vagy</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Fájlok tallózása</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Veszteség mentes PNG és JPEG optimalizáló</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/id-ID/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/id-ID/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/id-ID/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/id-ID/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/id-ID/ColorBlindnessSimulator.resw
index 5d3166a94..1008c4784 100644
--- a/src/dev/impl/DevToys/Strings/id-ID/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/id-ID/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulasi Buta Warna</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Hanya file .png, .jpg, .jpeg atau .bmp yang bisa digunakan</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Pindahkan file PNG, JPEG atau BMP kesini</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>atau</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Cari File</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Simpan sebagai</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulasi Tritanopia</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/id-ID/Common.resw b/src/dev/impl/DevToys/Strings/id-ID/Common.resw
index 2e7142b9c..814524b21 100644
--- a/src/dev/impl/DevToys/Strings/id-ID/Common.resw
+++ b/src/dev/impl/DevToys/Strings/id-ID/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Hapus</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/id-ID/ImageConverter.resw b/src/dev/impl/DevToys/Strings/id-ID/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/id-ID/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/id-ID/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/id-ID/PngJpgCompressor.resw
index 4c24b8d96..77f1fb0d7 100644
--- a/src/dev/impl/DevToys/Strings/id-ID/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/id-ID/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Hanya file .png, .jpg dan .jpeg yang bisa digunakan</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Lihat detail</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Pindah dan letakkan file PNG atau JPEG disini</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>atau</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Cari file</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Pengoptimal PNG dan JPEG tanpa pengurangn</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/it-IT/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/it-IT/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/it-IT/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/it-IT/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/it-IT/ColorBlindnessSimulator.resw
index dd5a8e54e..1418a584f 100644
--- a/src/dev/impl/DevToys/Strings/it-IT/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/it-IT/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulatore di daltonismo</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>È possibile utilizzare solo un file .png, .jpg, .jpeg o .bmp.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Trascina qui un file PNG, JPEG o BMP</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>o</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Sfoglia i file</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Salva come</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulazione di tritanopia</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Incolla</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/it-IT/Common.resw b/src/dev/impl/DevToys/Strings/it-IT/Common.resw
index fd6fec37c..b167da981 100644
--- a/src/dev/impl/DevToys/Strings/it-IT/Common.resw
+++ b/src/dev/impl/DevToys/Strings/it-IT/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Cancella</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/it-IT/ImageConverter.resw b/src/dev/impl/DevToys/Strings/it-IT/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/it-IT/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/it-IT/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/it-IT/PngJpgCompressor.resw
index 72a0fc069..48f51fabe 100644
--- a/src/dev/impl/DevToys/Strings/it-IT/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/it-IT/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>È possibile utilizzare solo file .png, .jpg e .jpeg.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Guarda dettagli</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Trascina qui un file PNG o JPEG</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>o</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Sfoglia i file</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Ottimizzatore PNG e JPEG senza perdita di dati</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/ja-JP/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/ja-JP/CheckSumGenerator.resw
index 57a2796d8..7754d60af 100644
--- a/src/dev/impl/DevToys/Strings/ja-JP/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/ja-JP/CheckSumGenerator.resw
@@ -139,7 +139,7 @@
<value>入力</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>出力</value>
@@ -147,23 +147,8 @@
<data name="OutputComparer" xml:space="preserve">
<value>比較</value>
</data>
- <data name="SaveAs" xml:space="preserve">
- <value>名前を付けて保存</value>
- </data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>ここにファイルをドラッグ アンド ドロップ</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>または</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>ファイルを選択</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>クリップボードのファイルを開く</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>大文字を使用する</value>
diff --git a/src/dev/impl/DevToys/Strings/ja-JP/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/ja-JP/ColorBlindnessSimulator.resw
index 17beb9dfd..6538319f6 100644
--- a/src/dev/impl/DevToys/Strings/ja-JP/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/ja-JP/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>色覚異常シミュレーター</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>.png、.jpg、.jpeg、.bmp形式のファイルだけが利用できます</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>PNG、JPEG、BMP形式のファイルをドラッグ&ドロップしてください</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>もしくは</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>ファイルを参照</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>名前を付けて保存</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>3型色覚異常シミュレーション</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>貼り付け</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/ja-JP/Common.resw b/src/dev/impl/DevToys/Strings/ja-JP/Common.resw
index a978ebc97..2dd0dcfa5 100644
--- a/src/dev/impl/DevToys/Strings/ja-JP/Common.resw
+++ b/src/dev/impl/DevToys/Strings/ja-JP/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>削除</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/ja-JP/ImageConverter.resw b/src/dev/impl/DevToys/Strings/ja-JP/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/ja-JP/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/ja-JP/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/ja-JP/PngJpgCompressor.resw
index 9bec16cf8..81f3fd362 100644
--- a/src/dev/impl/DevToys/Strings/ja-JP/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/ja-JP/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>.png、.jpg、.jpeg 形式のファイルのみ使用できます</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>詳細を見る</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>PNG、JPEG形式のファイルをドラッグ&ドロップしてください</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>もしくは</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>ファイルを参照</value>
- </data>
<data name="Description" xml:space="preserve">
<value>無劣化 PNG 及び JPEG の最適化ツール</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/pl-PL/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/pl-PL/CheckSumGenerator.resw
index 022282b02..7e602e247 100644
--- a/src/dev/impl/DevToys/Strings/pl-PL/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/pl-PL/CheckSumGenerator.resw
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
- <value>CheckSum Generator tool</value>
+ <value>Checksum Generator tool</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
@@ -127,7 +127,7 @@
<value>Configuration</value>
</data>
<data name="Description" xml:space="preserve">
- <value>Generate an hash with CheckSum based on a file</value>
+ <value>Generate an hash with Checksum based on a file</value>
</data>
<data name="HashingAlgorithmDescription" xml:space="preserve">
<value>Select which hashing algorithm you want to use</value>
@@ -139,7 +139,7 @@
<value>Input</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>Output</value>
@@ -148,19 +148,7 @@
<value>Output Comparer</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Uppercase</value>
diff --git a/src/dev/impl/DevToys/Strings/pl-PL/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/pl-PL/ColorBlindnessSimulator.resw
index a51991f5f..1385c4609 100644
--- a/src/dev/impl/DevToys/Strings/pl-PL/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/pl-PL/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Symulator Ślepoty Barw</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Można użyć jedynie plików .png, .jpg, .jpeg lub .bmp.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Przeciągnij i upuść tutaj plik PNG, JPEG lub BMP</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>lub</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Przeglądaj pliki</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Zapisz jako</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Symulacja tritanopii</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Wklej</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/pl-PL/Common.resw b/src/dev/impl/DevToys/Strings/pl-PL/Common.resw
index de69da818..7faeca0c4 100644
--- a/src/dev/impl/DevToys/Strings/pl-PL/Common.resw
+++ b/src/dev/impl/DevToys/Strings/pl-PL/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Usuń</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/pl-PL/ImageConverter.resw b/src/dev/impl/DevToys/Strings/pl-PL/ImageConverter.resw
index ca2eeb44f..270f13d0c 100644
--- a/src/dev/impl/DevToys/Strings/pl-PL/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/pl-PL/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only .png, .jpg and .jpeg files can be used.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>See details</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop image files here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Lossless image converter</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/pl-PL/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/pl-PL/PngJpgCompressor.resw
index 3dcc220e8..bbcfb5c40 100644
--- a/src/dev/impl/DevToys/Strings/pl-PL/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/pl-PL/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} to liczba dziesiętna, reprezejtująca rozmiar pliku. {1} to jednostka, np. B, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Można użyć jedynie plików .png, .jpg oraz .jpeg.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Zobacz szczegóły</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Przeciągnij i upuść tutaj pliki PNG lub JPEG</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>lub</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Przeglądaj pliki</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Bezstranty optymalizator PNG i JPEG</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/pt-PT/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/pt-PT/CheckSumGenerator.resw
index a8906c2af..b9fc5202e 100644
--- a/src/dev/impl/DevToys/Strings/pt-PT/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/pt-PT/CheckSumGenerator.resw
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
- <value>Ferramenta geradora de CheckSum</value>
+ <value>Ferramenta geradora de Checksum</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancelar</value>
@@ -127,7 +127,7 @@
<value>Configuração</value>
</data>
<data name="Description" xml:space="preserve">
- <value>Gerar um hash com CheckSum baseado num ficheiro</value>
+ <value>Gerar um hash com Checksum baseado num ficheiro</value>
</data>
<data name="HashingAlgorithmDescription" xml:space="preserve">
<value>Selecione o algoritmo de hash que deseja utilisar</value>
@@ -139,7 +139,7 @@
<value>Entrada</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>Resultado</value>
@@ -148,19 +148,7 @@
<value>Comparador de resultado</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arraste e largue um ficheiro aqui</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>ou</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procurar ficheiros</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Colar</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Maiúsculas</value>
diff --git a/src/dev/impl/DevToys/Strings/pt-PT/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/pt-PT/ColorBlindnessSimulator.resw
index c82d4e1a1..2241b747b 100644
--- a/src/dev/impl/DevToys/Strings/pt-PT/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/pt-PT/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Simulador de Cegueira por Cor</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Apenas um ficheiro .png, .jpg, .jpeg ou .bmp pode ser utilizado.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arraste &amp; largue aqui um ficheiro PNG, JPEG ou BMP</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>ou</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procurar ficheiros</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Guardar como</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Simulação da Tritanopia</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Colar</value>
- </data>
-</root>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/pt-PT/Common.resw b/src/dev/impl/DevToys/Strings/pt-PT/Common.resw
index d1246acf9..03e9c8cfb 100644
--- a/src/dev/impl/DevToys/Strings/pt-PT/Common.resw
+++ b/src/dev/impl/DevToys/Strings/pt-PT/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Eliminar</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/pt-PT/ImageConverter.resw b/src/dev/impl/DevToys/Strings/pt-PT/ImageConverter.resw
index a71d8e254..5d8a44a47 100644
--- a/src/dev/impl/DevToys/Strings/pt-PT/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/pt-PT/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} é um número decimal que representa o tamanho do ficheiro. {1} é uma unidade, como Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Apenas ficheiros .png, .jpg e .jpeg podem ser usados.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Ver detalhes</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arraste e largue os ficheiros das imagens aqui</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>ou</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procurar ficheiros</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Conversor de imagem sem perdas</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/pt-PT/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/pt-PT/PngJpgCompressor.resw
index 895ab325c..1aa9f5e68 100644
--- a/src/dev/impl/DevToys/Strings/pt-PT/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/pt-PT/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Apenas ficheiros .png, .jpg e .jpeg podem ser utilizados.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>Ver detalhes</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Arrastar e largar ficheiros PNG ou JPEG aqui</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>ou</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Procurar ficheiros</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Optimizador de PNG e JPEG sem perdas</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/ru-RU/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/ru-RU/CheckSumGenerator.resw
index 022282b02..7e602e247 100644
--- a/src/dev/impl/DevToys/Strings/ru-RU/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/ru-RU/CheckSumGenerator.resw
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
- <value>CheckSum Generator tool</value>
+ <value>Checksum Generator tool</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
@@ -127,7 +127,7 @@
<value>Configuration</value>
</data>
<data name="Description" xml:space="preserve">
- <value>Generate an hash with CheckSum based on a file</value>
+ <value>Generate an hash with Checksum based on a file</value>
</data>
<data name="HashingAlgorithmDescription" xml:space="preserve">
<value>Select which hashing algorithm you want to use</value>
@@ -139,7 +139,7 @@
<value>Input</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>Output</value>
@@ -148,19 +148,7 @@
<value>Output Comparer</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Uppercase</value>
diff --git a/src/dev/impl/DevToys/Strings/ru-RU/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/ru-RU/ColorBlindnessSimulator.resw
index 26b764f85..170beaec7 100644
--- a/src/dev/impl/DevToys/Strings/ru-RU/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/ru-RU/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>Color Blindness Simulator</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only a .png, .jpg, .jpeg or .bmp file can be used.</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a PNG, JPEG or BMP file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>Save as</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>Tritanopia simulation</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/ru-RU/Common.resw b/src/dev/impl/DevToys/Strings/ru-RU/Common.resw
index 06b7945b0..5341b9fe6 100644
--- a/src/dev/impl/DevToys/Strings/ru-RU/Common.resw
+++ b/src/dev/impl/DevToys/Strings/ru-RU/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>Удалить</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>ГБ</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/ru-RU/ImageConverter.resw b/src/dev/impl/DevToys/Strings/ru-RU/ImageConverter.resw
index ca2eeb44f..270f13d0c 100644
--- a/src/dev/impl/DevToys/Strings/ru-RU/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/ru-RU/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only .png, .jpg and .jpeg files can be used.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>See details</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop image files here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Lossless image converter</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/ru-RU/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/ru-RU/PngJpgCompressor.resw
index 4a43e7b4d..ee47357f9 100644
--- a/src/dev/impl/DevToys/Strings/ru-RU/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/ru-RU/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} - десятичное число, представляющее размер файла. {1} - единица измерения, например, Байт, КБ, МБ, ГБ, ТБ.</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Можно использовать только файлы .png, .jpg и .jpeg</value>
- </data>
<data name="OK" xml:space="preserve">
<value>ОК</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>См. подробности</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Перетащите файлы изображений сюда</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>или</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Выберите файлы</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Оптимизация PNG и JPEG путем сжатия без потерь</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/zh-Hans/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/zh-Hans/CheckSumGenerator.resw
index 022282b02..7e602e247 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hans/CheckSumGenerator.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hans/CheckSumGenerator.resw
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AccessibleName" xml:space="preserve">
- <value>CheckSum Generator tool</value>
+ <value>Checksum Generator tool</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
@@ -127,7 +127,7 @@
<value>Configuration</value>
</data>
<data name="Description" xml:space="preserve">
- <value>Generate an hash with CheckSum based on a file</value>
+ <value>Generate an hash with Checksum based on a file</value>
</data>
<data name="HashingAlgorithmDescription" xml:space="preserve">
<value>Select which hashing algorithm you want to use</value>
@@ -139,7 +139,7 @@
<value>Input</value>
</data>
<data name="MenuDisplayName" xml:space="preserve">
- <value>CheckSum</value>
+ <value>Checksum</value>
</data>
<data name="Output" xml:space="preserve">
<value>Output</value>
@@ -148,19 +148,7 @@
<value>Output Comparer</value>
</data>
<data name="SearchDisplayName" xml:space="preserve">
- <value>CheckSum</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop a file here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>Paste</value>
+ <value>Checksum Generator</value>
</data>
<data name="Uppercase" xml:space="preserve">
<value>Uppercase</value>
diff --git a/src/dev/impl/DevToys/Strings/zh-Hans/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/zh-Hans/ColorBlindnessSimulator.resw
index e5a761b04..24e61eb1c 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hans/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hans/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>色盲模拟工具</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>只能使用 .png, .jpg, .jpeg 或 .bmp 文件。</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>拖放 PNG / JPEG / BMP 文件到框内</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>或者</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>浏览文件</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>另存为</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>蓝色盲模拟</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>粘贴</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/zh-Hans/Common.resw b/src/dev/impl/DevToys/Strings/zh-Hans/Common.resw
index e4518febe..b7a5cc428 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hans/Common.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hans/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>删除</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/zh-Hans/ImageConverter.resw b/src/dev/impl/DevToys/Strings/zh-Hans/ImageConverter.resw
index ca2eeb44f..270f13d0c 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hans/ImageConverter.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hans/ImageConverter.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>Only .png, .jpg and .jpeg files can be used.</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>See details</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>Drag &amp; drop image files here</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>or</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>Browse files</value>
- </data>
<data name="Description" xml:space="preserve">
<value>Lossless image converter</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/zh-Hans/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/zh-Hans/PngJpgCompressor.resw
index 2087024d5..502f9fa6e 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hans/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hans/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0}是表示文件大小的十进制数。“{1}”为单位,如Bytes、KB、MB、GB、TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>只能压缩 .png、.jpg 和 .jpeg 文件</value>
- </data>
<data name="OK" xml:space="preserve">
<value>确定</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>查看详细信息</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>拖放 PNG / JPEG 文件到框内</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>或者</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>选择计算机上面的文件</value>
- </data>
<data name="Description" xml:space="preserve">
<value>无损的 PNG 和 JPEG 优化器</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/zh-Hant/CheckSumGenerator.resw b/src/dev/impl/DevToys/Strings/zh-Hant/CheckSumGenerator.resw
new file mode 100644
index 000000000..7e602e247
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/zh-Hant/CheckSumGenerator.resw
@@ -0,0 +1,156 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Checksum Generator tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Generate an hash with Checksum based on a file</value>
+ </data>
+ <data name="HashingAlgorithmDescription" xml:space="preserve">
+ <value>Select which hashing algorithm you want to use</value>
+ </data>
+ <data name="HashingAlgorithmTitle" xml:space="preserve">
+ <value>Hashing Algorithm</value>
+ </data>
+ <data name="Input" xml:space="preserve">
+ <value>Input</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Checksum</value>
+ </data>
+ <data name="Output" xml:space="preserve">
+ <value>Output</value>
+ </data>
+ <data name="OutputComparer" xml:space="preserve">
+ <value>Output Comparer</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Checksum Generator</value>
+ </data>
+ <data name="Uppercase" xml:space="preserve">
+ <value>Uppercase</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/zh-Hant/ColorBlindnessSimulator.resw b/src/dev/impl/DevToys/Strings/zh-Hant/ColorBlindnessSimulator.resw
index 365c41ef9..42dc93c7c 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hant/ColorBlindnessSimulator.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hant/ColorBlindnessSimulator.resw
@@ -129,18 +129,6 @@
<data name="SearchDisplayName" xml:space="preserve">
<value>色盲模擬器</value>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>僅支援 .png、.jpg、.jpeg 或 .bmp 檔案。</value>
- </data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>將 PNG、JPEG,或是 BMP 檔案拖至這裡</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>或</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>瀏覽檔案</value>
- </data>
<data name="SaveAs" xml:space="preserve">
<value>另存為</value>
</data>
@@ -159,7 +147,4 @@
<data name="TritanopiaSimulation" xml:space="preserve">
<value>藍色盲模擬</value>
</data>
- <data name="SelectFilesInstruction4" xml:space="preserve">
- <value>貼上</value>
- </data>
</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/zh-Hant/Common.resw b/src/dev/impl/DevToys/Strings/zh-Hant/Common.resw
index 222943525..085cdf9a1 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hant/Common.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hant/Common.resw
@@ -132,6 +132,33 @@
<data name="Delete" xml:space="preserve">
<value>刪除</value>
</data>
+ <data name="FileSelectorBrowseFiles" xml:space="preserve">
+ <value>Browse files</value>
+ </data>
+ <data name="FileSelectorBrowseFolders" xml:space="preserve">
+ <value>Browse folders</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFile" xml:space="preserve">
+ <value>Drag &amp; drop any file here</value>
+ </data>
+ <data name="FileSelectorDragDropAnyFiles" xml:space="preserve">
+ <value>Drag &amp; drop any files here</value>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFile" xml:space="preserve">
+ <value>Drag &amp; drop a {0} file here</value>
+ <comment>{0} is a single file extension like "PNG"</comment>
+ </data>
+ <data name="FileSelectorDragDropAnySpecificFiles" xml:space="preserve">
+ <value>Drag &amp; drop any {0} files here</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorInvalidSelectedFiles" xml:space="preserve">
+ <value>Only {0} file(s) can be used.</value>
+ <comment>{0} is a list of file extensions like "PNG, TXT, JPG"</comment>
+ </data>
+ <data name="FileSelectorOr" xml:space="preserve">
+ <value>or</value>
+ </data>
<data name="Gigabytes" xml:space="preserve">
<value>GB</value>
</data>
diff --git a/src/dev/impl/DevToys/Strings/zh-Hant/ImageConverter.resw b/src/dev/impl/DevToys/Strings/zh-Hant/ImageConverter.resw
new file mode 100644
index 000000000..270f13d0c
--- /dev/null
+++ b/src/dev/impl/DevToys/Strings/zh-Hant/ImageConverter.resw
@@ -0,0 +1,193 @@
+<?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="AccessibleName" xml:space="preserve">
+ <value>Image Converter tool</value>
+ </data>
+ <data name="Cancel" xml:space="preserve">
+ <value>Cancel</value>
+ </data>
+ <data name="Configuration" xml:space="preserve">
+ <value>Configuration</value>
+ </data>
+ <data name="Delete" xml:space="preserve">
+ <value>Delete</value>
+ </data>
+ <data name="DeleteAll" xml:space="preserve">
+ <value>Delete all</value>
+ </data>
+ <data name="DetailsTitle" xml:space="preserve">
+ <value>Details</value>
+ </data>
+ <data name="MenuDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="FileSizeDisplay" xml:space="preserve">
+ <value>{0:0.##} {1}</value>
+ <comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
+ </data>
+ <data name="OK" xml:space="preserve">
+ <value>OK</value>
+ </data>
+ <data name="SaveAll" xml:space="preserve">
+ <value>Save all</value>
+ </data>
+ <data name="SaveAs" xml:space="preserve">
+ <value>Save as</value>
+ </data>
+ <data name="SeeErrorMessage" xml:space="preserve">
+ <value>See details</value>
+ </data>
+ <data name="Description" xml:space="preserve">
+ <value>Lossless image converter</value>
+ </data>
+ <data name="SearchDisplayName" xml:space="preserve">
+ <value>Image Converter</value>
+ </data>
+ <data name="ConversionTitle" xml:space="preserve">
+ <value>Conversion</value>
+ </data>
+ <data name="ConvertedFormatDescription" xml:space="preserve">
+ <value>Select the converted file format</value>
+ </data>
+ <data name="JPEG" xml:space="preserve">
+ <value>JPEG</value>
+ </data>
+ <data name="PNG" xml:space="preserve">
+ <value>PNG</value>
+ </data>
+ <data name="BMP" xml:space="preserve">
+ <value>BMP</value>
+ </data>
+ <data name="GIF" xml:space="preserve">
+ <value>GIF</value>
+ </data>
+ <data name="HEIF" xml:space="preserve">
+ <value>HEIF</value>
+ </data>
+ <data name="JPEGXR" xml:space="preserve">
+ <value>JPEG XR</value>
+ </data>
+ <data name="TIFF" xml:space="preserve">
+ <value>TIFF</value>
+ </data>
+ <data name="ErrorMessage" xml:space="preserve">
+ <value>An unexpected error has occurred, the conversion may not have been performed.</value>
+ </data>
+</root>
\ No newline at end of file
diff --git a/src/dev/impl/DevToys/Strings/zh-Hant/PngJpgCompressor.resw b/src/dev/impl/DevToys/Strings/zh-Hant/PngJpgCompressor.resw
index 6f55c2f56..f895ab701 100644
--- a/src/dev/impl/DevToys/Strings/zh-Hant/PngJpgCompressor.resw
+++ b/src/dev/impl/DevToys/Strings/zh-Hant/PngJpgCompressor.resw
@@ -142,9 +142,6 @@
<value>{0:0.##} {1}</value>
<comment>{0} is a decimal number representing a file size. {1} is a unit, like Bytes, KB, MB, GB, TB</comment>
</data>
- <data name="InvalidSelectedFiles" xml:space="preserve">
- <value>僅可使用 .png、.jpg 及 .jpeg 檔案。</value>
- </data>
<data name="OK" xml:space="preserve">
<value>OK</value>
</data>
@@ -157,15 +154,6 @@
<data name="SeeErrorMessage" xml:space="preserve">
<value>檢視詳細資訊</value>
</data>
- <data name="SelectFilesInstruction1" xml:space="preserve">
- <value>將 PNG 或 JPEG 檔案拖至此處</value>
- </data>
- <data name="SelectFilesInstruction2" xml:space="preserve">
- <value>或</value>
- </data>
- <data name="SelectFilesInstruction3" xml:space="preserve">
- <value>瀏覽檔案</value>
- </data>
<data name="Description" xml:space="preserve">
<value>PNG 及 JPEG 的不失真最佳化工具</value>
</data>
diff --git a/src/dev/impl/DevToys/UI/Controls/FileSelector.xaml b/src/dev/impl/DevToys/UI/Controls/FileSelector.xaml
new file mode 100644
index 000000000..3451ad707
--- /dev/null
+++ b/src/dev/impl/DevToys/UI/Controls/FileSelector.xaml
@@ -0,0 +1,94 @@
+<UserControl
+ x:Class="DevToys.UI.Controls.FileSelector"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:DevToys="using:DevToys"
+ xmlns:converters="using:DevToys.UI.Converters"
+ mc:Ignorable="d"
+ d:DesignHeight="150"
+ d:DesignWidth="400">
+ <UserControl.Resources>
+ <DevToys:LanguageManager x:Key="LanguageManager"/>
+
+ <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
+ </UserControl.Resources>
+
+ <Grid
+ AllowDrop="True"
+ Background="Transparent"
+ CornerRadius="4"
+ DragOver="Grid_DragOver"
+ DragLeave="Grid_DragLeave"
+ Drop="Grid_Drop">
+ <VisualStateManager.VisualStateGroups>
+ <VisualStateGroup>
+ <VisualState x:Name="SelectFilesPointerHover">
+ <VisualState.StateTriggers>
+ <StateTrigger IsActive="{x:Bind IsSelectFilesAreaHighlighted, Mode=OneWay}"/>
+ </VisualState.StateTriggers>
+ <VisualState.Setters>
+ <Setter Target="SelectFilesRectangle.Stroke" Value="{ThemeResource TextControlHeaderForeground}" />
+ <Setter Target="SelectFilesRectangle.Fill" Value="{ThemeResource ButtonBackgroundPointerOver}" />
+ </VisualState.Setters>
+ </VisualState>
+ </VisualStateGroup>
+ </VisualStateManager.VisualStateGroups>
+ <Rectangle
+ x:Name="SelectFilesRectangle"
+ Stroke="{ThemeResource TextControlHeaderForegroundDisabled}"
+ StrokeDashArray="4 4"
+ StrokeThickness="2"
+ Fill="Transparent">
+ </Rectangle>
+ <StackPanel
+ Spacing="8"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Margin="24">
+ <TextBlock
+ Text="{x:Bind DragDropInstruction, Mode=OneWay}"
+ TextTrimming="CharacterEllipsis"
+ TextWrapping="WrapWholeWords"
+ HorizontalAlignment="Center"/>
+ <TextBlock
+ Text="{Binding Instance.Common.FileSelectorOr, Mode=OneTime, Source={StaticResource LanguageManager}}"
+ HorizontalAlignment="Center"/>
+ <StackPanel
+ Orientation="Horizontal"
+ HorizontalAlignment="Center"
+ Spacing="6">
+ <HyperlinkButton
+ VerticalAlignment="Center"
+ Content="{Binding Instance.Common.FileSelectorBrowseFiles, Mode=OneTime, Source={StaticResource LanguageManager}}"
+ Click="BrowseFilesHyperlinkButton_Click"/>
+ <StackPanel
+ Orientation="Horizontal"
+ Spacing="6"
+ Visibility="{x:Bind AllowMultipleFileSelection, Converter={StaticResource BooleanToVisibilityConverter}}">
+ <TextBlock
+ Text="/"
+ VerticalAlignment="Center"/>
+ <HyperlinkButton
+ VerticalAlignment="Center"
+ Content="{Binding Instance.Common.FileSelectorBrowseFolders, Mode=OneTime, Source={StaticResource LanguageManager}}"
+ Click="BrowseFoldersHyperlinkButton_Click"/>
+ </StackPanel>
+ <TextBlock
+ Text="/"
+ VerticalAlignment="Center"/>
+ <HyperlinkButton
+ VerticalAlignment="Center"
+ Content="{Binding Instance.Common.Paste, Mode=OneTime, Source={StaticResource LanguageManager}}"
+ Click="PasteHyperlinkButton_Click"/>
+ </StackPanel>
+ <TextBlock
+ Text="{x:Bind HasInvalidFilesSelectedIndication, Mode=OneWay}"
+ HorizontalAlignment="Center"
+ FontSize="11"
+ Foreground="Red"
+ Visibility="{x:Bind HasInvalidFilesSelected, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}"/>
+ </StackPanel>
+ </Grid>
+</UserControl>
diff --git a/src/dev/impl/DevToys/UI/Controls/FileSelector.xaml.cs b/src/dev/impl/DevToys/UI/Controls/FileSelector.xaml.cs
new file mode 100644
index 000000000..e8e98a85f
--- /dev/null
+++ b/src/dev/impl/DevToys/UI/Controls/FileSelector.xaml.cs
@@ -0,0 +1,487 @@
+#nullable enable
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.Toolkit.Mvvm.Input;
+using Windows.ApplicationModel.DataTransfer;
+using Windows.Storage;
+using Windows.Storage.Pickers;
+using Windows.Storage.Streams;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+
+namespace DevToys.UI.Controls
+{
+ public sealed partial class FileSelector : UserControl
+ {
+ private readonly List<StorageFile> _cachedFilesToDeleteOnShutdown = new();
+ private string[] _allowedFileExtensions = new[] { "*" };
+
+ /// <summary>
+ /// Gets of sets the command to invoke when the user selected one or several valid files.
+ /// </summary>
+ public static readonly DependencyProperty FilesSelectedCommandProperty
+ = DependencyProperty.Register(
+ nameof(FilesSelectedCommand),
+ typeof(IRelayCommand<StorageFile[]>),
+ typeof(FileSelector),
+ new PropertyMetadata(null));
+
+ /// <summary>
+ /// Gets of sets the command to invoke when the user selected one or several valid files.
+ /// </summary>
+ public IRelayCommand<StorageFile[]>? FilesSelectedCommand
+ {
+ get => (IRelayCommand<StorageFile[]>?)GetValue(FilesSelectedCommandProperty);
+ set => SetValue(FilesSelectedCommandProperty, value);
+ }
+
+ /// <summary>
+ /// Gets or sets whether the user can select more than 1 file.
+ /// </summary>
+ public static readonly DependencyProperty AllowMultipleFileSelectionProperty
+ = DependencyProperty.Register(
+ nameof(AllowMultipleFileSelection),
+ typeof(bool),
+ typeof(FileSelector),
+ new PropertyMetadata(false, AllowedFileExtensionsPropertyChangedCallback));
+
+ /// <summary>
+ /// Gets or sets whether the user can select more than 1 file.
+ /// </summary>
+ public bool AllowMultipleFileSelection
+ {
+ get => (bool)GetValue(AllowMultipleFileSelectionProperty);
+ set => SetValue(AllowMultipleFileSelectionProperty, value);
+ }
+
+ /// <summary>
+ /// Gets or sets a list of file extension, separated by a semi-colon, that should be accepted by the control.
+ /// An empty list means any file is accepted.
+ /// </summary>
+ public static readonly DependencyProperty AllowedFileExtensionsProperty
+ = DependencyProperty.Register(
+ nameof(AllowedFileExtensions),
+ typeof(string),
+ typeof(FileSelector),
+ new PropertyMetadata("*", AllowedFileExtensionsPropertyChangedCallback));
+
+ /// <summary>
+ /// Gets or sets a list of file extension, separated by a semi-colon, that should be accepted by the control.
+ /// An empty list means any file is accepted.
+ /// </summary>
+ public string AllowedFileExtensions
+ {
+ get => (string)GetValue(AllowedFileExtensionsProperty);
+ set => SetValue(AllowedFileExtensionsProperty, value);
+ }
+
+ /// <summary>
+ /// Gets or sets whether the user can paste an image from the clipboard in addition to files.
+ /// </summary>
+ public static readonly DependencyProperty AllowPasteImageProperty
+ = DependencyProperty.Register(
+ nameof(AllowPasteImage),
+ typeof(bool),
+ typeof(FileSelector),
+ new PropertyMetadata(false));
+
+ /// <summary>
+ /// Gets or sets whether the user can paste an image from the clipboard in addition to files.
+ /// </summary>
+ public bool AllowPasteImage
+ {
+ get => (bool)GetValue(AllowPasteImageProperty);
+ set => SetValue(AllowPasteImageProperty, value);
+ }
+
+ public static readonly DependencyProperty IsSelectFilesAreaHighlightedProperty
+ = DependencyProperty.Register(
+ nameof(IsSelectFilesAreaHighlighted),
+ typeof(bool),
+ typeof(FileSelector),
+ new PropertyMetadata(false));
+
+ public bool IsSelectFilesAreaHighlighted
+ {
+ get => (bool)GetValue(IsSelectFilesAreaHighlightedProperty);
+ private set => SetValue(IsSelectFilesAreaHighlightedProperty, value);
+ }
+
+ public static readonly DependencyProperty HasInvalidFilesSelectedProperty
+ = DependencyProperty.Register(
+ nameof(HasInvalidFilesSelected),
+ typeof(bool),
+ typeof(FileSelector),
+ new PropertyMetadata(false));
+
+ public bool HasInvalidFilesSelected
+ {
+ get => (bool)GetValue(HasInvalidFilesSelectedProperty);
+ private set => SetValue(HasInvalidFilesSelectedProperty, value);
+ }
+
+ public static readonly DependencyProperty DragDropInstructionProperty
+ = DependencyProperty.Register(
+ nameof(DragDropInstruction),
+ typeof(string),
+ typeof(FileSelector),
+ new PropertyMetadata(string.Empty));
+
+ public string DragDropInstruction
+ {
+ get => (string)GetValue(DragDropInstructionProperty);
+ private set => SetValue(DragDropInstructionProperty, value);
+ }
+
+ public static readonly DependencyProperty HasInvalidFilesSelectedIndicationProperty
+ = DependencyProperty.Register(
+ nameof(HasInvalidFilesSelectedIndication),
+ typeof(string),
+ typeof(FileSelector),
+ new PropertyMetadata(string.Empty));
+
+ public string HasInvalidFilesSelectedIndication
+ {
+ get => (string)GetValue(HasInvalidFilesSelectedIndicationProperty);
+ private set => SetValue(HasInvalidFilesSelectedIndicationProperty, value);
+ }
+
+ public FileSelector()
+ {
+ InitializeComponent();
+ App.Current.Suspending += OnAppSuspending;
+
+ UpdateInstructionStrings();
+ }
+
+ private async void Grid_DragOver(object sender, DragEventArgs e)
+ {
+ DragOperationDeferral? deferral = e.GetDeferral();
+ if (e!.DataView.Contains(StandardDataFormats.StorageItems))
+ {
+ // This line may cause a hang, but we have no choice since we can't afford to make this method async
+ // since the parent caller won't be able to see what changed in DragEventArgs since it won't
+ // wait for the execution to end.
+ IReadOnlyList<IStorageItem>? storageItems = await e.DataView.GetStorageItemsAsync();
+ if (storageItems is not null
+ && ((AllowMultipleFileSelection && storageItems.Count > 0)
+ || (!AllowMultipleFileSelection && storageItems.Count == 1)))
+ {
+ e.AcceptedOperation = DataPackageOperation.Copy;
+ e.Handled = false;
+ }
+ }
+
+ IsSelectFilesAreaHighlighted = true;
+ HasInvalidFilesSelected = false;
+ deferral?.Complete();
+ }
+
+ private void Grid_DragLeave(object sender, DragEventArgs e)
+ {
+ IsSelectFilesAreaHighlighted = false;
+ HasInvalidFilesSelected = false;
+ }
+
+ private async void Grid_Drop(object sender, DragEventArgs e)
+ {
+ DragOperationDeferral? deferral = e.GetDeferral();
+ IsSelectFilesAreaHighlighted = false;
+ if (!e!.DataView.Contains(StandardDataFormats.StorageItems))
+ {
+ return;
+ }
+
+ IReadOnlyList<IStorageItem>? storageItems = await e.DataView.GetStorageItemsAsync();
+ await TreatStorageItemsAsync(storageItems);
+ deferral?.Complete();
+ }
+
+ private async void BrowseFilesHyperlinkButton_Click(object sender, RoutedEventArgs e)
+ {
+ HasInvalidFilesSelected = false;
+
+ IReadOnlyList<StorageFile>? files = null;
+ var filePicker = new FileOpenPicker
+ {
+ ViewMode = PickerViewMode.List
+ };
+
+ for (int i = 0; i < _allowedFileExtensions.Length; i++)
+ {
+ filePicker.FileTypeFilter.Add(_allowedFileExtensions[i]);
+ }
+
+ if (AllowMultipleFileSelection)
+ {
+ files = await filePicker.PickMultipleFilesAsync();
+ }
+ else
+ {
+ StorageFile? file = await filePicker.PickSingleFileAsync();
+ if (file is not null)
+ {
+ files = new List<StorageFile>() { file };
+ }
+ }
+
+ if (files is not null && files.Count > 0)
+ {
+ FilesSelectedCommand?.Execute(files.ToArray());
+ }
+ }
+
+ private async void BrowseFoldersHyperlinkButton_Click(object sender, RoutedEventArgs e)
+ {
+ HasInvalidFilesSelected = false;
+
+ var files = new List<StorageFile>();
+ var folderPicker = new FolderPicker
+ {
+ ViewMode = PickerViewMode.List
+ };
+
+ folderPicker.FileTypeFilter.Add("*");
+
+ StorageFolder folder = await folderPicker.PickSingleFolderAsync();
+
+ foreach (StorageFile file in await folder.GetFilesAsync())
+ {
+ if (_allowedFileExtensions.Any(ext => string.Equals(ext, "*", StringComparison.Ordinal) || string.Equals(ext, file.FileType, StringComparison.OrdinalIgnoreCase)))
+ {
+ files.Add(file);
+ }
+ }
+
+ if (files.Count > 0)
+ {
+ FilesSelectedCommand?.Execute(files.ToArray());
+ }
+ }
+
+ private async void PasteHyperlinkButton_Click(object sender, RoutedEventArgs e)
+ {
+ HasInvalidFilesSelected = false;
+
+ DataPackageView? dataPackageView = Clipboard.GetContent();
+ if (dataPackageView is not null)
+ {
+ if (AllowPasteImage && dataPackageView.Contains(StandardDataFormats.Bitmap))
+ {
+ IRandomAccessStreamReference? imageReceived = await dataPackageView.GetBitmapAsync();
+ if (imageReceived is not null)
+ {
+ using (IRandomAccessStreamWithContentType imageStream = await imageReceived.OpenReadAsync())
+ {
+ StorageFolder localCacheFolder = ApplicationData.Current.LocalCacheFolder;
+ StorageFile storageFile = await localCacheFolder.CreateFileAsync($"{Guid.NewGuid()}.jpeg", CreationCollisionOption.ReplaceExisting);
+
+ using (IRandomAccessStream? stream = await storageFile.OpenAsync(FileAccessMode.ReadWrite))
+ {
+ await imageStream.AsStreamForRead().CopyToAsync(stream.AsStreamForWrite());
+ }
+
+ _cachedFilesToDeleteOnShutdown.Add(storageFile);
+ FilesSelectedCommand?.Execute(new[] { storageFile });
+ }
+ }
+ }
+ else if (dataPackageView.Contains(StandardDataFormats.StorageItems))
+ {
+ IReadOnlyList<IStorageItem>? storageItems = await dataPackageView.GetStorageItemsAsync();
+ await TreatStorageItemsAsync(storageItems);
+ }
+ }
+ }
+
+ private async void OnAppSuspending(object sender, Windows.ApplicationModel.SuspendingEventArgs e)
+ {
+ foreach (StorageFile cacheFile in _cachedFilesToDeleteOnShutdown)
+ {
+ if (File.Exists(cacheFile.Path))
+ {
+ await cacheFile.DeleteAsync(StorageDeleteOption.PermanentDelete);
+ }
+ }
+ }
+
+ private async Task TreatStorageItemsAsync(IReadOnlyList<IStorageItem>? storageItems)
+ {
+ if (storageItems is null || storageItems.Count == 0)
+ {
+ return;
+ }
+
+ var files = new HashSet<StorageFile>();
+
+ if (!AllowMultipleFileSelection)
+ {
+ if (storageItems.Count == 1)
+ {
+ IStorageItem storageItem = storageItems[0];
+ if (storageItem is StorageFile file)
+ {
+ if (_allowedFileExtensions.Any(ext => string.Equals(ext, "*", StringComparison.Ordinal) || string.Equals(ext, file.FileType, StringComparison.OrdinalIgnoreCase)))
+ {
+ files.Add(file);
+ FilesSelectedCommand?.Execute(files.ToArray());
+ return;
+ }
+ }
+ }
+
+ HasInvalidFilesSelected = true;
+ return;
+ }
+ else
+ {
+ for (int i = 0; i < storageItems.Count; i++)
+ {
+ IStorageItem storageItem = storageItems[i];
+ if (storageItem is StorageFile file)
+ {
+ if (_allowedFileExtensions.Any(ext => string.Equals(ext, "*", StringComparison.Ordinal) || string.Equals(ext, file.FileType, StringComparison.OrdinalIgnoreCase)))
+ {
+ files.Add(file);
+ }
+ else
+ {
+ HasInvalidFilesSelected = true;
+ }
+ }
+ else if (storageItem is StorageFolder folder)
+ {
+ foreach (StorageFile innerFile in await folder.GetFilesAsync())
+ {
+ if (_allowedFileExtensions.Any(ext => string.Equals(ext, "*", StringComparison.Ordinal) || string.Equals(ext, innerFile.FileType, StringComparison.OrdinalIgnoreCase)))
+ {
+ files.Add(innerFile);
+ }
+ }
+ }
+ else
+ {
+ HasInvalidFilesSelected = true;
+ }
+ }
+
+ if (files.Count > 0)
+ {
+ FilesSelectedCommand?.Execute(files.ToArray());
+ }
+ else
+ {
+ HasInvalidFilesSelected = true;
+ }
+ }
+ }
+
+ private void UpdateInstructionStrings()
+ {
+ string? allowedFileExtensions = AllowedFileExtensions;
+
+ if (string.IsNullOrWhiteSpace(allowedFileExtensions))
+ {
+ _allowedFileExtensions = new[] { "*" };
+ }
+ else
+ {
+ var newListOfExtensions = new HashSet<string>();
+ string[] extensions = allowedFileExtensions!.Split(';', System.StringSplitOptions.RemoveEmptyEntries);
+ for (int i = 0; i < extensions.Length; i++)
+ {
+ string extension = extensions[i];
+ extension = extension.Trim().ToLowerInvariant();
+ if (!string.Equals("*", extension, StringComparison.OrdinalIgnoreCase)
+ && !extension.StartsWith("."))
+ {
+ extension = "." + extension;
+ }
+
+ newListOfExtensions.Add(extension);
+ }
+
+ _allowedFileExtensions = newListOfExtensions.ToArray();
+ }
+
+
+ if (_allowedFileExtensions is null
+ || _allowedFileExtensions.Length == 0
+ || (_allowedFileExtensions.Length == 1 && string.Equals(_allowedFileExtensions[0], "*", StringComparison.Ordinal)))
+ {
+ if (AllowMultipleFileSelection)
+ {
+ DragDropInstruction = LanguageManager.Instance.Common.FileSelectorDragDropAnyFiles;
+ }
+ else
+ {
+ DragDropInstruction = LanguageManager.Instance.Common.FileSelectorDragDropAnyFile;
+ }
+ }
+ else if (_allowedFileExtensions.Length == 1)
+ {
+ string extensionsString
+ = _allowedFileExtensions[0]
+ .Replace(".", string.Empty)
+ .ToUpperInvariant();
+
+ if (AllowMultipleFileSelection)
+ {
+ DragDropInstruction
+ = string.Format(
+ LanguageManager.Instance.Common.FileSelectorDragDropAnySpecificFiles,
+ extensionsString);
+ }
+ else
+ {
+ DragDropInstruction
+ = string.Format(
+ LanguageManager.Instance.Common.FileSelectorDragDropAnySpecificFile,
+ extensionsString);
+ }
+
+ HasInvalidFilesSelectedIndication
+ = string.Format(
+ LanguageManager.Instance.Common.FileSelectorInvalidSelectedFiles,
+ extensionsString);
+ }
+ else
+ {
+ string extensionsString
+ = string.Join(", ", _allowedFileExtensions)
+ .Replace(".", string.Empty)
+ .ToUpperInvariant();
+
+ if (AllowMultipleFileSelection)
+ {
+ DragDropInstruction
+ = string.Format(
+ LanguageManager.Instance.Common.FileSelectorDragDropAnySpecificFiles,
+ extensionsString);
+ }
+ else
+ {
+ DragDropInstruction
+ = string.Format(
+ LanguageManager.Instance.Common.FileSelectorDragDropAnySpecificFile,
+ extensionsString);
+ }
+
+ HasInvalidFilesSelectedIndication
+ = string.Format(
+ LanguageManager.Instance.Common.FileSelectorInvalidSelectedFiles,
+ extensionsString);
+ }
+ }
+
+ private static void AllowedFileExtensionsPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
+ {
+ var control = (FileSelector)d;
+ control.UpdateInstructionStrings();
+ }
+ }
+}
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolProvider.cs b/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolProvider.cs
index b365e06d7..820bcda92 100644
--- a/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolProvider.cs
+++ b/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolProvider.cs
@@ -9,7 +9,7 @@ using Windows.UI.Xaml.Controls;
namespace DevToys.ViewModels.Tools.CheckSumGenerator
{
[Export(typeof(IToolProvider))]
- [Name("CheckSum Generator")]
+ [Name("Checksum Generator")]
[Parent(GeneratorsGroupToolProvider.InternalName)]
[ProtocolName("checksum")]
[Order(3)]
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolViewModel.cs b/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolViewModel.cs
index c8112ce6f..ce067605c 100644
--- a/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolViewModel.cs
+++ b/src/dev/impl/DevToys/ViewModels/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolViewModel.cs
@@ -4,28 +4,25 @@ using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Composition;
+using System.Diagnostics;
using System.IO;
+using System.Linq;
using System.Security.Cryptography;
+using System.Threading;
using System.Threading.Tasks;
using DevToys.Api.Core;
using DevToys.Api.Core.Settings;
using DevToys.Api.Tools;
+using DevToys.Core;
using DevToys.Core.Threading;
+using DevToys.Helpers;
using DevToys.Models;
-using DevToys.Shared.Core;
+using DevToys.Shared.Core.Threading;
using DevToys.Views.Tools.CheckSumGenerator;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using Microsoft.Toolkit.Mvvm.Input;
using Windows.ApplicationModel.DataTransfer;
using Windows.Storage;
-using DevToys.Shared.Core.Threading;
-using Windows.Storage.Pickers;
-using Windows.UI.Xaml;
-using System.Linq;
-using DevToys.Core;
-using Clipboard = Windows.ApplicationModel.DataTransfer.Clipboard;
-using DevToys.Helpers;
-using System.Threading;
namespace DevToys.ViewModels.Tools.CheckSumGenerator
{
@@ -56,7 +53,6 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
private readonly object _lockObject = new();
private CancellationTokenSource _cancellationTokenSource = new();
- private bool _isSelectFilesAreaHighlighted;
private bool _isCalculationInProgress;
private IStorageFile? _inputFile;
private int _progress;
@@ -102,7 +98,7 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
OnPropertyChanged();
if (!_hasCancelledCalculation)
{
- CheckSum();
+ Checksum();
}
}
}
@@ -122,17 +118,11 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
if (InputFile != value)
{
SetProperty(ref _inputFile, value);
- CheckSum();
+ Checksum();
}
}
}
- internal bool IsSelectFilesAreaHighlighted
- {
- get => _isSelectFilesAreaHighlighted;
- set => SetProperty(ref _isSelectFilesAreaHighlighted, value);
- }
-
internal bool ShouldDisplayProgress
{
get => _shouldDisplayProgress;
@@ -168,107 +158,21 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
{
_settingsProvider = settingsProvider;
_marketingService = marketingService;
- SelectFilesAreaDragOverCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragOverCommand);
- SelectFilesAreaDragLeaveCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragLeaveCommand);
- SelectFilesAreaDragDropCommand = new AsyncRelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragDropCommandAsync);
- SelectFilesBrowseCommand = new AsyncRelayCommand(ExecuteSelectFilesBrowseCommandAsync);
- SelectFilesPasteCommand = new AsyncRelayCommand(ExecuteSelectFilesPasteCommandAsync);
+ FilesSelectedCommand = new RelayCommand<StorageFile[]>(ExecuteFilesSelectedCommand);
CancelCommand = new RelayCommand(() => ExecuteCancelCommand(shouldRevertHashingAlgo: true));
}
- #region SelectFilesAreaDragOverCommand
+ #region FilesSelectedCommand
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragOverCommand { get; }
+ public IRelayCommand<StorageFile[]> FilesSelectedCommand { get; }
- private void ExecuteSelectFilesAreaDragOverCommand(DragEventArgs? parameters)
+ private void ExecuteFilesSelectedCommand(StorageFile[]? files)
{
- Arguments.NotNull(parameters, nameof(parameters));
-
- if (parameters!.DataView.Contains(StandardDataFormats.StorageItems))
+ if (files is not null)
{
- parameters.AcceptedOperation = DataPackageOperation.Copy;
- parameters.Handled = false;
+ Debug.Assert(files.Length == 1);
+ InputFile = files[0];
}
-
- IsSelectFilesAreaHighlighted = true;
- }
-
- #endregion
-
- #region SelectFilesAreaDragLeaveCommand
-
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragLeaveCommand { get; }
-
- private void ExecuteSelectFilesAreaDragLeaveCommand(DragEventArgs? parameters)
- {
- IsSelectFilesAreaHighlighted = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragDropCommand
-
- public IAsyncRelayCommand<DragEventArgs> SelectFilesAreaDragDropCommand { get; }
-
- private async Task ExecuteSelectFilesAreaDragDropCommandAsync(DragEventArgs? parameters)
- {
- Arguments.NotNull(parameters, nameof(parameters));
-
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- IsSelectFilesAreaHighlighted = false;
-
- IStorageItem? storageItem = await ExtractStorageItem(parameters!.DataView);
- if (storageItem is StorageFile file)
- {
- InputFile = file;
- }
- }).ConfigureAwait(false);
- }
-
- #endregion
-
- #region SelectFilesBrowseCommand
-
- public IAsyncRelayCommand SelectFilesBrowseCommand { get; }
-
- private async Task ExecuteSelectFilesBrowseCommandAsync()
- {
- var filePicker = new FileOpenPicker
- {
- ViewMode = PickerViewMode.List,
- SuggestedStartLocation = PickerLocationId.ComputerFolder,
- };
- filePicker.FileTypeFilter.Add("*");
-
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- StorageFile file = await filePicker.PickSingleFileAsync();
- if (file != null)
- {
- InputFile = file;
- }
- });
- }
-
- #endregion
-
- #region SelectFilesPasteCommand
-
- public IAsyncRelayCommand SelectFilesPasteCommand { get; }
-
- private async Task ExecuteSelectFilesPasteCommandAsync()
- {
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- DataPackageView? dataPackageView = Clipboard.GetContent();
-
- IStorageItem? storageItem = await ExtractStorageItem(dataPackageView);
- if (storageItem is StorageFile file)
- {
- InputFile = file;
- }
- }).ConfigureAwait(false);
}
#endregion
@@ -282,7 +186,7 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
lock (_lockObject)
{
_hasCancelledCalculation = true;
-
+
_cancellationTokenSource.Cancel();
_cancellationTokenSource.Dispose();
_cancellationTokenSource = new CancellationTokenSource();
@@ -319,7 +223,7 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
}
}
- private void CheckSum()
+ private void Checksum()
{
lock (_lockObject)
{
@@ -403,7 +307,7 @@ namespace DevToys.ViewModels.Tools.CheckSumGenerator
}
catch (Exception ex)
{
- Logger.LogFault("CheckSum Generator", ex, $"Failed to calculate FileHash, algorithm used: {inputHashingAlgorithm}");
+ Logger.LogFault("Checksum Generator", ex, $"Failed to calculate FileHash, algorithm used: {inputHashingAlgorithm}");
return ex.Message;
}
}
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolViewModel.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolViewModel.cs
index 0cde06837..651e38fda 100644
--- a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolViewModel.cs
+++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolViewModel.cs
@@ -3,8 +3,8 @@
using System;
using System.Collections.Generic;
using System.Composition;
+using System.Diagnostics;
using System.IO;
-using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using DevToys.Api.Core;
@@ -17,28 +17,21 @@ using DevToys.Shared.Core.Threading;
using DevToys.Views.Tools.ColorBlindnessSimulator;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using Microsoft.Toolkit.Mvvm.Input;
-using Windows.ApplicationModel.DataTransfer;
using Windows.Graphics.Imaging;
using Windows.Storage;
-using Windows.Storage.Pickers;
using Windows.Storage.Streams;
-using Windows.UI.Xaml;
namespace DevToys.ViewModels.Tools.ColorBlindnessSimulator
{
[Export(typeof(ColorBlindnessSimulatorToolViewModel))]
public sealed class ColorBlindnessSimulatorToolViewModel : ObservableRecipient, IToolViewModel, IDisposable
{
- private static readonly string[] SupportedFileExtensions = new[] { ".png", ".jpg", ".jpeg", ".bmp" };
-
private readonly object _lockObject = new();
private readonly List<string> _tempFileNames = new();
private readonly IMarketingService _marketingService;
private CancellationTokenSource? _cancellationTokenSource;
private DateTime _timeSinceLastprogressUpdate;
- private bool _isSelectFilesAreaHighlighted;
- private bool _hasInvalidFilesSelected;
private bool _isResultGridVisible;
private bool _isProgressGridVisible;
private int _progress;
@@ -54,18 +47,6 @@ namespace DevToys.ViewModels.Tools.ColorBlindnessSimulator
internal ColorBlindnessSimulatorStrings Strings => LanguageManager.Instance.ColorBlindnessSimulator;
- internal bool IsSelectFilesAreaHighlighted
- {
- get => _isSelectFilesAreaHighlighted;
- set => SetProperty(ref _isSelectFilesAreaHighlighted, value);
- }
-
- internal bool HasInvalidFilesSelected
- {
- get => _hasInvalidFilesSelected;
- set => SetProperty(ref _hasInvalidFilesSelected, value);
- }
-
internal bool IsResultGridVisible
{
get => _isResultGridVisible;
@@ -113,11 +94,7 @@ namespace DevToys.ViewModels.Tools.ColorBlindnessSimulator
{
_marketingService = marketingService;
- SelectFilesAreaDragOverCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragOverCommand);
- SelectFilesAreaDragLeaveCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragLeaveCommand);
- SelectFilesAreaDragDropCommand = new AsyncRelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragDropCommandAsync);
- SelectFilesBrowseCommand = new AsyncRelayCommand(ExecuteSelectFilesBrowseCommandAsync);
- SelectFilesPasteCommand = new AsyncRelayCommand(ExecuteSelectFilesPasteCommandAsync);
+ FilesSelectedCommand = new RelayCommand<StorageFile[]>(ExecuteFilesSelectedCommand);
CancelCommand = new RelayCommand(ExecuteCancelCommand);
}
@@ -140,144 +117,17 @@ namespace DevToys.ViewModels.Tools.ColorBlindnessSimulator
}
}
- #region SelectFilesAreaDragOverCommand
+ #region FilesSelectedCommand
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragOverCommand { get; }
+ public IRelayCommand<StorageFile[]> FilesSelectedCommand { get; }
- private void ExecuteSelectFilesAreaDragOverCommand(DragEventArgs? parameters)
+ private void ExecuteFilesSelectedCommand(StorageFile[]? files)
{
- Arguments.NotNull(parameters, nameof(parameters));
- if (parameters!.DataView.Contains(StandardDataFormats.StorageItems))
+ if (files is not null)
{
- parameters.AcceptedOperation = DataPackageOperation.Copy;
- parameters.Handled = false;
+ Debug.Assert(files.Length == 1);
+ QueueNewSimulation(files[0]);
}
-
- IsSelectFilesAreaHighlighted = true;
- HasInvalidFilesSelected = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragLeaveCommand
-
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragLeaveCommand { get; }
-
- private void ExecuteSelectFilesAreaDragLeaveCommand(DragEventArgs? parameters)
- {
- IsSelectFilesAreaHighlighted = false;
- HasInvalidFilesSelected = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragDropCommand
-
- public IAsyncRelayCommand<DragEventArgs> SelectFilesAreaDragDropCommand { get; }
-
- private async Task ExecuteSelectFilesAreaDragDropCommandAsync(DragEventArgs? parameters)
- {
- Arguments.NotNull(parameters, nameof(parameters));
-
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- IsSelectFilesAreaHighlighted = false;
- if (!parameters!.DataView.Contains(StandardDataFormats.StorageItems))
- {
- return;
- }
-
- IReadOnlyList<IStorageItem>? storageItems = await parameters.DataView.GetStorageItemsAsync();
- if (storageItems is null || storageItems.Count != 1)
- {
- return;
- }
-
- IStorageItem storageItem = storageItems[0];
- if (storageItem is StorageFile file)
- {
- string fileExtension = Path.GetExtension(file.Name);
-
- if (SupportedFileExtensions.Any(ext => string.Equals(ext, fileExtension, StringComparison.OrdinalIgnoreCase)))
- {
- QueueNewSimulation(file, addFileToListOfTempFilesToDelete: false);
- }
- else
- {
- HasInvalidFilesSelected = true;
- }
- }
- else
- {
- HasInvalidFilesSelected = true;
- }
- }).ConfigureAwait(false);
- }
-
- #endregion
-
- #region SelectFilesBrowseCommand
-
- public IAsyncRelayCommand SelectFilesBrowseCommand { get; }
-
- private async Task ExecuteSelectFilesBrowseCommandAsync()
- {
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- HasInvalidFilesSelected = false;
-
- var filePicker = new FileOpenPicker
- {
- ViewMode = PickerViewMode.List,
- SuggestedStartLocation = PickerLocationId.ComputerFolder
- };
-
- for (int i = 0; i < SupportedFileExtensions.Length; i++)
- {
- filePicker.FileTypeFilter.Add(SupportedFileExtensions[i]);
- }
-
- StorageFile file = await filePicker.PickSingleFileAsync();
- if (file != null)
- {
- QueueNewSimulation(file, addFileToListOfTempFilesToDelete: false);
- }
- });
- }
-
- #endregion
-
- #region SelectFilesPasteCommand
-
- public IAsyncRelayCommand SelectFilesPasteCommand { get; }
-
- private async Task ExecuteSelectFilesPasteCommandAsync()
- {
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- HasInvalidFilesSelected = false;
-
- DataPackageView? dataPackageView = Windows.ApplicationModel.DataTransfer.Clipboard.GetContent();
- if (dataPackageView is not null && dataPackageView.Contains(StandardDataFormats.Bitmap))
- {
- IRandomAccessStreamReference? imageReceived = await dataPackageView.GetBitmapAsync();
- if (imageReceived is not null)
- {
- using (IRandomAccessStreamWithContentType imageStream = await imageReceived.OpenReadAsync())
- {
- StorageFolder localCacheFolder = ApplicationData.Current.LocalCacheFolder;
- StorageFile storageFile = await localCacheFolder.CreateFileAsync($"{Guid.NewGuid()}.jpeg", CreationCollisionOption.ReplaceExisting);
-
- using (IRandomAccessStream? stream = await storageFile.OpenAsync(FileAccessMode.ReadWrite))
- {
- await imageStream.AsStreamForRead().CopyToAsync(stream.AsStreamForWrite());
- }
-
- QueueNewSimulation(storageFile, addFileToListOfTempFilesToDelete: true);
- }
- }
- }
- });
}
#endregion
@@ -307,7 +157,7 @@ namespace DevToys.ViewModels.Tools.ColorBlindnessSimulator
#endregion
- private void QueueNewSimulation(StorageFile file, bool addFileToListOfTempFilesToDelete)
+ private void QueueNewSimulation(StorageFile file)
{
lock (_lockObject)
{
@@ -316,11 +166,6 @@ namespace DevToys.ViewModels.Tools.ColorBlindnessSimulator
ExecuteCancelCommand();
IsProgressGridVisible = true;
- if (addFileToListOfTempFilesToDelete)
- {
- _tempFileNames.Add(file.Path);
- }
-
Assumes.NotNull(_cancellationTokenSource, nameof(_cancellationTokenSource));
SimulateColorBlindnessAsync(file, _cancellationTokenSource!.Token).Forget();
}
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConverterToolViewModel.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConverterToolViewModel.cs
index 358050bef..86803f540 100644
--- a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConverterToolViewModel.cs
+++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/ImageConverter/ImageConverterToolViewModel.cs
@@ -10,26 +10,17 @@ using DevToys.Api.Tools;
using DevToys.Core;
using DevToys.Core.Threading;
using DevToys.Helpers;
-using DevToys.Shared.Core;
using DevToys.Views.Tools.ImageConverter;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using Microsoft.Toolkit.Mvvm.Input;
-using Windows.ApplicationModel.DataTransfer;
-using Windows.Graphics.Imaging;
using Windows.Storage;
using Windows.Storage.Pickers;
-using Windows.Storage.Streams;
-using Windows.UI.Xaml;
namespace DevToys.ViewModels.Tools.ImageConverter
{
[Export(typeof(ImageConverterToolViewModel))]
public sealed class ImageConverterToolViewModel : ObservableRecipient, IToolViewModel, IDisposable
{
- private static readonly string[] SupportedFileExtensions = new[] { ".png", ".jpg", ".jpeg", ".bmp" };
-
- private bool _isSelectFilesAreaHighlithed;
- private bool _hasInvalidFilesSelected;
private bool _isInfoBarOpen;
public Type View { get; } = typeof(ImageConverterToolPage);
@@ -42,18 +33,6 @@ namespace DevToys.ViewModels.Tools.ImageConverter
internal string InfoBarMessage => Strings.ErrorMessage;
- internal bool IsSelectFilesAreaHighlithed
- {
- get => _isSelectFilesAreaHighlithed;
- set => SetProperty(ref _isSelectFilesAreaHighlithed, value);
- }
-
- internal bool HasInvalidFilesSelected
- {
- get => _hasInvalidFilesSelected;
- set => SetProperty(ref _hasInvalidFilesSelected, value);
- }
-
internal bool IsInfoBarOpen
{
get => _isInfoBarOpen;
@@ -63,19 +42,12 @@ namespace DevToys.ViewModels.Tools.ImageConverter
[ImportingConstructor]
public ImageConverterToolViewModel()
{
- SelectFilesAreaDragOverCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragOverCommand);
- SelectFilesAreaDragLeaveCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragLeaveCommand);
- SelectFilesAreaDragDropCommand = new AsyncRelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragDropCommandAsync);
- SelectFilesBrowseCommand = new AsyncRelayCommand(ExecuteSelectFilesBrowseCommandAsync);
+ FilesSelectedCommand = new RelayCommand<StorageFile[]>(ExecuteFilesSelectedCommand);
DeleteAllCommand = new RelayCommand(ExecuteDeleteAllCommand);
SaveAllCommand = new AsyncRelayCommand(ExecuteSaveAllCommandAsync);
CloseInfoBarButtonCommand = new RelayCommand(ExecuteCloseInfoBarButtonCommand);
- InitializeComboBox();
- }
-
- private void InitializeComboBox()
- {
+ // Initialize ComboBox
ConvertedFormat = "PNG";
}
@@ -84,124 +56,18 @@ namespace DevToys.ViewModels.Tools.ImageConverter
DeleteAllCommand.Execute(null);
}
- #region SelectFilesAreaDragOverCommand
+ #region FilesSelectedCommand
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragOverCommand { get; }
+ public IRelayCommand<StorageFile[]> FilesSelectedCommand { get; }
- private void ExecuteSelectFilesAreaDragOverCommand(DragEventArgs? parameters)
+ private void ExecuteFilesSelectedCommand(StorageFile[]? files)
{
- Arguments.NotNull(parameters, nameof(parameters));
- if (parameters!.DataView.Contains(StandardDataFormats.StorageItems))
+ if (files is not null)
{
- parameters.AcceptedOperation = DataPackageOperation.Copy;
- parameters.Handled = false;
- }
-
- IsSelectFilesAreaHighlithed = true;
- HasInvalidFilesSelected = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragLeaveCommand
-
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragLeaveCommand { get; }
-
- private void ExecuteSelectFilesAreaDragLeaveCommand(DragEventArgs? parameters)
- {
- IsSelectFilesAreaHighlithed = false;
- HasInvalidFilesSelected = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragDropCommand
-
- public IAsyncRelayCommand<DragEventArgs> SelectFilesAreaDragDropCommand { get; }
-
- private async Task ExecuteSelectFilesAreaDragDropCommandAsync(DragEventArgs? parameters)
- {
- try
- {
- Arguments.NotNull(parameters, nameof(parameters));
-
- await ThreadHelper.RunOnUIThreadAsync(async () =>
+ foreach (StorageFile file in files)
{
- IsSelectFilesAreaHighlithed = false;
- if (!parameters!.DataView.Contains(StandardDataFormats.StorageItems))
- {
- return;
- }
-
- IReadOnlyList<IStorageItem>? storageItems = await parameters.DataView.GetStorageItemsAsync();
- if (storageItems is null || storageItems.Count == 0)
- {
- return;
- }
-
- foreach (IStorageItem storageItem in storageItems)
- {
- if (storageItem is StorageFile file)
- {
- if (SupportedFileExtensions.Any(ext => string.Equals(ext, file.FileType, StringComparison.OrdinalIgnoreCase)))
- {
- QueueNewConversionWorkItem(file);
- }
- else
- {
- HasInvalidFilesSelected = true;
- }
- }
- else
- {
- HasInvalidFilesSelected = true;
- }
- }
- }).ConfigureAwait(false);
- }
- catch (Exception ex)
- {
- Logger.LogFault(nameof(ImageConverterToolViewModel), ex, "Unable to recognize files.");
- IsInfoBarOpen = true;
- }
- }
-
- #endregion
-
- #region SelectFilesBrowseCommand
-
- public IAsyncRelayCommand SelectFilesBrowseCommand { get; }
-
- private async Task ExecuteSelectFilesBrowseCommandAsync()
- {
- try
- {
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- HasInvalidFilesSelected = false;
-
- var filePicker = new FileOpenPicker
- {
- ViewMode = PickerViewMode.List,
- SuggestedStartLocation = PickerLocationId.ComputerFolder
- };
-
- for (int i = 0; i < SupportedFileExtensions.Length; i++)
- {
- filePicker.FileTypeFilter.Add(SupportedFileExtensions[i]);
- }
-
- IReadOnlyList<StorageFile> files = await filePicker.PickMultipleFilesAsync();
- for (int i = 0; i < files.Count; i++)
- {
- QueueNewConversionWorkItem(files[i]);
- }
- });
- }
- catch (Exception ex)
- {
- Logger.LogFault(nameof(ImageConverterToolViewModel), ex, "Unable to browse file(s).");
- IsInfoBarOpen = true;
+ QueueNewConversionWorkItem(file);
+ }
}
}
@@ -233,6 +99,7 @@ namespace DevToys.ViewModels.Tools.ImageConverter
ViewMode = PickerViewMode.List
};
+ folderPicker.FileTypeFilter.Add("*");
StorageFolder? selectedFolder = await folderPicker.PickSingleFolderAsync();
if (selectedFolder is not null)
diff --git a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolViewModel.cs b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolViewModel.cs
index 9474f8cca..ca56a60d8 100644
--- a/src/dev/impl/DevToys/ViewModels/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolViewModel.cs
+++ b/src/dev/impl/DevToys/ViewModels/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolViewModel.cs
@@ -23,29 +23,12 @@ namespace DevToys.ViewModels.Tools.PngJpgCompressor
[Export(typeof(PngJpgCompressorToolViewModel))]
public sealed class PngJpgCompressorToolViewModel : ObservableRecipient, IToolViewModel, IDisposable
{
- private static readonly string[] SupportedFileExtensions = new[] { ".png", ".jpg", ".jpeg" };
-
private readonly IAppService _appService;
- private bool _isSelectFilesAreaHighlighted;
- private bool _hasInvalidFilesSelected;
-
public Type View { get; } = typeof(PngJpgCompressorToolPage);
internal PngJpgCompressorStrings Strings => LanguageManager.Instance.PngJpgCompressor;
- internal bool IsSelectFilesAreaHighlighted
- {
- get => _isSelectFilesAreaHighlighted;
- set => SetProperty(ref _isSelectFilesAreaHighlighted, value);
- }
-
- internal bool HasInvalidFilesSelected
- {
- get => _hasInvalidFilesSelected;
- set => SetProperty(ref _hasInvalidFilesSelected, value);
- }
-
internal ObservableCollection<ImageCompressionWorkItem> CompressionWorkQueue { get; } = new();
[ImportingConstructor]
@@ -53,10 +36,7 @@ namespace DevToys.ViewModels.Tools.PngJpgCompressor
{
_appService = appService;
- SelectFilesAreaDragOverCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragOverCommand);
- SelectFilesAreaDragLeaveCommand = new RelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragLeaveCommand);
- SelectFilesAreaDragDropCommand = new AsyncRelayCommand<DragEventArgs>(ExecuteSelectFilesAreaDragDropCommandAsync);
- SelectFilesBrowseCommand = new AsyncRelayCommand(ExecuteSelectFilesBrowseCommandAsync);
+ FilesSelectedCommand = new RelayCommand<StorageFile[]>(ExecuteFilesSelectedCommand);
DeleteAllCommand = new RelayCommand(ExecuteDeleteAllCommand);
SaveAllCommand = new AsyncRelayCommand(ExecuteSaveAllCommandAsync);
}
@@ -74,110 +54,19 @@ namespace DevToys.ViewModels.Tools.PngJpgCompressor
DeleteAllCommand.Execute(null);
}
- #region SelectFilesAreaDragOverCommand
-
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragOverCommand { get; }
-
- private void ExecuteSelectFilesAreaDragOverCommand(DragEventArgs? parameters)
- {
- Arguments.NotNull(parameters, nameof(parameters));
- if (parameters!.DataView.Contains(StandardDataFormats.StorageItems))
- {
- parameters.AcceptedOperation = DataPackageOperation.Copy;
- parameters.Handled = false;
- }
-
- IsSelectFilesAreaHighlighted = true;
- HasInvalidFilesSelected = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragLeaveCommand
+ #region FilesSelectedCommand
- public IRelayCommand<DragEventArgs> SelectFilesAreaDragLeaveCommand { get; }
+ public IRelayCommand<StorageFile[]> FilesSelectedCommand { get; }
- private void ExecuteSelectFilesAreaDragLeaveCommand(DragEventArgs? parameters)
+ private void ExecuteFilesSelectedCommand(StorageFile[]? files)
{
- IsSelectFilesAreaHighlighted = false;
- HasInvalidFilesSelected = false;
- }
-
- #endregion
-
- #region SelectFilesAreaDragDropCommand
-
- public IAsyncRelayCommand<DragEventArgs> SelectFilesAreaDragDropCommand { get; }
-
- private async Task ExecuteSelectFilesAreaDragDropCommandAsync(DragEventArgs? parameters)
- {
- Arguments.NotNull(parameters, nameof(parameters));
-
- await ThreadHelper.RunOnUIThreadAsync(async () =>
+ if (files is not null)
{
- IsSelectFilesAreaHighlighted = false;
- if (!parameters!.DataView.Contains(StandardDataFormats.StorageItems))
+ foreach (StorageFile file in files)
{
- return;
+ QueueNewConversion(file);
}
-
- IReadOnlyList<IStorageItem>? storageItems = await parameters.DataView.GetStorageItemsAsync();
- if (storageItems is null || storageItems.Count == 0)
- {
- return;
- }
-
- for (int i = 0; i < storageItems.Count; i++)
- {
- IStorageItem storageItem = storageItems[i];
- if (storageItem is StorageFile file)
- {
- if (SupportedFileExtensions.Any(ext => string.Equals(ext, file.FileType, StringComparison.OrdinalIgnoreCase)))
- {
- QueueNewConversion(file);
- }
- else
- {
- HasInvalidFilesSelected = true;
- }
- }
- else
- {
- HasInvalidFilesSelected = true;
- }
- }
- }).ConfigureAwait(false);
- }
-
- #endregion
-
- #region SelectFilesBrowseCommand
-
- public IAsyncRelayCommand SelectFilesBrowseCommand { get; }
-
- private async Task ExecuteSelectFilesBrowseCommandAsync()
- {
- await ThreadHelper.RunOnUIThreadAsync(async () =>
- {
- HasInvalidFilesSelected = false;
-
- var filePicker = new FileOpenPicker
- {
- ViewMode = PickerViewMode.List,
- SuggestedStartLocation = PickerLocationId.ComputerFolder
- };
-
- for (int i = 0; i < SupportedFileExtensions.Length; i++)
- {
- filePicker.FileTypeFilter.Add(SupportedFileExtensions[i]);
- }
-
- IReadOnlyList<StorageFile> files = await filePicker.PickMultipleFilesAsync();
- for (int i = 0; i < files.Count; i++)
- {
- QueueNewConversion(files[i]);
- }
- });
+ }
}
#endregion
@@ -220,6 +109,8 @@ namespace DevToys.ViewModels.Tools.PngJpgCompressor
{
ViewMode = PickerViewMode.List
};
+
+ folderPicker.FileTypeFilter.Add("*");
StorageFolder? selectedFolder = await folderPicker.PickSingleFolderAsync();
if (selectedFolder is not null)
{
diff --git a/src/dev/impl/DevToys/Views/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolPage.xaml b/src/dev/impl/DevToys/Views/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolPage.xaml
index 6171f3504..2563b9cd1 100644
--- a/src/dev/impl/DevToys/Views/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolPage.xaml
+++ b/src/dev/impl/DevToys/Views/Tools/Generators/CheckSumGenerator/CheckSumGeneratorToolPage.xaml
@@ -5,8 +5,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="using:DevToys.UI.Controls"
- xmlns:core="using:Microsoft.Xaml.Interactions.Core"
- xmlns:i="using:Microsoft.Xaml.Interactivity"
xmlns:converters="using:DevToys.UI.Converters"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
mc:Ignorable="d"
@@ -18,20 +16,6 @@
</Page.Resources>
<StackPanel Margin="0,0,0,16" Spacing="12">
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="SelectFilesPointerHover">
- <VisualState.StateTriggers>
- <StateTrigger IsActive="{x:Bind ViewModel.IsSelectFilesAreaHighlighted, Mode=OneWay}"/>
- </VisualState.StateTriggers>
- <VisualState.Setters>
- <Setter Target="SelectFilesRectangle.Stroke" Value="{ThemeResource TextControlHeaderForeground}" />
- <Setter Target="SelectFilesRectangle.Fill" Value="{ThemeResource ButtonBackgroundPointerOver}" />
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
<StackPanel.ChildrenTransitions>
<TransitionCollection>
<EntranceThemeTransition IsStaggeringEnabled="True" FromVerticalOffset="50"/>
@@ -66,69 +50,11 @@
</controls:ExpandableSettingControl>
</StackPanel>
- <Grid
- Grid.Row="0"
+ <controls:FileSelector
Margin="0,12,0,0"
- AllowDrop="True"
- Background="Transparent"
- CornerRadius="4">
- <i:Interaction.Behaviors>
- <core:EventTriggerBehavior EventName="DragOver">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragOverCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="DragLeave">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragLeaveCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="Drop">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragDropCommand}"/>
- </core:EventTriggerBehavior>
- </i:Interaction.Behaviors>
- <Rectangle
- x:Name="SelectFilesRectangle"
- Stroke="{ThemeResource TextControlHeaderForegroundDisabled}"
- StrokeDashArray="4 4"
- StrokeThickness="2"
- Fill="Transparent">
- </Rectangle>
- <StackPanel
- Spacing="8"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Margin="24">
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction1}"
- TextTrimming="CharacterEllipsis"
- TextWrapping="WrapWholeWords"
- HorizontalAlignment="Center"/>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction2}"
- HorizontalAlignment="Center"/>
- <StackPanel
- Orientation="Horizontal"
- HorizontalAlignment="Center"
- Spacing="6">
- <Button
- x:Name="BrowseFileButton"
- Style="{StaticResource AccentButtonStyle}"
- VerticalAlignment="Center"
- MinWidth="100"
- Content="{x:Bind ViewModel.Strings.SelectFilesInstruction3}"
- Command="{x:Bind ViewModel.SelectFilesBrowseCommand}"/>
- <TextBlock
- Text="/"
- VerticalAlignment="Center"/>
- <Button
- Style="{StaticResource AccentButtonStyle}"
- VerticalAlignment="Center"
- MinWidth="100"
- Content="{x:Bind ViewModel.Strings.SelectFilesInstruction4}"
- Command="{x:Bind ViewModel.SelectFilesPasteCommand}"/>
- </StackPanel>
- </StackPanel>
- </Grid>
+ AllowedFileExtensions="*"
+ AllowMultipleFileSelection="False"
+ FilesSelectedCommand="{x:Bind ViewModel.FilesSelectedCommand}"/>
<Grid Grid.Row="1" Margin="0,20,0,0" Visibility="{x:Bind ViewModel.ShouldDisplayProgress, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}">
<muxc:ProgressRing
diff --git a/src/dev/impl/DevToys/Views/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolPage.xaml b/src/dev/impl/DevToys/Views/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolPage.xaml
index 91a40212e..9f02601ab 100644
--- a/src/dev/impl/DevToys/Views/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolPage.xaml
+++ b/src/dev/impl/DevToys/Views/Tools/Graphic/ColorBlindnessSimulator/ColorBlindnessSimulatorToolPage.xaml
@@ -1,14 +1,13 @@
<Page
x:Class="DevToys.Views.Tools.ColorBlindnessSimulator.ColorBlindnessSimulatorToolPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.Views.Tools.ColorBlindnessSimulator"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:controls="using:DevToys.UI.Controls"
xmlns:converters="using:DevToys.UI.Converters"
+ xmlns:local="using:DevToys.Views.Tools.ColorBlindnessSimulator"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
- xmlns:core="using:Microsoft.Xaml.Interactions.Core"
- xmlns:i="using:Microsoft.Xaml.Interactivity"
mc:Ignorable="d"
NavigationCacheMode="Required">
<Page.Resources>
@@ -16,20 +15,6 @@
</Page.Resources>
<Grid Margin="0,0,0,16" RowSpacing="12">
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="SelectFilesPointerHover">
- <VisualState.StateTriggers>
- <StateTrigger IsActive="{x:Bind ViewModel.IsSelectFilesAreaHighlighted, Mode=OneWay}"/>
- </VisualState.StateTriggers>
- <VisualState.Setters>
- <Setter Target="SelectFilesRectangle.Stroke" Value="{ThemeResource TextControlHeaderForeground}" />
- <Setter Target="SelectFilesRectangle.Fill" Value="{ThemeResource ButtonBackgroundPointerOver}" />
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
@@ -40,75 +25,12 @@
</TransitionCollection>
</Grid.ChildrenTransitions>
- <Grid
- Grid.Row="0"
+ <controls:FileSelector
Margin="0,12,0,0"
- AllowDrop="True"
- Background="Transparent"
- CornerRadius="4">
- <i:Interaction.Behaviors>
- <core:EventTriggerBehavior EventName="DragOver">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragOverCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="DragLeave">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragLeaveCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="Drop">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragDropCommand}"/>
- </core:EventTriggerBehavior>
- </i:Interaction.Behaviors>
- <Rectangle
- x:Name="SelectFilesRectangle"
- Stroke="{ThemeResource TextControlHeaderForegroundDisabled}"
- StrokeDashArray="4 4"
- StrokeThickness="2"
- Fill="Transparent">
- </Rectangle>
- <StackPanel
- Spacing="8"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Margin="24">
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction1}"
- TextTrimming="CharacterEllipsis"
- TextWrapping="WrapWholeWords"
- HorizontalAlignment="Center"/>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction2}"
- HorizontalAlignment="Center"/>
- <StackPanel
- Orientation="Horizontal"
- HorizontalAlignment="Center"
- Spacing="6">
- <Button
- x:Name="BrowseFileButton"
- Style="{StaticResource AccentButtonStyle}"
- VerticalAlignment="Center"
- MinWidth="100"
- Content="{x:Bind ViewModel.Strings.SelectFilesInstruction3}"
- Command="{x:Bind ViewModel.SelectFilesBrowseCommand}"/>
- <TextBlock
- Text="/"
- VerticalAlignment="Center"/>
- <Button
- Style="{StaticResource AccentButtonStyle}"
- VerticalAlignment="Center"
- MinWidth="100"
- Content="{x:Bind ViewModel.Strings.SelectFilesInstruction4}"
- Command="{x:Bind ViewModel.SelectFilesPasteCommand}"/>
- </StackPanel>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.InvalidSelectedFiles}"
- HorizontalAlignment="Center"
- FontSize="11"
- Foreground="Red"
- Visibility="{x:Bind ViewModel.HasInvalidFilesSelected, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}"/>
- </StackPanel>
- </Grid>
+ AllowedFileExtensions="png;jpg;jpeg;bmp"
+ AllowMultipleFileSelection="False"
+ AllowPasteImage="True"
+ FilesSelectedCommand="{x:Bind ViewModel.FilesSelectedCommand}"/>
<Grid
Grid.Row="1"
diff --git a/src/dev/impl/DevToys/Views/Tools/Graphic/ImageConverter/ImageConverterToolPage.xaml b/src/dev/impl/DevToys/Views/Tools/Graphic/ImageConverter/ImageConverterToolPage.xaml
index cf592a465..ab9420157 100644
--- a/src/dev/impl/DevToys/Views/Tools/Graphic/ImageConverter/ImageConverterToolPage.xaml
+++ b/src/dev/impl/DevToys/Views/Tools/Graphic/ImageConverter/ImageConverterToolPage.xaml
@@ -28,20 +28,6 @@
</Page.Resources>
<StackPanel Margin="0,0,0,16" Spacing="12">
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="SelectFilesPointerHover">
- <VisualState.StateTriggers>
- <StateTrigger IsActive="{x:Bind ViewModel.IsSelectFilesAreaHighlithed, Mode=OneWay}"/>
- </VisualState.StateTriggers>
- <VisualState.Setters>
- <Setter Target="SelectFilesRectangle.Stroke" Value="{ThemeResource TextControlHeaderForeground}" />
- <Setter Target="SelectFilesRectangle.Fill" Value="{ThemeResource ButtonBackgroundPointerOver}" />
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
<StackPanel.ChildrenTransitions>
<TransitionCollection>
<EntranceThemeTransition IsStaggeringEnabled="True" FromVerticalOffset="50"/>
@@ -73,58 +59,11 @@
Message="{x:Bind ViewModel.InfoBarMessage, Mode=OneWay}"
CloseButtonCommand="{x:Bind ViewModel.CloseInfoBarButtonCommand}"/>
- <Grid
+ <controls:FileSelector
Margin="0,12,0,0"
- AllowDrop="True"
- Background="Transparent"
- CornerRadius="4">
- <i:Interaction.Behaviors>
- <core:EventTriggerBehavior EventName="DragOver">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragOverCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="DragLeave">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragLeaveCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="Drop">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragDropCommand}"/>
- </core:EventTriggerBehavior>
- </i:Interaction.Behaviors>
- <Rectangle
- x:Name="SelectFilesRectangle"
- Stroke="{ThemeResource TextControlHeaderForegroundDisabled}"
- StrokeDashArray="4 4"
- StrokeThickness="2"
- Fill="Transparent">
- </Rectangle>
- <StackPanel
- Spacing="8"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Margin="24">
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction1}"
- TextTrimming="CharacterEllipsis"
- TextWrapping="WrapWholeWords"
- HorizontalAlignment="Center"/>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction2}"
- HorizontalAlignment="Center"/>
- <Button
- Style="{StaticResource AccentButtonStyle}"
- Content="{x:Bind ViewModel.Strings.SelectFilesInstruction3}"
- HorizontalAlignment="Center"
- Command="{x:Bind ViewModel.SelectFilesBrowseCommand}"/>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.InvalidSelectedFiles}"
- HorizontalAlignment="Center"
- FontSize="11"
- Foreground="Red"
- Visibility="{x:Bind ViewModel.HasInvalidFilesSelected, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}"/>
- </StackPanel>
- </Grid>
+ AllowedFileExtensions="png;jpg;jpeg;bmp"
+ AllowMultipleFileSelection="True"
+ FilesSelectedCommand="{x:Bind ViewModel.FilesSelectedCommand}"/>
<StackPanel
Orientation="Horizontal"
diff --git a/src/dev/impl/DevToys/Views/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolPage.xaml b/src/dev/impl/DevToys/Views/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolPage.xaml
index 748fe111c..f76cd431c 100644
--- a/src/dev/impl/DevToys/Views/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolPage.xaml
+++ b/src/dev/impl/DevToys/Views/Tools/Graphic/PngJpgCompressor/PngJpgCompressorToolPage.xaml
@@ -4,11 +4,10 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:controls="using:DevToys.UI.Controls"
xmlns:converters="using:DevToys.UI.Converters"
xmlns:local="using:DevToys.ViewModels.Tools.PngJpgCompressor"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
- xmlns:core="using:Microsoft.Xaml.Interactions.Core"
- xmlns:i="using:Microsoft.Xaml.Interactivity"
mc:Ignorable="d"
NavigationCacheMode="Required">
<Page.Resources>
@@ -27,79 +26,17 @@
</Page.Resources>
<StackPanel Margin="0,0,0,16" Spacing="12">
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="SelectFilesPointerHover">
- <VisualState.StateTriggers>
- <StateTrigger IsActive="{x:Bind ViewModel.IsSelectFilesAreaHighlighted, Mode=OneWay}"/>
- </VisualState.StateTriggers>
- <VisualState.Setters>
- <Setter Target="SelectFilesRectangle.Stroke" Value="{ThemeResource TextControlHeaderForeground}" />
- <Setter Target="SelectFilesRectangle.Fill" Value="{ThemeResource ButtonBackgroundPointerOver}" />
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
<StackPanel.ChildrenTransitions>
<TransitionCollection>
<EntranceThemeTransition IsStaggeringEnabled="True" FromVerticalOffset="50"/>
</TransitionCollection>
</StackPanel.ChildrenTransitions>
- <Grid
+ <controls:FileSelector
Margin="0,12,0,0"
- AllowDrop="True"
- Background="Transparent"
- CornerRadius="4">
- <i:Interaction.Behaviors>
- <core:EventTriggerBehavior EventName="DragOver">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragOverCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="DragLeave">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragLeaveCommand}"/>
- </core:EventTriggerBehavior>
- <core:EventTriggerBehavior EventName="Drop">
- <core:InvokeCommandAction
- Command="{x:Bind ViewModel.SelectFilesAreaDragDropCommand}"/>
- </core:EventTriggerBehavior>
- </i:Interaction.Behaviors>
- <Rectangle
- x:Name="SelectFilesRectangle"
- Stroke="{ThemeResource TextControlHeaderForegroundDisabled}"
- StrokeDashArray="4 4"
- StrokeThickness="2"
- Fill="Transparent">
- </Rectangle>
- <StackPanel
- Spacing="8"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Margin="24">
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction1}"
- TextTrimming="CharacterEllipsis"
- TextWrapping="WrapWholeWords"
- HorizontalAlignment="Center"/>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.SelectFilesInstruction2}"
- HorizontalAlignment="Center"/>
- <Button
- Style="{StaticResource AccentButtonStyle}"
- Content="{x:Bind ViewModel.Strings.SelectFilesInstruction3}"
- HorizontalAlignment="Center"
- MinWidth="100"
- Command="{x:Bind ViewModel.SelectFilesBrowseCommand}"/>
- <TextBlock
- Text="{x:Bind ViewModel.Strings.InvalidSelectedFiles}"
- HorizontalAlignment="Center"
- FontSize="11"
- Foreground="Red"
- Visibility="{x:Bind ViewModel.HasInvalidFilesSelected, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}"/>
- </StackPanel>
- </Grid>
+ AllowedFileExtensions="png;jpg;jpeg"
+ AllowMultipleFileSelection="True"
+ FilesSelectedCommand="{x:Bind ViewModel.FilesSelectedCommand}"/>
<StackPanel
Orientation="Horizontal"