]> 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)
committerScott González <scott.gonzalez@gmail.com>
Sat, 19 Nov 2011 15:25:31 +0000 (09:25 -0600)
(cherry picked from commit b2d05f8b76a0de4e66f6a51d77b952be1633e17a)

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 4046c4ee07f7265bc04b7d3ce824d229e9f97b5c..09989723d118d4da7c09a22108548100e49621c9 100644 (file)
@@ -75,6 +75,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']);
+});