]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Changed Kazakh locale from kz to kk. Fixes #7829 - Kazakhstan language...
authorScott González <scott.gonzalez@gmail.com>
Tue, 1 Nov 2011 22:16:04 +0000 (18:16 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 1 Nov 2011 22:17:29 +0000 (18:17 -0400)
(cherry picked from commit f11dab34cce80f027c74cf604394c05d32c38255)

demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-kk.js [new file with mode: 0644]
ui/i18n/jquery.ui.datepicker-kz.js [deleted file]

index 8fe0256cb956fba8f36a9ac91241f028dd25757a..8e6f0f08c4461b858a435b3b8ed6f1b5b27064e5 100644 (file)
@@ -40,8 +40,8 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-is.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-it.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script>
+       <script src="../../ui/i18n/jquery.ui.datepicker-kk.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script>
-       <script src="../../ui/i18n/jquery.ui.datepicker-kz.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script>
                <option value="id">Indonesian (Bahasa Indonesia)</option>
                <option value="it">Italian (Italiano)</option>
                <option value="ja">Japanese (&#26085;&#26412;&#35486;)</option>
+               <option value="kk">Kazakhstan (Kazakh)</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="ml">Malayalam</option>
index 88292e07a639ddf169c753804f4396896717f374..2564cfebfa5d429e37493dde7ced4b0d96a6c50e 100644 (file)
@@ -69,8 +69,8 @@
        <script src="../ui/i18n/jquery.ui.datepicker-is.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-it.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ja.js"></script>
+       <script src="../ui/i18n/jquery.ui.datepicker-kk.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ko.js"></script>
-       <script src="../ui/i18n/jquery.ui.datepicker-kz.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-lt.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-lv.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ml.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-kk.js b/ui/i18n/jquery.ui.datepicker-kk.js
new file mode 100644 (file)
index 0000000..79e3f24
--- /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['kk'] = {
+               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['kk']);
+});
diff --git a/ui/i18n/jquery.ui.datepicker-kz.js b/ui/i18n/jquery.ui.datepicker-kz.js
deleted file mode 100644 (file)
index f1f897b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/* 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']);
-});