damagecontrol 0.5.0 → 0.5.0.1391

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. data/README +67 -11
  2. data/Rakefile +15 -6
  3. data/app/controllers/admin_controller.rb +0 -3
  4. data/app/controllers/application.rb +42 -163
  5. data/app/controllers/build_controller.rb +33 -0
  6. data/app/controllers/files_controller.rb +1 -1
  7. data/app/controllers/project_controller.rb +23 -65
  8. data/app/controllers/rails_ext.rb +247 -0
  9. data/app/controllers/rscm_ext.rb +52 -0
  10. data/app/helpers/build_helper.rb +2 -0
  11. data/app/views/build/email.rhtml +18 -0
  12. data/app/views/build/status.rhtml +20 -0
  13. data/app/views/build/tests.rhtml +2 -0
  14. data/app/views/layouts/{rscm.rhtml → default.rhtml} +10 -4
  15. data/app/views/project/_changesets_list.rhtml +2 -2
  16. data/app/views/project/_cvs.rhtml +4 -5
  17. data/app/views/project/_project.rhtml +9 -9
  18. data/app/views/project/_select_pane.rhtml +26 -0
  19. data/app/views/project/_tab_pane.rhtml +23 -0
  20. data/app/views/project/changeset.rhtml +35 -0
  21. data/app/views/project/view.rhtml +18 -32
  22. data/app/views/setup/welcome.rhtml +118 -0
  23. data/config/database.yml +20 -20
  24. data/config/environment.rb +66 -60
  25. data/config/environments/development.rb +3 -2
  26. data/config/environments/production.rb +3 -2
  27. data/config/environments/test.rb +3 -2
  28. data/config/routes.rb +15 -0
  29. data/lib/damagecontrol/app.rb +11 -40
  30. data/lib/damagecontrol/build.rb +50 -8
  31. data/lib/damagecontrol/directories.rb +7 -6
  32. data/lib/damagecontrol/poller.rb +11 -20
  33. data/lib/damagecontrol/project.rb +83 -16
  34. data/lib/damagecontrol/publisher/ambient_orb.rb +16 -0
  35. data/lib/damagecontrol/publisher/archive.rb +16 -0
  36. data/lib/damagecontrol/publisher/base.rb +25 -0
  37. data/lib/damagecontrol/publisher/build_duration.rb +16 -0
  38. data/lib/damagecontrol/publisher/email.rb +59 -0
  39. data/lib/damagecontrol/publisher/execute.rb +49 -0
  40. data/lib/damagecontrol/publisher/ftp.rb +16 -0
  41. data/lib/damagecontrol/publisher/growl.rb +44 -0
  42. data/lib/damagecontrol/publisher/irc.rb +31 -0
  43. data/lib/damagecontrol/publisher/jabber.rb +68 -0
  44. data/lib/damagecontrol/publisher/scp.rb +16 -0
  45. data/lib/damagecontrol/publisher/x10cm11a.rb +17 -0
  46. data/lib/damagecontrol/publisher/x10cm17a.rb +17 -0
  47. data/lib/damagecontrol/publisher/yahoo.rb +16 -0
  48. data/lib/damagecontrol/standard_persister.rb +2 -2
  49. data/lib/damagecontrol/tracker.rb +48 -6
  50. data/lib/damagecontrol/visitor/rss_writer.rb +1 -1
  51. data/lib/damagecontrol/visitor/yaml_persister.rb +10 -1
  52. data/public/404.html +5 -5
  53. data/public/500.html +5 -5
  54. data/public/dispatch.cgi +2 -2
  55. data/public/dispatch.fcgi +1 -1
  56. data/public/dispatch.rb +2 -2
  57. data/public/images/growlicon.png +0 -0
  58. data/public/images/megaphone.png +0 -0
  59. data/public/images/monotone-logo.png +0 -0
  60. data/public/images/publisher/ambient_orb.png +0 -0
  61. data/public/images/publisher/build_duration.png +0 -0
  62. data/public/images/publisher/email.png +0 -0
  63. data/public/images/publisher/execute.png +0 -0
  64. data/public/images/publisher/growl.png +0 -0
  65. data/public/images/publisher/irc.png +0 -0
  66. data/public/images/publisher/jabber.png +0 -0
  67. data/public/images/publisher/x10cm11a.png +0 -0
  68. data/public/images/publisher/x10cm17a.png +0 -0
  69. data/public/images/publisher/yahoo.png +0 -0
  70. data/public/index.html +70 -1
  71. data/public/javascripts/dateFormat.js +283 -0
  72. data/public/javascripts/jscalendar/ChangeLog +500 -0
  73. data/public/javascripts/jscalendar/README +33 -0
  74. data/public/javascripts/jscalendar/bugtest-hidden-selects.html +108 -0
  75. data/public/javascripts/jscalendar/calendar-blue.css +231 -0
  76. data/public/javascripts/jscalendar/calendar-blue2.css +235 -0
  77. data/public/javascripts/jscalendar/calendar-brown.css +224 -0
  78. data/public/javascripts/jscalendar/calendar-green.css +228 -0
  79. data/public/javascripts/jscalendar/calendar-setup.js +181 -0
  80. data/public/javascripts/jscalendar/calendar-setup_stripped.js +21 -0
  81. data/public/javascripts/jscalendar/calendar-system.css +250 -0
  82. data/public/javascripts/jscalendar/calendar-tas.css +238 -0
  83. data/public/javascripts/jscalendar/calendar-win2k-1.css +270 -0
  84. data/public/javascripts/jscalendar/calendar-win2k-2.css +270 -0
  85. data/public/javascripts/jscalendar/calendar-win2k-cold-1.css +264 -0
  86. data/public/javascripts/jscalendar/calendar-win2k-cold-2.css +270 -0
  87. data/public/javascripts/jscalendar/calendar.js +1715 -0
  88. data/public/javascripts/jscalendar/calendar.php +119 -0
  89. data/public/javascripts/jscalendar/calendar_stripped.js +12 -0
  90. data/public/javascripts/jscalendar/doc/html/reference-Z-S.css +0 -0
  91. data/public/javascripts/jscalendar/doc/html/reference.css +34 -0
  92. data/public/javascripts/jscalendar/doc/html/reference.html +1316 -0
  93. data/public/javascripts/jscalendar/doc/reference.pdf +0 -0
  94. data/public/javascripts/jscalendar/img.gif +0 -0
  95. data/public/javascripts/jscalendar/index.html +333 -0
  96. data/public/javascripts/jscalendar/lang/calendar-af.js +39 -0
  97. data/public/javascripts/jscalendar/lang/calendar-br.js +45 -0
  98. data/public/javascripts/jscalendar/lang/calendar-ca.js +45 -0
  99. data/public/javascripts/jscalendar/lang/calendar-cs-win.js +34 -0
  100. data/public/javascripts/jscalendar/lang/calendar-da.js +63 -0
  101. data/public/javascripts/jscalendar/lang/calendar-de.js +100 -0
  102. data/public/javascripts/jscalendar/lang/calendar-du.js +45 -0
  103. data/public/javascripts/jscalendar/lang/calendar-el.js +89 -0
  104. data/public/javascripts/jscalendar/lang/calendar-en.js +123 -0
  105. data/public/javascripts/jscalendar/lang/calendar-es.js +114 -0
  106. data/public/javascripts/jscalendar/lang/calendar-fi.js +98 -0
  107. data/public/javascripts/jscalendar/lang/calendar-fr.js +86 -0
  108. data/public/javascripts/jscalendar/lang/calendar-hr-utf8.js +49 -0
  109. data/public/javascripts/jscalendar/lang/calendar-hr.js +0 -0
  110. data/public/javascripts/jscalendar/lang/calendar-hu.js +45 -0
  111. data/public/javascripts/jscalendar/lang/calendar-it.js +79 -0
  112. data/public/javascripts/jscalendar/lang/calendar-jp.js +45 -0
  113. data/public/javascripts/jscalendar/lang/calendar-ko-utf8.js +120 -0
  114. data/public/javascripts/jscalendar/lang/calendar-ko.js +120 -0
  115. data/public/javascripts/jscalendar/lang/calendar-lt-utf8.js +114 -0
  116. data/public/javascripts/jscalendar/lang/calendar-lt.js +114 -0
  117. data/public/javascripts/jscalendar/lang/calendar-nl.js +45 -0
  118. data/public/javascripts/jscalendar/lang/calendar-no.js +45 -0
  119. data/public/javascripts/jscalendar/lang/calendar-pl-utf8.js +93 -0
  120. data/public/javascripts/jscalendar/lang/calendar-pl.js +56 -0
  121. data/public/javascripts/jscalendar/lang/calendar-pt.js +45 -0
  122. data/public/javascripts/jscalendar/lang/calendar-ro.js +66 -0
  123. data/public/javascripts/jscalendar/lang/calendar-ru.js +45 -0
  124. data/public/javascripts/jscalendar/lang/calendar-si.js +94 -0
  125. data/public/javascripts/jscalendar/lang/calendar-sk.js +99 -0
  126. data/public/javascripts/jscalendar/lang/calendar-sp.js +63 -0
  127. data/public/javascripts/jscalendar/lang/calendar-sv.js +93 -0
  128. data/public/javascripts/jscalendar/lang/calendar-tr.js +58 -0
  129. data/public/javascripts/jscalendar/lang/calendar-zh.js +45 -0
  130. data/public/javascripts/jscalendar/menuarrow.gif +0 -0
  131. data/public/javascripts/jscalendar/menuarrow2.gif +0 -0
  132. data/public/javascripts/jscalendar/release-notes.html +334 -0
  133. data/public/javascripts/jscalendar/simple-1.html +244 -0
  134. data/public/javascripts/jscalendar/simple-2.html +108 -0
  135. data/public/javascripts/jscalendar/simple-3.html +130 -0
  136. data/public/javascripts/jscalendar/test-position.html +40 -0
  137. data/public/javascripts/jscalendar/test.php +116 -0
  138. data/public/javascripts/toggle_div.js +18 -0
  139. data/public/stylesheets/niceones.txt +1 -0
  140. data/public/stylesheets/style.css +8 -1
  141. data/script/breakpointer +4 -5
  142. data/script/console +19 -27
  143. data/script/console_sandbox.rb +7 -0
  144. data/script/destroy +5 -0
  145. data/script/generate +3 -68
  146. data/script/server +6 -16
  147. data/test/damagecontrol/build_test.rb +8 -8
  148. data/test/damagecontrol/poller_test.rb +10 -18
  149. data/test/damagecontrol/project_test.rb +49 -13
  150. data/test/damagecontrol/publisher/base_test.rb +26 -0
  151. data/test/damagecontrol/publisher/build/email.rhtml +0 -0
  152. data/test/damagecontrol/publisher/email_test.rb +26 -0
  153. data/test/damagecontrol/publisher/fixture.rb +34 -0
  154. data/test/damagecontrol/publisher/growl_test.rb +15 -0
  155. data/test/damagecontrol/publisher/jabber_test.rb +15 -0
  156. data/test/damagecontrol/scm_web_test.rb +1 -1
  157. data/test/damagecontrol/visitor/changesets.rss +1 -1
  158. data/test/damagecontrol/visitor/diff_persister_test.rb +4 -4
  159. data/test/functional/build_controller_test.rb +17 -0
  160. data/test/test_helper.rb +13 -13
  161. metadata +185 -24
  162. data/app/views/project/_bugzilla.rhtml +0 -13
  163. data/app/views/project/_jira.rhtml +0 -19
  164. data/app/views/project/_mooky.rhtml +0 -23
  165. data/app/views/project/_rubyforge.rhtml +0 -19
  166. data/app/views/project/_scarab.rhtml +0 -19
  167. data/app/views/project/_scms.rhtml +0 -15
  168. data/app/views/project/_sourceforge.rhtml +0 -19
  169. data/app/views/project/_starteam.rhtml +0 -43
  170. data/app/views/project/_svn.rhtml +0 -22
  171. data/app/views/project/_trac.rhtml +0 -13
  172. data/app/views/project/_trackers.rhtml +0 -18
  173. data/app/views/project/changesets.rhtml +0 -31
