custom_fields_datetime_redmine_2.5.2.patch

patch datetimepicker custom fields 2.5.2 - Emmanuel Hidalgo, 2014-11-27 22:43

Download (153 KB)

View differences:

app/helpers/application_helper.rb (working copy)
1156 1156
    javascript_tag "contextMenuInit('#{ url_for(url) }')"
1157 1157
  end
1158 1158

  
1159
  def calendar_for(field_id)
1159
  def calendar_for(field_id,showHours=nil)
1160 1160
    include_calendar_headers_tags
1161
    javascript_tag("$(function() { $('##{field_id}').datepicker(datepickerOptions); });")
1161
    #javascript_tag("$(function() { $('##{field_id}').datepicker(datepickerOptions); });")
1162
    javascript_tag("$(function() {" +
1163
        (showHours ? "datetimepickerOptions.timepicker=true; datetimepickerOptions.format='Y-m-d H:i';" : '') +
1164
        "datetimepickerCreate('##{field_id}');" +
1165
        "$('.custom_field_show_hours').click( function(){ " +
1166
          "if($('##{field_id}').val()=='') return;" +
1167
          "var asHours = $('##{field_id}').val().indexOf(':')!=-1;" +
1168
          "if($('#custom_field_show_hours_yes').prop('checked') && !asHours){ " +
1169
            "var dt = new Date();" +
1170
            "$('##{field_id}').val($('##{field_id}').val()+' '+(dt.getHours()<10?'0':'')+dt.getHours()+':00');" +
1171
          "}else if($('#custom_field_show_hours_no').prop('checked') && asHours) { " +
1172
            "$('##{field_id}').val($('##{field_id}').val().substr(0,10));" +
1173
          "} });" +
1174
      "});")
1162 1175
  end
1163 1176

  
1164 1177
  def include_calendar_headers_tags
1165 1178
    unless @calendar_headers_tags_included
1166
      tags = javascript_include_tag("datepicker")
1179
      tags = javascript_include_tag('jquery.datetimepicker') +
1180
        stylesheet_link_tag('jquery.datetimepicker')
1167 1181
      @calendar_headers_tags_included = true
1168 1182
      content_for :header_tags do
1169 1183
        start_of_week = Setting.start_of_week
......
1171 1185
        # Redmine uses 1..7 (monday..sunday) in settings and locales
1172 1186
        # JQuery uses 0..6 (sunday..saturday), 7 needs to be changed to 0
1173 1187
        start_of_week = start_of_week.to_i % 7
1174
        tags << javascript_tag(
1175
                   "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " +
1176
                     "showOn: 'button', buttonImageOnly: true, buttonImage: '" +
1177
                     path_to_image('/images/calendar.png') +
1178
                     "', showButtonPanel: true, showWeek: true, showOtherMonths: true, " +
1179
                     "selectOtherMonths: true, changeMonth: true, changeYear: true, " +
1180
                     "beforeShow: beforeShowDatePicker};")
1181 1188
        jquery_locale = l('jquery.locale', :default => current_language.to_s)
1182
        unless jquery_locale == 'en'
1183
          tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js")
1184
        end
1189
        tags << javascript_tag(
1190
          "var datetimepickerOptions={format: 'Y-m-d', dayOfWeekStart: #{start_of_week}," +
1191
            "lang:'#{jquery_locale}', id:'datetimepicker'," +
1192
            "onShow: function( currentDateTime ){" +
1193
              "if( $('#custom_field_show_hours_yes').length==0 ) return;" +
1194
              "this.setOptions( { format: ( $('#custom_field_show_hours_yes').prop('checked') ? 'Y-m-d H:i' : 'Y-m-d' )," +
1195
                "timepicker: $('#custom_field_show_hours_yes').prop('checked') } );" +
1196
          "} };" +
1197
          "function datetimepickerCreate(id){" +
1198
            "$(id).after( '<input alt=\"...\" class=\"ui-datepicker-trigger\" data-parent=\"'+id+'\" src=\"" + image_path('calendar.png') + "\" title=\"...\" type=\"image\"/>' );" +
1199
            "$('.ui-datepicker-trigger').click( function(){  $($(this).attr('data-parent')).trigger('focus'); return false; });" +
1200
            "$(id).datetimepicker(datetimepickerOptions);" +
1201
          "}")
1185 1202
        tags
1186 1203
      end
1187 1204
    end
app/views/custom_fields/formats/_date.html.erb (working copy)
1
<p><%= f.text_field(:default_value, :size => 10) %></p>
1
<p>
2
	<%= f.text_field(:default_value, :size => 15) %>
3
</p>
4
<p>
5
	<label><%=l(:field_hours)%></label>
6
	<label class="block">
7
		<%= radio_button_tag 'custom_field[show_hours]', 1, (custom_field.show_hours=='1'), :id=>'custom_field_show_hours_yes',
8
			:class=>'custom_field_show_hours', :data => {:enables => '.custom_field_show_hours input'} %>
9
		<%=l(:general_text_Yes)%>
10
	</label>
11
	<label class="block">
12
		<%= radio_button_tag 'custom_field[show_hours]', 0, (custom_field.show_hours!='1'), :id=>'custom_field_show_hours_no',
13
			:class=>'custom_field_show_hours', :data => {:disables => '.custom_field_show_hours input'} %>
14
		<%=l(:general_text_No)%>
15
	</label>
16
</p>
2 17
<%= calendar_for('custom_field_default_value') %>
3 18
<p><%= f.text_field :url_pattern, :size => 50, :label => :label_link_values_to %></p>
lib/redmine/field_format.rb (working copy)
402 402
    class DateFormat < Unbounded
