]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added Kazakhstan localization. Fixes #5924 - Kazakhstan localization...
authorScott González <scott.gonzalez@gmail.com>
Wed, 11 Aug 2010 12:33:46 +0000 (08:33 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 11 Aug 2010 12:33:46 +0000 (08:33 -0400)
demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-kz.js [new file with mode: 0644]

index e4f6c0d13e09101cbccfd5619a71860dcdf5edc3..022bd0add43bdfb644f4b4ace98ba6aeda1f2809 100644 (file)
@@ -37,6 +37,7 @@
        <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-it.js"></script>
        <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script>
        <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script>
+       <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-kz.js"></script>
        <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script>
                <option value="it">Italian (Italiano)</option>
                <option value="ja">Japanese (&#26085;&#26412;&#35486;)</option>
                <option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
+               <option value="kz">Kazakhstan (Kazakh)</option>
                <option value="lv">Latvian (Latvie&ouml;u Valoda)</option>
                <option value="lt">Lithuanian (lietuviu kalba)</option>
                <option value="ms">Malaysian (Bahasa Malaysia)</option>
index db3e2bf836fa91778dd25ea3a13b12fcc5265175..3297ba726a7d03c3064e3e8ab6b9164ebda02b7d 100644 (file)
@@ -67,6 +67,7 @@
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-it.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ja.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ko.js"></script>
+       <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-kz.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ms.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-kz.js b/ui/i18n/jquery.ui.datepicker-kz.js
new file mode 100644 (file)
index 0000000..f1f897b
--- /dev/null
@@ -0,0 +1,23 @@
+/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
+/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
+jQuery(function($){
+       $.datepicker.regional['kz'] = {
+               closeText: 'Жабу',
+               prevText: '&#x3c;Алдыңғы',
+               nextText: 'Келесі&#x3e;',
+               currentText: 'Бүгін',
+               monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
+               'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],
+               monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау',
+               'Шіл','Там','Қыр','Қаз','Қар','Жел'],
+               dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'],
+               dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'],
+               dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'],
+               weekHeader: 'Не',
+               dateFormat: 'dd.mm.yy',
+               firstDay: 1,
+               isRTL: false,
+               showMonthAfterYear: false,
+               yearSuffix: ''};
+       $.datepicker.setDefaults($.datepicker.regional['kz']);
+});