From ebff2f9f102f9d017f35e41781e0bec258d85600 Mon Sep 17 00:00:00 2001 From: stojce Date: Thu, 17 Nov 2011 12:45:36 -0600 Subject: [PATCH] Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker: Add Macedonian Localization (cherry picked from commit b2d05f8b76a0de4e66f6a51d77b952be1633e17a) --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-mk.js | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-mk.js 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 @@ + @@ -130,6 +131,7 @@ + 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 @@ + 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: '<', + nextText: '>', + currentText: 'Денес', + monthNames: ['Јануари','Фебруари','Март','Април','Мај','Јуни', + 'Јули','Август','Септември','Октомври','Ноември','Декември'], + monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', + 'Јул','Авг','Сеп','Окт','Ное','Дек'], + dayNames: ['Недела','Понеделник','Вторник','Среда','Четврток','Петок','Сабота'], + dayNamesShort: ['Нед','Пон','Вто','Сре','Чет','Пет','Саб'], + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'], + weekHeader: 'Сед', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['mk']); +}); -- 2.39.5