403 403
      add 'date'
404 404
      self.form_partial = 'custom_fields/formats/date'
405
      field_attributes :show_hours
405 406

  
406 407
      def cast_single_value(custom_field, value, customized=nil)
407
        value.to_date rescue nil
408
        (custom_field.show_hours=='1' ? value.to_time : value.to_date) rescue nil
408 409
      end
409 410

  
410 411
      def validate_single_value(custom_field, value, customized=nil)
411
        if value =~ /^\d{4}-\d{2}-\d{2}$/ && (value.to_date rescue false)
412
        if ((value =~ /^\d{4}-\d{2}-\d{2}$/ && custom_field.show_hours=='0') || (value =~ /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/ && custom_field.show_hours=='1')) &&
413
            (value.to_date rescue false)
412 414
          []
413 415
        else
414 416
          [::I18n.t('activerecord.errors.messages.not_a_date')]
......
416 418
      end
417 419

  
418 420
      def edit_tag(view, tag_id, tag_name, custom_value, options={})
419
        view.text_field_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :size => 10)) +
420
          view.calendar_for(tag_id)
421
        view.text_field_tag(tag_name, custom_value.value, options.merge(:id => tag_id, :size => 15)) +
422
          view.calendar_for(tag_id, :showHours=>(custom_value.custom_field.show_hours=='1'))
421 423
      end
422 424

  
423 425
      def bulk_edit_tag(view, tag_id, tag_name, custom_field, objects, value, options={})
424
        view.text_field_tag(tag_name, value, options.merge(:id => tag_id, :size => 10)) +
425
          view.calendar_for(tag_id) +
426
        view.text_field_tag(tag_name, value, options.merge(:id => tag_id, :size => 15)) +
427
          view.calendar_for(tag_id, :showHours=>(custom_value.custom_field.show_hours=='1')) +
426 428
          bulk_clear_tag(view, tag_id, tag_name, custom_field, value)
427 429
      end
428 430

  
public/javascripts/application.js (working copy)
164 164
      ' <span style="display:none;"><input type="text" name="v['+field+'][]" id="values_'+fieldId+'_2" size="10" class="value date_value" /></span>' +
165 165
      ' <span style="display:none;"><input type="text" name="v['+field+'][]" id="values_'+fieldId+'" size="3" class="value" /> '+labelDayPlural+'</span>'
166 166
    );
167
    $('#values_'+fieldId+'_1').val(values[0]).datepicker(datepickerOptions);
168
    $('#values_'+fieldId+'_2').val(values[1]).datepicker(datepickerOptions);
167
    $('#values_'+fieldId+'_1').val(values[0]);
168
    $('#values_'+fieldId+'_2').val(values[1]);
169 169
    $('#values_'+fieldId).val(values[0]);
170
    datetimepickerCreate('#values_'+fieldId+'_1');
171
    datetimepickerCreate('#values_'+fieldId+'_2');
170 172
    break;
171 173
  case "string":
172 174
  case "text":
