From 4451f86eda11a384181a7a1c8f11109b63371203 Mon Sep 17 00:00:00 2001 From: Lado Lomidze Date: Thu, 22 Mar 2012 11:10:36 -0400 Subject: [PATCH] Datepicker: Added Georgian localization. Fixes #8205 - Datepicker: Add Georgian localization. (cherry picked from commit c12a47074e83b2495b8ff7113d939722f9cdb7c7) --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-ge.js | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-ge.js diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index dfb8e71f9..ba5efdfc3 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -32,6 +32,7 @@ + @@ -122,6 +123,7 @@ + diff --git a/demos/index.html b/demos/index.html index 99fccf1ea..e7d0fd32b 100644 --- a/demos/index.html +++ b/demos/index.html @@ -61,6 +61,7 @@ + diff --git a/ui/i18n/jquery.ui.datepicker-ge.js b/ui/i18n/jquery.ui.datepicker-ge.js new file mode 100644 index 000000000..10d4e5851 --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-ge.js @@ -0,0 +1,21 @@ +/* Georgian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Lado Lomidze (lado.lomidze@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ge'] = { + 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['ge']); +}); -- 2.39.5