]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker...
authorstojce <stojce@gmail.com>
Thu, 17 Nov 2011 18:45:36 +0000 (12:45 -0600)
committerkborchers <k_borchers@yahoo.com>
Thu, 17 Nov 2011 18:45:36 +0000 (12:45 -0600)
demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-mk.js [new file with mode: 0644]

index 626cf7e21d3b26f77983ef8de63621ec1b97a088..8aa91153a8b33125d44b571f24d290ffe570a0b4 100644 (file)
@@ -46,6 +46,7 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-lb.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-mk.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ml.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
                <option value="lv">Latvian (Latvie&ouml;u Valoda)</option>
                <option value="lt">Lithuanian (lietuviu kalba)</option>
                <option value="lb">Luxembourgish</option>
+               <option value="mk">Macedonian</option>
                <option value="ml">Malayalam</option>
                <option value="ms">Malaysian (Bahasa Malaysia)</option>
                <option value="no">Norwegian (Norsk)</option>
index 2e80b7dee0372fb5a4f6dcd83eb6c0c8ba1359f6..75e155b2481483cff85bf0523f223f969b03a35d 100644 (file)
@@ -82,6 +82,7 @@
        <script src="../ui/i18n/jquery.ui.datepicker-lb.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-mk.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ml.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-ms.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-nl.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-mk.js b/ui/i18n/jquery.ui.datepicker-mk.js
new file mode 100644 (file)
index 0000000..554ad20
--- /dev/null
@@ -0,0 +1,23 @@
+/* Macedonian i18n for the jQuery UI date picker plugin. */
+/* Written by Stojce Slavkovski. */
+jQuery(function($){
+       $.datepicker.regional['mk'] = {
+               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['mk']);
+});