public/javascripts/datepicker.js (working copy)
1
function beforeShowDatePicker(input, inst) {
2
  var default_date = null;
3
  switch ($(input).attr("id")) {
4
    case "issue_start_date" :
5
      if ($("#issue_due_date").size() > 0) {
6
        default_date = $("#issue_due_date").val();
7
      }
8
      break;
9
    case "issue_due_date" :
10
      if ($("#issue_start_date").size() > 0) {
11
        default_date = $("#issue_start_date").val();
12
      }
13
      break;
14
  }
15
  $(input).datepicker("option", "defaultDate", default_date);
16
}
public/javascripts/i18n/jquery.ui.datepicker-ar.js (working copy)
1
/* Arabic Translation for jQuery UI date picker plugin. */
2
/* Khaled Alhourani -- me@khaledalhourani.com */
3
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
4
jQuery(function($){
5
	$.datepicker.regional['ar'] = {
6
		closeText: 'إغلاق',
7
		prevText: '&#x3c;السابق',
8
		nextText: 'التالي&#x3e;',
9
		currentText: 'اليوم',
10
		monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
11
		'تموز', 'آب', 'أيلول',	'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
12
		monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
13
		dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
14
		dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
15
		dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
16
		weekHeader: 'أسبوع',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 6,
19
  		isRTL: true,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['ar']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-az.js (working copy)
1
/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
/* Written by Jamil Najafov (necefov33@gmail.com). */
3
jQuery(function($) {
4
	$.datepicker.regional['az'] = {
5
		closeText: 'Bağla',
6
		prevText: '&#x3C;Geri',
7
		nextText: 'İrəli&#x3E;',
8
		currentText: 'Bugün',
9
		monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
10
		'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
11
		monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
12
		'İyul','Avq','Sen','Okt','Noy','Dek'],
13
		dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
14
		dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
15
		dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
16
		weekHeader: 'Hf',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['az']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-bg.js (working copy)
1
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Stoyan Kyosev (http://svest.org). */
3
jQuery(function($){
4
    $.datepicker.regional['bg'] = {
5
        closeText: 'затвори',
6
        prevText: '&#x3c;назад',
7
        nextText: 'напред&#x3e;',
8
		nextBigText: '&#x3e;&#x3e;',
9
        currentText: 'днес',
10
        monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
11
        'Юли','Август','Септември','Октомври','Ноември','Декември'],
12
        monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
13
        'Юли','Авг','Сеп','Окт','Нов','Дек'],
14
        dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
15
        dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
16
        dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
17
		weekHeader: 'Wk',
18
        dateFormat: 'dd.mm.yy',
19
		firstDay: 1,
20
        isRTL: false,
21
		showMonthAfterYear: false,
22
		yearSuffix: ''};
23
    $.datepicker.setDefaults($.datepicker.regional['bg']);
24
});
public/javascripts/i18n/jquery.ui.datepicker-bs.js (working copy)
1
/* Bosnian i18n for the jQuery UI date picker plugin. */
2
/* Written by Kenan Konjo. */
3
jQuery(function($){
4
	$.datepicker.regional['bs'] = {
5
		closeText: 'Zatvori', 
6
		prevText: '&#x3c;', 
7
		nextText: '&#x3e;', 
8
		currentText: 'Danas', 
9
		monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
10
		'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
11
		monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
12
		'Jul','Aug','Sep','Okt','Nov','Dec'],
13
		dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
14
		dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
15
		dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
16
		weekHeader: 'Wk',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['bs']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-ca.js (working copy)
1
/* Inicialització en català per a l'extenció 'calendar' per jQuery. */
2
/* Writers: (joan.leon@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['ca'] = {
5
		closeText: 'Tancar',
6
		prevText: '&#x3c;Ant',
7
		nextText: 'Seg&#x3e;',
8
		currentText: 'Avui',
9
		monthNames: ['Gener','Febrer','Mar&ccedil;','Abril','Maig','Juny',
10
		'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
11
		monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
12
		'Jul','Ago','Set','Oct','Nov','Des'],
13
		dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
14
		dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
15
		dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
16
		weekHeader: 'Sm',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['ca']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-cs.js (working copy)
1
/* Czech initialisation for the jQuery UI date picker plugin. */
2
/* Written by Tomas Muller (tomas@tomas-muller.net). */
3
jQuery(function($){
4
	$.datepicker.regional['cs'] = {
5
		closeText: 'Zavřít',
6
		prevText: '&#x3c;Dříve',
7
		nextText: 'Později&#x3e;',
8
		currentText: 'Nyní',
9
		monthNames: ['leden','únor','březen','duben','květen','červen',
10
        'červenec','srpen','září','říjen','listopad','prosinec'],
11
		monthNamesShort: ['led','úno','bře','dub','kvě','čer',
12
		'čvc','srp','zář','říj','lis','pro'],
13
		dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
14
		dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
15
		dayNamesMin: ['ne','po','út','st','čt','pá','so'],
16
		weekHeader: 'Týd',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['cs']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-da.js (working copy)
1
/* Danish initialisation for the jQuery UI date picker plugin. */
2
/* Written by Jan Christensen ( deletestuff@gmail.com). */
3
jQuery(function($){
4
    $.datepicker.regional['da'] = {
5
		closeText: 'Luk',
6
        prevText: '&#x3c;Forrige',
7
		nextText: 'Næste&#x3e;',
8
		currentText: 'Idag',
9
        monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
10
        'Juli','August','September','Oktober','November','December'],
11
        monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
12
        'Jul','Aug','Sep','Okt','Nov','Dec'],
13
		dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
14
		dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
15
		dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
16
		weekHeader: 'Uge',
17
        dateFormat: 'dd-mm-yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
    $.datepicker.setDefaults($.datepicker.regional['da']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-de.js (working copy)
1
/* German initialisation for the jQuery UI date picker plugin. */
2
/* Written by Milian Wolff (mail@milianw.de). */
3
jQuery(function($){
4
	$.datepicker.regional['de'] = {
5
		closeText: 'Schließen',
6
		prevText: '&#x3C;Zurück',
7
		nextText: 'Vor&#x3E;',
8
		currentText: 'Heute',
9
		monthNames: ['Januar','Februar','März','April','Mai','Juni',
10
		'Juli','August','September','Oktober','November','Dezember'],
11
		monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
12
		'Jul','Aug','Sep','Okt','Nov','Dez'],
13
		dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
14
		dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
15
		dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
16
		weekHeader: 'KW',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['de']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-el.js (working copy)
1
/* Greek (el) initialisation for the jQuery UI date picker plugin. */
2
/* Written by Alex Cicovic (http://www.alexcicovic.com) */
3
jQuery(function($){
4
	$.datepicker.regional['el'] = {
5
		closeText: 'Κλείσιμο',
6
		prevText: 'Προηγούμενος',
7
		nextText: 'Επόμενος',
8
		currentText: 'Τρέχων Μήνας',
9
		monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
10
		'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
11
		monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
12
		'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
13
		dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
14
		dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
15
		dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
16
		weekHeader: 'Εβδ',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['el']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-en-GB.js (working copy)
1
/* English/UK initialisation for the jQuery UI date picker plugin. */
2
/* Written by Stuart. */
3
jQuery(function($){
4
	$.datepicker.regional['en-GB'] = {
5
		closeText: 'Done',
6
		prevText: 'Prev',
7
		nextText: 'Next',
8
		currentText: 'Today',
9
		monthNames: ['January','February','March','April','May','June',
10
		'July','August','September','October','November','December'],
11
		monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
12
		'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
13
		dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
14
		dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
15
		dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
16
		weekHeader: 'Wk',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['en-GB']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-es.js (working copy)
1
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
2
/* Traducido por Vester (xvester@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['es'] = {
5
		closeText: 'Cerrar',
6
		prevText: '&#x3c;Ant',
7
		nextText: 'Sig&#x3e;',
8
		currentText: 'Hoy',
9
		monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
10
		'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
11
		monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
12
		'Jul','Ago','Sep','Oct','Nov','Dic'],
13
		dayNames: ['Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado'],
14
		dayNamesShort: ['Dom','Lun','Mar','Mi&eacute;','Juv','Vie','S&aacute;b'],
15
		dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&aacute;'],
16
		weekHeader: 'Sm',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['es']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-et.js (working copy)
1
/* Estonian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
3
jQuery(function($){
4
	$.datepicker.regional['et'] = {
5
		closeText: 'Sulge',
6
		prevText: 'Eelnev',
7
		nextText: 'Järgnev',
8
		currentText: 'Täna',
9
		monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
10
		'Juuli','August','September','Oktoober','November','Detsember'],
11
		monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
12
		'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
13
		dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
14
		dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
15
		dayNamesMin: ['P','E','T','K','N','R','L'],
16
		weekHeader: 'näd',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['et']);
23
}); 
public/javascripts/i18n/jquery.ui.datepicker-eu.js (working copy)
1
/* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */
2
/* Karrikas-ek itzulia (karrikas@karrikas.com) */
3
jQuery(function($){
4
	$.datepicker.regional['eu'] = {
5
		closeText: 'Egina',
6
		prevText: '&#x3c;Aur',
7
		nextText: 'Hur&#x3e;',
8
		currentText: 'Gaur',
9
		monthNames: ['urtarrila','otsaila','martxoa','apirila','maiatza','ekaina',
10
			'uztaila','abuztua','iraila','urria','azaroa','abendua'],
11
		monthNamesShort: ['urt.','ots.','mar.','api.','mai.','eka.',
12
			'uzt.','abu.','ira.','urr.','aza.','abe.'],
13
		dayNames: ['igandea','astelehena','asteartea','asteazkena','osteguna','ostirala','larunbata'],
14
		dayNamesShort: ['ig.','al.','ar.','az.','og.','ol.','lr.'],
15
		dayNamesMin: ['ig','al','ar','az','og','ol','lr'],
16
		weekHeader: 'As',
17
		dateFormat: 'yy-mm-dd',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['eu']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-fa.js (working copy)
1
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
2
/* Javad Mowlanezhad -- jmowla@gmail.com */
3
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
4
jQuery(function($) {
5
	$.datepicker.regional['fa'] = {
6
		closeText: 'بستن',
7
		prevText: '&#x3C;قبلی',
8
		nextText: 'بعدی&#x3E;',
9
		currentText: 'امروز',
10
		monthNames: [
11
			'فروردين',
12
			'ارديبهشت',
13
			'خرداد',
14
			'تير',
15
			'مرداد',
16
			'شهريور',
17
			'مهر',
18
			'آبان',
19
			'آذر',
20
			'دی',
21
			'بهمن',
22
			'اسفند'
23
		],
24
		monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
25
		dayNames: [
26
			'يکشنبه',
27
			'دوشنبه',
28
			'سه‌شنبه',
29
			'چهارشنبه',
30
			'پنجشنبه',
31
			'جمعه',
32
			'شنبه'
33
		],
34
		dayNamesShort: [
35
			'ی',
36
			'د',
37
			'س',
38
			'چ',
39
			'پ',
40
			'ج', 
41
			'ش'
42
		],
43
		dayNamesMin: [
44
			'ی',
45
			'د',
46
			'س',
47
			'چ',
48
			'پ',
49
			'ج', 
50
			'ش'
51
		],
52
		weekHeader: 'هف',
53
		dateFormat: 'yy/mm/dd',
54
		firstDay: 6,
55
		isRTL: true,
56
		showMonthAfterYear: false,
57
		yearSuffix: ''};
58
	$.datepicker.setDefaults($.datepicker.regional['fa']);
59
});
public/javascripts/i18n/jquery.ui.datepicker-fi.js (working copy)
1
/* Finnish initialisation for the jQuery UI date picker plugin. */
2
/* Written by Harri Kilpiö (harrikilpio@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['fi'] = {
5
		closeText: 'Sulje',
6
		prevText: '&#xAB;Edellinen',
7
		nextText: 'Seuraava&#xBB;',
8
		currentText: 'T&#xE4;n&#xE4;&#xE4;n',
9
		monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&#xE4;kuu',
10
		'Hein&#xE4;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
11
		monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&#xE4;',
12
		'Hein&#xE4;','Elo','Syys','Loka','Marras','Joulu'],
13
		dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','La'],
14
		dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
15
		dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
16
		weekHeader: 'Vk',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['fi']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-fr.js (working copy)
1
/* French initialisation for the jQuery UI date picker plugin. */
2
/* Written by Keith Wood (kbwood{at}iinet.com.au),
3
              Stéphane Nahmani (sholby@sholby.net),
4
              Stéphane Raimbault <stephane.raimbault@gmail.com> */
5
jQuery(function($){
6
	$.datepicker.regional['fr'] = {
7
		closeText: 'Fermer',
8
		prevText: 'Précédent',
9
		nextText: 'Suivant',
10
		currentText: 'Aujourd\'hui',
11
		monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
12
		'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
13
		monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin',
14
		'Juil.','Août','Sept.','Oct.','Nov.','Déc.'],
15
		dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
16
		dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'],
17
		dayNamesMin: ['D','L','M','M','J','V','S'],
18
		weekHeader: 'Sem.',
19
		dateFormat: 'dd/mm/yy',
20
		firstDay: 1,
21
		isRTL: false,
22
		showMonthAfterYear: false,
23
		yearSuffix: ''};
24
	$.datepicker.setDefaults($.datepicker.regional['fr']);
25
});
public/javascripts/i18n/jquery.ui.datepicker-gl.js (working copy)
1
/* Galician localization for 'UI date picker' jQuery extension. */
2
/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */
3
jQuery(function($){
4
	$.datepicker.regional['gl'] = {
5
		closeText: 'Pechar',
6
		prevText: '&#x3c;Ant',
7
		nextText: 'Seg&#x3e;',
8
		currentText: 'Hoxe',
9
		monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
10
		'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
11
		monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
12
		'Xul','Ago','Set','Out','Nov','Dec'],
13
		dayNames: ['Domingo','Luns','Martes','M&eacute;rcores','Xoves','Venres','S&aacute;bado'],
14
		dayNamesShort: ['Dom','Lun','Mar','M&eacute;r','Xov','Ven','S&aacute;b'],
15
		dayNamesMin: ['Do','Lu','Ma','M&eacute;','Xo','Ve','S&aacute;'],
16
		weekHeader: 'Sm',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['gl']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-he.js (working copy)
1
/* Hebrew initialisation for the UI Datepicker extension. */
2
/* Written by Amir Hardon (ahardon at gmail dot com). */
3
jQuery(function($){
4
	$.datepicker.regional['he'] = {
5
		closeText: 'סגור',
6
		prevText: '&#x3c;הקודם',
7
		nextText: 'הבא&#x3e;',
8
		currentText: 'היום',
9
		monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
10
		'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
11
		monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
12
		'יולי','אוג','ספט','אוק','נוב','דצמ'],
13
		dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
14
		dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
15
		dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
16
		weekHeader: 'Wk',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 0,
19
		isRTL: true,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['he']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-hr.js (working copy)
1
/* Croatian i18n for the jQuery UI date picker plugin. */
2
/* Written by Vjekoslav Nesek. */
3
jQuery(function($){
4
	$.datepicker.regional['hr'] = {
5
		closeText: 'Zatvori',
6
		prevText: '&#x3c;',
7
		nextText: '&#x3e;',
8
		currentText: 'Danas',
9
		monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
10
		'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
11
		monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
12
		'Srp','Kol','Ruj','Lis','Stu','Pro'],
13
		dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
14
		dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
15
		dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
16
		weekHeader: 'Tje',
17
		dateFormat: 'dd.mm.yy.',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['hr']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-hu.js (working copy)
1
/* Hungarian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */
3
jQuery(function($){
4
	$.datepicker.regional['hu'] = {
5
		closeText: 'bezár',
6
		prevText: 'vissza',
7
		nextText: 'előre',
8
		currentText: 'ma',
9
		monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
10
		'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
11
		monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
12
		'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
13
		dayNames: ['Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
14
		dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
15
		dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
16
		weekHeader: 'Hét',
17
		dateFormat: 'yy.mm.dd.',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: true,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['hu']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-id.js (working copy)
1
/* Indonesian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Deden Fathurahman (dedenf@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['id'] = {
5
		closeText: 'Tutup',
6
		prevText: '&#x3c;mundur',
7
		nextText: 'maju&#x3e;',
8
		currentText: 'hari ini',
9
		monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
10
		'Juli','Agustus','September','Oktober','Nopember','Desember'],
11
		monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
12
		'Jul','Agus','Sep','Okt','Nop','Des'],
13
		dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
14
		dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
15
		dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
16
		weekHeader: 'Mg',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 0,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['id']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-it.js (working copy)
1
/* Italian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['it'] = {
5
		closeText: 'Chiudi',
6
		prevText: '&#x3c;Prec',
7
		nextText: 'Succ&#x3e;',
8
		currentText: 'Oggi',
9
		monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
10
			'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
11
		monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
12
			'Lug','Ago','Set','Ott','Nov','Dic'],
13
		dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
14
		dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
15
		dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
16
		weekHeader: 'Sm',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['it']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-ja.js (working copy)
1
/* Japanese initialisation for the jQuery UI date picker plugin. */
2
/* Written by Kentaro SATO (kentaro@ranvis.com). */
3
jQuery(function($){
4
	$.datepicker.regional['ja'] = {
5
		closeText: '閉じる',
6
		prevText: '&#x3c;前',
7
		nextText: '次&#x3e;',
8
		currentText: '今日',
9
		monthNames: ['1月','2月','3月','4月','5月','6月',
10
		'7月','8月','9月','10月','11月','12月'],
11
		monthNamesShort: ['1月','2月','3月','4月','5月','6月',
12
		'7月','8月','9月','10月','11月','12月'],
13
		dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
14
		dayNamesShort: ['日','月','火','水','木','金','土'],
15
		dayNamesMin: ['日','月','火','水','木','金','土'],
16
		weekHeader: '週',
17
		dateFormat: 'yy/mm/dd',
18
		firstDay: 0,
19
		isRTL: false,
20
		showMonthAfterYear: true,
21
		yearSuffix: '年'};
22
	$.datepicker.setDefaults($.datepicker.regional['ja']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-ko.js (working copy)
1
/* Korean initialisation for the jQuery calendar extension. */
2
/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
3
jQuery(function($){
4
	$.datepicker.regional['ko'] = {
5
		closeText: '닫기',
6
		prevText: '이전달',
7
		nextText: '다음달',
8
		currentText: '오늘',
9
		monthNames: ['1월','2월','3월','4월','5월','6월',
10
		'7월','8월','9월','10월','11월','12월'],
11
		monthNamesShort: ['1월','2월','3월','4월','5월','6월',
12
		'7월','8월','9월','10월','11월','12월'],
13
		dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],
14
		dayNamesShort: ['일','월','화','수','목','금','토'],
15
		dayNamesMin: ['일','월','화','수','목','금','토'],
16
		weekHeader: 'Wk',
17
		dateFormat: 'yy-mm-dd',
18
		firstDay: 0,
19
		isRTL: false,
20
		showMonthAfterYear: true,
21
		yearSuffix: '년'};
22
	$.datepicker.setDefaults($.datepicker.regional['ko']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-lt.js (working copy)
1
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
/* @author Arturas Paleicikas <arturas@avalon.lt> */
3
jQuery(function($){
4
	$.datepicker.regional['lt'] = {
5
		closeText: 'Uždaryti',
6
		prevText: '&#x3C;Atgal',
7
		nextText: 'Pirmyn&#x3E;',
8
		currentText: 'Šiandien',
9
		monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
10
		'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
11
		monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
12
		'Lie','Rugp','Rugs','Spa','Lap','Gru'],
13
		dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
14
		dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
15
		dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
16
		weekHeader: 'SAV',
17
		dateFormat: 'yy-mm-dd',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: true,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['lt']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-lv.js (working copy)
1
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
3
jQuery(function($){
4
	$.datepicker.regional['lv'] = {
5
		closeText: 'Aizvērt',
6
		prevText: 'Iepr',
7
		nextText: 'Nāka',
8
		currentText: 'Šodien',
9
		monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
10
		'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
11
		monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
12
		'Jūl','Aug','Sep','Okt','Nov','Dec'],
13
		dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
14
		dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
15
		dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
16
		weekHeader: 'Nav',
17
		dateFormat: 'dd-mm-yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['lv']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-mk.js (working copy)
1
/* Macedonian i18n for the jQuery UI date picker plugin. */
2
/* Written by Stojce Slavkovski. */
3
jQuery(function($){
4
	$.datepicker.regional['mk'] = {
5
		closeText: 'Затвори',
6
		prevText: '&#x3C;',
7
		nextText: '&#x3E;',
8
		currentText: 'Денес',
9
		monthNames: ['Јануари','Февруари','Март','Април','Мај','Јуни',
10
		'Јули','Август','Септември','Октомври','Ноември','Декември'],
11
		monthNamesShort: ['Јан','Фев','Мар','Апр','Мај','Јун',
12
		'Јул','Авг','Сеп','Окт','Ное','Дек'],
13
		dayNames: ['Недела','Понеделник','Вторник','Среда','Четврток','Петок','Сабота'],
14
		dayNamesShort: ['Нед','Пон','Вто','Сре','Чет','Пет','Саб'],
15
		dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'],
16
		weekHeader: 'Сед',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['mk']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-nl.js (working copy)
1
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
3
jQuery(function($){
4
	$.datepicker.regional.nl = {
5
		closeText: 'Sluiten',
6
		prevText: '←',
7
		nextText: '→',
8
		currentText: 'Vandaag',
9
		monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
10
		'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
11
		monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun',
12
		'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
13
		dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
14
		dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
15
		dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
16
		weekHeader: 'Wk',
17
		dateFormat: 'dd-mm-yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional.nl);
23
});
public/javascripts/i18n/jquery.ui.datepicker-no.js (working copy)
1
/* Norwegian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
3

  
4
jQuery(function($){
5
  $.datepicker.regional['no'] = {
6
    closeText: 'Lukk',
7
    prevText: '&laquo;Forrige',
8
    nextText: 'Neste&raquo;',
9
    currentText: 'I dag',
10
    monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
11
    monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],
12
    dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'],
13
    dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'],
14
    dayNamesMin: ['sø','ma','ti','on','to','fr','lø'],
15
    weekHeader: 'Uke',
16
    dateFormat: 'dd.mm.yy',
17
    firstDay: 1,
18
    isRTL: false,
19
    showMonthAfterYear: false,
20
    yearSuffix: ''
21
  };
22
  $.datepicker.setDefaults($.datepicker.regional['no']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-pl.js (working copy)
1
/* Polish initialisation for the jQuery UI date picker plugin. */
2
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['pl'] = {
5
		closeText: 'Zamknij',
6
		prevText: '&#x3c;Poprzedni',
7
		nextText: 'Następny&#x3e;',
8
		currentText: 'Dziś',
9
		monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
10
		'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
11
		monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
12
		'Lip','Sie','Wrz','Pa','Lis','Gru'],
13
		dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
14
		dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
15
		dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
16
		weekHeader: 'Tydz',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['pl']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-pt-BR.js (working copy)
1
/* Brazilian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['pt-BR'] = {
5
		closeText: 'Fechar',
6
		prevText: '&#x3c;Anterior',
7
		nextText: 'Pr&oacute;ximo&#x3e;',
8
		currentText: 'Hoje',
9
		monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
10
		'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
11
		monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
12
		'Jul','Ago','Set','Out','Nov','Dez'],
13
		dayNames: ['Domingo','Segunda-feira','Ter&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
14
		dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
15
		dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
16
		weekHeader: 'Sm',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 0,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-pt.js (working copy)
1
/* Portuguese initialisation for the jQuery UI date picker plugin. */
2
jQuery(function($){
3
	$.datepicker.regional['pt'] = {
4
		closeText: 'Fechar',
5
		prevText: '&#x3C;Anterior',
6
		nextText: 'Seguinte',
7
		currentText: 'Hoje',
8
		monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
9
		'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
10
		monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
11
		'Jul','Ago','Set','Out','Nov','Dez'],
12
		dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
13
		dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
14
		dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
15
		weekHeader: 'Sem',
16
		dateFormat: 'dd/mm/yy',
17
		firstDay: 0,
18
		isRTL: false,
19
		showMonthAfterYear: false,
20
		yearSuffix: ''};
21
	$.datepicker.setDefaults($.datepicker.regional['pt']);
22
});
public/javascripts/i18n/jquery.ui.datepicker-ro.js (working copy)
1
/* Romanian initialisation for the jQuery UI date picker plugin.
2
 *
3
 * Written by Edmond L. (ll_edmond@walla.com)
4
 * and Ionut G. Stan (ionut.g.stan@gmail.com)
5
 */
6
jQuery(function($){
7
	$.datepicker.regional['ro'] = {
8
		closeText: 'Închide',
9
		prevText: '&laquo; Luna precedentă',
10
		nextText: 'Luna următoare &raquo;',
11
		currentText: 'Azi',
12
		monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
13
		'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
14
		monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
15
		'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
16
		dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
17
		dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
18
		dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
19
		weekHeader: 'Săpt',
20
		dateFormat: 'dd.mm.yy',
21
		firstDay: 1,
22
		isRTL: false,
23
		showMonthAfterYear: false,
24
		yearSuffix: ''};
25
	$.datepicker.setDefaults($.datepicker.regional['ro']);
26
});
public/javascripts/i18n/jquery.ui.datepicker-ru.js (working copy)
1
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
/* Written by Andrew Stromnov (stromnov@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['ru'] = {
5
		closeText: 'Закрыть',
6
		prevText: '&#x3c;Пред',
7
		nextText: 'След&#x3e;',
8
		currentText: 'Сегодня',
9
		monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
10
		'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
11
		monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
12
		'Июл','Авг','Сен','Окт','Ноя','Дек'],
13
		dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
14
		dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
15
		dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
16
		weekHeader: 'Нед',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['ru']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-sk.js (working copy)
1
/* Slovak initialisation for the jQuery UI date picker plugin. */
2
/* Written by Vojtech Rinik (vojto@hmm.sk). */
3
jQuery(function($){
4
	$.datepicker.regional['sk'] = {
5
		closeText: 'Zavrieť',
6
		prevText: '&#x3c;Predchádzajúci',
7
		nextText: 'Nasledujúci&#x3e;',
8
		currentText: 'Dnes',
9
		monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
10
		'Júl','August','September','Október','November','December'],
11
		monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
12
		'Júl','Aug','Sep','Okt','Nov','Dec'],
13
		dayNames: ['Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
14
		dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
15
		dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
16
		weekHeader: 'Ty',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['sk']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-sl.js (working copy)
1
/* Slovenian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Jaka Jancar (jaka@kubje.org). */
3
/* c = &#x10D;, s = &#x161; z = &#x17E; C = &#x10C; S = &#x160; Z = &#x17D; */
4
jQuery(function($){
5
	$.datepicker.regional['sl'] = {
6
		closeText: 'Zapri',
7
		prevText: '&lt;Prej&#x161;nji',
8
		nextText: 'Naslednji&gt;',
9
		currentText: 'Trenutni',
10
		monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
11
		'Julij','Avgust','September','Oktober','November','December'],
12
		monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
13
		'Jul','Avg','Sep','Okt','Nov','Dec'],
14
		dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','&#x10C;etrtek','Petek','Sobota'],
15
		dayNamesShort: ['Ned','Pon','Tor','Sre','&#x10C;et','Pet','Sob'],
16
		dayNamesMin: ['Ne','Po','To','Sr','&#x10C;e','Pe','So'],
17
		weekHeader: 'Teden',
18
		dateFormat: 'dd.mm.yy',
19
		firstDay: 1,
20
		isRTL: false,
21
		showMonthAfterYear: false,
22
		yearSuffix: ''};
23
	$.datepicker.setDefaults($.datepicker.regional['sl']);
24
});
public/javascripts/i18n/jquery.ui.datepicker-sq.js (working copy)
1
/* Albanian initialisation for the jQuery UI date picker plugin. */
2
/* Written by Flakron Bytyqi (flakron@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['sq'] = {
5
		closeText: 'mbylle',
6
		prevText: '&#x3c;mbrapa',
7
		nextText: 'Përpara&#x3e;',
8
		currentText: 'sot',
9
		monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
10
		'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
11
		monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
12
		'Kor','Gus','Sht','Tet','Nën','Dhj'],
13
		dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
14
		dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
15
		dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
16
		weekHeader: 'Ja',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['sq']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-sr.js (working copy)
1
/* Serbian i18n for the jQuery UI date picker plugin. */
2
/* Written by Dejan Dimić. */
3
jQuery(function($){
4
	$.datepicker.regional['sr'] = {
5
		closeText: 'Затвори',
6
		prevText: '&#x3c;',
7
		nextText: '&#x3e;',
8
		currentText: 'Данас',
9
		monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
10
		'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
11
		monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',
12
		'Јул','Авг','Сеп','Окт','Нов','Дец'],
13
		dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
14
		dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
15
		dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
16
		weekHeader: 'Сед',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['sr']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-sv.js (working copy)
1
/* Swedish initialisation for the jQuery UI date picker plugin. */
2
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
3
jQuery(function($){
4
    $.datepicker.regional['sv'] = {
5
		closeText: 'Stäng',
6
        prevText: '&laquo;Förra',
7
		nextText: 'Nästa&raquo;',
8
		currentText: 'Idag',
9
        monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
10
        'Juli','Augusti','September','Oktober','November','December'],
11
        monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
12
        'Jul','Aug','Sep','Okt','Nov','Dec'],
13
		dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
14
		dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
15
		dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
16
		weekHeader: 'Ve',
17
        dateFormat: 'yy-mm-dd',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
    $.datepicker.setDefaults($.datepicker.regional['sv']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-th.js (working copy)
1
/* Thai initialisation for the jQuery UI date picker plugin. */
2
/* Written by pipo (pipo@sixhead.com). */
3
jQuery(function($){
4
	$.datepicker.regional['th'] = {
5
		closeText: 'ปิด',
6
		prevText: '&laquo;&nbsp;ย้อน',
7
		nextText: 'ถัดไป&nbsp;&raquo;',
8
		currentText: 'วันนี้',
9
		monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
10
		'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
11
		monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
12
		'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
13
		dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
14
		dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
15
		dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
16
		weekHeader: 'Wk',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 0,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['th']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-tr.js (working copy)
1
/* Turkish initialisation for the jQuery UI date picker plugin. */
2
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
3
jQuery(function($){
4
	$.datepicker.regional['tr'] = {
5
		closeText: 'kapat',
6
		prevText: '&#x3c;geri',
7
		nextText: 'ileri&#x3e',
8
		currentText: 'bugün',
9
		monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
10
		'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
11
		monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
12
		'Tem','Ağu','Eyl','Eki','Kas','Ara'],
13
		dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
14
		dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
15
		dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
16
		weekHeader: 'Hf',
17
		dateFormat: 'dd.mm.yy',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['tr']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-uk.js (working copy)
1
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
3
/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */
4
jQuery(function($){
5
	$.datepicker.regional['uk'] = {
6
		closeText: 'Закрити',
7
		prevText: '&#x3c;',
8
		nextText: '&#x3e;',
9
		currentText: 'Сьогодні',
10
		monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
11
		'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
12
		monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
13
		'Лип','Сер','Вер','Жов','Лис','Гру'],
14
		dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'],
15
		dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
16
		dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
17
		weekHeader: 'Тиж',
18
		dateFormat: 'dd/mm/yy',
19
		firstDay: 1,
20
		isRTL: false,
21
		showMonthAfterYear: false,
22
		yearSuffix: ''};
23
	$.datepicker.setDefaults($.datepicker.regional['uk']);
24
});
public/javascripts/i18n/jquery.ui.datepicker-vi.js (working copy)
1
/* Vietnamese initialisation for the jQuery UI date picker plugin. */
2
/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
3
jQuery(function($){
4
	$.datepicker.regional['vi'] = {
5
		closeText: 'Đóng',
6
		prevText: '&#x3c;Trước',
7
		nextText: 'Tiếp&#x3e;',
8
		currentText: 'Hôm nay',
9
		monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
10
		'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
11
		monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
12
		'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
13
		dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
14
		dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
15
		dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
16
		weekHeader: 'Tu',
17
		dateFormat: 'dd/mm/yy',
18
		firstDay: 0,
19
		isRTL: false,
20
		showMonthAfterYear: false,
21
		yearSuffix: ''};
22
	$.datepicker.setDefaults($.datepicker.regional['vi']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-zh-CN.js (working copy)
1
/* Chinese initialisation for the jQuery UI date picker plugin. */
2
/* Written by Cloudream (cloudream@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['zh-CN'] = {
5
		closeText: '关闭',
6
		prevText: '&#x3c;上月',
7
		nextText: '下月&#x3e;',
8
		currentText: '今天',
9
		monthNames: ['一月','二月','三月','四月','五月','六月',
10
		'七月','八月','九月','十月','十一月','十二月'],
11
		monthNamesShort: ['一','二','三','四','五','六',
12
		'七','八','九','十','十一','十二'],
13
		dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
14
		dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
15
		dayNamesMin: ['日','一','二','三','四','五','六'],
16
		weekHeader: '周',
17
		dateFormat: 'yy-mm-dd',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: true,
21
		yearSuffix: '年'};
22
	$.datepicker.setDefaults($.datepicker.regional['zh-CN']);
23
});
public/javascripts/i18n/jquery.ui.datepicker-zh-TW.js (working copy)
1
/* Chinese initialisation for the jQuery UI date picker plugin. */
2
/* Written by Ressol (ressol@gmail.com). */
3
jQuery(function($){
4
	$.datepicker.regional['zh-TW'] = {
5
		closeText: '關閉',
6
		prevText: '&#x3c;上月',
7
		nextText: '下月&#x3e;',
8
		currentText: '今天',
9
		monthNames: ['一月','二月','三月','四月','五月','六月',
10
		'七月','八月','九月','十月','十一月','十二月'],
11
		monthNamesShort: ['一','二','三','四','五','六',
12
		'七','八','九','十','十一','十二'],
13
		dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
14
		dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
15
		dayNamesMin: ['日','一','二','三','四','五','六'],
16
		weekHeader: '周',
17
		dateFormat: 'yy/mm/dd',
18
		firstDay: 1,
19
		isRTL: false,
20
		showMonthAfterYear: true,
21
		yearSuffix: '年'};
22
	$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
23
});
public/javascripts/jquery.datetimepicker.js (revision 0)
1
/**
2
 * @preserve jQuery DateTimePicker plugin v2.4.1
3
 * @homepage http://xdsoft.net/jqplugins/datetimepicker/
... This diff was truncated because it exceeds the maximum size that can be displayed.