Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
update agent, locale and add ukrainian
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Nov 5, 2021
1 parent 1a3c958 commit 41f5ccf
Show file tree
Hide file tree
Showing 16 changed files with 1,623 additions and 23 deletions.
3 changes: 1 addition & 2 deletions DragonFruit.Six.Locale.Agent/CrowdinApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@

namespace DragonFruit.Six.Locale.Agent
{
internal class CrowdinApiClient : ApiClient
internal class CrowdinApiClient : ApiClient<ApiXmlSerializer>
{
public CrowdinApiClient()
{
UserAgent = "Dragon6";
Serializer = new ApiXmlSerializer();
}

public string[] Login { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DragonFruit.Common.Data" Version="2021.828.42" />
<PackageReference Include="DragonFruit.Common.Data" Version="2021.1104.50" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions DragonFruit.Six.Locale.Agent/Project/ProjectInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ internal static class ProjectInfo
"pt-BR",
"ru",
"tr",
"uk",
"zh-TW" // chinese (taiwan)
};

Expand Down
17 changes: 13 additions & 4 deletions DragonFruit.Six.Locale/Apps/Cards/Descriptions.pl.resx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@
<data name="Suicides" xml:space="preserve">
<value>{0:n0} samobójstw ({1:0.0}%)</value>
</data>

<data name="ModeTimePlayed" xml:space="preserve">
<value>{0} zagrano</value>
<comment>{0} mode | {1} time played (filled in by humanizer)</comment>
</data>
<data name="Wl" xml:space="preserve">
<value>{0:0.00} W/P ({1:n0} Wygranych / {2:n0} Przegranych)</value>
</data>
Expand All @@ -198,7 +201,13 @@
<data name="WeaponPicks" xml:space="preserve">
<value>{0:n0} razy użyto</value>
</data>



<data name="KillsPerMatch" xml:space="preserve">
<value>{0:0.00} Zabójstwa/Mecz ({1:n0} Zabójstwa / {2:n0} Mecze)</value>
</data>
<data name="Blindkills" xml:space="preserve">
<value>{0:n0} Zabójstwa na ślepo ({1:0.0}%)</value>
</data>
<data name="KillAssists" xml:space="preserve">
<value>{0:n0} Asysty zabójstw</value>
</data>
</root>
213 changes: 213 additions & 0 deletions DragonFruit.Six.Locale/Apps/Cards/Descriptions.uk.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
<?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="DownsRevives" xml:space="preserve">
<value>{0:n0} Невдач / {1:n0} Воскресінь</value>
</data>
<data name="FirstSession" xml:space="preserve">
<value>Вперше зіграно {0} (всього {1:n0} сеансів)</value>
</data>
<data name="Headshots" xml:space="preserve">
<value>{0:n0} Пострілів в голову ({1:0.0}%)</value>
</data>
<data name="Highscore" xml:space="preserve">
<value>{0:n0} балів</value>
<comment>{0} mode | {1} score</comment>
</data>
<data name="Kd" xml:space="preserve">
<value>{0:0.00} В/С ({1:n0} Вбивств / {2:n0} Смертей)</value>
</data>
<data name="KillsPerRound" xml:space="preserve">
<value>{0:0.00} В/Р ({1:n0} Вбивств / {2:n0} Раундів)</value>
</data>
<data name="LastMatch" xml:space="preserve">
<value>Останній матч {0} ({1:n0} Рейтинг)</value>
<comment>{0} match result (win,loss,abandon,unknown) | {1} MMR change</comment>
</data>
<data name="LastSeen" xml:space="preserve">
<value>Був в останній раз {0}</value>
<comment>{0} timespan from last login (humanizer filled)</comment>
</data>
<data name="Melee" xml:space="preserve">
<value>{0:n0} Вбивств в ближньому бою ({1:0.0}%)</value>
</data>
<data name="NextRank" xml:space="preserve">
<value>{0} MMR до {1} ({2}%)</value>
<comment>{0) mmr remaining | {1} next rank | {2} percentage complete</comment>
</data>
<data name="Operation" xml:space="preserve">
<value>Операція {0}</value>
<comment>{0} season name (e.g Steel Wave)</comment>
</data>
<data name="OperatorSummary" xml:space="preserve">
<value>{0:0.00} В/С · {1:0.00} Перемог/Програшів · {2}</value>
<comment>{2} time played</comment>
</data>
<data name="Penetrations" xml:space="preserve">
<value>{0:n0} Вбивства пробиванням ({1:0.0}%)</value>
</data>
<data name="SeasonMmr" xml:space="preserve">
<value>{0:n0} ± {1:n0} MMR ({2})</value>
<comment>{0} current mmr | {1} = uncertainty | {2} rank name</comment>
</data>
<data name="SeasonRank" xml:space="preserve">
<value>{0:n0} MMR ({1})</value>
<comment>{0} mmr | {1} Rank Name</comment>
</data>
<data name="SeasonWl" xml:space="preserve">
<value>{0:0.00} ({1:n0} Перемог / {2:n0} Поразок + {2:n0} Покинуто)</value>
</data>
<data name="Suicides" xml:space="preserve">
<value>{0:n0} Самовбивств ({1:0.0}%)</value>
</data>
<data name="ModeTimePlayed" xml:space="preserve">
<value>{0} зіграно</value>
<comment>{0} mode | {1} time played (filled in by humanizer)</comment>
</data>
<data name="Wl" xml:space="preserve">
<value>{0:0.00} П/П ({1:n0} Перемог / {2:n0} Поразок)</value>
</data>
<data name="OperatorNotPlayed" xml:space="preserve">
<value>ще не зіграно</value>
</data>
<data name="HeadshotsCount" xml:space="preserve">
<value>{0:n0} Вбивств у голову</value>
</data>
<data name="KillCount" xml:space="preserve">
<value>{0:n0} Вбивств</value>
</data>
<data name="MatchesPlayed" xml:space="preserve">
<value>{0:n0} Зіграно матчів</value>
</data>
<data name="ExperienceGained" xml:space="preserve">
<value>{0:n0} Отримано досвіду</value>
</data>
<data name="WeaponPicks" xml:space="preserve">
<value>{0:n0} Вибори</value>
</data>
<data name="KillsPerMatch" xml:space="preserve">
<value>{0:0.00} В/М ({1:n0} Вбивств / {2:n0} Матчів)</value>
</data>
<data name="Blindkills" xml:space="preserve">
<value>{0:n0} "Сліпих" вбивств ({1:0.0}%)</value>
</data>
<data name="KillAssists" xml:space="preserve">
<value>{0:n0} Допомог у вбивстві</value>
</data>
</root>
20 changes: 15 additions & 5 deletions DragonFruit.Six.Locale/Apps/Cards/Titles.it.resx
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,19 @@
<data name="SortBy" xml:space="preserve">
<value>Ordina Per</value>
</data>





<data name="ExperienceGained" xml:space="preserve">
<value>Esperienza acquisita</value>
</data>
<data name="KillsPerMatch" xml:space="preserve">
<value>Uccisioni/Partita</value>
</data>
<data name="Blindkills" xml:space="preserve">
<value>Uccisioni alla cieca</value>
</data>
<data name="MatchesPlayed" xml:space="preserve">
<value>Partite giocate</value>
</data>
<data name="KillAssists" xml:space="preserve">
<value>Assist Uccisioni</value>
</data>
</root>
Loading

0 comments on commit 41f5ccf

Please sign in to comment.