Skip to content

Commit 16ad829

Browse files
authored
Add kazakh language (#181)
1 parent 845ab26 commit 16ad829

File tree

4 files changed

+692
-2
lines changed

4 files changed

+692
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CronExpressionDescriptor.ExpressionDescriptor.GetDescription("* * * * *");
2323

2424
* Supports all cron expression special characters including * / , - ? L W, #
2525
* Supports 5, 6 (w/ seconds or year), or 7 (w/ seconds and year) part cron expressions
26-
* Localization with support for 28 languages
26+
* Localization with support for 29 languages
2727
* Provides casing options (Sentence case, Title Case, lowercase, etc.)
2828
* Supports [Quartz Enterprise Scheduler .NET](https://www.quartz-scheduler.net/) cron expressions
2929

@@ -106,6 +106,7 @@ The following language translations are available.
106106
* Turkish - tr ([Mustafa SADEDİL](https://github.com/sadedil))
107107
* Ukrainian - uk ([Taras](https://github.com/tbudurovych))
108108
* Greek - el ([hardra1n](https://github.com/Hardra1n))
109+
* Kazakh - kk ([hardra1n](https://github.com/Hardra1n))
109110

110111
To use one of these translations, pass in the `Locale` option to `GetDescription`. For example, to get the description of `0-10 11 * * *` in German:
111112

lib/CronExpressionDescriptor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Version>2.40.0</Version>
1313
<PackageReleaseNotes>See https://github.com/bradymholt/cron-expression-descriptor/releases for release notes</PackageReleaseNotes>
1414
<Authors>Brady Holt</Authors>
15-
<Description>A library that converts cron expressions into human readable descriptions. Supports multiple languages including: English, Brazillian, Spanish, Norwgian, Turkish, Dutch, Chinese Simplified, Russian, French, German, Ukrainian, Persian (Farsi), Polish, Romanian, Italian, Swedish, Slovenian, Danish, Finnish, Greek and Japanese.</Description>
15+
<Description>A library that converts cron expressions into human readable descriptions. Supports multiple languages including: English, Brazillian, Spanish, Norwgian, Turkish, Dutch, Chinese Simplified, Russian, French, German, Ukrainian, Persian (Farsi), Polish, Romanian, Italian, Swedish, Slovenian, Danish, Finnish, Greek, Kazakh and Japanese.</Description>
1616
<PackageLicense>https://github.com/bradymholt/cron-expression-descriptor/blob/master/LICENSE</PackageLicense>
1717
<PackageProjectUrl>https://github.com/bradymholt/cron-expression-descriptor</PackageProjectUrl>
1818
<PackageLicenseExpression>MIT</PackageLicenseExpression>

lib/Resources.kk.resx

Lines changed: 318 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!--
4+
Microsoft ResX Schema
5+
6+
Version 2.0
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
11+
associated with the data types.
12+
13+
Example:
14+
15+
... ado.net/XML headers & schema ...
16+
<resheader name="resmimetype">text/microsoft-resx</resheader>
17+
<resheader name="version">2.0</resheader>
18+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23+
<value>[base64 mime encoded serialized .NET Framework object]</value>
24+
</data>
25+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27+
<comment>This is a comment</comment>
28+
</data>
29+
30+
There are any number of "resheader" rows that contain simple
31+
name/value pairs.
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
37+
mimetype set.
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
41+
extensible. For a given mimetype the value must be set accordingly:
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
45+
read any of the formats listed below.
46+
47+
mimetype: application/x-microsoft.net.object.binary.base64
48+
value : The object must be serialized with
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50+
: and then encoded with base64 encoding.
51+
52+
mimetype: application/x-microsoft.net.object.soap.base64
53+
value : The object must be serialized with
54+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55+
: and then encoded with base64 encoding.
56+
57+
mimetype: application/x-microsoft.net.object.bytearray.base64
58+
value : The object must be serialized into a byte array
59+
: using a System.ComponentModel.TypeConverter
60+
: and then encoded with base64 encoding.
61+
-->
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64+
<xsd:element name="root" msdata:IsDataSet="true">
65+
<xsd:complexType>
66+
<xsd:choice maxOccurs="unbounded">
67+
<xsd:element name="metadata">
68+
<xsd:complexType>
69+
<xsd:sequence>
70+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
71+
</xsd:sequence>
72+
<xsd:attribute name="name" use="required" type="xsd:string" />
73+
<xsd:attribute name="type" type="xsd:string" />
74+
<xsd:attribute name="mimetype" type="xsd:string" />
75+
<xsd:attribute ref="xml:space" />
76+
</xsd:complexType>
77+
</xsd:element>
78+
<xsd:element name="assembly">
79+
<xsd:complexType>
80+
<xsd:attribute name="alias" type="xsd:string" />
81+
<xsd:attribute name="name" type="xsd:string" />
82+
</xsd:complexType>
83+
</xsd:element>
84+
<xsd:element name="data">
85+
<xsd:complexType>
86+
<xsd:sequence>
87+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89+
</xsd:sequence>
90+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93+
<xsd:attribute ref="xml:space" />
94+
</xsd:complexType>
95+
</xsd:element>
96+
<xsd:element name="resheader">
97+
<xsd:complexType>
98+
<xsd:sequence>
99+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100+
</xsd:sequence>
101+
<xsd:attribute name="name" type="xsd:string" use="required" />
102+
</xsd:complexType>
103+
</xsd:element>
104+
</xsd:choice>
105+
</xsd:complexType>
106+
</xsd:element>
107+
</xsd:schema>
108+
<resheader name="resmimetype">
109+
<value>text/microsoft-resx</value>
110+
</resheader>
111+
<resheader name="version">
112+
<value>2.0</value>
113+
</resheader>
114+
<resheader name="reader">
115+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116+
</resheader>
117+
<resheader name="writer">
118+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119+
</resheader>
120+
<data name="EveryMinute" xml:space="preserve">
121+
<value>әрбір минут сайын</value>
122+
</data>
123+
<data name="EveryHour" xml:space="preserve">
124+
<value>әрбір сағат сайын</value>
125+
<comment>EveryHour description</comment>
126+
</data>
127+
<data name="AnErrorOccurredWhenGeneratingTheExpressionD" xml:space="preserve">
128+
<value>Өрнек сипаттамасын жасау кезінде қате пайда болды. Cron өрнек синтаксисін тексеріңіз.</value>
129+
<comment>AnErrorOccurredWhenGeneratingTheExpressionD description</comment>
130+
</data>
131+
<data name="AtSpace" xml:space="preserve">
132+
<value>Сағат </value>
133+
<comment>At description</comment>
134+
</data>
135+
<data name="EveryMinuteBetweenX0AndX1" xml:space="preserve">
136+
<value>Әрбір минут арасында {0} және {1}</value>
137+
<comment>EveryMinuteBetweenX0AndX1 description</comment>
138+
</data>
139+
<data name="At" xml:space="preserve">
140+
<value>Сағат</value>
141+
<comment>At description</comment>
142+
</data>
143+
<data name="SpaceAnd" xml:space="preserve">
144+
<value> және</value>
145+
<comment>And description</comment>
146+
</data>
147+
<data name="EverySecond" xml:space="preserve">
148+
<value>әрбір секунд сайын</value>
149+
<comment>EverySecond description</comment>
150+
</data>
151+
<data name="EveryX0Seconds" xml:space="preserve">
152+
<value>әрбір {0} секунд</value>
153+
<comment>EveryX0Seconds description</comment>
154+
</data>
155+
<data name="SecondsX0ThroughX1PastTheMinute" xml:space="preserve">
156+
<value>секунд {0} жөніндегі {1} минутына</value>
157+
<comment>SecondsX0ThroughX1PastTheMinute description</comment>
158+
</data>
159+
<data name="AtX0SecondsPastTheMinute" xml:space="preserve">
160+
<value>{0} секундтан кейін басталғаннан кейін минут</value>
161+
<comment>AtX0SecondsPastTheMinute description</comment>
162+
</data>
163+
<data name="EveryX0Minutes" xml:space="preserve">
164+
<value>әрбір {0} минут</value>
165+
<comment>EveryX0Minutes description</comment>
166+
</data>
167+
<data name="MinutesX0ThroughX1PastTheHour" xml:space="preserve">
168+
<value>минут {0}-{1}</value>
169+
<comment>MinutesX0ThroughX1PastTheHour description</comment>
170+
</data>
171+
<data name="AtX0MinutesPastTheHour" xml:space="preserve">
172+
<value>{0} минуттан кейін сағат</value>
173+
<comment>AtX0MinutesPastTheHour description</comment>
174+
</data>
175+
<data name="EveryX0Hours" xml:space="preserve">
176+
<value>әрбір {0} сағат</value>
177+
<comment>EveryX0Hours description</comment>
178+
</data>
179+
<data name="BetweenX0AndX1" xml:space="preserve">
180+
<value>арасында {0} және {1}</value>
181+
<comment>BetweenX0AndX1 description</comment>
182+
</data>
183+
<data name="AtX0" xml:space="preserve">
184+
<value>сағат {0}</value>
185+
<comment>AtX0 description</comment>
186+
</data>
187+
<data name="ComaEveryDay" xml:space="preserve">
188+
<value>, әрбір күні</value>
189+
<comment>ComaEveryDay description</comment>
190+
</data>
191+
<data name="ComaEveryX0DaysOfTheWeek" xml:space="preserve">
192+
<value>, әрбір {0} күн апта</value>
193+
<comment>EveryX0DaysOfTheWeek description</comment>
194+
</data>
195+
<data name="ComaX0ThroughX1" xml:space="preserve">
196+
<value>, {0}-{1}</value>
197+
<comment>X0ThroughX1 description</comment>
198+
</data>
199+
<data name="First" xml:space="preserve">
200+
<value>бірінші</value>
201+
<comment>First description</comment>
202+
</data>
203+
<data name="Second" xml:space="preserve">
204+
<value>екінші</value>
205+
<comment>Second description</comment>
206+
</data>
207+
<data name="Third" xml:space="preserve">
208+
<value>үшінші</value>
209+
<comment>Third description</comment>
210+
</data>
211+
<data name="Fourth" xml:space="preserve">
212+
<value>төртінші</value>
213+
<comment>Fourth description</comment>
214+
</data>
215+
<data name="Fifth" xml:space="preserve">
216+
<value>бесінші</value>
217+
<comment>Fifth description</comment>
218+
</data>
219+
<data name="ComaOnThe" xml:space="preserve">
220+
<value>, </value>
221+
<comment>OnThe description</comment>
222+
</data>
223+
<data name="SpaceX0OfTheMonth" xml:space="preserve">
224+
<value> {0} ай</value>
225+
<comment>X0OfTheMonth description</comment>
226+
</data>
227+
<data name="ComaOnTheLastX0OfTheMonth" xml:space="preserve">
228+
<value>, әрбір айдың соңғы {0}</value>
229+
<comment>OnTheLastX0OfTheMonth description</comment>
230+
</data>
231+
<data name="ComaOnlyOnX0" xml:space="preserve">
232+
<value>, тек {0}</value>
233+
<comment>OnlyOnX0 description</comment>
234+
</data>
235+
<data name="ComaEveryX0Months" xml:space="preserve">
236+
<value>, әрбір {0} ай сайын</value>
237+
<comment>EveryX0Months description</comment>
238+
</data>
239+
<data name="ComaOnlyInX0" xml:space="preserve">
240+
<value>, тек {0}</value>
241+
<comment>ComaOnlyInX0 description</comment>
242+
</data>
243+
<data name="ComaOnTheLastDayOfTheMonth" xml:space="preserve">
244+
<value>, айдың соңғы күні</value>
245+
<comment>ComaOnTheLastDayOfTheMonth description</comment>
246+
</data>
247+
<data name="ComaOnTheLastWeekdayOfTheMonth" xml:space="preserve">
248+
<value>, соңғы жұмыс күні ай</value>
249+
<comment>OnTheLastWeekdayOfTheMonth description</comment>
250+
</data>
251+
<data name="FirstWeekday" xml:space="preserve">
252+
<value>бірінші жұмыс күні</value>
253+
<comment>FirstWeekday description</comment>
254+
</data>
255+
<data name="WeekdayNearestDayX0" xml:space="preserve">
256+
<value>жақында {0}-ші күні</value>
257+
<comment>WeekdayNearestDayX0 description</comment>
258+
</data>
259+
<data name="ComaOnTheX0OfTheMonth" xml:space="preserve">
260+
<value>, {0}-айдың</value>
261+
<comment>ComaOnTheX0OfTheMonth description</comment>
262+
</data>
263+
<data name="ComaEveryX0Days" xml:space="preserve">
264+
<value>, әрбір {0} күн</value>
265+
<comment>ComaEveryX0Days description</comment>
266+
</data>
267+
<data name="ComaBetweenDayX0AndX1OfTheMonth" xml:space="preserve">
268+
<value>, арасында {0} және {1}-күндіз ай</value>
269+
<comment>BetweenDayX0AndX1OfTheMonth description</comment>
270+
</data>
271+
<data name="ComaOnDayX0OfTheMonth" xml:space="preserve">
272+
<value>, {0}-ші күні ай</value>
273+
<comment>ComaOnDayX0OfTheMonth description</comment>
274+
</data>
275+
<data name="SpaceAndSpace" xml:space="preserve">
276+
<value> және </value>
277+
<comment>And description</comment>
278+
</data>
279+
<data name="ComaEveryMinute" xml:space="preserve">
280+
<value>, әрбір минут сайын</value>
281+
<comment>ComaEveryMinute1 description</comment>
282+
</data>
283+
<data name="ComaEveryHour" xml:space="preserve">
284+
<value>, әрбір сағат сайын</value>
285+
<comment>ComaEveryHour description</comment>
286+
</data>
287+
<data name="ComaEveryX0Years" xml:space="preserve">
288+
<value>, әрбір {0} жыл сайын</value>
289+
<comment>ComaEveryX0Years description</comment>
290+
</data>
291+
<data name="CommaStartingX0" xml:space="preserve">
292+
<value>, бастап {0}</value>
293+
<comment>CommaStartingX0 description</comment>
294+
</data>
295+
<data name="AMPeriod" xml:space="preserve">
296+
<value />
297+
</data>
298+
<data name="PMPeriod" xml:space="preserve">
299+
<value />
300+
</data>
301+
<data name="CommaDaysBeforeTheLastDayOfTheMonth" xml:space="preserve">
302+
<value>, {0} күн айдың соңғы күні</value>
303+
<comment>CommaDaysBeforeTheLastDayOfTheMonth description</comment>
304+
</data>
305+
<data name="ComaOnlyInYearX0" xml:space="preserve">
306+
<value>, тек {0}</value>
307+
</data>
308+
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
309+
<data name="WeekSpaceAndSpace" type="System.Resources.ResXNullRef, System.Windows.Forms">
310+
<value />
311+
</data>
312+
<data name="ComaMinX0ThroughMinX1" type="System.Resources.ResXNullRef, System.Windows.Forms">
313+
<value />
314+
</data>
315+
<data name="ComaYearX0ThroughYearX1" type="System.Resources.ResXNullRef, System.Windows.Forms">
316+
<value />
317+
</data>
318+
</root>

0 commit comments

Comments
 (0)