smklib 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/app/assets/images/add.png +0 -0
  3. data/app/assets/images/button_cancel.png +0 -0
  4. data/app/assets/images/button_ok.png +0 -0
  5. data/app/assets/images/cmseditor/16x16/text_block.png +0 -0
  6. data/app/assets/images/cmseditor/16x16/text_bold.png +0 -0
  7. data/app/assets/images/cmseditor/16x16/text_center.png +0 -0
  8. data/app/assets/images/cmseditor/16x16/text_italic.png +0 -0
  9. data/app/assets/images/cmseditor/16x16/text_left.png +0 -0
  10. data/app/assets/images/cmseditor/16x16/text_right.png +0 -0
  11. data/app/assets/images/cmseditor/16x16/text_strike.png +0 -0
  12. data/app/assets/images/cmseditor/16x16/text_sub.png +0 -0
  13. data/app/assets/images/cmseditor/16x16/text_super.png +0 -0
  14. data/app/assets/images/cmseditor/16x16/text_under.png +0 -0
  15. data/app/assets/images/cmseditor/22x22/text_block.png +0 -0
  16. data/app/assets/images/cmseditor/22x22/text_bold.png +0 -0
  17. data/app/assets/images/cmseditor/22x22/text_center.png +0 -0
  18. data/app/assets/images/cmseditor/22x22/text_italic.png +0 -0
  19. data/app/assets/images/cmseditor/22x22/text_left.png +0 -0
  20. data/app/assets/images/cmseditor/22x22/text_right.png +0 -0
  21. data/app/assets/images/cmseditor/22x22/text_strike.png +0 -0
  22. data/app/assets/images/cmseditor/22x22/text_sub.png +0 -0
  23. data/app/assets/images/cmseditor/22x22/text_super.png +0 -0
  24. data/app/assets/images/cmseditor/22x22/text_under.png +0 -0
  25. data/app/assets/images/trashcan_empty.png +0 -0
  26. data/app/assets/javascripts/collapsable.js +56 -0
  27. data/app/assets/javascripts/hide_show.js +39 -0
  28. data/app/assets/javascripts/jscalendar-1.0/calendar-setup.js +200 -0
  29. data/app/assets/javascripts/jscalendar-1.0/calendar.js +1806 -0
  30. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-af.js +39 -0
  31. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-al.js +101 -0
  32. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-bg.js +124 -0
  33. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-big5-utf8.js +123 -0
  34. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-big5.js +123 -0
  35. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-br.js +108 -0
  36. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ca.js +123 -0
  37. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-cs-utf8.js +65 -0
  38. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-cs-win.js +65 -0
  39. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-da.js +123 -0
  40. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-de.js +124 -0
  41. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-du.js +45 -0
  42. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-el.js +89 -0
  43. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-en.js +127 -0
  44. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-es.js +129 -0
  45. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-fi.js +98 -0
  46. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-fr.js +125 -0
  47. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-he-utf8.js +123 -0
  48. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-hr-utf8.js +49 -0
  49. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-hr.js +0 -0
  50. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-hu.js +124 -0
  51. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-it.js +124 -0
  52. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-jp.js +45 -0
  53. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ko-utf8.js +120 -0
  54. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ko.js +120 -0
  55. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-lt-utf8.js +114 -0
  56. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-lt.js +114 -0
  57. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-lv.js +123 -0
  58. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-nl.js +73 -0
  59. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-no.js +114 -0
  60. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-pl-utf8.js +93 -0
  61. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-pl.js +56 -0
  62. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-pt.js +123 -0
  63. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ro.js +66 -0
  64. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ru.js +123 -0
  65. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ru_win_.js +123 -0
  66. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-si.js +94 -0
  67. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-sk.js +99 -0
  68. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-sp.js +110 -0
  69. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-sv.js +93 -0
  70. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-tr.js +58 -0
  71. data/app/assets/javascripts/jscalendar-1.0/lang/calendar-zh.js +119 -0
  72. data/app/assets/javascripts/jscalendar-1.0/lang/cn_utf8.js +123 -0
  73. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/active-bg.gif +0 -0
  74. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/dark-bg.gif +0 -0
  75. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/hover-bg.gif +0 -0
  76. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/menuarrow.gif +0 -0
  77. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/normal-bg.gif +0 -0
  78. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/rowhover-bg.gif +0 -0
  79. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/status-bg.gif +0 -0
  80. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/theme.css +236 -0
  81. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/title-bg.gif +0 -0
  82. data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/today-bg.gif +0 -0
  83. data/app/views/error_mailer/snapshot.rhtml +71 -0
  84. data/lib/smklib.rb +6 -0
  85. data/lib/smklib/array_ext.rb +76 -0
  86. data/lib/smklib/browsers.rb +69 -0
  87. data/lib/smklib/builder_ext.rb +103 -0
  88. data/lib/smklib/date_ext.rb +23 -0
  89. data/lib/smklib/debug_support.rb +27 -0
  90. data/lib/smklib/error_mailer.rb +70 -0
  91. data/lib/smklib/hash_ext.rb +19 -0
  92. data/lib/smklib/htmlutils.rb +604 -0
  93. data/lib/smklib/movable_children.rb +28 -0
  94. data/lib/smklib/object_ext.rb +34 -0
  95. data/lib/smklib/php_serialize.rb +309 -0
  96. data/lib/smklib/railtie.rb +6 -0
  97. data/lib/smklib/somekool_scaffold.rb +198 -0
  98. data/lib/smklib/super_looking_list.rb +63 -0
  99. data/lib/smklib/version.rb +11 -0
  100. data/vendor/calendar_helper.rb +100 -0
  101. data/vendor/htmltokenizer.rb +259 -0
  102. metadata +158 -0