@@ -0,0 +1,45 @@
1
+ // ** I18N
2
+ Calendar._DN = new Array
3
+ ("��",
4
+ "��",
5
+ "��",
6
+ "��",
7
+ "��",
8
+ "��",
9
+ "�y",
10
+ "��");
11
+ Calendar._MN = new Array
12
+ ("1��",
13
+ "2��",
14
+ "3��",
15
+ "4��",
16
+ "5��",
17
+ "6��",
18
+ "7��",
19
+ "8��",
20
+ "9��",
21
+ "10��",
22
+ "11��",
23
+ "12��");
24
+
25
+ // tooltips
26
+ Calendar._TT = {};
27
+ Calendar._TT["TOGGLE"] = "�T�̍ŏ��̗j����؂�ւ�";
28
+ Calendar._TT["PREV_YEAR"] = "�O�N";
29
+ Calendar._TT["PREV_MONTH"] = "�O��";
30
+ Calendar._TT["GO_TODAY"] = "����";
31
+ Calendar._TT["NEXT_MONTH"] = "����";
32
+ Calendar._TT["NEXT_YEAR"] = "���N";
33
+ Calendar._TT["SEL_DATE"] = "���t�I��";
34
+ Calendar._TT["DRAG_TO_MOVE"] = "�E�B���h�E�̈ړ�";
35
+ Calendar._TT["PART_TODAY"] = " (����)";
36
+ Calendar._TT["MON_FIRST"] = "���j����擪��";
37
+ Calendar._TT["SUN_FIRST"] = "���j����擪��";
38
+ Calendar._TT["CLOSE"] = "�‚���";
39
+ Calendar._TT["TODAY"] = "����";
40
+
41
+ // date formats
42
+ Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd";
43
+ Calendar._TT["TT_DATE_FORMAT"] = "%m�� %d�� (%a)";
44
+
45
+ Calendar._TT["WK"] = "�T";
@@ -0,0 +1,120 @@
1
+ // ** I18N
2
+
3
+ // Calendar EN language
4
+ // Author: Mihai Bazon, <mishoo@infoiasi.ro>
5
+ // Translation: Yourim Yi <yyi@yourim.net>
6
+ // Encoding: EUC-KR
7
+ // lang : ko
8
+ // Distributed under the same terms as the calendar itself.
9
+
10
+ // For translators: please use UTF-8 if possible. We strongly believe that
11
+ // Unicode is the answer to a real internationalized world. Also please
12
+ // include your contact information in the header, as can be seen above.
13
+
14
+ // full day names
15
+
16
+ Calendar._DN = new Array
17
+ ("일요일",
18
+ "월요일",
19
+ "화요일",
20
+ "수요일",
21
+ "목요일",
22
+ "금요일",
23
+ "토요일",
24
+ "일요일");
25
+
26
+ // Please note that the following array of short day names (and the same goes
27
+ // for short month names, _SMN) isn't absolutely necessary. We give it here
28
+ // for exemplification on how one can customize the short day names, but if
29
+ // they are simply the first N letters of the full name you can simply say:
30
+ //
31
+ // Calendar._SDN_len = N; // short day name length
32
+ // Calendar._SMN_len = N; // short month name length
33
+ //
34
+ // If N = 3 then this is not needed either since we assume a value of 3 if not
35
+ // present, to be compatible with translation files that were written before
36
+ // this feature.
37
+
38
+ // short day names
39
+ Calendar._SDN = new Array
40
+ ("일",
41
+ "월",
42
+ "화",
43
+ "수",
44
+ "목",
45
+ "금",
46
+ "토",
47
+ "일");
48
+
49
+ // full month names
50
+ Calendar._MN = new Array
51
+ ("1월",
52
+ "2월",
53
+ "3월",
54
+ "4월",
55
+ "5월",
56
+ "6월",
57
+ "7월",
58
+ "8월",
59
+ "9월",
60
+ "10월",
61
+ "11월",
62
+ "12월");
63
+
64
+ // short month names
65
+ Calendar._SMN = new Array
66
+ ("1",
67
+ "2",
68
+ "3",
69
+ "4",
70
+ "5",
71
+ "6",
72
+ "7",
73
+ "8",
74
+ "9",
75
+ "10",
76
+ "11",
77
+ "12");
78
+
79
+ // tooltips
80
+ Calendar._TT = {};
81
+ Calendar._TT["INFO"] = "calendar 에 대해서";
82
+
83
+ Calendar._TT["ABOUT"] =
84
+ "DHTML Date/Time Selector\n" +
85
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
86
+ "\n"+
87
+ "최신 버전을 받으시려면 http://dynarch.com/mishoo/calendar.epl 에 방문하세요\n" +
88
+ "\n"+
89
+ "GNU LGPL 라이센스로 배포됩니다. \n"+
90
+ "라이센스에 대한 자세한 내용은 http://gnu.org/licenses/lgpl.html 을 읽으세요." +
91
+ "\n\n" +
92
+ "날짜 선택:\n" +
93
+ "- 연도를 선택하려면 \xab, \xbb 버튼을 사용합니다\n" +
94
+ "- 달을 선택하려면 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 버튼을 누르세요\n" +
95
+ "- 계속 누르고 있으면 위 값들을 빠르게 선택하실 수 있습니다.";
96
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
97
+ "시간 선택:\n" +
98
+ "- 마우스로 누르면 시간이 증가합니다\n" +
99
+ "- Shift 키와 함께 누르면 감소합니다\n" +
100
+ "- 누른 상태에서 마우스를 움직이면 좀 더 빠르게 값이 변합니다.\n";
101
+
102
+ Calendar._TT["PREV_YEAR"] = "지난 해 (길게 누르면 목록)";
103
+ Calendar._TT["PREV_MONTH"] = "지난 달 (길게 누르면 목록)";
104
+ Calendar._TT["GO_TODAY"] = "오늘 날짜로";
105
+ Calendar._TT["NEXT_MONTH"] = "다음 달 (길게 누르면 목록)";
106
+ Calendar._TT["NEXT_YEAR"] = "다음 해 (길게 누르면 목록)";
107
+ Calendar._TT["SEL_DATE"] = "날짜를 선택하세요";
108
+ Calendar._TT["DRAG_TO_MOVE"] = "마우스 드래그로 이동 하세요";
109
+ Calendar._TT["PART_TODAY"] = " (오늘)";
110
+ Calendar._TT["MON_FIRST"] = "월요일을 한 주의 시작 요일로";
111
+ Calendar._TT["SUN_FIRST"] = "일요일을 한 주의 시작 요일로";
112
+ Calendar._TT["CLOSE"] = "닫기";
113
+ Calendar._TT["TODAY"] = "오늘";
114
+ Calendar._TT["TIME_PART"] = "(Shift-)클릭 또는 드래그 하세요";
115
+
116
+ // date formats
117
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
118
+ Calendar._TT["TT_DATE_FORMAT"] = "%b/%e [%a]";
119
+
120
+ Calendar._TT["WK"] = "주";
@@ -0,0 +1,120 @@
1
+ // ** I18N
2
+
3
+ // Calendar EN language
4
+ // Author: Mihai Bazon, <mishoo@infoiasi.ro>
5
+ // Translation: Yourim Yi <yyi@yourim.net>
6
+ // Encoding: EUC-KR
7
+ // lang : ko
8
+ // Distributed under the same terms as the calendar itself.
9
+
10
+ // For translators: please use UTF-8 if possible. We strongly believe that
11
+ // Unicode is the answer to a real internationalized world. Also please
12
+ // include your contact information in the header, as can be seen above.
13
+
14
+ // full day names
15
+
16
+ Calendar._DN = new Array
17
+ ("�Ͽ���",
18
+ "������",
19
+ "ȭ����",
20
+ "������",
21
+ "�����",
22
+ "�ݿ���",
23
+ "�����",
24
+ "�Ͽ���");
25
+
26
+ // Please note that the following array of short day names (and the same goes
27
+ // for short month names, _SMN) isn't absolutely necessary. We give it here
28
+ // for exemplification on how one can customize the short day names, but if
29
+ // they are simply the first N letters of the full name you can simply say:
30
+ //
31
+ // Calendar._SDN_len = N; // short day name length
32
+ // Calendar._SMN_len = N; // short month name length
33
+ //
34
+ // If N = 3 then this is not needed either since we assume a value of 3 if not
35
+ // present, to be compatible with translation files that were written before
36
+ // this feature.
37
+
38
+ // short day names
39
+ Calendar._SDN = new Array
40
+ ("��",
41
+ "��",
42
+ "ȭ",
43
+ "��",
44
+ "��",
45
+ "��",
46
+ "��",
47
+ "��");
48
+
49
+ // full month names
50
+ Calendar._MN = new Array
51
+ ("1��",
52
+ "2��",
53
+ "3��",
54
+ "4��",
55
+ "5��",
56
+ "6��",
57
+ "7��",
58
+ "8��",
59
+ "9��",
60
+ "10��",
61
+ "11��",
62
+ "12��");
63
+
64
+ // short month names
65
+ Calendar._SMN = new Array
66
+ ("1",
67
+ "2",
68
+ "3",
69
+ "4",
70
+ "5",
71
+ "6",
72
+ "7",
73
+ "8",
74
+ "9",
75
+ "10",
76
+ "11",
77
+ "12");
78
+
79
+ // tooltips
80
+ Calendar._TT = {};
81
+ Calendar._TT["INFO"] = "calendar �� ���ؼ�";
82
+
83
+ Calendar._TT["ABOUT"] =
84
+ "DHTML Date/Time Selector\n" +
85
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
86
+ "\n"+
87
+ "�ֽ� ������ �����÷��� http://dynarch.com/mishoo/calendar.epl �� �湮�ϼ���\n" +
88
+ "\n"+
89
+ "GNU LGPL ���̼����� �����˴ϴ�. \n"+
90
+ "���̼����� ���� �ڼ��� ������ http://gnu.org/licenses/lgpl.html �� ��������." +
91
+ "\n\n" +
92
+ "��¥ ����:\n" +
93
+ "- ������ �����Ϸ��� \xab, \xbb ��ư�� ����մϴ�\n" +
94
+ "- ���� �����Ϸ��� " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ��ư�� ��������\n" +
95
+ "- ��� ������ ������ �� ������ ������ �����Ͻ� �� �ֽ��ϴ�.";
96
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
97
+ "�ð� ����:\n" +
98
+ "- ���콺�� ������ �ð��� �����մϴ�\n" +
99
+ "- Shift Ű�� �Բ� ������ �����մϴ�\n" +
100
+ "- ���� ���¿��� ���콺�� �����̸� �� �� ������ ���� ���մϴ�.\n";
101
+
102
+ Calendar._TT["PREV_YEAR"] = "���� �� (��� ������ ���)";
103
+ Calendar._TT["PREV_MONTH"] = "���� �� (��� ������ ���)";
104
+ Calendar._TT["GO_TODAY"] = "���� ��¥��";
105
+ Calendar._TT["NEXT_MONTH"] = "���� �� (��� ������ ���)";
106
+ Calendar._TT["NEXT_YEAR"] = "���� �� (��� ������ ���)";
107
+ Calendar._TT["SEL_DATE"] = "��¥�� �����ϼ���";
108
+ Calendar._TT["DRAG_TO_MOVE"] = "���콺 �巡�׷� �̵� �ϼ���";
109
+ Calendar._TT["PART_TODAY"] = " (����)";
110
+ Calendar._TT["MON_FIRST"] = "�������� �� ���� ���� ���Ϸ�";
111
+ Calendar._TT["SUN_FIRST"] = "�Ͽ����� �� ���� ���� ���Ϸ�";
112
+ Calendar._TT["CLOSE"] = "�ݱ�";
113
+ Calendar._TT["TODAY"] = "����";
114
+ Calendar._TT["TIME_PART"] = "(Shift-)Ŭ�� �Ǵ� �巡�� �ϼ���";
115
+
116
+ // date formats
117
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
118
+ Calendar._TT["TT_DATE_FORMAT"] = "%b/%e [%a]";
119
+
120
+ Calendar._TT["WK"] = "��";
@@ -0,0 +1,114 @@
1
+ // ** I18N
2
+
3
+ // Calendar LT language
4
+ // Author: Martynas Majeris, <martynas@solmetra.lt>
5
+ // Encoding: UTF-8
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
+ ("Sekmadienis",
15
+ "Pirmadienis",
16
+ "Antradienis",
17
+ "Trečiadienis",
18
+ "Ketvirtadienis",
19
+ "Pentadienis",
20
+ "Šeštadienis",
21
+ "Sekmadienis");
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
+ ("Sek",
38
+ "Pir",
39
+ "Ant",
40
+ "Tre",
41
+ "Ket",
42
+ "Pen",
43
+ "Šeš",
44
+ "Sek");
45
+
46
+ // full month names
47
+ Calendar._MN = new Array
48
+ ("Sausis",
49
+ "Vasaris",
50
+ "Kovas",
51
+ "Balandis",
52
+ "Gegužė",
53
+ "Birželis",
54
+ "Liepa",
55
+ "Rugpjūtis",
56
+ "Rugsėjis",
57
+ "Spalis",
58
+ "Lapkritis",
59
+ "Gruodis");
60
+
61
+ // short month names
62
+ Calendar._SMN = new Array
63
+ ("Sau",
64
+ "Vas",
65
+ "Kov",
66
+ "Bal",
67
+ "Geg",
68
+ "Bir",
69
+ "Lie",
70
+ "Rgp",
71
+ "Rgs",
72
+ "Spa",
73
+ "Lap",
74
+ "Gru");
75
+
76
+ // tooltips
77
+ Calendar._TT = {};
78
+ Calendar._TT["INFO"] = "Apie kalendorių";
79
+
80
+ Calendar._TT["ABOUT"] =
81
+ "DHTML Date/Time Selector\n" +
82
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
83
+ "Naujausią versiją rasite: http://dynarch.com/mishoo/calendar.epl\n" +
84
+ "Platinamas pagal GNU LGPL licenciją. Aplankykite http://gnu.org/licenses/lgpl.html" +
85
+ "\n\n" +
86
+ "Datos pasirinkimas:\n" +
87
+ "- Metų pasirinkimas: \xab, \xbb\n" +
88
+ "- Mėnesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" +
89
+ "- Nuspauskite ir laikykite pelės klavišą greitesniam pasirinkimui.";
90
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
+ "Laiko pasirinkimas:\n" +
92
+ "- Spustelkite ant valandų arba minučių - skaičius padidės vienetu.\n" +
93
+ "- Jei spausite kartu su Shift, skaičius sumažės.\n" +
94
+ "- Greitam pasirinkimui spustelkite ir pajudinkite pelę.";
95
+
96
+ Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)";
97
+ Calendar._TT["PREV_MONTH"] = "Ankstesnis mėnuo (laikykite, jei norite meniu)";
98
+ Calendar._TT["GO_TODAY"] = "Pasirinkti šiandieną";
99
+ Calendar._TT["NEXT_MONTH"] = "Kitas mėnuo (laikykite, jei norite meniu)";
100
+ Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)";
101
+ Calendar._TT["SEL_DATE"] = "Pasirinkite datą";
102
+ Calendar._TT["DRAG_TO_MOVE"] = "Tempkite";
103
+ Calendar._TT["PART_TODAY"] = " (šiandien)";
104
+ Calendar._TT["MON_FIRST"] = "Pirma savaitės diena - pirmadienis";
105
+ Calendar._TT["SUN_FIRST"] = "Pirma savaitės diena - sekmadienis";
106
+ Calendar._TT["CLOSE"] = "Uždaryti";
107
+ Calendar._TT["TODAY"] = "Šiandien";
108
+ Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti";
109
+
110
+ // date formats
111
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
112
+ Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d";
113
+
114
+ Calendar._TT["WK"] = "sav";
@@ -0,0 +1,114 @@
1
+ // ** I18N
2
+
3
+ // Calendar LT language
4
+ // Author: Martynas Majeris, <martynas@solmetra.lt>
5
+ // Encoding: Windows-1257
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
+ ("Sekmadienis",
15
+ "Pirmadienis",
16
+ "Antradienis",
17
+ "Tre�iadienis",
18
+ "Ketvirtadienis",
19
+ "Pentadienis",
20
+ "�e�tadienis",
21
+ "Sekmadienis");
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
+ ("Sek",
38
+ "Pir",
39
+ "Ant",
40
+ "Tre",
41
+ "Ket",
42
+ "Pen",
43
+ "�e�",
44
+ "Sek");
45
+
46
+ // full month names
47
+ Calendar._MN = new Array
48
+ ("Sausis",
49
+ "Vasaris",
50
+ "Kovas",
51
+ "Balandis",
52
+ "Gegu��",
53
+ "Bir�elis",
54
+ "Liepa",
55
+ "Rugpj�tis",
56
+ "Rugs�jis",
57
+ "Spalis",
58
+ "Lapkritis",
59
+ "Gruodis");
60
+
61
+ // short month names
62
+ Calendar._SMN = new Array
63
+ ("Sau",
64
+ "Vas",
65
+ "Kov",
66
+ "Bal",
67
+ "Geg",
68
+ "Bir",
69
+ "Lie",
70
+ "Rgp",
71
+ "Rgs",
72
+ "Spa",
73
+ "Lap",
74
+ "Gru");
75
+
76
+ // tooltips
77
+ Calendar._TT = {};
78
+ Calendar._TT["INFO"] = "Apie kalendori�";
79
+
80
+ Calendar._TT["ABOUT"] =
81
+ "DHTML Date/Time Selector\n" +
82
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
83
+ "Naujausi� versij� rasite: http://dynarch.com/mishoo/calendar.epl\n" +
84
+ "Platinamas pagal GNU LGPL licencij�. Aplankykite http://gnu.org/licenses/lgpl.html" +
85
+ "\n\n" +
86
+ "Datos pasirinkimas:\n" +
87
+ "- Met� pasirinkimas: \xab, \xbb\n" +
88
+ "- M�nesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" +
89
+ "- Nuspauskite ir laikykite pel�s klavi�� greitesniam pasirinkimui.";
90
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
+ "Laiko pasirinkimas:\n" +
92
+ "- Spustelkite ant valand� arba minu�i� - skai�us padid�s vienetu.\n" +
93
+ "- Jei spausite kartu su Shift, skai�ius suma��s.\n" +
94
+ "- Greitam pasirinkimui spustelkite ir pajudinkite pel�.";
95
+
96
+ Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)";
97
+ Calendar._TT["PREV_MONTH"] = "Ankstesnis m�nuo (laikykite, jei norite meniu)";
98
+ Calendar._TT["GO_TODAY"] = "Pasirinkti �iandien�";
99
+ Calendar._TT["NEXT_MONTH"] = "Kitas m�nuo (laikykite, jei norite meniu)";
100
+ Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)";
101
+ Calendar._TT["SEL_DATE"] = "Pasirinkite dat�";
102
+ Calendar._TT["DRAG_TO_MOVE"] = "Tempkite";
103
+ Calendar._TT["PART_TODAY"] = " (�iandien)";
104
+ Calendar._TT["MON_FIRST"] = "Pirma savait�s diena - pirmadienis";
105
+ Calendar._TT["SUN_FIRST"] = "Pirma savait�s diena - sekmadienis";
106
+ Calendar._TT["CLOSE"] = "U�daryti";
107
+ Calendar._TT["TODAY"] = "�iandien";
108
+ Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti";
109
+
110
+ // date formats
111
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
112
+ Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d";
113
+
114
+ Calendar._TT["WK"] = "sav";