Commit 6976636c authored by Martin Finkel's avatar Martin Finkel

Add portuguese and czech translations

parent 485a7b74
...@@ -50,6 +50,10 @@ namespace VLC.Converters ...@@ -50,6 +50,10 @@ namespace VLC.Converters
return Strings.UkrainianLanguage; return Strings.UkrainianLanguage;
case Languages.Chinese: case Languages.Chinese:
return Strings.ChineseLanguage; return Strings.ChineseLanguage;
case Languages.Portuguese:
return Strings.PortugueseLanguage;
case Languages.Czech:
return Strings.CzechLanguage;
default: default:
throw new NotImplementedException(); throw new NotImplementedException();
} }
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
Swedish, Swedish,
Turkish, Turkish,
Ukrainian, Ukrainian,
Chinese Chinese,
Portuguese,
Czech
} }
} }
...@@ -328,6 +328,8 @@ namespace VLC.Utils ...@@ -328,6 +328,8 @@ namespace VLC.Utils
public static string TurkishLanguage => _resourcesLoader.GetString(nameof(TurkishLanguage)); public static string TurkishLanguage => _resourcesLoader.GetString(nameof(TurkishLanguage));
public static string UkrainianLanguage => _resourcesLoader.GetString(nameof(UkrainianLanguage)); public static string UkrainianLanguage => _resourcesLoader.GetString(nameof(UkrainianLanguage));
public static string ChineseLanguage => _resourcesLoader.GetString(nameof(ChineseLanguage)); public static string ChineseLanguage => _resourcesLoader.GetString(nameof(ChineseLanguage));
public static string PortugueseLanguage => _resourcesLoader.GetString(nameof(PortugueseLanguage));
public static string CzechLanguage => _resourcesLoader.GetString(nameof(CzechLanguage));
public static string HomePage => _resourcesLoader.GetString(nameof(HomePage)); public static string HomePage => _resourcesLoader.GetString(nameof(HomePage));
public static string HomePageDescription => _resourcesLoader.GetString(nameof(HomePageDescription)); public static string HomePageDescription => _resourcesLoader.GetString(nameof(HomePageDescription));
......
...@@ -685,6 +685,13 @@ namespace VLC.ViewModels.Settings ...@@ -685,6 +685,13 @@ namespace VLC.ViewModels.Settings
case Languages.Chinese: case Languages.Chinese:
currentCulture = "zh-CN"; currentCulture = "zh-CN";
break; break;
case Languages.Portuguese:
currentCulture = "pt-PT";
break;
case Languages.Czech:
currentCulture = "cs-CZ";
break;
default: default:
throw new ArgumentOutOfRangeException(nameof(language), language, null); throw new ArgumentOutOfRangeException(nameof(language), language, null);
} }
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
...@@ -1153,6 +1153,14 @@ ...@@ -1153,6 +1153,14 @@
<source>No extra margin</source> <source>No extra margin</source>
<target state="new">No extra margin</target> <target state="new">No extra margin</target>
</trans-unit> </trans-unit>
<trans-unit id="PortugueseLanguage" translate="yes" xml:space="preserve">
<source>Portuguese</source>
<target state="new">Portuguese</target>
</trans-unit>
<trans-unit id="CzechLanguage" translate="yes" xml:space="preserve">
<source>Czech</source>
<target state="new">Czech</target>
</trans-unit>
</group> </group>
</body> </body>
</file> </file>
......
<?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 xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<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="AboutTheApp" xml:space="preserve">
<value>O programu</value>
</data>
<data name="Add" xml:space="preserve">
<value>přidat</value>
</data>
<data name="AddFolder" xml:space="preserve">
<value>přidat složku</value>
</data>
<data name="AddToCollection" xml:space="preserve">
<value>přidat do kolekce</value>
</data>
<data name="AddToCurrentPlaylist" xml:space="preserve">
<value>přidat do aktuálního seznamů skladeb</value>
</data>
<data name="AddToPlaylist" xml:space="preserve">
<value>přidat do seznamu skladeb</value>
</data>
<data name="Albums" xml:space="preserve">
<value>Alba</value>
</data>
<data name="AlbumsFound" xml:space="preserve">
<value>nalezené alba : {0}</value>
</data>
<data name="Animations" xml:space="preserve">
<value>animace</value>
</data>
<data name="AppTheme" xml:space="preserve">
<value>téma programu</value>
</data>
<data name="Artists" xml:space="preserve">
<value>umělců</value>
</data>
<data name="Audio" xml:space="preserve">
<value>zvuk</value>
</data>
<data name="AudioDelay" xml:space="preserve">
<value>zpoždění zvuku</value>
</data>
<data name="AudioTracks" xml:space="preserve">
<value>Zvukové stopy</value>
</data>
<data name="Back" xml:space="preserve">
<value>zpět</value>
</data>
<data name="CameraRoll" xml:space="preserve">
<value>role kamery</value>
</data>
<data name="ChangeAlbumCover" xml:space="preserve">
<value>změnit obal alba</value>
</data>
<data name="Chapters" xml:space="preserve">
<value>Kapitoly</value>
</data>
<data name="CheckCredentials" xml:space="preserve">
<value>došlo k chybě, zkontrolujte prosím vaše pověření</value>
</data>
<data name="Connect" xml:space="preserve">
<value>připojit</value>
</data>
<data name="ConnectedToLastFM" xml:space="preserve">
<value>připojeno k Last.FM</value>
</data>
<data name="Connecting" xml:space="preserve">
<value>připojování</value>
</data>
<data name="ConnectToLastFM" xml:space="preserve">
<value>připojeno k Last.FM</value>
</data>
<data name="CrashReport" xml:space="preserve">
<value>zpráva o selhání</value>
</data>
<data name="DecreaseSpeed" xml:space="preserve">
<value>snížení rychlosti</value>
</data>
<data name="DecreaseVolume" xml:space="preserve">
<value>snížení hlasitosti</value>
</data>
<data name="DeletePlaylist" xml:space="preserve">
<value>smazat seznam skladeb</value>
</data>
<data name="DeleteSelected" xml:space="preserve">
<value>smazat vybrané</value>
</data>
<data name="EditMetadata" xml:space="preserve">
<value>upravit metadata</value>
</data>
<data name="ElementsNotFound" xml:space="preserve">
<value>jsme nenašli prvky zde</value>
</data>
<data name="EnterURL" xml:space="preserve">
<value>zadejte adresu URL</value>
</data>
<data name="Episode" xml:space="preserve">
<value>epizoda</value>
</data>
<data name="EvenIfBackground" xml:space="preserve">
<value>iv případě, že program je v pozadí</value>
</data>
<data name="EvenIfNotBackground" xml:space="preserve">
<value>iv případě, že program není v pozadí</value>
</data>
<data name="FailFilePlayBackground" xml:space="preserve">
<value>Tento soubor nemusí být přehrán na pozadí</value>
</data>
<data name="FailNavigateVideoPlayerPage" xml:space="preserve">
<value>VLC se nepodařilo navigovat na stránku Přehrávač videí</value>
</data>
<data name="FailOpenVideo" xml:space="preserve">
<value>VLC se nepodařilo otevřít video</value>
</data>
<data name="FailStartVLCEngine" xml:space="preserve">
<value>Programu se nepodařilo spustit motor VLC</value>
</data>
<data name="FeedbackThankYou" xml:space="preserve">
<value>zpětná vazba odeslána! Děkujeme vám</value>
</data>
<data name="FileExplorer" xml:space="preserve">
<value>Procházet</value>
</data>
<data name="HardwareDecoding" xml:space="preserve">
<value>hardwarové dekódování</value>
</data>
<data name="HardwareDecodingDescription" xml:space="preserve">
<value>Hardwarové dekódování nemusí fungovat ve vašem zařízení.</value>
</data>
<data name="HaveToSelectPlaylist" xml:space="preserve">
<value>vyberte prosím seznam skladeb</value>
</data>
<data name="Home" xml:space="preserve">
<value>Domov</value>
</data>
<data name="HomePage" xml:space="preserve">
<value>domovská stránka</value>
</data>
<data name="HomePageDescription" xml:space="preserve">
<value>VLC se spustí na vybrané stránce</value>
</data>
<data name="HoweverYouMayFindWhatYouWantHere" xml:space="preserve">
<value>Nicméně, můžete najít to, co hledáte zde</value>
</data>
<data name="HowToFavoriteAlbum1" xml:space="preserve">
<value>na oblíbené album, stačí stisknout</value>
</data>
<data name="HowToFavoriteAlbum2" xml:space="preserve">