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,34 @@
1
+ /*
2
+ calendar-cs-win.js
3
+ language: Czech
4
+ encoding: windows-1250
5
+ author: Lubos Jerabek (xnet@seznam.cz)
6
+ */
7
+
8
+ // ** I18N
9
+ Calendar._DN = new Array('Ned�le','Pond�l�','�ter�','St�eda','�tvrtek','P�tek','Sobota','Ned�le');
10
+ Calendar._DN3 = new Array('Ne','Po','�t','St','�t','P�','So','Ne');
11
+ Calendar._MN = new Array('Leden','�nor','B�ezen','Duben','Kv�ten','�erven','�ervenec','Srpen','Z���','��jen','Listopad','Prosinec');
12
+ Calendar._MN3 = new Array('Led','�no','B�e','Dub','Kv�','�rv','�vc','Srp','Z��','��j','Lis','Pro');
13
+
14
+ // tooltips
15
+ Calendar._TT = {};
16
+ Calendar._TT["TOGGLE"] = "Zm�na prvn�ho dne v t�dnu";
17
+ Calendar._TT["PREV_YEAR"] = "P�edchoz� rok (p�idr� pro menu)";
18
+ Calendar._TT["PREV_MONTH"] = "P�edchoz� m�s�c (p�idr� pro menu)";
19
+ Calendar._TT["GO_TODAY"] = "Dne�n� datum";
20
+ Calendar._TT["NEXT_MONTH"] = "Dal�� m�s�c (p�idr� pro menu)";
21
+ Calendar._TT["NEXT_YEAR"] = "Dal�� rok (p�idr� pro menu)";
22
+ Calendar._TT["SEL_DATE"] = "Vyber datum";
23
+ Calendar._TT["DRAG_TO_MOVE"] = "Chy� a t�hni, pro p�esun";
24
+ Calendar._TT["PART_TODAY"] = " (dnes)";
25
+ Calendar._TT["MON_FIRST"] = "Uka� jako prvn� Pond�l�";
26
+ Calendar._TT["SUN_FIRST"] = "Uka� jako prvn� Ned�li";
27
+ Calendar._TT["CLOSE"] = "Zav��t";
28
+ Calendar._TT["TODAY"] = "Dnes";
29
+
30
+ // date formats
31
+ Calendar._TT["DEF_DATE_FORMAT"] = "d.m.yy";
32
+ Calendar._TT["TT_DATE_FORMAT"] = "DD, 5.MM y";
33
+
34
+ Calendar._TT["WK"] = "wk";
@@ -0,0 +1,63 @@
1
+ // ** I18N
2
+ Calendar._DN = new Array
3
+ ("S�ndag",
4
+ "Mandag",
5
+ "Tirsdag",
6
+ "Onsdag",
7
+ "Torsdag",
8
+ "Fredag",
9
+ "L�rdag",
10
+ "S�ndag");
11
+ Calendar._MN = new Array
12
+ ("January",
13
+ "Februar",
14
+ "Marts",
15
+ "April",
16
+ "Maj",
17
+ "Juni",
18
+ "Juli",
19
+ "August",
20
+ "September",
21
+ "Oktober",
22
+ "November",
23
+ "December");
24
+
25
+ // tooltips
26
+ Calendar._TT = {};
27
+ Calendar._TT["INFO"] = "Om Kalenderen";
28
+
29
+ Calendar._TT["ABOUT"] =
30
+ "DHTML Date/Time Selector\n" +
31
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
32
+ "For den seneste version bes�g: http://dynarch.com/mishoo/calendar.epl\n" +
33
+ "Distribueret under GNU LGPL. Se http://gnu.org/licenses/lgpl.html for detajler." +
34
+ "\n\n" +
35
+ "Valg af dato:\n" +
36
+ "- Brug \xab, \xbb knapperne for at v�lge �r\n" +
37
+ "- Brug " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " knapperne for at v�lge m�ned\n" +
38
+ "- Hold knappen p� musen nede p� knapperne ovenfor for hurtigere valg.";
39
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
40
+ "Valg af tid:\n" +
41
+ "- Klik p� en vilk�rlig del for st�rre v�rdi\n" +
42
+ "- eller Shift-klik for for mindre v�rdi\n" +
43
+ "- eller klik og tr�k for hurtigere valg.";
44
+
45
+ Calendar._TT["TOGGLE"] = "Skift f�rste ugedag";
46
+ Calendar._TT["PREV_YEAR"] = "�t �r tilbage (hold for menu)";
47
+ Calendar._TT["PREV_MONTH"] = "�n m�ned tilbage (hold for menu)";
48
+ Calendar._TT["GO_TODAY"] = "G� til i dag";
49
+ Calendar._TT["NEXT_MONTH"] = "�n m�ned frem (hold for menu)";
50
+ Calendar._TT["NEXT_YEAR"] = "�t �r frem (hold for menu)";
51
+ Calendar._TT["SEL_DATE"] = "V�lg dag";
52
+ Calendar._TT["DRAG_TO_MOVE"] = "Tr�k vinduet";
53
+ Calendar._TT["PART_TODAY"] = " (i dag)";
54
+ Calendar._TT["MON_FIRST"] = "Vis mandag f�rst";
55
+ Calendar._TT["SUN_FIRST"] = "Vis s�ndag f�rst";
56
+ Calendar._TT["CLOSE"] = "Luk vinduet";
57
+ Calendar._TT["TODAY"] = "I dag";
58
+
59
+ // date formats
60
+ Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-yy";
61
+ Calendar._TT["TT_DATE_FORMAT"] = "%d. %b, %Y";
62
+
63
+ Calendar._TT["WK"] = "wk";
@@ -0,0 +1,100 @@
1
+ // Author: Hartwig Weinkauf h_weinkauf@gmx.de
2
+ // �erarbeitet und fehlende Texte hinzugefgt von Gerhard Neinert (gerhard at neinert punkt de)
3
+ // Feel free to use / redistribute under the GNU LGPL.
4
+ // ** I18N
5
+
6
+ // short day names
7
+ Calendar._SDN = new Array
8
+ ("So",
9
+ "Mo",
10
+ "Di",
11
+ "Mi",
12
+ "Do",
13
+ "Fr",
14
+ "Sa",
15
+ "So");
16
+
17
+ // full day names
18
+ Calendar._DN = new Array
19
+ ("Sonntag",
20
+ "Montag",
21
+ "Dienstag",
22
+ "Mittwoch",
23
+ "Donnerstag",
24
+ "Freitag",
25
+ "Samstag",
26
+ "Sonntag");
27
+
28
+ // short day names only use 2 letters instead of 3
29
+ Calendar._SDN_len = 2;
30
+
31
+ // full month names
32
+ Calendar._MN = new Array
33
+ ("Januar",
34
+ "Februar",
35
+ "M\u00e4rz",
36
+ "April",
37
+ "Mai",
38
+ "Juni",
39
+ "Juli",
40
+ "August",
41
+ "September",
42
+ "Oktober",
43
+ "November",
44
+ "Dezember");
45
+
46
+ // short month names
47
+ Calendar._SMN = new Array
48
+ ("Jan",
49
+ "Feb",
50
+ "M\u00e4r",
51
+ "Apr",
52
+ "Mai",
53
+ "Jun",
54
+ "Jul",
55
+ "Aug",
56
+ "Sep",
57
+ "Okt",
58
+ "Nov",
59
+ "Dez");
60
+
61
+ // tooltips
62
+ Calendar._TT = {};
63
+
64
+ Calendar._TT["ABOUT"] =
65
+ "DHTML Datum/Zeit Selector\n" +
66
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
67
+ "Donwload neueste Version: http://dynarch.com/mishoo/calendar.epl\n" +
68
+ "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
69
+ "\n\n" +
70
+ "Datumsauswahl:\n" +
71
+ "- Jahr ausw\u00e4hlen mit \xab und \xbb\n" +
72
+ "- Monat ausw\u00e4hlen mit " + String.fromCharCode(0x2039) + " und " + String.fromCharCode(0x203a) + "\n" +
73
+ "- Fr Auswahl aus Liste Maustaste gedr\u00fcckt halten.";
74
+
75
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
76
+ "Zeit w\u00e4hlen:\n" +
77
+ "- Stunde/Minute weiter mit Mausklick\n" +
78
+ "- Stunde/Minute zurck mit Shift-Mausklick\n" +
79
+ "- oder f\u00fcr schnellere Auswahl nach links oder rechts ziehen.";
80
+
81
+
82
+ Calendar._TT["TOGGLE"] = "Ersten Tag der Woche w\u00e4hlen";
83
+ Calendar._TT["PREV_YEAR"] = "Jahr zur\u00fcck (halten -> Auswahlmen\u00fc)";
84
+ Calendar._TT["PREV_MONTH"] = "Monat zur\u00fcck (halten -> Auswahlmen\u00fc)";
85
+ Calendar._TT["GO_TODAY"] = "Gehe zum heutigen Datum";
86
+ Calendar._TT["NEXT_MONTH"] = "Monat vor (halten -> Auswahlmen\u00fc)";
87
+ Calendar._TT["NEXT_YEAR"] = "Jahr vor (halten -> Auswahlmen\u00fc)";
88
+ Calendar._TT["SEL_DATE"] = "Datum ausw\u00e4hlen";
89
+ Calendar._TT["DRAG_TO_MOVE"] = "Klicken und halten um zu verschieben";
90
+ Calendar._TT["PART_TODAY"] = " (heute)";
91
+ Calendar._TT["MON_FIRST"] = "Wochenanzeige mit Montag beginnen";
92
+ Calendar._TT["SUN_FIRST"] = "Wochenanzeige mit Sonntag beginnen";
93
+ Calendar._TT["CLOSE"] = "Schlie\u00dfen";
94
+ Calendar._TT["TODAY"] = "Heute";
95
+
96
+ // date formats
97
+ Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y";
98
+ Calendar._TT["TT_DATE_FORMAT"] = "Datum ausw\u00e4hlen";
99
+
100
+ Calendar._TT["WK"] = "KW";
@@ -0,0 +1,45 @@
1
+ // ** I18N
2
+ Calendar._DN = new Array
3
+ ("Zondag",
4
+ "Maandag",
5
+ "Dinsdag",
6
+ "Woensdag",
7
+ "Donderdag",
8
+ "Vrijdag",
9
+ "Zaterdag",
10
+ "Zondag");
11
+ Calendar._MN = new Array
12
+ ("Januari",
13
+ "Februari",
14
+ "Maart",
15
+ "April",
16
+ "Mei",
17
+ "Juni",
18
+ "Juli",
19
+ "Augustus",
20
+ "September",
21
+ "Oktober",
22
+ "November",
23
+ "December");
24
+
25
+ // tooltips
26
+ Calendar._TT = {};
27
+ Calendar._TT["TOGGLE"] = "Toggle startdag van de week";
28
+ Calendar._TT["PREV_YEAR"] = "Vorig jaar (indrukken voor menu)";
29
+ Calendar._TT["PREV_MONTH"] = "Vorige month (indrukken voor menu)";
30
+ Calendar._TT["GO_TODAY"] = "Naar Vandaag";
31
+ Calendar._TT["NEXT_MONTH"] = "Volgende Maand (indrukken voor menu)";
32
+ Calendar._TT["NEXT_YEAR"] = "Volgend jaar (indrukken voor menu)";
33
+ Calendar._TT["SEL_DATE"] = "Selecteer datum";
34
+ Calendar._TT["DRAG_TO_MOVE"] = "Sleep om te verplaatsen";
35
+ Calendar._TT["PART_TODAY"] = " (vandaag)";
36
+ Calendar._TT["MON_FIRST"] = "Toon Maandag eerst";
37
+ Calendar._TT["SUN_FIRST"] = "Toon Zondag eerst";
38
+ Calendar._TT["CLOSE"] = "Sluiten";
39
+ Calendar._TT["TODAY"] = "Vandaag";
40
+
41
+ // date formats
42
+ Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd";
43
+ Calendar._TT["TT_DATE_FORMAT"] = "D, M d";
44
+
45
+ Calendar._TT["WK"] = "wk";
@@ -0,0 +1,89 @@
1
+ // ** I18N
2
+ Calendar._DN = new Array
3
+ ("Κυριακή",
4
+ "Δευτέρα",
5
+ "Τρίτη",
6
+ "Τετάρτη",
7
+ "Πέμπτη",
8
+ "Παρασκευή",
9
+ "Σάββατο",
10
+ "Κυριακή");
11
+
12
+ Calendar._SDN = new Array
13
+ ("Κυ",
14
+ "Δε",
15
+ "Tρ",
16
+ "Τε",
17
+ "Πε",
18
+ "Πα",
19
+ "Σα",
20
+ "Κυ");
21
+
22
+ Calendar._MN = new Array
23
+ ("Ιανουάριος",
24
+ "Φεβρουάριος",
25
+ "Μάρτιος",
26
+ "Απρίλιος",
27
+ "Μάϊος",
28
+ "Ιούνιος",
29
+ "Ιούλιος",
30
+ "Αύγουστος",
31
+ "Σεπτέμβριος",
32
+ "Οκτώβριος",
33
+ "Νοέμβριος",
34
+ "Δεκέμβριος");
35
+
36
+ Calendar._SMN = new Array
37
+ ("Ιαν",
38
+ "Φεβ",
39
+ "Μαρ",
40
+ "Απρ",
41
+ "Μαι",
42
+ "Ιουν",
43
+ "Ιουλ",
44
+ "Αυγ",
45
+ "Σεπ",
46
+ "Οκτ",
47
+ "Νοε",
48
+ "Δεκ");
49
+
50
+ // tooltips
51
+ Calendar._TT = {};
52
+ Calendar._TT["INFO"] = "Για το ημερολόγιο";
53
+
54
+ Calendar._TT["ABOUT"] =
55
+ "Επιλογέας ημερομηνίας/ώρας σε DHTML\n" +
56
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
57
+ "Για τελευταία έκδοση: http://dynarch.com/mishoo/calendar.epl\n" +
58
+ "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
59
+ "\n\n" +
60
+ "Επιλογή ημερομηνίας:\n" +
61
+ "- Χρησιμοποιείστε τα κουμπιά \xab, \xbb για επιλογή έτους\n" +
62
+ "- Χρησιμοποιείστε τα κουμπιά " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " για επιλογή μήνα\n" +
63
+ "- Κρατήστε κουμπί ποντικού πατημένο στα παραπάνω κουμπιά για πιο γρήγορη επιλογή.";
64
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
65
+ "Επιλογή ώρας:\n" +
66
+ "- Κάντε κλικ σε ένα από τα μέρη της ώρας για αύξηση\n" +
67
+ "- ή Shift-κλικ για μείωση\n" +
68
+ "- ή κλικ και μετακίνηση για πιο γρήγορη επιλογή.";
69
+ Calendar._TT["TOGGLE"] = "Μπάρα πρώτης ημέρας της εβδομάδας";
70
+ Calendar._TT["PREV_YEAR"] = "Προηγ. έτος (κρατήστε για το μενού)";
71
+ Calendar._TT["PREV_MONTH"] = "Προηγ. μήνας (κρατήστε για το μενού)";
72
+ Calendar._TT["GO_TODAY"] = "Σήμερα";
73
+ Calendar._TT["NEXT_MONTH"] = "Επόμενος μήνας (κρατήστε για το μενού)";
74
+ Calendar._TT["NEXT_YEAR"] = "Επόμενο έτος (κρατήστε για το μενού)";
75
+ Calendar._TT["SEL_DATE"] = "Επιλέξτε ημερομηνία";
76
+ Calendar._TT["DRAG_TO_MOVE"] = "Σύρτε για να μετακινήσετε";
77
+ Calendar._TT["PART_TODAY"] = " (σήμερα)";
78
+ Calendar._TT["MON_FIRST"] = "Εμφάνιση Δευτέρας πρώτα";
79
+ Calendar._TT["SUN_FIRST"] = "Εμφάνιση Κυριακής πρώτα";
80
+ Calendar._TT["CLOSE"] = "Κλείσιμο";
81
+ Calendar._TT["TODAY"] = "Σήμερα";
82
+ Calendar._TT["TIME_PART"] = "(Shift-)κλικ ή μετακίνηση για αλλαγή";
83
+
84
+ // date formats
85
+ Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y";
86
+ Calendar._TT["TT_DATE_FORMAT"] = "D, d M";
87
+
88
+ Calendar._TT["WK"] = "εβδ";
89
+
@@ -0,0 +1,123 @@
1
+ // ** I18N
2
+
3
+ // Calendar EN language
4
+ // Author: Mihai Bazon, <mishoo@infoiasi.ro>
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
+ ("Sunday",
15
+ "Monday",
16
+ "Tuesday",
17
+ "Wednesday",
18
+ "Thursday",
19
+ "Friday",
20
+ "Saturday",
21
+ "Sunday");
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
+ ("Sun",
38
+ "Mon",
39
+ "Tue",
40
+ "Wed",
41
+ "Thu",
42
+ "Fri",
43
+ "Sat",
44
+ "Sun");
45
+
46
+ // full month names
47
+ Calendar._MN = new Array
48
+ ("January",
49
+ "February",
50
+ "March",
51
+ "April",
52
+ "May",
53
+ "June",
54
+ "July",
55
+ "August",
56
+ "September",
57
+ "October",
58
+ "November",
59
+ "December");
60
+
61
+ // short month names
62
+ Calendar._SMN = new Array
63
+ ("Jan",
64
+ "Feb",
65
+ "Mar",
66
+ "Apr",
67
+ "May",
68
+ "Jun",
69
+ "Jul",
70
+ "Aug",
71
+ "Sep",
72
+ "Oct",
73
+ "Nov",
74
+ "Dec");
75
+
76
+ // tooltips
77
+ Calendar._TT = {};
78
+ Calendar._TT["INFO"] = "About the calendar";
79
+
80
+ Calendar._TT["ABOUT"] =
81
+ "DHTML Date/Time Selector\n" +
82
+ "(c) dynarch.com 2002-2003\n" + // don't translate this this ;-)
83
+ "For latest version visit: http://dynarch.com/mishoo/calendar.epl\n" +
84
+ "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
85
+ "\n\n" +
86
+ "Date selection:\n" +
87
+ "- Use the \xab, \xbb buttons to select year\n" +
88
+ "- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" +
89
+ "- Hold mouse button on any of the above buttons for faster selection.";
90
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
+ "Time selection:\n" +
92
+ "- Click on any of the time parts to increase it\n" +
93
+ "- or Shift-click to decrease it\n" +
94
+ "- or click and drag for faster selection.";
95
+
96
+ Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
97
+ Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
98
+ Calendar._TT["GO_TODAY"] = "Go Today";
99
+ Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
100
+ Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
101
+ Calendar._TT["SEL_DATE"] = "Select date";
102
+ Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
103
+ Calendar._TT["PART_TODAY"] = " (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"] = "Display %s first";
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"] = "Close";
115
+ Calendar._TT["TODAY"] = "Today";
116
+ Calendar._TT["TIME_PART"] = "(Shift-)Click or drag to change value";
117
+
118
+ // date formats
119
+ Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
120
+ Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
121
+
122
+ Calendar._TT["WK"] = "wk";
123
+ Calendar._TT["TIME"] = "Time:";