formize 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. data/README.rdoc +6 -40
  2. data/VERSION +1 -1
  3. data/lib/assets/javascripts/formize-autocomplete.js +11 -0
  4. data/lib/assets/javascripts/formize-behave.js +52 -0
  5. data/lib/assets/javascripts/formize-datepicker.js +115 -0
  6. data/lib/assets/javascripts/formize-dependents.js +50 -0
  7. data/lib/assets/javascripts/formize-dialog.js +123 -0
  8. data/lib/assets/javascripts/formize-observe.js +24 -0
  9. data/lib/assets/javascripts/formize-popover-form.js +32 -0
  10. data/lib/assets/javascripts/formize-timepicker.js +57 -0
  11. data/lib/assets/javascripts/formize-toggle.js +24 -0
  12. data/lib/assets/javascripts/formize-unroll.js +30 -0
  13. data/lib/assets/javascripts/formize.js +10 -436
  14. data/lib/formize.rb +5 -65
  15. data/lib/formize/action_controller.rb +75 -46
  16. data/lib/formize/generator.rb +160 -547
  17. data/lib/formize/helpers/form_helper.rb +40 -38
  18. data/lib/formize/rails/railtie.rb +1 -1
  19. data/test/ci/Gemfile.rails-3.1 +9 -0
  20. data/test/ci/Gemfile.rails-3.2 +9 -0
  21. data/vendor/assets/javascripts/jquery-ui-timepicker-addon.js +1882 -0
  22. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-af.js +20 -0
  23. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-bg.js +20 -0
  24. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-ca.js +20 -0
  25. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-cs.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-cs.js} +5 -2
  26. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-de.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-de.js} +5 -2
  27. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-el.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-el.js} +5 -2
  28. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-es.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-es.js} +5 -2
  29. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-et.js +20 -0
  30. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-fi.js +20 -0
  31. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-fr.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-fr.js} +5 -2
  32. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-gl.js +20 -0
  33. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-he.js +20 -0
  34. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-hu.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-hu.js} +5 -2
  35. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-id.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-id.js} +5 -2
  36. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-it.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-it.js} +5 -2
  37. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-ja.js +20 -0
  38. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-ko.js +20 -0
  39. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-lt.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-lt.js} +5 -2
  40. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-nl.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-nl.js} +5 -2
  41. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-no.js +20 -0
  42. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-pl.js +20 -0
  43. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-pt-BR.js +20 -0
  44. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-pt.js +20 -0
  45. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-ro.js +20 -0
  46. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-ru.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-ru.js} +7 -4
  47. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-sk.js +20 -0
  48. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-sv.js +20 -0
  49. data/{lib/assets/javascripts/locales/jquery.ui.timepicker-tr.js → vendor/assets/javascripts/locales/jquery-ui-timepicker-tr.js} +6 -3
  50. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-uk.js +20 -0
  51. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-vi.js +20 -0
  52. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-zh-CN.js +20 -0
  53. data/vendor/assets/javascripts/locales/jquery-ui-timepicker-zh-TW.js +20 -0
  54. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-af.js +1 -1
  55. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-ar-DZ.js +23 -0
  56. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-ar.js +23 -0
  57. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-az.js +4 -4
  58. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-be.js +23 -0
  59. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-bg.js +24 -0
  60. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-bs.js +6 -6
  61. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-ca.js +23 -0
  62. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-cs.js +4 -4
  63. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-cy-GB.js +23 -0
  64. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-da.js +23 -0
  65. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-de-CH.js +0 -0
  66. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-de.js +4 -4
  67. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-el.js +2 -2
  68. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-en-AU.js +23 -0
  69. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-en-GB.js +1 -1
  70. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-en-NZ.js +23 -0
  71. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-eo.js +3 -3
  72. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-es.js +6 -6
  73. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-et.js +3 -3
  74. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-eu.js +23 -0
  75. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-fa.js +59 -0
  76. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-fi.js +23 -0
  77. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-fo.js +4 -4
  78. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-fr-CA.js +23 -0
  79. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-fr-CH.js +2 -2
  80. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-fr.js +25 -0
  81. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-gl.js +23 -0
  82. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-he.js +5 -5
  83. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-hi.js +23 -0
  84. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-hr.js +4 -4
  85. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-hu.js +7 -7
  86. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-hy.js +3 -3
  87. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-id.js +3 -3
  88. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-is.js +23 -0
  89. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-it.js +3 -3
  90. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-ja.js +4 -4
  91. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-ka.js +21 -0
  92. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-kk.js +23 -0
  93. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-km.js +23 -0
  94. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-ko.js +8 -8
  95. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-ky.js +24 -0
  96. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-lb.js +23 -0
  97. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-lt.js +3 -3
  98. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-lv.js +1 -1
  99. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-mk.js +23 -0
  100. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-ml.js +23 -0
  101. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-ms.js +3 -3
  102. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-nb.js +22 -0
  103. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-nl-BE.js +23 -23
  104. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-nl.js +5 -5
  105. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-nn.js +22 -0
  106. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-no.js +23 -0
  107. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-pl.js +4 -4
  108. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-pt-BR.js +7 -7
  109. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-pt.js +22 -0
  110. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-rm.js +21 -0
  111. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-ro.js +4 -4
  112. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-ru.js +4 -4
  113. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-sk.js +4 -4
  114. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-sl.js +6 -6
  115. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-sq.js +3 -3
  116. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-sr-SR.js +3 -3
  117. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-sr.js +3 -3
  118. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-sv.js +23 -0
  119. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-ta.js +1 -1
  120. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-th.js +5 -5
  121. data/vendor/assets/javascripts/locales/jquery.ui.datepicker-tj.js +23 -0
  122. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-tr.js +2 -2
  123. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-uk.js +5 -4
  124. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-vi.js +3 -3
  125. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-zh-CN.js +4 -4
  126. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-zh-HK.js +4 -4
  127. data/{lib → vendor}/assets/javascripts/locales/jquery.ui.datepicker-zh-TW.js +5 -5
  128. metadata +127 -92
  129. data/lib/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  130. data/lib/assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  131. data/lib/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  132. data/lib/assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  133. data/lib/assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  134. data/lib/assets/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
  135. data/lib/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  136. data/lib/assets/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  137. data/lib/assets/images/ui-icons_222222_256x240.png +0 -0
  138. data/lib/assets/images/ui-icons_2e83ff_256x240.png +0 -0
  139. data/lib/assets/images/ui-icons_454545_256x240.png +0 -0
  140. data/lib/assets/images/ui-icons_888888_256x240.png +0 -0
  141. data/lib/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
  142. data/lib/assets/javascripts/jquery.ui.formize.js +0 -380
  143. data/lib/assets/javascripts/jquery.ui.timepicker.js +0 -1060
  144. data/lib/assets/javascripts/locales/jquery.ui.datepicker-ar.js +0 -24
  145. data/lib/assets/javascripts/locales/jquery.ui.datepicker-bg.js +0 -24
  146. data/lib/assets/javascripts/locales/jquery.ui.datepicker-ca.js +0 -23
  147. data/lib/assets/javascripts/locales/jquery.ui.datepicker-da.js +0 -23
  148. data/lib/assets/javascripts/locales/jquery.ui.datepicker-eu.js +0 -23
  149. data/lib/assets/javascripts/locales/jquery.ui.datepicker-fa.js +0 -23
  150. data/lib/assets/javascripts/locales/jquery.ui.datepicker-fi.js +0 -23
  151. data/lib/assets/javascripts/locales/jquery.ui.datepicker-fr.js +0 -23
  152. data/lib/assets/javascripts/locales/jquery.ui.datepicker-is.js +0 -23
  153. data/lib/assets/javascripts/locales/jquery.ui.datepicker-no.js +0 -23
  154. data/lib/assets/javascripts/locales/jquery.ui.datepicker-sv.js +0 -23
  155. data/lib/assets/javascripts/locales/jquery.ui.timepicker-et.js +0 -17
  156. data/lib/assets/javascripts/locales/jquery.ui.timepicker-vi.js +0 -17
  157. data/lib/assets/stylesheets/formize.css +0 -20
  158. data/lib/assets/stylesheets/jquery-ui.css +0 -586
