summaryrefslogtreecommitdiff
path: root/modules/locale/locale.datepicker.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-29 05:15:43 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-29 05:15:43 +0000
commit366a52b7ebbb4a69c70e143cf532ee6824b8784a (patch)
tree90e5010e4a33aab12e1cde69f38dd58ce205613e /modules/locale/locale.datepicker.js
parent6a208f853077e0820df2828f657ce1461b5f9364 (diff)
downloadbrdo-366a52b7ebbb4a69c70e143cf532ee6824b8784a.tar.gz
brdo-366a52b7ebbb4a69c70e143cf532ee6824b8784a.tar.bz2
#507502 by Rob Loach, marvil07: Provide Locale support for jQuery UI.
Diffstat (limited to 'modules/locale/locale.datepicker.js')
-rw-r--r--modules/locale/locale.datepicker.js70
1 files changed, 70 insertions, 0 deletions
diff --git a/modules/locale/locale.datepicker.js b/modules/locale/locale.datepicker.js
new file mode 100644
index 000000000..6906fb5e9
--- /dev/null
+++ b/modules/locale/locale.datepicker.js
@@ -0,0 +1,70 @@
+// $Id$
+(function ($) {
+
+$.datepicker.regional['drupal-locale'] = {
+ closeText: Drupal.t('Done'),
+ prevText: Drupal.t('Prev'),
+ nextText: Drupal.t('Next'),
+ currentText: Drupal.t('Today'),
+ monthNames: [
+ Drupal.t('January'),
+ Drupal.t('February'),
+ Drupal.t('March'),
+ Drupal.t('April'),
+ Drupal.t('May'),
+ Drupal.t('June'),
+ Drupal.t('July'),
+ Drupal.t('August'),
+ Drupal.t('September'),
+ Drupal.t('October'),
+ Drupal.t('November'),
+ Drupal.t('December')
+ ],
+ monthNamesShort: [
+ Drupal.t('Jan'),
+ Drupal.t('Feb'),
+ Drupal.t('Mar'),
+ Drupal.t('Apr'),
+ Drupal.t('May'),
+ Drupal.t('Jun'),
+ Drupal.t('Jul'),
+ Drupal.t('Aug'),
+ Drupal.t('Sep'),
+ Drupal.t('Oct'),
+ Drupal.t('Nov'),
+ Drupal.t('Dec')
+ ],
+ dayNames: [
+ Drupal.t('Sunday'),
+ Drupal.t('Monday')
+ Drupal.t('Tuesday')
+ Drupal.t('Wednesday')
+ Drupal.t('Thursday')
+ Drupal.t('Friday')
+ Drupal.t('Saturday')
+ ],
+ dayNamesShort: [
+ Drupal.t('Sun')
+ Drupal.t('Mon')
+ Drupal.t('Tue')
+ Drupal.t('Wed')
+ Drupal.t('Thu')
+ Drupal.t('Fri')
+ Drupal.t('Sat')
+ ],
+ dayNamesMin: [
+ Drupal.t('Su')
+ Drupal.t('Mo')
+ Drupal.t('Tu')
+ Drupal.t('We')
+ Drupal.t('Th')
+ Drupal.t('Fr')
+ Drupal.t('Sa')
+ ],
+ dateFormat: Drupal.t('mm/dd/yy'),
+ firstDay: Drupal.settings.jqueryuidatepicker.firstDay,
+ isRTL: Drupal.settings.jqueryuidatepicker.rtl
+};
+$.datepicker.setDefaults($.datepicker.regional['drupal-locale']);
+
+})(jQuery);