@@ -0,0 +1,56 @@
1
+ // ** I18N
2
+ // Calendar PL language
3
+ // Author: Artur Filipiak, <imagen@poczta.fm>
4
+ // January, 2004
5
+ // Encoding: UTF-8
6
+ Calendar._DN = new Array
7
+ ("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela");
8
+
9
+ Calendar._SDN = new Array
10
+ ("N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N");
11
+
12
+ Calendar._MN = new Array
13
+ ("Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień");
14
+
15
+ Calendar._SMN = new Array
16
+ ("Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru");
17
+
18
+ // tooltips
19
+ Calendar._TT = {};
20
+ Calendar._TT["INFO"] = "O kalendarzu";
21
+
22
+ Calendar._TT["ABOUT"] =
23
+ "DHTML Date/Time Selector\n" +
24
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
25
+ "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
26
+ "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
27
+ "\n\n" +
28
+ "Wybór daty:\n" +
29
+ "- aby wybrać rok użyj przycisków \xab, \xbb\n" +
30
+ "- aby wybrać miesiąc użyj przycisków " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" +
31
+ "- aby przyspieszyć wybór przytrzymaj wciśnięty przycisk myszy nad ww. przyciskami.";
32
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
33
+ "Wybór czasu:\n" +
34
+ "- aby zwiększyć wartość kliknij na dowolnym elemencie selekcji czasu\n" +
35
+ "- aby zmniejszyć wartość użyj dodatkowo klawisza Shift\n" +
36
+ "- możesz również poruszać myszkę w lewo i prawo wraz z wciśniętym lewym klawiszem.";
37
+
38
+ Calendar._TT["PREV_YEAR"] = "Poprz. rok (przytrzymaj dla menu)";
39
+ Calendar._TT["PREV_MONTH"] = "Poprz. miesiąc (przytrzymaj dla menu)";
40
+ Calendar._TT["GO_TODAY"] = "Pokaż dziś";
41
+ Calendar._TT["NEXT_MONTH"] = "Nast. miesiąc (przytrzymaj dla menu)";
42
+ Calendar._TT["NEXT_YEAR"] = "Nast. rok (przytrzymaj dla menu)";
43
+ Calendar._TT["SEL_DATE"] = "Wybierz datę";
44
+ Calendar._TT["DRAG_TO_MOVE"] = "Przesuń okienko";
45
+ Calendar._TT["PART_TODAY"] = " (dziś)";
46
+ Calendar._TT["MON_FIRST"] = "Pokaż Poniedziałek jako pierwszy";
47
+ Calendar._TT["SUN_FIRST"] = "Pokaż Niedzielę jako pierwszą";
48
+ Calendar._TT["CLOSE"] = "Zamknij";
49
+ Calendar._TT["TODAY"] = "Dziś";
50
+ Calendar._TT["TIME_PART"] = "(Shift-)klik | drag, aby zmienić wartość";
51
+
52
+ // date formats
53
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y.%m.%d";
54
+ Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
55
+
56
+ Calendar._TT["WK"] = "wk";
@@ -0,0 +1,123 @@
1
+ // ** I18N
2
+
3
+ // Calendar pt_BR language
4
+ // Author: Adalberto Machado, <betosm@terra.com.br>
5
+ // Encoding: any
6
+ // Distributed under the same terms as the calendar itself.
7
+
8
+ // For translators: please use UTF-8 if possible. We strongly believe that
9
+ // Unicode is the answer to a real internationalized world. Also please
10
+ // include your contact information in the header, as can be seen above.
11
+
12
+ // full day names
13
+ Calendar._DN = new Array
14
+ ("Domingo",
15
+ "Segunda",
16
+ "Terca",
17
+ "Quarta",
18
+ "Quinta",
19
+ "Sexta",
20
+ "Sabado",
21
+ "Domingo");
22
+
23
+ // Please note that the following array of short day names (and the same goes
24
+ // for short month names, _SMN) isn't absolutely necessary. We give it here
25
+ // for exemplification on how one can customize the short day names, but if
26
+ // they are simply the first N letters of the full name you can simply say:
27
+ //
28
+ // Calendar._SDN_len = N; // short day name length
29
+ // Calendar._SMN_len = N; // short month name length
30
+ //
31
+ // If N = 3 then this is not needed either since we assume a value of 3 if not
32
+ // present, to be compatible with translation files that were written before
33
+ // this feature.
34
+
35
+ // short day names
36
+ Calendar._SDN = new Array
37
+ ("Dom",
38
+ "Seg",
39
+ "Ter",
40
+ "Qua",
41
+ "Qui",
42
+ "Sex",
43
+ "Sab",
44
+ "Dom");
45
+
46
+ // full month names
47
+ Calendar._MN = new Array
48
+ ("Janeiro",
49
+ "Fevereiro",
50
+ "Marco",
51
+ "Abril",
52
+ "Maio",
53
+ "Junho",
54
+ "Julho",
55
+ "Agosto",
56
+ "Setembro",
57
+ "Outubro",
58
+ "Novembro",
59
+ "Dezembro");
60
+
61
+ // short month names
62
+ Calendar._SMN = new Array
63
+ ("Jan",
64
+ "Fev",
65
+ "Mar",
66
+ "Abr",
67
+ "Mai",
68
+ "Jun",
69
+ "Jul",
70
+ "Ago",
71
+ "Set",
72
+ "Out",
73
+ "Nov",
74
+ "Dez");
75
+
76
+ // tooltips
77
+ Calendar._TT = {};
78
+ Calendar._TT["INFO"] = "Sobre o calendario";
79
+
80
+ Calendar._TT["ABOUT"] =
81
+ "DHTML Date/Time Selector\n" +
82
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
83
+ "Ultima versao visite: http://www.dynarch.com/projects/calendar/\n" +
84
+ "Distribuido sobre GNU LGPL. Veja http://gnu.org/licenses/lgpl.html para detalhes." +
85
+ "\n\n" +
86
+ "Selecao de data:\n" +
87
+ "- Use os botoes \xab, \xbb para selecionar o ano\n" +
88
+ "- Use os botoes " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para selecionar o mes\n" +
89
+ "- Segure o botao do mouse em qualquer um desses botoes para selecao rapida.";
90
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
+ "Selecao de hora:\n" +
92
+ "- Clique em qualquer parte da hora para incrementar\n" +
93
+ "- ou Shift-click para decrementar\n" +
94
+ "- ou clique e segure para selecao rapida.";
95
+
96
+ Calendar._TT["PREV_YEAR"] = "Ant. ano (segure para menu)";
97
+ Calendar._TT["PREV_MONTH"] = "Ant. mes (segure para menu)";
98
+ Calendar._TT["GO_TODAY"] = "Hoje";
99
+ Calendar._TT["NEXT_MONTH"] = "Prox. mes (segure para menu)";
100
+ Calendar._TT["NEXT_YEAR"] = "Prox. ano (segure para menu)";
101
+ Calendar._TT["SEL_DATE"] = "Selecione a data";
102
+ Calendar._TT["DRAG_TO_MOVE"] = "Arraste para mover";
103
+ Calendar._TT["PART_TODAY"] = " (hoje)";
104
+
105
+ // the following is to inform that "%s" is to be the first day of week
106
+ // %s will be replaced with the day name.
107
+ Calendar._TT["DAY_FIRST"] = "Mostre %s primeiro";
108
+
109
+ // This may be locale-dependent. It specifies the week-end days, as an array
110
+ // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
111
+ // means Monday, etc.
112
+ Calendar._TT["WEEKEND"] = "0,6";
113
+
114
+ Calendar._TT["CLOSE"] = "Fechar";
115
+ Calendar._TT["TODAY"] = "Hoje";
116
+ Calendar._TT["TIME_PART"] = "(Shift-)Click ou arraste para mudar valor";
117
+
118
+ // date formats
119
+ Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y";
120
+ Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b";
121
+
122
+ Calendar._TT["WK"] = "sm";
123
+ Calendar._TT["TIME"] = "Hora:";
@@ -0,0 +1,66 @@
1
+ // ** I18N
2
+ Calendar._DN = new Array
3
+ ("Duminică",
4
+ "Luni",
5
+ "Marţi",
6
+ "Miercuri",
7
+ "Joi",
8
+ "Vineri",
9
+ "Sâmbătă",
10
+ "Duminică");
11
+ Calendar._SDN_len = 2;
12
+ Calendar._MN = new Array
13
+ ("Ianuarie",
14
+ "Februarie",
15
+ "Martie",
16
+ "Aprilie",
17
+ "Mai",
18
+ "Iunie",
19
+ "Iulie",
20
+ "August",
21
+ "Septembrie",
22
+ "Octombrie",
23
+ "Noiembrie",
24
+ "Decembrie");
25
+
26
+ // tooltips
27
+ Calendar._TT = {};
28
+
29
+ Calendar._TT["INFO"] = "Despre calendar";
30
+
31
+ Calendar._TT["ABOUT"] =
32
+ "DHTML Date/Time Selector\n" +
33
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
34
+ "Pentru ultima versiune vizitaţi: http://www.dynarch.com/projects/calendar/\n" +
35
+ "Distribuit sub GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
36
+ "\n\n" +
37
+ "Selecţia datei:\n" +
38
+ "- Folosiţi butoanele \xab, \xbb pentru a selecta anul\n" +
39
+ "- Folosiţi butoanele " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " pentru a selecta luna\n" +
40
+ "- Tineţi butonul mouse-ului apăsat pentru selecţie mai rapidă.";
41
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
42
+ "Selecţia orei:\n" +
43
+ "- Click pe ora sau minut pentru a mări valoarea cu 1\n" +
44
+ "- Sau Shift-Click pentru a micşora valoarea cu 1\n" +
45
+ "- Sau Click şi drag pentru a selecta mai repede.";
46
+
47
+ Calendar._TT["PREV_YEAR"] = "Anul precedent (lung pt menu)";
48
+ Calendar._TT["PREV_MONTH"] = "Luna precedentă (lung pt menu)";
49
+ Calendar._TT["GO_TODAY"] = "Data de azi";
50
+ Calendar._TT["NEXT_MONTH"] = "Luna următoare (lung pt menu)";
51
+ Calendar._TT["NEXT_YEAR"] = "Anul următor (lung pt menu)";
52
+ Calendar._TT["SEL_DATE"] = "Selectează data";
53
+ Calendar._TT["DRAG_TO_MOVE"] = "Trage pentru a mişca";
54
+ Calendar._TT["PART_TODAY"] = " (astăzi)";
55
+ Calendar._TT["DAY_FIRST"] = "Afişează %s prima zi";
56
+ Calendar._TT["WEEKEND"] = "0,6";
57
+ Calendar._TT["CLOSE"] = "Închide";
58
+ Calendar._TT["TODAY"] = "Astăzi";
59
+ Calendar._TT["TIME_PART"] = "(Shift-)Click sau drag pentru a selecta";
60
+
61
+ // date formats
62
+ Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y";
63
+ Calendar._TT["TT_DATE_FORMAT"] = "%A, %d %B";
64
+
65
+ Calendar._TT["WK"] = "spt";
66
+ Calendar._TT["TIME"] = "Ora:";
@@ -0,0 +1,123 @@
1
+ // ** I18N
2
+
3
+ // Calendar RU language
4
+ // Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net>
5
+ // Encoding: any
6
+ // Distributed under the same terms as the calendar itself.
7
+
8
+ // For translators: please use UTF-8 if possible. We strongly believe that
9
+ // Unicode is the answer to a real internationalized world. Also please
10
+ // include your contact information in the header, as can be seen above.
11
+
12
+ // full day names
13
+ Calendar._DN = new Array
14
+ ("воскресенье",
15
+ "понедельник",
16
+ "вторник",
17
+ "среда",
18
+ "четверг",
19
+ "пятница",
20
+ "суббота",
21
+ "воскресенье");
22
+
23
+ // Please note that the following array of short day names (and the same goes
24
+ // for short month names, _SMN) isn't absolutely necessary. We give it here
25
+ // for exemplification on how one can customize the short day names, but if
26
+ // they are simply the first N letters of the full name you can simply say:
27
+ //
28
+ // Calendar._SDN_len = N; // short day name length
29
+ // Calendar._SMN_len = N; // short month name length
30
+ //
31
+ // If N = 3 then this is not needed either since we assume a value of 3 if not
32
+ // present, to be compatible with translation files that were written before
33
+ // this feature.
34
+
35
+ // short day names
36
+ Calendar._SDN = new Array
37
+ ("вск",
38
+ "пон",
39
+ "втр",
40
+ "срд",
41
+ "чет",
42
+ "пят",
43
+ "суб",
44
+ "вск");
45
+
46
+ // full month names
47
+ Calendar._MN = new Array
48
+ ("январь",
49
+ "февраль",
50
+ "март",
51
+ "апрель",
52
+ "май",
53
+ "июнь",
54
+ "июль",
55
+ "август",
56
+ "сентябрь",
57
+ "октябрь",
58
+ "ноябрь",
59
+ "декабрь");
60
+
61
+ // short month names
62
+ Calendar._SMN = new Array
63
+ ("янв",
64
+ "фев",
65
+ "мар",
66
+ "апр",
67
+ "май",
68
+ "июн",
69
+ "июл",
70
+ "авг",
71
+ "сен",
72
+ "окт",
73
+ "ноя",
74
+ "дек");
75
+
76
+ // tooltips
77
+ Calendar._TT = {};
78
+ Calendar._TT["INFO"] = "О календаре...";
79
+
80
+ Calendar._TT["ABOUT"] =
81
+ "DHTML Date/Time Selector\n" +
82
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
83
+ "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
84
+ "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
85
+ "\n\n" +
86
+ "Как выбрать дату:\n" +
87
+ "- При помощи кнопок \xab, \xbb можно выбрать год\n" +
88
+ "- При помощи кнопок " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " можно выбрать месяц\n" +
89
+ "- Подержите эти кнопки нажатыми, чтобы появилось меню быстрого выбора.";
90
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
+ "Как выбрать время:\n" +
92
+ "- При клике на часах или минутах они увеличиваются\n" +
93
+ "- при клике с нажатой клавишей Shift они уменьшаются\n" +
94
+ "- если нажать и двигать мышкой влево/вправо, они будут меняться быстрее.";
95
+
96
+ Calendar._TT["PREV_YEAR"] = "На год назад (удерживать для меню)";
97
+ Calendar._TT["PREV_MONTH"] = "На месяц назад (удерживать для меню)";
98
+ Calendar._TT["GO_TODAY"] = "Сегодня";
99
+ Calendar._TT["NEXT_MONTH"] = "На месяц вперед (удерживать для меню)";
100
+ Calendar._TT["NEXT_YEAR"] = "На год вперед (удерживать для меню)";
101
+ Calendar._TT["SEL_DATE"] = "Выберите дату";
102
+ Calendar._TT["DRAG_TO_MOVE"] = "Перетаскивайте мышкой";
103
+ Calendar._TT["PART_TODAY"] = " (сегодня)";
104
+
105
+ // the following is to inform that "%s" is to be the first day of week
106
+ // %s will be replaced with the day name.
107
+ Calendar._TT["DAY_FIRST"] = "Первый день недели будет %s";
108
+
109
+ // This may be locale-dependent. It specifies the week-end days, as an array
110
+ // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
111
+ // means Monday, etc.
112
+ Calendar._TT["WEEKEND"] = "0,6";
113
+
114
+ Calendar._TT["CLOSE"] = "Закрыть";
115
+ Calendar._TT["TODAY"] = "Сегодня";
116
+ Calendar._TT["TIME_PART"] = "(Shift-)клик или нажать и двигать";
117
+
118
+ // date formats
119
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
120
+ Calendar._TT["TT_DATE_FORMAT"] = "%e %b, %a";
121
+
122
+ Calendar._TT["WK"] = "нед";
123
+ Calendar._TT["TIME"] = "Время:";
@@ -0,0 +1,123 @@
1
+ // ** I18N
2
+
3
+ // Calendar RU language
4
+ // Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net>
5
+ // Encoding: any
6
+ // Distributed under the same terms as the calendar itself.
7
+
8
+ // For translators: please use UTF-8 if possible. We strongly believe that
9
+ // Unicode is the answer to a real internationalized world. Also please
10
+ // include your contact information in the header, as can be seen above.
11
+
12
+ // full day names
13
+ Calendar._DN = new Array
14
+ ("�����������",
15
+ "�����������",
16
+ "�������",
17
+ "�����",
18
+ "�������",
19
+ "�������",
20
+ "�������",
21
+ "�����������");
22
+
23
+ // Please note that the following array of short day names (and the same goes
24
+ // for short month names, _SMN) isn't absolutely necessary. We give it here
25
+ // for exemplification on how one can customize the short day names, but if
26
+ // they are simply the first N letters of the full name you can simply say:
27
+ //
28
+ // Calendar._SDN_len = N; // short day name length
29
+ // Calendar._SMN_len = N; // short month name length
30
+ //
31
+ // If N = 3 then this is not needed either since we assume a value of 3 if not
32
+ // present, to be compatible with translation files that were written before
33
+ // this feature.
34
+
35
+ // short day names
36
+ Calendar._SDN = new Array
37
+ ("���",
38
+ "���",
39
+ "���",
40
+ "���",
41
+ "���",
42
+ "���",
43
+ "���",
44
+ "���");
45
+
46
+ // full month names
47
+ Calendar._MN = new Array
48
+ ("������",
49
+ "�������",
50
+ "����",
51
+ "������",
52
+ "���",
53
+ "����",
54
+ "����",
55
+ "������",
56
+ "��������",
57
+ "�������",
58
+ "������",
59
+ "�������");
60
+
61
+ // short month names
62
+ Calendar._SMN = new Array
63
+ ("���",
64
+ "���",
65
+ "���",
66
+ "���",
67
+ "���",
68
+ "���",
69
+ "���",
70
+ "���",
71
+ "���",
72
+ "���",
73
+ "���",
74
+ "���");
75
+
76
+ // tooltips
77
+ Calendar._TT = {};
78
+ Calendar._TT["INFO"] = "� ���������...";
79
+
80
+ Calendar._TT["ABOUT"] =
81
+ "DHTML Date/Time Selector\n" +
82
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
83
+ "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
84
+ "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
85
+ "\n\n" +
86
+ "��� ������� ����:\n" +
87
+ "- ��� ������ ������ \xab, \xbb ����� ������� ���\n" +
88
+ "- ��� ������ ������ " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ����� ������� �����\n" +
89
+ "- ��������� ��� ������ ��������, ����� ��������� ���� �������� ������.";
90
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
+ "��� ������� �����:\n" +
92
+ "- ��� ����� �� ����� ��� ������� ��� �������������\n" +
93
+ "- ��� ����� � ������� �������� Shift ��� �����������\n" +
94
+ "- ���� ������ � ������� ������ �����/������, ��� ����� �������� �������.";
95
+
96
+ Calendar._TT["PREV_YEAR"] = "�� ��� ����� (���������� ��� ����)";
97
+ Calendar._TT["PREV_MONTH"] = "�� ����� ����� (���������� ��� ����)";
98
+ Calendar._TT["GO_TODAY"] = "�������";
99
+ Calendar._TT["NEXT_MONTH"] = "�� ����� ������ (���������� ��� ����)";
100
+ Calendar._TT["NEXT_YEAR"] = "�� ��� ������ (���������� ��� ����)";
101
+ Calendar._TT["SEL_DATE"] = "�������� ����";
102
+ Calendar._TT["DRAG_TO_MOVE"] = "�������������� ������";
103
+ Calendar._TT["PART_TODAY"] = " (�������)";
104
+
105
+ // the following is to inform that "%s" is to be the first day of week
106
+ // %s will be replaced with the day name.
107
+ Calendar._TT["DAY_FIRST"] = "������ ���� ������ ����� %s";
108
+
109
+ // This may be locale-dependent. It specifies the week-end days, as an array
110
+ // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
111
+ // means Monday, etc.
112
+ Calendar._TT["WEEKEND"] = "0,6";
113
+
114
+ Calendar._TT["CLOSE"] = "�������";
115
+ Calendar._TT["TODAY"] = "�������";
116
+ Calendar._TT["TIME_PART"] = "(Shift-)���� ��� ������ � �������";
117
+
118
+ // date formats
119
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
120
+ Calendar._TT["TT_DATE_FORMAT"] = "%e %b, %a";
121
+
122
+ Calendar._TT["WK"] = "���";
123
+ Calendar._TT["TIME"] = "�����:";