@@ -1,10 +1,10 @@
1
- /* German initialisation for the jQuery UI date picker plugin. */
1
+ /* German initialisation for the jQuery UI date picker plugin. */
2
2
  /* Written by Milian Wolff (mail@milianw.de). */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['de'] = {
5
5
  closeText: 'schließen',
6
- prevText: '<zurück',
7
- nextText: 'Vor>',
6
+ prevText: '<zurück',
7
+ nextText: 'Vor>',
8
8
  currentText: 'heute',
9
9
  monthNames: ['Januar','Februar','März','April','Mai','Juni',
10
10
  'Juli','August','September','Oktober','November','Dezember'],
@@ -13,7 +13,7 @@ jQuery(function($){
13
13
  dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
14
14
  dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
15
15
  dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
16
- weekHeader: 'Wo',
16
+ weekHeader: 'KW',
17
17
  dateFormat: 'dd.mm.yy',
18
18
  firstDay: 1,
19
19
  isRTL: false,
@@ -1,4 +1,4 @@
1
- /* Greek (el) initialisation for the jQuery UI date picker plugin. */
1
+ /* Greek (el) initialisation for the jQuery UI date picker plugin. */
2
2
  /* Written by Alex Cicovic (http://www.alexcicovic.com) */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['el'] = {
@@ -20,4 +20,4 @@ jQuery(function($){
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['el']);
23
- });
23
+ });
@@ -0,0 +1,23 @@
1
+ /* English/Australia initialisation for the jQuery UI date picker plugin. */
2
+ /* Based on the en-GB initialisation. */
3
+ jQuery(function($){
4
+ $.datepicker.regional['en-AU'] = {
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-AU']);
23
+ });
@@ -1,4 +1,4 @@
1
- /* English/UK initialisation for the jQuery UI date picker plugin. */
1
+ /* English/UK initialisation for the jQuery UI date picker plugin. */
2
2
  /* Written by Stuart. */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['en-GB'] = {
@@ -0,0 +1,23 @@
1
+ /* English/New Zealand initialisation for the jQuery UI date picker plugin. */
2
+ /* Based on the en-GB initialisation. */
3
+ jQuery(function($){
4
+ $.datepicker.regional['en-NZ'] = {
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-NZ']);
23
+ });
@@ -1,10 +1,10 @@
1
- /* Esperanto initialisation for the jQuery UI date picker plugin. */
1
+ /* Esperanto initialisation for the jQuery UI date picker plugin. */
2
2
  /* Written by Olivier M. (olivierweb@ifrance.com). */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['eo'] = {
5
5
  closeText: 'Fermi',
6
- prevText: '<Anta',
7
- nextText: 'Sekv>',
6
+ prevText: '<Anta',
7
+ nextText: 'Sekv>',
8
8
  currentText: 'Nuna',
9
9
  monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
10
10
  'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
@@ -3,16 +3,16 @@
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['es'] = {
5
5
  closeText: 'Cerrar',
6
- prevText: '<Ant',
7
- nextText: 'Sig>',
6
+ prevText: '<Ant',
7
+ nextText: 'Sig>',
8
8
  currentText: 'Hoy',
9
9
  monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
10
10
  'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
11
11
  monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
12
12
  'Jul','Ago','Sep','Oct','Nov','Dic'],
13
- dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
14
- dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
15
- dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
13
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
14
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
15
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi',''],
16
16
  weekHeader: 'Sm',
17
17
  dateFormat: 'dd/mm/yy',
18
18
  firstDay: 1,
@@ -20,4 +20,4 @@ jQuery(function($){
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['es']);
23
- });
23
+ });
@@ -1,4 +1,4 @@
1
- /* Estonian initialisation for the jQuery UI date picker plugin. */
1
+ /* Estonian initialisation for the jQuery UI date picker plugin. */
2
2
  /* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['et'] = {
@@ -13,11 +13,11 @@ jQuery(function($){
13
13
  dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
14
14
  dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
15
15
  dayNamesMin: ['P','E','T','K','N','R','L'],
16
- weekHeader: 'Sm',
16
+ weekHeader: 'näd',
17
17
  dateFormat: 'dd.mm.yy',
18
18
  firstDay: 1,
19
19
  isRTL: false,
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['et']);
23
- });
23
+ });
@@ -0,0 +1,23 @@
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: '<Aur',
7
+ nextText: 'Hur>',
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
+ });
@@ -0,0 +1,59 @@
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: '<قبلی',
8
+ nextText: 'بعدی>',
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
+ });
@@ -0,0 +1,23 @@
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: '«Edellinen',
7
+ nextText: 'Seuraava»',
8
+ currentText: 'Tänään',
9
+ monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
10
+ 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
11
+ monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
12
+ 'Heinä','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
+ });
@@ -1,10 +1,10 @@
1
- /* Faroese initialisation for the jQuery UI date picker plugin */
1
+ /* Faroese initialisation for the jQuery UI date picker plugin */
2
2
  /* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['fo'] = {
5
5
  closeText: 'Lat aftur',
6
- prevText: '<Fyrra',
7
- nextText: 'Næsta>',
6
+ prevText: '<Fyrra',
7
+ nextText: 'Næsta>',
8
8
  currentText: 'Í dag',
9
9
  monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
10
10
  'Juli','August','September','Oktober','November','Desember'],
@@ -15,7 +15,7 @@ jQuery(function($){
15
15
  dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
16
16
  weekHeader: 'Vk',
17
17
  dateFormat: 'dd-mm-yy',
18
- firstDay: 0,
18
+ firstDay: 1,
19
19
  isRTL: false,
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
@@ -0,0 +1,23 @@
1
+ /* Canadian-French initialisation for the jQuery UI date picker plugin. */
2
+ jQuery(function ($) {
3
+ $.datepicker.regional['fr-CA'] = {
4
+ closeText: 'Fermer',
5
+ prevText: 'Précédent',
6
+ nextText: 'Suivant',
7
+ currentText: 'Aujourd\'hui',
8
+ monthNames: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
9
+ 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
10
+ monthNamesShort: ['janv.', 'févr.', 'mars', 'avril', 'mai', 'juin',
11
+ 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
12
+ dayNames: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
13
+ dayNamesShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
14
+ dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
15
+ weekHeader: 'Sem.',
16
+ dateFormat: 'yy-mm-dd',
17
+ firstDay: 0,
18
+ isRTL: false,
19
+ showMonthAfterYear: false,
20
+ yearSuffix: ''
21
+ };
22
+ $.datepicker.setDefaults($.datepicker.regional['fr-CA']);
23
+ });
@@ -3,8 +3,8 @@
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['fr-CH'] = {
5
5
  closeText: 'Fermer',
6
- prevText: '<Préc',
7
- nextText: 'Suiv>',
6
+ prevText: '<Préc',
7
+ nextText: 'Suiv>',
8
8
  currentText: 'Courant',
9
9
  monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
10
10
  'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
@@ -0,0 +1,25 @@
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
+ });
@@ -0,0 +1,23 @@
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ércores','Xoves','Venres','Sábado'],
14
+ dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'],
15
+ dayNamesMin: ['Do','Lu','Ma','Mé','Xo','Ve','Sá'],
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
+ });
@@ -1,15 +1,15 @@
1
- /* Hebrew initialisation for the UI Datepicker extension. */
1
+ /* Hebrew initialisation for the UI Datepicker extension. */
2
2
  /* Written by Amir Hardon (ahardon at gmail dot com). */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['he'] = {
5
5
  closeText: 'סגור',
6
- prevText: '&#x3c;הקודם',
7
- nextText: 'הבא&#x3e;',
6
+ prevText: '&#x3C;הקודם',
7
+ nextText: 'הבא&#x3E;',
8
8
  currentText: 'היום',
9
9
  monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
10
10
  'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
11
- monthNamesShort: ['1','2','3','4','5','6',
12
- '7','8','9','10','11','12'],
11
+ monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
12
+ 'יולי','אוג','ספט','אוק','נוב','דצמ'],
13
13
  dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
14
14
  dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
15
15
  dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
@@ -0,0 +1,23 @@
1
+ /* Hindi initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Michael Dawart. */
3
+ jQuery(function($){
4
+ $.datepicker.regional['hi'] = {
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['hi']);
23
+ });
@@ -1,10 +1,10 @@
1
- /* Croatian i18n for the jQuery UI date picker plugin. */
1
+ /* Croatian i18n for the jQuery UI date picker plugin. */
2
2
  /* Written by Vjekoslav Nesek. */
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['hr'] = {
5
5
  closeText: 'Zatvori',
6
- prevText: '&#x3c;',
7
- nextText: '&#x3e;',
6
+ prevText: '&#x3C;',
7
+ nextText: '&#x3E;',
8
8
  currentText: 'Danas',
9
9
  monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
10
10
  'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
@@ -20,4 +20,4 @@ jQuery(function($){
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['hr']);
23
- });
23
+ });