[Feature] Add Languages (#156), version 1.0.17.30

This commit is contained in:
tanjalibertatis 2021-05-02 14:51:16 +02:00
parent 88cab02cf0
commit 7301b61a42
11 changed files with 283 additions and 5 deletions

View file

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.17.29")]
[assembly: AssemblyFileVersion("1.0.17.29")]
[assembly: AssemblyVersion("1.0.17.30")]
[assembly: AssemblyFileVersion("1.0.17.30")]

0
Resources/lang.cs-CZ.Designer.cs generated Normal file
View file

249
Resources/lang.cs-CZ.resx Normal file
View file

@ -0,0 +1,249 @@
<?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="About" xml:space="preserve">
<value>O</value>
</data>
<data name="buttonOk" xml:space="preserve">
<value>OK</value>
</data>
<data name="Autostart" xml:space="preserve">
<value>Automatické spuštění</value>
</data>
<data name="Exit" xml:space="preserve">
<value>Výstup</value>
</data>
<data name="Folder" xml:space="preserve">
<value>Složka</value>
</data>
<data name="Folder empty" xml:space="preserve">
<value>Složka prázdná</value>
</data>
<data name="buttonDetails" xml:space="preserve">
<value>Detaily</value>
</data>
<data name="buttonSystemInfo" xml:space="preserve">
<value>Systémová informace</value>
</data>
<data name="Folder inaccessible" xml:space="preserve">
<value>Složka nepřístupná</value>
</data>
<data name="Language" xml:space="preserve">
<value>Jazyk</value>
</data>
<data name="Log File" xml:space="preserve">
<value>Log soubor</value>
</data>
<data name="Restart" xml:space="preserve">
<value>Restartujte</value>
</data>
<data name="Could not register the hot key." xml:space="preserve">
<value>Klávesovou zkratku se nepodařilo zaregistrovat.</value>
</data>
<data name="buttonCancel" xml:space="preserve">
<value>zrušení</value>
</data>
<data name="General" xml:space="preserve">
<value>Všeobecné</value>
</data>
<data name="Hotkey" xml:space="preserve">
<value>Horká klávesa</value>
</data>
<data name="Launch on startup" xml:space="preserve">
<value>Spustit při spuštění</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Nastavení</value>
</data>
<data name="HelpFAQ" xml:space="preserve">
<value>Nápověda / FAQ</value>
</data>
<data name="SystemTrayMenu" xml:space="preserve">
<value>SystemTrayMenu</value>
</data>
<data name="TextFirstStart" xml:space="preserve">
<value>Přečtěte si časté dotazy a poté vyberte kořenový adresář pro SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Varování</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Vybrat složku</value>
</data>
<data name="MessageRootFolderEmpty" xml:space="preserve">
<value>Vaše kořenová složka pro SystemTrayMenu neexistuje nebo je prázdná! Vložte nějaké soubory, složky nebo zástupce do složky nebo změňte kořenovou složku.</value>
</data>
<data name="MessageRootFolderNoAccess" xml:space="preserve">
<value>Nemáte přístup do kořenové složky pro SystemTrayMenu. Udělte přístup ke složce nebo změňte kořenovou složku.</value>
</data>
<data name="Expert" xml:space="preserve">
<value>Expert</value>
</data>
<data name="Single click to start item" xml:space="preserve">
<value>Jedním kliknutím otevřete položku</value>
</data>
<data name="Dark Mode always active" xml:space="preserve">
<value>Tmavý režim je vždy aktivní</value>
</data>
<data name="Advanced" xml:space="preserve">
<value>Pokročilý</value>
</data>
<data name="Appear at mouse location" xml:space="preserve">
<value>Objevte se na místě myši</value>
</data>
<data name="Change Folder" xml:space="preserve">
<value>Změnit složku</value>
</data>
<data name="Click" xml:space="preserve">
<value>Klepněte na</value>
</data>
<data name="Customize" xml:space="preserve">
<value>Přizpůsobit</value>
</data>
<data name="Dark Mode" xml:space="preserve">
<value>Temný režim</value>
</data>
<data name="Default" xml:space="preserve">
<value>Výchozí</value>
</data>
<data name="If the focus is lost and if the mouse is still on the menu" xml:space="preserve">
<value>Pokud dojde ke ztrátě fokusu a pokud je myš stále v nabídce</value>
</data>
<data name="Milliseconds until a menu opens when the mouse is on it" xml:space="preserve">
<value>Milisekundy, dokud se neotevře nabídka, když je na ní myš</value>
</data>
<data name="Milliseconds until the menu closes if in this case the mouse then leaves the menu" xml:space="preserve">
<value>Milisekundy, dokud se nabídka nezavře, pokud v tomto případě myš poté nabídku opustí</value>
</data>
<data name="Pixels maximum menu width" xml:space="preserve">
<value>Pixely maximální šířka nabídky</value>
</data>
<data name="Size and location" xml:space="preserve">
<value>Velikost a umístění</value>
</data>
<data name="Stays open" xml:space="preserve">
<value>Pobyty otevřené</value>
</data>
<data name="Time until a menu opens" xml:space="preserve">
<value>Čas do otevření nabídky</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Pokud bylo na položku kliknuto</value>
</data>
</root>

View file

@ -243,4 +243,7 @@
<data name="Time until a menu opens" xml:space="preserve">
<value>Zeit bis zum Öffnen eines Menüs</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Wenn ein Element angeklickt wurde</value>
</data>
</root>

View file

@ -243,4 +243,7 @@
<data name="Time until a menu opens" xml:space="preserve">
<value>Tiempo hasta que se abre un menú</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Si se hizo clic en un elemento</value>
</data>
</root>

View file

@ -243,4 +243,7 @@
<data name="Time until a menu opens" xml:space="preserve">
<value>Temps jusqu'à ce qu'un menu s'ouvre</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Si un élément a été cliqué</value>
</data>
</root>

View file

@ -243,4 +243,7 @@
<data name="Time until a menu opens" xml:space="preserve">
<value>Tempo fino all'apertura di un menu</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Se è stato fatto clic su un elemento</value>
</data>
</root>

View file

@ -243,4 +243,7 @@
<data name="Time until a menu opens" xml:space="preserve">
<value>Tijd totdat een menu opent</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Als er op een item is geklikt</value>
</data>
</root>

View file

@ -243,4 +243,7 @@
<data name="Time until a menu opens" xml:space="preserve">
<value>Tempo até abrir um menu</value>
</data>
<data name="If an item was clicked" xml:space="preserve">
<value>Se um item foi clicado</value>
</data>
</root>

View file

@ -146,6 +146,11 @@
<DependentUpon>lang.pt-BR.resx</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Update="Resources\lang.cs-CZ.Designer.cs">
<DependentUpon>lang.cs-CZ.resx</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
<Compile Update="Resources\lang.Designer.cs">
<AutoGen>True</AutoGen>
@ -187,6 +192,10 @@
<EmbeddedResource Update="Resources\lang.pt-BR.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>lang.pt-BR.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Resources\lang.cs-CZ.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>lang.cs-CZ.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Resources\lang.resx">
<Generator>ResXFileCodeGenerator</Generator>

View file

@ -100,13 +100,15 @@ namespace SystemTrayMenu.UserInterface
{
List<Language> dataSource = new List<Language>
{
new Language() { Name = "English", Value = "en" },
new Language() { Name = "čeština", Value = "cs" },
new Language() { Name = "Deutsch", Value = "de" },
new Language() { Name = "Français", Value = "fr" },
new Language() { Name = "English", Value = "en" },
new Language() { Name = "Español", Value = "es" },
new Language() { Name = "Français", Value = "fr" },
new Language() { Name = "Italiano", Value = "it" },
new Language() { Name = "Nederlands", Value = "nl" },
new Language() { Name = "Português (Brasil)", Value = "pt-BR" },
new Language() { Name = "Português (Brasil)", Value = "pt-BR" },
// new Language() { Name = "русский", Value = "ru" },
};
comboBoxLanguage.DataSource = dataSource;
comboBoxLanguage.DisplayMember = "Name";