From: stojce Date: Thu, 17 Nov 2011 18:45:36 +0000 (-0600) Subject: Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker... X-Git-Tag: 1.9m7~139^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b2d05f8b76a0de4e66f6a51d77b952be1633e17a;p=jquery-ui.git Datepicker: Added Macedonian i18n for date picker plugin. Fixes #7893 Datepicker: Add Macedonian Localization --- 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 2e80b7dee..75e155b24 100644 --- a/demos/index.html +++ b/demos/index.html @@ -82,6 +82,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']); +});