smklib 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/images/add.png +0 -0
- data/app/assets/images/button_cancel.png +0 -0
- data/app/assets/images/button_ok.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_block.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_bold.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_center.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_italic.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_left.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_right.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_strike.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_sub.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_super.png +0 -0
- data/app/assets/images/cmseditor/16x16/text_under.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_block.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_bold.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_center.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_italic.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_left.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_right.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_strike.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_sub.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_super.png +0 -0
- data/app/assets/images/cmseditor/22x22/text_under.png +0 -0
- data/app/assets/images/trashcan_empty.png +0 -0
- data/app/assets/javascripts/collapsable.js +56 -0
- data/app/assets/javascripts/hide_show.js +39 -0
- data/app/assets/javascripts/jscalendar-1.0/calendar-setup.js +200 -0
- data/app/assets/javascripts/jscalendar-1.0/calendar.js +1806 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-af.js +39 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-al.js +101 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-bg.js +124 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-big5-utf8.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-big5.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-br.js +108 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ca.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-cs-utf8.js +65 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-cs-win.js +65 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-da.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-de.js +124 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-du.js +45 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-el.js +89 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-en.js +127 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-es.js +129 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-fi.js +98 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-fr.js +125 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-he-utf8.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-hr-utf8.js +49 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-hr.js +0 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-hu.js +124 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-it.js +124 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-jp.js +45 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ko-utf8.js +120 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ko.js +120 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-lt-utf8.js +114 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-lt.js +114 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-lv.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-nl.js +73 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-no.js +114 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-pl-utf8.js +93 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-pl.js +56 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-pt.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ro.js +66 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ru.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-ru_win_.js +123 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-si.js +94 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-sk.js +99 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-sp.js +110 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-sv.js +93 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-tr.js +58 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/calendar-zh.js +119 -0
- data/app/assets/javascripts/jscalendar-1.0/lang/cn_utf8.js +123 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/active-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/dark-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/hover-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/menuarrow.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/normal-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/rowhover-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/status-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/theme.css +236 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/title-bg.gif +0 -0
- data/app/assets/stylesheets/jscalendar-1.0/skins/aqua/today-bg.gif +0 -0
- data/app/views/error_mailer/snapshot.rhtml +71 -0
- data/lib/smklib.rb +6 -0
- data/lib/smklib/array_ext.rb +76 -0
- data/lib/smklib/browsers.rb +69 -0
- data/lib/smklib/builder_ext.rb +103 -0
- data/lib/smklib/date_ext.rb +23 -0
- data/lib/smklib/debug_support.rb +27 -0
- data/lib/smklib/error_mailer.rb +70 -0
- data/lib/smklib/hash_ext.rb +19 -0
- data/lib/smklib/htmlutils.rb +604 -0
- data/lib/smklib/movable_children.rb +28 -0
- data/lib/smklib/object_ext.rb +34 -0
- data/lib/smklib/php_serialize.rb +309 -0
- data/lib/smklib/railtie.rb +6 -0
- data/lib/smklib/somekool_scaffold.rb +198 -0
- data/lib/smklib/super_looking_list.rb +63 -0
- data/lib/smklib/version.rb +11 -0
- data/vendor/calendar_helper.rb +100 -0
- data/vendor/htmltokenizer.rb +259 -0
- metadata +158 -0
@@ -0,0 +1,124 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar DE language
|
4
|
+
// Author: Jack (tR), <jack@jtr.de>
|
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
|
+
("Sonntag",
|
15
|
+
"Montag",
|
16
|
+
"Dienstag",
|
17
|
+
"Mittwoch",
|
18
|
+
"Donnerstag",
|
19
|
+
"Freitag",
|
20
|
+
"Samstag",
|
21
|
+
"Sonntag");
|
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
|
+
("So",
|
38
|
+
"Mo",
|
39
|
+
"Di",
|
40
|
+
"Mi",
|
41
|
+
"Do",
|
42
|
+
"Fr",
|
43
|
+
"Sa",
|
44
|
+
"So");
|
45
|
+
|
46
|
+
// full month names
|
47
|
+
Calendar._MN = new Array
|
48
|
+
("Januar",
|
49
|
+
"Februar",
|
50
|
+
"M\u00e4rz",
|
51
|
+
"April",
|
52
|
+
"Mai",
|
53
|
+
"Juni",
|
54
|
+
"Juli",
|
55
|
+
"August",
|
56
|
+
"September",
|
57
|
+
"Oktober",
|
58
|
+
"November",
|
59
|
+
"Dezember");
|
60
|
+
|
61
|
+
// short month names
|
62
|
+
Calendar._SMN = new Array
|
63
|
+
("Jan",
|
64
|
+
"Feb",
|
65
|
+
"M\u00e4r",
|
66
|
+
"Apr",
|
67
|
+
"May",
|
68
|
+
"Jun",
|
69
|
+
"Jul",
|
70
|
+
"Aug",
|
71
|
+
"Sep",
|
72
|
+
"Okt",
|
73
|
+
"Nov",
|
74
|
+
"Dez");
|
75
|
+
|
76
|
+
// tooltips
|
77
|
+
Calendar._TT = {};
|
78
|
+
Calendar._TT["INFO"] = "\u00DCber dieses Kalendarmodul";
|
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 ;-)
|
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
|
+
"Datum ausw\u00e4hlen:\n" +
|
87
|
+
"- Benutzen Sie die \xab, \xbb Buttons um das Jahr zu w\u00e4hlen\n" +
|
88
|
+
"- Benutzen Sie die " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " Buttons um den Monat zu w\u00e4hlen\n" +
|
89
|
+
"- F\u00fcr eine Schnellauswahl halten Sie die Maustaste \u00fcber diesen Buttons fest.";
|
90
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
91
|
+
"Zeit ausw\u00e4hlen:\n" +
|
92
|
+
"- Klicken Sie auf die Teile der Uhrzeit, um diese zu erh\u00F6hen\n" +
|
93
|
+
"- oder klicken Sie mit festgehaltener Shift-Taste um diese zu verringern\n" +
|
94
|
+
"- oder klicken und festhalten f\u00fcr Schnellauswahl.";
|
95
|
+
|
96
|
+
Calendar._TT["TOGGLE"] = "Ersten Tag der Woche w\u00e4hlen";
|
97
|
+
Calendar._TT["PREV_YEAR"] = "Voriges Jahr (Festhalten f\u00fcr Schnellauswahl)";
|
98
|
+
Calendar._TT["PREV_MONTH"] = "Voriger Monat (Festhalten f\u00fcr Schnellauswahl)";
|
99
|
+
Calendar._TT["GO_TODAY"] = "Heute ausw\u00e4hlen";
|
100
|
+
Calendar._TT["NEXT_MONTH"] = "N\u00e4chst. Monat (Festhalten f\u00fcr Schnellauswahl)";
|
101
|
+
Calendar._TT["NEXT_YEAR"] = "N\u00e4chst. Jahr (Festhalten f\u00fcr Schnellauswahl)";
|
102
|
+
Calendar._TT["SEL_DATE"] = "Datum ausw\u00e4hlen";
|
103
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Zum Bewegen festhalten";
|
104
|
+
Calendar._TT["PART_TODAY"] = " (Heute)";
|
105
|
+
|
106
|
+
// the following is to inform that "%s" is to be the first day of week
|
107
|
+
// %s will be replaced with the day name.
|
108
|
+
Calendar._TT["DAY_FIRST"] = "Woche beginnt mit %s ";
|
109
|
+
|
110
|
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
111
|
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
112
|
+
// means Monday, etc.
|
113
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
114
|
+
|
115
|
+
Calendar._TT["CLOSE"] = "Schlie\u00dfen";
|
116
|
+
Calendar._TT["TODAY"] = "Heute";
|
117
|
+
Calendar._TT["TIME_PART"] = "(Shift-)Klick oder Festhalten und Ziehen um den Wert zu \u00e4ndern";
|
118
|
+
|
119
|
+
// date formats
|
120
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y";
|
121
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
|
122
|
+
|
123
|
+
Calendar._TT["WK"] = "wk";
|
124
|
+
Calendar._TT["TIME"] = "Zeit:";
|
@@ -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-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
57
|
+
"Για τελευταία έκδοση: http://www.dynarch.com/projects/calendar/\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,127 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar EN language
|
4
|
+
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
|
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
|
+
// First day of the week. "0" means display Sunday first, "1" means display
|
47
|
+
// Monday first, etc.
|
48
|
+
Calendar._FD = 0;
|
49
|
+
|
50
|
+
// full month names
|
51
|
+
Calendar._MN = new Array
|
52
|
+
("January",
|
53
|
+
"February",
|
54
|
+
"March",
|
55
|
+
"April",
|
56
|
+
"May",
|
57
|
+
"June",
|
58
|
+
"July",
|
59
|
+
"August",
|
60
|
+
"September",
|
61
|
+
"October",
|
62
|
+
"November",
|
63
|
+
"December");
|
64
|
+
|
65
|
+
// short month names
|
66
|
+
Calendar._SMN = new Array
|
67
|
+
("Jan",
|
68
|
+
"Feb",
|
69
|
+
"Mar",
|
70
|
+
"Apr",
|
71
|
+
"May",
|
72
|
+
"Jun",
|
73
|
+
"Jul",
|
74
|
+
"Aug",
|
75
|
+
"Sep",
|
76
|
+
"Oct",
|
77
|
+
"Nov",
|
78
|
+
"Dec");
|
79
|
+
|
80
|
+
// tooltips
|
81
|
+
Calendar._TT = {};
|
82
|
+
Calendar._TT["INFO"] = "About the calendar";
|
83
|
+
|
84
|
+
Calendar._TT["ABOUT"] =
|
85
|
+
"DHTML Date/Time Selector\n" +
|
86
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
87
|
+
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
|
88
|
+
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
|
89
|
+
"\n\n" +
|
90
|
+
"Date selection:\n" +
|
91
|
+
"- Use the \xab, \xbb buttons to select year\n" +
|
92
|
+
"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" +
|
93
|
+
"- Hold mouse button on any of the above buttons for faster selection.";
|
94
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
95
|
+
"Time selection:\n" +
|
96
|
+
"- Click on any of the time parts to increase it\n" +
|
97
|
+
"- or Shift-click to decrease it\n" +
|
98
|
+
"- or click and drag for faster selection.";
|
99
|
+
|
100
|
+
Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
|
101
|
+
Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
|
102
|
+
Calendar._TT["GO_TODAY"] = "Go Today";
|
103
|
+
Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
|
104
|
+
Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
|
105
|
+
Calendar._TT["SEL_DATE"] = "Select date";
|
106
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
|
107
|
+
Calendar._TT["PART_TODAY"] = " (today)";
|
108
|
+
|
109
|
+
// the following is to inform that "%s" is to be the first day of week
|
110
|
+
// %s will be replaced with the day name.
|
111
|
+
Calendar._TT["DAY_FIRST"] = "Display %s first";
|
112
|
+
|
113
|
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
114
|
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
115
|
+
// means Monday, etc.
|
116
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
117
|
+
|
118
|
+
Calendar._TT["CLOSE"] = "Close";
|
119
|
+
Calendar._TT["TODAY"] = "Today";
|
120
|
+
Calendar._TT["TIME_PART"] = "(Shift-)Click or drag to change value";
|
121
|
+
|
122
|
+
// date formats
|
123
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
124
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
|
125
|
+
|
126
|
+
Calendar._TT["WK"] = "wk";
|
127
|
+
Calendar._TT["TIME"] = "Time:";
|
@@ -0,0 +1,129 @@
|
|
1
|
+
// ** I18N
|
2
|
+
|
3
|
+
// Calendar ES (spanish) language
|
4
|
+
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
|
5
|
+
// Updater: Servilio Afre Puentes <servilios@yahoo.com>
|
6
|
+
// Updated: 2004-06-03
|
7
|
+
// Encoding: utf-8
|
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
|
+
Calendar._DN = new Array
|
16
|
+
("Domingo",
|
17
|
+
"Lunes",
|
18
|
+
"Martes",
|
19
|
+
"Mi�rcoles",
|
20
|
+
"Jueves",
|
21
|
+
"Viernes",
|
22
|
+
"S�bado",
|
23
|
+
"Domingo");
|
24
|
+
|
25
|
+
// Please note that the following array of short day names (and the same goes
|
26
|
+
// for short month names, _SMN) isn't absolutely necessary. We give it here
|
27
|
+
// for exemplification on how one can customize the short day names, but if
|
28
|
+
// they are simply the first N letters of the full name you can simply say:
|
29
|
+
//
|
30
|
+
// Calendar._SDN_len = N; // short day name length
|
31
|
+
// Calendar._SMN_len = N; // short month name length
|
32
|
+
//
|
33
|
+
// If N = 3 then this is not needed either since we assume a value of 3 if not
|
34
|
+
// present, to be compatible with translation files that were written before
|
35
|
+
// this feature.
|
36
|
+
|
37
|
+
// short day names
|
38
|
+
Calendar._SDN = new Array
|
39
|
+
("Dom",
|
40
|
+
"Lun",
|
41
|
+
"Mar",
|
42
|
+
"Mi�",
|
43
|
+
"Jue",
|
44
|
+
"Vie",
|
45
|
+
"S�b",
|
46
|
+
"Dom");
|
47
|
+
|
48
|
+
// First day of the week. "0" means display Sunday first, "1" means display
|
49
|
+
// Monday first, etc.
|
50
|
+
Calendar._FD = 1;
|
51
|
+
|
52
|
+
// full month names
|
53
|
+
Calendar._MN = new Array
|
54
|
+
("Enero",
|
55
|
+
"Febrero",
|
56
|
+
"Marzo",
|
57
|
+
"Abril",
|
58
|
+
"Mayo",
|
59
|
+
"Junio",
|
60
|
+
"Julio",
|
61
|
+
"Agosto",
|
62
|
+
"Septiembre",
|
63
|
+
"Octubre",
|
64
|
+
"Noviembre",
|
65
|
+
"Diciembre");
|
66
|
+
|
67
|
+
// short month names
|
68
|
+
Calendar._SMN = new Array
|
69
|
+
("Ene",
|
70
|
+
"Feb",
|
71
|
+
"Mar",
|
72
|
+
"Abr",
|
73
|
+
"May",
|
74
|
+
"Jun",
|
75
|
+
"Jul",
|
76
|
+
"Ago",
|
77
|
+
"Sep",
|
78
|
+
"Oct",
|
79
|
+
"Nov",
|
80
|
+
"Dic");
|
81
|
+
|
82
|
+
// tooltips
|
83
|
+
Calendar._TT = {};
|
84
|
+
Calendar._TT["INFO"] = "Acerca del calendario";
|
85
|
+
|
86
|
+
Calendar._TT["ABOUT"] =
|
87
|
+
"Selector DHTML de Fecha/Hora\n" +
|
88
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
89
|
+
"Para conseguir la �ltima versi�n visite: http://www.dynarch.com/projects/calendar/\n" +
|
90
|
+
"Distribuido bajo licencia GNU LGPL. Visite http://gnu.org/licenses/lgpl.html para m�s detalles." +
|
91
|
+
"\n\n" +
|
92
|
+
"Selecci�n de fecha:\n" +
|
93
|
+
"- Use los botones \xab, \xbb para seleccionar el a�o\n" +
|
94
|
+
"- Use los botones " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para seleccionar el mes\n" +
|
95
|
+
"- Mantenga pulsado el rat�n en cualquiera de estos botones para una selecci�n r�pida.";
|
96
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
97
|
+
"Selecci�n de hora:\n" +
|
98
|
+
"- Pulse en cualquiera de las partes de la hora para incrementarla\n" +
|
99
|
+
"- o pulse las may�sculas mientras hace clic para decrementarla\n" +
|
100
|
+
"- o haga clic y arrastre el rat�n para una selecci�n m�s r�pida.";
|
101
|
+
|
102
|
+
Calendar._TT["PREV_YEAR"] = "A�o anterior (mantener para men�)";
|
103
|
+
Calendar._TT["PREV_MONTH"] = "Mes anterior (mantener para men�)";
|
104
|
+
Calendar._TT["GO_TODAY"] = "Ir a hoy";
|
105
|
+
Calendar._TT["NEXT_MONTH"] = "Mes siguiente (mantener para men�)";
|
106
|
+
Calendar._TT["NEXT_YEAR"] = "A�o siguiente (mantener para men�)";
|
107
|
+
Calendar._TT["SEL_DATE"] = "Seleccionar fecha";
|
108
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Arrastrar para mover";
|
109
|
+
Calendar._TT["PART_TODAY"] = " (hoy)";
|
110
|
+
|
111
|
+
// the following is to inform that "%s" is to be the first day of week
|
112
|
+
// %s will be replaced with the day name.
|
113
|
+
Calendar._TT["DAY_FIRST"] = "Hacer %s primer d�a de la semana";
|
114
|
+
|
115
|
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
116
|
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
117
|
+
// means Monday, etc.
|
118
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
119
|
+
|
120
|
+
Calendar._TT["CLOSE"] = "Cerrar";
|
121
|
+
Calendar._TT["TODAY"] = "Hoy";
|
122
|
+
Calendar._TT["TIME_PART"] = "(May�scula-)Clic o arrastre para cambiar valor";
|
123
|
+
|
124
|
+
// date formats
|
125
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y";
|
126
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%A, %e de %B de %Y";
|
127
|
+
|
128
|
+
Calendar._TT["WK"] = "sem";
|
129
|
+
Calendar._TT["TIME"] = "Hora:";
|