From 6acc3ff7909dd7f070973c112ebd9291862982f8 Mon Sep 17 00:00:00 2001 From: nikrou Date: Sat, 20 Feb 2010 19:56:36 +0000 Subject: Feature 1442 : update jquery * update jquery to 1.4.1 * update jquery ui to 1.7.2 git-svn-id: http://piwigo.org/svn/trunk@4918 68402e56-0260-453c-a942-63ccdbb3a9ee --- template-common/lib/ui/i18n/ui.datepicker-he.js | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'template-common/lib/ui/i18n/ui.datepicker-he.js') diff --git a/template-common/lib/ui/i18n/ui.datepicker-he.js b/template-common/lib/ui/i18n/ui.datepicker-he.js index 87f55f729..38e0a03e2 100644 --- a/template-common/lib/ui/i18n/ui.datepicker-he.js +++ b/template-common/lib/ui/i18n/ui.datepicker-he.js @@ -1,22 +1,19 @@ /* Hebrew initialisation for the UI Datepicker extension. */ /* Written by Amir Hardon (ahardon at gmail dot com). */ -jQuery(document).ready(function(){ - jQuery.datepicker.regional['he'] = {clearText: 'נקה', clearStatus: '', - closeText: 'סגור', closeStatus: '', - prevText: '<הקודם', prevStatus: '', - nextText: 'הבא>', nextStatus: '', - currentText: 'היום', currentStatus: '', +jQuery(function($){ + $.datepicker.regional['he'] = { + closeText: 'סגור', + prevText: '<הקודם', + nextText: 'הבא>', + currentText: 'היום', monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], monthNamesShort: ['1','2','3','4','5','6', '7','8','9','10','11','12'], - monthStatus: '', yearStatus: '', - weekHeader: 'Sm', weekStatus: '', dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], - dayStatus: 'DD', dateStatus: 'DD, M d', - dateFormat: 'dd/mm/yy', firstDay: 0, - initStatus: '', isRTL: true}; - jQuery.datepicker.setDefaults($.datepicker.regional['he']); + dateFormat: 'dd/mm/yy', firstDay: 0, + isRTL: true}; + $.datepicker.setDefaults($.datepicker.regional['he']); }); -- cgit v1.2.3