smklib 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,39 @@
|
|
|
1
|
+
// ** I18N Afrikaans
|
|
2
|
+
Calendar._DN = new Array
|
|
3
|
+
("Sondag",
|
|
4
|
+
"Maandag",
|
|
5
|
+
"Dinsdag",
|
|
6
|
+
"Woensdag",
|
|
7
|
+
"Donderdag",
|
|
8
|
+
"Vrydag",
|
|
9
|
+
"Saterdag",
|
|
10
|
+
"Sondag");
|
|
11
|
+
Calendar._MN = new Array
|
|
12
|
+
("Januarie",
|
|
13
|
+
"Februarie",
|
|
14
|
+
"Maart",
|
|
15
|
+
"April",
|
|
16
|
+
"Mei",
|
|
17
|
+
"Junie",
|
|
18
|
+
"Julie",
|
|
19
|
+
"Augustus",
|
|
20
|
+
"September",
|
|
21
|
+
"Oktober",
|
|
22
|
+
"November",
|
|
23
|
+
"Desember");
|
|
24
|
+
|
|
25
|
+
// tooltips
|
|
26
|
+
Calendar._TT = {};
|
|
27
|
+
Calendar._TT["TOGGLE"] = "Verander eerste dag van die week";
|
|
28
|
+
Calendar._TT["PREV_YEAR"] = "Vorige jaar (hou vir keuselys)";
|
|
29
|
+
Calendar._TT["PREV_MONTH"] = "Vorige maand (hou vir keuselys)";
|
|
30
|
+
Calendar._TT["GO_TODAY"] = "Gaan na vandag";
|
|
31
|
+
Calendar._TT["NEXT_MONTH"] = "Volgende maand (hou vir keuselys)";
|
|
32
|
+
Calendar._TT["NEXT_YEAR"] = "Volgende jaar (hou vir keuselys)";
|
|
33
|
+
Calendar._TT["SEL_DATE"] = "Kies datum";
|
|
34
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Sleep om te skuif";
|
|
35
|
+
Calendar._TT["PART_TODAY"] = " (vandag)";
|
|
36
|
+
Calendar._TT["MON_FIRST"] = "Vertoon Maandag eerste";
|
|
37
|
+
Calendar._TT["SUN_FIRST"] = "Display Sunday first";
|
|
38
|
+
Calendar._TT["CLOSE"] = "Close";
|
|
39
|
+
Calendar._TT["TODAY"] = "Today";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// Calendar ALBANIAN language
|
|
2
|
+
//author Rigels Gordani rige@hotmail.com
|
|
3
|
+
|
|
4
|
+
// ditet
|
|
5
|
+
Calendar._DN = new Array
|
|
6
|
+
("E Diele",
|
|
7
|
+
"E Hene",
|
|
8
|
+
"E Marte",
|
|
9
|
+
"E Merkure",
|
|
10
|
+
"E Enjte",
|
|
11
|
+
"E Premte",
|
|
12
|
+
"E Shtune",
|
|
13
|
+
"E Diele");
|
|
14
|
+
|
|
15
|
+
//ditet shkurt
|
|
16
|
+
Calendar._SDN = new Array
|
|
17
|
+
("Die",
|
|
18
|
+
"Hen",
|
|
19
|
+
"Mar",
|
|
20
|
+
"Mer",
|
|
21
|
+
"Enj",
|
|
22
|
+
"Pre",
|
|
23
|
+
"Sht",
|
|
24
|
+
"Die");
|
|
25
|
+
|
|
26
|
+
// muajt
|
|
27
|
+
Calendar._MN = new Array
|
|
28
|
+
("Janar",
|
|
29
|
+
"Shkurt",
|
|
30
|
+
"Mars",
|
|
31
|
+
"Prill",
|
|
32
|
+
"Maj",
|
|
33
|
+
"Qeshor",
|
|
34
|
+
"Korrik",
|
|
35
|
+
"Gusht",
|
|
36
|
+
"Shtator",
|
|
37
|
+
"Tetor",
|
|
38
|
+
"Nentor",
|
|
39
|
+
"Dhjetor");
|
|
40
|
+
|
|
41
|
+
// muajte shkurt
|
|
42
|
+
Calendar._SMN = new Array
|
|
43
|
+
("Jan",
|
|
44
|
+
"Shk",
|
|
45
|
+
"Mar",
|
|
46
|
+
"Pri",
|
|
47
|
+
"Maj",
|
|
48
|
+
"Qes",
|
|
49
|
+
"Kor",
|
|
50
|
+
"Gus",
|
|
51
|
+
"Sht",
|
|
52
|
+
"Tet",
|
|
53
|
+
"Nen",
|
|
54
|
+
"Dhj");
|
|
55
|
+
|
|
56
|
+
// ndihmesa
|
|
57
|
+
Calendar._TT = {};
|
|
58
|
+
Calendar._TT["INFO"] = "Per kalendarin";
|
|
59
|
+
|
|
60
|
+
Calendar._TT["ABOUT"] =
|
|
61
|
+
"Zgjedhes i ores/dates ne DHTML \n" +
|
|
62
|
+
"\n\n" +"Zgjedhja e Dates:\n" +
|
|
63
|
+
"- Perdor butonat \xab, \xbb per te zgjedhur vitin\n" +
|
|
64
|
+
"- Perdor butonat" + String.fromCharCode(0x2039) + ", " +
|
|
65
|
+
String.fromCharCode(0x203a) +
|
|
66
|
+
" per te zgjedhur muajin\n" +
|
|
67
|
+
"- Mbani shtypur butonin e mousit per nje zgjedje me te shpejte.";
|
|
68
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
|
69
|
+
"Zgjedhja e kohes:\n" +
|
|
70
|
+
"- Kliko tek ndonje nga pjeset e ores per ta rritur ate\n" +
|
|
71
|
+
"- ose kliko me Shift per ta zvogeluar ate\n" +
|
|
72
|
+
"- ose cliko dhe terhiq per zgjedhje me te shpejte.";
|
|
73
|
+
|
|
74
|
+
Calendar._TT["PREV_YEAR"] = "Viti i shkuar (prit per menune)";
|
|
75
|
+
Calendar._TT["PREV_MONTH"] = "Muaji i shkuar (prit per menune)";
|
|
76
|
+
Calendar._TT["GO_TODAY"] = "Sot";
|
|
77
|
+
Calendar._TT["NEXT_MONTH"] = "Muaji i ardhshem (prit per menune)";
|
|
78
|
+
Calendar._TT["NEXT_YEAR"] = "Viti i ardhshem (prit per menune)";
|
|
79
|
+
Calendar._TT["SEL_DATE"] = "Zgjidh daten";
|
|
80
|
+
Calendar._TT["DRAG_TO_MOVE"] = "Terhiqe per te levizur";
|
|
81
|
+
Calendar._TT["PART_TODAY"] = " (sot)";
|
|
82
|
+
|
|
83
|
+
// "%s" eshte dita e pare e javes
|
|
84
|
+
// %s do te zevendesohet me emrin e dite
|
|
85
|
+
Calendar._TT["DAY_FIRST"] = "Trego te %s te paren";
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
Calendar._TT["WEEKEND"] = "0,6";
|
|
89
|
+
|
|
90
|
+
Calendar._TT["CLOSE"] = "Mbyll";
|
|
91
|
+
Calendar._TT["TODAY"] = "Sot";
|
|
92
|
+
Calendar._TT["TIME_PART"] = "Kliko me (Shift-)ose terhiqe per te ndryshuar
|
|
93
|
+
vleren";
|
|
94
|
+
|
|
95
|
+
// date formats
|
|
96
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
|
97
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
|
|
98
|
+
|
|
99
|
+
Calendar._TT["WK"] = "Java";
|
|
100
|
+
Calendar._TT["TIME"] = "Koha:";
|
|
101
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// ** I18N
|
|
2
|
+
|
|
3
|
+
// Calendar BG language
|
|
4
|
+
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
|
|
5
|
+
// Translator: Valentin Sheiretsky, <valio@valio.eu.org>
|
|
6
|
+
// Encoding: Windows-1251
|
|
7
|
+
// Distributed under the same terms as the calendar itself.
|
|
8
|
+
|
|
9
|
+
// For translators: please use UTF-8 if possible. We strongly believe that
|
|
10
|
+
// Unicode is the answer to a real internationalized world. Also please
|
|
11
|
+
// include your contact information in the header, as can be seen above.
|
|
12
|
+
|
|
13
|
+
// full day names
|
|
14
|
+
Calendar._DN = new Array
|
|
15
|
+
("������",
|
|
16
|
+
"����������",
|
|
17
|
+
"�������",
|
|
18
|
+
"�����",
|
|
19
|
+
"���������",
|
|
20
|
+
"�����",
|
|
21
|
+
"������",
|
|
22
|
+
"������");
|
|
23
|
+
|
|
24
|
+
// Please note that the following array of short day names (and the same goes
|
|
25
|
+
// for short month names, _SMN) isn't absolutely necessary. We give it here
|
|
26
|
+
// for exemplification on how one can customize the short day names, but if
|
|
27
|
+
// they are simply the first N letters of the full name you can simply say:
|
|
28
|
+
//
|
|
29
|
+
// Calendar._SDN_len = N; // short day name length
|
|
30
|
+
// Calendar._SMN_len = N; // short month name length
|
|
31
|
+
//
|
|
32
|
+
// If N = 3 then this is not needed either since we assume a value of 3 if not
|
|
33
|
+
// present, to be compatible with translation files that were written before
|
|
34
|
+
// this feature.
|
|
35
|
+
|
|
36
|
+
// short day names
|
|
37
|
+
Calendar._SDN = new Array
|
|
38
|
+
("���",
|
|
39
|
+
"���",
|
|
40
|
+
"���",
|
|
41
|
+
"���",
|
|
42
|
+
"���",
|
|
43
|
+
"���",
|
|
44
|
+
"���",
|
|
45
|
+
"���");
|
|
46
|
+
|
|
47
|
+
// full month names
|
|
48
|
+
Calendar._MN = new Array
|
|
49
|
+
("������",
|
|
50
|
+
"��������",
|
|
51
|
+
"����",
|
|
52
|
+
"�����",
|
|
53
|
+
"���",
|
|
54
|
+
"���",
|
|
55
|
+
"���",
|
|
56
|
+
"������",
|
|
57
|
+
"���������",
|
|
58
|
+
"��������",
|
|
59
|
+
"�������",
|
|
60
|
+
"��������");
|
|
61
|
+
|
|
62
|
+
// short month names
|
|
63
|
+
Calendar._SMN = new Array
|
|
64
|
+
("���",
|
|
65
|
+
"���",
|
|
66
|
+
"���",
|
|
67
|
+
"���",
|
|
68
|
+
"���",
|
|
69
|
+
"���",
|
|
70
|
+
"���",
|
|
71
|
+
"���",
|
|
72
|
+
"���",
|
|
73
|
+
"���",
|
|
74
|
+
"���",
|
|
75
|
+
"���");
|
|
76
|
+
|
|
77
|
+
// tooltips
|
|
78
|
+
Calendar._TT = {};
|
|
79
|
+
Calendar._TT["INFO"] = "���������� �� ���������";
|
|
80
|
+
|
|
81
|
+
Calendar._TT["ABOUT"] =
|
|
82
|
+
"DHTML Date/Time Selector\n" +
|
|
83
|
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
|
|
84
|
+
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
|
|
85
|
+
"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." +
|
|
86
|
+
"\n\n" +
|
|
87
|
+
"Date selection:\n" +
|
|
88
|
+
"- Use the \xab, \xbb buttons to select year\n" +
|
|
89
|
+
"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" +
|
|
90
|
+
"- Hold mouse button on any of the above buttons for faster selection.";
|
|
91
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
|
92
|
+
"Time selection:\n" +
|
|
93
|
+
"- Click on any of the time parts to increase it\n" +
|
|
94
|
+
"- or Shift-click to decrease it\n" +
|
|
95
|
+
"- or click and drag for faster selection.";
|
|
96
|
+
|
|
97
|
+
Calendar._TT["PREV_YEAR"] = "������ ������ (�������� �� ����)";
|
|
98
|
+
Calendar._TT["PREV_MONTH"] = "������ ����� (�������� �� ����)";
|
|
99
|
+
Calendar._TT["GO_TODAY"] = "�������� ����";
|
|
100
|
+
Calendar._TT["NEXT_MONTH"] = "������� ����� (�������� �� ����)";
|
|
101
|
+
Calendar._TT["NEXT_YEAR"] = "�������� ������ (�������� �� ����)";
|
|
102
|
+
Calendar._TT["SEL_DATE"] = "�������� ����";
|
|
103
|
+
Calendar._TT["DRAG_TO_MOVE"] = "�����������";
|
|
104
|
+
Calendar._TT["PART_TODAY"] = " (����)";
|
|
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"] = "%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"] = "���������";
|
|
116
|
+
Calendar._TT["TODAY"] = "����";
|
|
117
|
+
Calendar._TT["TIME_PART"] = "(Shift-)Click ��� drag �� �� ��������� ����������";
|
|
118
|
+
|
|
119
|
+
// date formats
|
|
120
|
+
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
|
|
121
|
+
Calendar._TT["TT_DATE_FORMAT"] = "%A - %e %B %Y";
|
|
122
|
+
|
|
123
|
+
Calendar._TT["WK"] = "����";
|
|
124
|
+
Calendar._TT["TIME"] = "���:";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// ** I18N
|
|
2
|
+
|
|
3
|
+
// Calendar big5-utf8 language
|
|
4
|
+
// Author: Gary Fu, <gary@garyfu.idv.tw>
|
|
5
|
+
// Encoding: utf8
|
|
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"] = "點擊or拖曳可改變時間(同時按Shift為減)";
|
|
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"] = "週";
|
|
123
|
+
Calendar._TT["TIME"] = "Time:";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// ** I18N
|
|
2
|
+
|
|
3
|
+
// Calendar big5 language
|
|
4
|
+
// Author: Gary Fu, <gary@garyfu.idv.tw>
|
|
5
|
+
// Encoding: big5
|
|
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
|
+
("�P����",
|
|
15
|
+
"�P���@",
|
|
16
|
+
"�P���G",
|
|
17
|
+
"�P���T",
|
|
18
|
+
"�P���|",
|
|
19
|
+
"�P����",
|
|
20
|
+
"�P����",
|
|
21
|
+
"�P����");
|
|
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
|
+
"�G",
|
|
40
|
+
"�T",
|
|
41
|
+
"�|",
|
|
42
|
+
"��",
|
|
43
|
+
"��",
|
|
44
|
+
"��");
|
|
45
|
+
|
|
46
|
+
// full month names
|
|
47
|
+
Calendar._MN = new Array
|
|
48
|
+
("�@��",
|
|
49
|
+
"�G��",
|
|
50
|
+
"�T��",
|
|
51
|
+
"�|��",
|
|
52
|
+
"����",
|
|
53
|
+
"����",
|
|
54
|
+
"�C��",
|
|
55
|
+
"�K��",
|
|
56
|
+
"�E��",
|
|
57
|
+
"�Q��",
|
|
58
|
+
"�Q�@��",
|
|
59
|
+
"�Q�G��");
|
|
60
|
+
|
|
61
|
+
// short month names
|
|
62
|
+
Calendar._SMN = new Array
|
|
63
|
+
("�@��",
|
|
64
|
+
"�G��",
|
|
65
|
+
"�T��",
|
|
66
|
+
"�|��",
|
|
67
|
+
"����",
|
|
68
|
+
"����",
|
|
69
|
+
"�C��",
|
|
70
|
+
"�K��",
|
|
71
|
+
"�E��",
|
|
72
|
+
"�Q��",
|
|
73
|
+
"�Q�@��",
|
|
74
|
+
"�Q�G��");
|
|
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
|
+
"�����ܤ�k:\n" +
|
|
87
|
+
"- �ϥ� \xab, \xbb ���s�i��ܦ~��\n" +
|
|
88
|
+
"- �ϥ� " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ���s�i��ܤ��\n" +
|
|
89
|
+
"- �����W�������s�i�H�[�ֿ��";
|
|
90
|
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
|
91
|
+
"�ɶ���ܤ�k:\n" +
|
|
92
|
+
"- �I�����ɶ������i�W�[���\n" +
|
|
93
|
+
"- �P�ɫ�Shift��A�I���i��֨��\n" +
|
|
94
|
+
"- �I���é즲�i�[�֧��ܪ���";
|
|
95
|
+
|
|
96
|
+
Calendar._TT["PREV_YEAR"] = "�W�@�~ (�������)";
|
|
97
|
+
Calendar._TT["PREV_MONTH"] = "�U�@�~ (�������)";
|
|
98
|
+
Calendar._TT["GO_TODAY"] = "�줵��";
|
|
99
|
+
Calendar._TT["NEXT_MONTH"] = "�W�@�� (�������)";
|
|
100
|
+
Calendar._TT["NEXT_YEAR"] = "�U�@�� (�������)";
|
|
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"] = "�N %s ��ܦb�e";
|
|
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"] = "�I��or�즲�i���ܮɶ�(�P�ɫ�Shift����)";
|
|
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"] = "�g";
|
|
123
|
+
Calendar._TT["TIME"] = "Time:";
|