aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstojce <stojce@gmail.com>2011-11-17 12:45:36 -0600
committerScott González <scott.gonzalez@gmail.com>2011-11-19 09:25:31 -0600
commitebff2f9f102f9d017f35e41781e0bec258d85600 (patch)
treea9bc765d72fa8968dc6dc1f66776d49956c29581
parenta03863d01761a6ea69af7dc053a0d9c2bdf063a3 (diff)
downloadjquery-ui-ebff2f9f102f9d017f35e41781e0bec258d85600.tar.gz
jquery-ui-ebff2f9f102f9d017f35e41781e0bec258d85600.zip
Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker: Add Macedonian Localization
(cherry picked from commit b2d05f8b76a0de4e66f6a51d77b952be1633e17a)
-rw-r--r--demos/datepicker/localization.html2
-rw-r--r--demos/index.html1
-rw-r--r--ui/i18n/jquery.ui.datepicker-mk.js23
3 files changed, 26 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index 626cf7e21..8aa91153a 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -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>
@@ -130,6 +131,7 @@
<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>
diff --git a/demos/index.html b/demos/index.html
index 4046c4ee0..09989723d 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -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
index 000000000..554ad20ba
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-mk.js
@@ -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']);
+});