Project

General

Profile

« Previous | Next » 

Revision 552

Added by thorn almost 17 years ago

added new module-based search-function and publish-by-date code

View differences:

trunk/CHANGELOG
10 10
# = Bugfix
11 11
! = Update/Change
12 12

  
13
------------------------------------- 2.7.0 -------------------------------------
13
------------------------------------- 2.7.0 -------------------------------------
14
18-Jan-2008 Thomas Hornik
15
+	added new module-based search-function
16
+	added new publish-by-date code
14 17
17-Jan-2008 Christian Sommer
15 18
#	fixed bug in frontend login and multiple groups (only in conjunction with E_ALL)
16 19
!	removed the PAGE_EXTENSION from frontend login
17

  
18 20
17-Jan-2008 Matthias Gallas
19 21
#	Reintroduced changes from changeset 520 and 540 wich where overwritten 
20 22
	by changeset 546
trunk/wb/upgrade-script.php
1
<?php
2

  
3
// $Id: $
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2008, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26
//
27
// upgrade-script for Website Baker from version 2.6.7 to 2.7
28
//
29

  
30
require('config.php');
31
require(WB_PATH.'/framework/functions.php');
32

  
33
?>
34

  
35
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
36
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
37
<head>
38
<title>Upgrade-Script</title>
39
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
40
</head>
41
<body>
42
<style type="text/css">
43
<!--
44
*.red { background-color:#FF0000 }
45
*.green { background-color:#00FF00 }
46
-->
47
</style>
48

  
49
<h2>Upgrade-script</h2>
50
<p>
51
will upgrade Website Baker 2.6.5 / 2.6.7 to version 2.7
52
</p>
53
<?php
54

  
55
$OK   = '<span class="green">OK</span>';
56
$FAIL = '<span class="red">failed</span>';
57

  
58

  
59
/**********************************************************
60
 *  - modules-based search
61
 */
62
function db_add_search_key_value($key, $value) {
63
	global $database; global $OK; global $FAIL;
64
	$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = '$key' LIMIT 1");
65
	if($query->numRows() > 0) {
66
		echo "$key: allready there. $OK.<br />";
67
		return true;
68
	} else {
69
		$database->query("INSERT INTO D".TABLE_PREFIX."search (name,value,extra) VALUES ('$key', '$value', '')");
70
		echo mysql_error()?'<br />':'';
71
		$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = '$key' LIMIT 1");
72
		if($query->numRows() > 0) {
73
			echo "$key: $OK.<br />";
74
			return true;
75
		} else {
76
			echo "$key: $FAIL!<br />";
77
			return false;
78
		}
79
	}
80
}
81

  
82

  
83
echo "<br /><u>Adding module_order and max_excerpt to search-table</u><br />";
84
// module_order - in which order to show the search-results
85
// max_excerpt - how many lines of excerpt to print per matching page
86

  
87
$cfg = array(
88
	'module_order' => 'faqbaker,manual,wysiwyg',
89
	'max_excerpt' => '15'
90
);
91
foreach($cfg as $key=>$value) {
92
	db_add_search_key_value($key, $value);
93
}
94

  
95

  
96
echo "<br /><u>Changing results_loop in search-table</u><br />";
97
// adding [EXCERPT]
98

  
99
$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = 'results_loop' LIMIT 1");
100
if($query->numRows() > 0) {
101
	$fetch_results_loop = $query->fetchRow();
102
	$string = $fetch_results_loop['value'];
103
	if(preg_match("/\[EXCERPT\]/", $string)) {
104
		echo "[EXCERPT] is allready there. $OK.<br />";
105
	} else {
106
		$string = preg_replace("/10px;\">\[DESCRIPTION\]/", "5px;\">[DESCRIPTION]", $string);
107
		$string .= "<tr><td colspan=\"2\" style=\"text-align: justify; padding-bottom: 10px;\">[EXCERPT]</td></tr>";
108
		$string = addslashes($string);
109
		$database->query("UPDATE ".TABLE_PREFIX."search SET name='results_loop',value='".$string."',extra='' WHERE name = 'results_loop' LIMIT 1");
110
		echo mysql_error().'<br />';
111
		$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = 'results_loop' LIMIT 1");
112
		if($query->numRows() > 0) {
113
			$fetch_results_loop = $query->fetchRow();
114
			$string = $fetch_results_loop['value'];
115
			if(preg_match("/\[EXCERPT\]/", $string)) {
116
				echo "[EXCERPT] added. $OK.<br />";
117
			} else {
118
				echo "adding [EXCERPT] $FAIL!<br />";
119
			}
120
		}
121
	}
122
}
123

  
124
echo "<br /><u>Changing \"Header:\" in search-table</u><br />";
125
// adding [SEARCH_PATH]
126

  
127
$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = 'header' LIMIT 1");
128
if($query->numRows() > 0) {
129
	$fetch_header = $query->fetchRow();
130
	$string = $fetch_header['value'];
131
	if(preg_match("/\[SEARCH_PATH\]/", $string)) {
132
		echo "[SEARCH_PATH] is allready there. $OK.<br />";
133
	} else {
134
		$string = preg_replace("/<input type=\"text\" name=\"string\" value=\"\[SEARCH_STRING\]\" style=\"width: 100%;\" \/>/", "<input type=\"hidden\" name=\"search_path\" value=\"[SEARCH_PATH]\" /><input type=\"text\" name=\"string\" value=\"[SEARCH_STRING]\" style=\"width: 100%;\" />", $string);
135
		$string = addslashes($string);
136
		$database->query("UPDATE ".TABLE_PREFIX."search SET name='header',value='".$string."',extra='' WHERE name = 'header' LIMIT 1");
137
		echo mysql_error().'<br />';
138
		$query = $database->query("SELECT value FROM ".TABLE_PREFIX."search WHERE name = 'header' LIMIT 1");
139
		if($query->numRows() > 0) {
140
			$fetch_header = $query->fetchRow();
141
			$string = $fetch_header['value'];
142
			if(preg_match("/\[SEARCH_PATH\]/", $string)) {
143
				echo "[SEARCH_PATH] added. $OK.<br />";
144
			} else {
145
				echo "adding [SEARCH_PATH] $FAIL!<br />";
146
			}
147
		}
148
	}
149
}
150

  
151
echo "<br /><u>Adding some internal config-elements to search-table</u><br />";
152
// These are global config-elements which don't appear in settings-page. Change them in the database if needed.
153
// cfg_show_description - whether to show page-description on the results page (true/false), def: true
154
// cfg_search_description - whether to search in page-description (true/false), def: true [only used while searching title/link/description/keywords]
155
// cfg_search_keywords - whether to search in page-keywords (true/false), def: true [only used while searching title/link/description/keywords]
156
// cfg_enable_old_search - use old search-method, too (true/false), def: true [use old method as fallback]
157
$cfg = array(
158
	'cfg_show_description' => 'true',
159
	'cfg_search_description' => 'true',
160
	'cfg_search_keywords' => 'true',
161
	'cfg_enable_old_search' => 'true'
162
);
163
foreach($cfg as $key=>$value) {
164
	db_add_search_key_value($key, $value);
165
}
166

  
167

  
168
/**********************************************************
169
 *  - publish-by-date
170
 */
171
echo "<br /><u>Adding fields 'publ_start' and 'publ_end' to table 'sections'</u><br />";
172
// Add fields "publ_start" and "publ_end" to table "sections"
173
// check if fields are present
174
$table = TABLE_PREFIX."sections";
175
$query = $database->query("DESCRIBE $table 'publ_start'");
176
if($query->numRows() == 0) { // add field
177
	$query = $database->query("ALTER TABLE $table ADD publ_start INT NOT NULL DEFAULT '0'");
178
	$query = $database->query("DESCRIBE $table 'publ_start'");
179
	if($query->numRows() > 0) {
180
		echo "'publ_start' added. $OK.<br />";
181
	} else {
182
		echo "adding 'publ_start' $FAIL!<br />";
183
	}
184
} else {
185
	echo "'publ_start' allready there. $OK.<br />";
186
}
187
$query = $database->query("DESCRIBE $table 'publ_end'");
188
if($query->numRows() == 0) { // add field
189
	$query = $database->query("ALTER TABLE $table ADD publ_end INT NOT NULL DEFAULT '0'");
190
	$query = $database->query("DESCRIBE $table 'publ_end'");
191
	if($query->numRows() > 0) {
192
		echo "'publ_end' added. $OK.<br />";
193
	} else {
194
		echo "adding 'publ_end' $FAIL!<br />";
195
	}
196
} else {
197
	echo "'publ_end' allready there. $OK<br />";
198
}
199

  
200

  
201

  
202

  
203
echo "<br /><br />Done<br />";
204

  
205
?>
206

  
207
</body>
208
</html>
0 209

  
trunk/wb/include/jscalendar/lang/calendar-ko-utf8.js
1
// ** I18N
2

  
3
// Calendar EN language
4
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
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-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
86
"\n"+
87
"최신 버전을 받으시려면 http://www.dynarch.com/projects/calendar/ 에 방문하세요\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 121

  
trunk/wb/include/jscalendar/lang/calendar-fi.js
1
// ** I18N
2

  
3
// Calendar FI language (Finnish, Suomi)
4
// Author: Jarno Käyhkö, <gambler@phnet.fi>
5
// Encoding: UTF-8
6
// Distributed under the same terms as the calendar itself.
7

  
8
// full day names
9
Calendar._DN = new Array
10
("Sunnuntai",
11
 "Maanantai",
12
 "Tiistai",
13
 "Keskiviikko",
14
 "Torstai",
15
 "Perjantai",
16
 "Lauantai",
17
 "Sunnuntai");
18

  
19
// short day names
20
Calendar._SDN = new Array
21
("Su",
22
 "Ma",
23
 "Ti",
24
 "Ke",
25
 "To",
26
 "Pe",
27
 "La",
28
 "Su");
29

  
30
// full month names
31
Calendar._MN = new Array
32
("Tammikuu",
33
 "Helmikuu",
34
 "Maaliskuu",
35
 "Huhtikuu",
36
 "Toukokuu",
37
 "Kesäkuu",
38
 "Heinäkuu",
39
 "Elokuu",
40
 "Syyskuu",
41
 "Lokakuu",
42
 "Marraskuu",
43
 "Joulukuu");
44

  
45
// short month names
46
Calendar._SMN = new Array
47
("Tam",
48
 "Hel",
49
 "Maa",
50
 "Huh",
51
 "Tou",
52
 "Kes",
53
 "Hei",
54
 "Elo",
55
 "Syy",
56
 "Lok",
57
 "Mar",
58
 "Jou");
59

  
60
// tooltips
61
Calendar._TT = {};
62
Calendar._TT["INFO"] = "Tietoja kalenterista";
63

  
64
Calendar._TT["ABOUT"] =
65
"DHTML Date/Time Selector\n" +
66
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
67
"Uusin versio osoitteessa: http://www.dynarch.com/projects/calendar/\n" +
68
"Julkaistu GNU LGPL lisenssin alaisuudessa. Lisätietoja osoitteessa http://gnu.org/licenses/lgpl.html" +
69
"\n\n" +
70
"Päivämäärä valinta:\n" +
71
"- Käytä \xab, \xbb painikkeita valitaksesi vuosi\n" +
72
"- Käytä " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " painikkeita valitaksesi kuukausi\n" +
73
"- Pitämällä hiiren painiketta minkä tahansa yllä olevan painikkeen kohdalla, saat näkyviin valikon nopeampaan siirtymiseen.";
74
Calendar._TT["ABOUT_TIME"] = "\n\n" +
75
"Ajan valinta:\n" +
76
"- Klikkaa kellonajan numeroita lisätäksesi aikaa\n" +
77
"- tai pitämällä Shift-näppäintä pohjassa saat aikaa taaksepäin\n" +
78
"- tai klikkaa ja pidä hiiren painike pohjassa sekä liikuta hiirtä muuttaaksesi aikaa nopeasti eteen- ja taaksepäin.";
79

  
80
Calendar._TT["PREV_YEAR"] = "Edell. vuosi (paina hetki, näet valikon)";
81
Calendar._TT["PREV_MONTH"] = "Edell. kuukausi (paina hetki, näet valikon)";
82
Calendar._TT["GO_TODAY"] = "Siirry tähän päivään";
83
Calendar._TT["NEXT_MONTH"] = "Seur. kuukausi (paina hetki, näet valikon)";
84
Calendar._TT["NEXT_YEAR"] = "Seur. vuosi (paina hetki, näet valikon)";
85
Calendar._TT["SEL_DATE"] = "Valitse päivämäärä";
86
Calendar._TT["DRAG_TO_MOVE"] = "Siirrä kalenterin paikkaa";
87
Calendar._TT["PART_TODAY"] = " (tänään)";
88
Calendar._TT["MON_FIRST"] = "Näytä maanantai ensimmäisenä";
89
Calendar._TT["SUN_FIRST"] = "Näytä sunnuntai ensimmäisenä";
90
Calendar._TT["CLOSE"] = "Sulje";
91
Calendar._TT["TODAY"] = "Tänään";
92
Calendar._TT["TIME_PART"] = "(Shift-) Klikkaa tai liikuta muuttaaksesi aikaa";
93

  
94
// date formats
95
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y";
96
Calendar._TT["TT_DATE_FORMAT"] = "%d.%m.%Y";
97

  
98
Calendar._TT["WK"] = "Vko";
0 99

  
trunk/wb/include/jscalendar/lang/cn_utf8.js
1
// ** I18N
2

  
3
// Calendar EN language
4
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
5
// Encoding: any
6
// Translator : Niko <nikoused@gmail.com>
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
("\u5468\u65e5",//\u5468\u65e5
16
 "\u5468\u4e00",//\u5468\u4e00
17
 "\u5468\u4e8c",//\u5468\u4e8c
18
 "\u5468\u4e09",//\u5468\u4e09
19
 "\u5468\u56db",//\u5468\u56db
20
 "\u5468\u4e94",//\u5468\u4e94
21
 "\u5468\u516d",//\u5468\u516d
22
 "\u5468\u65e5");//\u5468\u65e5
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
("\u5468\u65e5",
39
 "\u5468\u4e00",
40
 "\u5468\u4e8c",
41
 "\u5468\u4e09",
42
 "\u5468\u56db",
43
 "\u5468\u4e94",
44
 "\u5468\u516d",
45
 "\u5468\u65e5");
46

  
47
// full month names
48
Calendar._MN = new Array
49
("\u4e00\u6708",
50
 "\u4e8c\u6708",
51
 "\u4e09\u6708",
52
 "\u56db\u6708",
53
 "\u4e94\u6708",
54
 "\u516d\u6708",
55
 "\u4e03\u6708",
56
 "\u516b\u6708",
57
 "\u4e5d\u6708",
58
 "\u5341\u6708",
59
 "\u5341\u4e00\u6708",
60
 "\u5341\u4e8c\u6708");
61

  
62
// short month names
63
Calendar._SMN = new Array
64
("\u4e00\u6708",
65
 "\u4e8c\u6708",
66
 "\u4e09\u6708",
67
 "\u56db\u6708",
68
 "\u4e94\u6708",
69
 "\u516d\u6708",
70
 "\u4e03\u6708",
71
 "\u516b\u6708",
72
 "\u4e5d\u6708",
73
 "\u5341\u6708",
74
 "\u5341\u4e00\u6708",
75
 "\u5341\u4e8c\u6708");
76

  
77
// tooltips
78
Calendar._TT = {};
79
Calendar._TT["INFO"] = "\u5173\u4e8e";
80

  
81
Calendar._TT["ABOUT"] =
82
"   DHTML \u65e5\u8d77/\u65f6\u95f4\u9009\u62e9\u63a7\u4ef6\n" +
83
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
84
"For latest version visit: \u6700\u65b0\u7248\u672c\u8bf7\u767b\u9646http://www.dynarch.com/projects/calendar/\u5bdf\u770b\n" +
85
"\u9075\u5faaGNU LGPL.  \u7ec6\u8282\u53c2\u9605 http://gnu.org/licenses/lgpl.html" +
86
"\n\n" +
87
"\u65e5\u671f\u9009\u62e9:\n" +
88
"- \u70b9\u51fb\xab(\xbb)\u6309\u94ae\u9009\u62e9\u4e0a(\u4e0b)\u4e00\u5e74\u5ea6.\n" +
89
"- \u70b9\u51fb" + String.fromCharCode(0x2039) + "(" + String.fromCharCode(0x203a) + ")\u6309\u94ae\u9009\u62e9\u4e0a(\u4e0b)\u4e2a\u6708\u4efd.\n" +
90
"- \u957f\u65f6\u95f4\u6309\u7740\u6309\u94ae\u5c06\u51fa\u73b0\u66f4\u591a\u9009\u62e9\u9879.";
91
Calendar._TT["ABOUT_TIME"] = "\n\n" +
92
"\u65f6\u95f4\u9009\u62e9:\n" +
93
"-\u5728\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\u4e0a\u5355\u51fb\u9f20\u6807\u5de6\u952e\u6765\u589e\u52a0\u5f53\u524d\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\n" +
94
"-\u5728\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\u4e0a\u6309\u4f4fShift\u952e\u540e\u5355\u51fb\u9f20\u6807\u5de6\u952e\u6765\u51cf\u5c11\u5f53\u524d\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2).";
95

  
96
Calendar._TT["PREV_YEAR"] = "\u4e0a\u4e00\u5e74";
97
Calendar._TT["PREV_MONTH"] = "\u4e0a\u4e2a\u6708";
98
Calendar._TT["GO_TODAY"] = "\u5230\u4eca\u5929";
99
Calendar._TT["NEXT_MONTH"] = "\u4e0b\u4e2a\u6708";
100
Calendar._TT["NEXT_YEAR"] = "\u4e0b\u4e00\u5e74";
101
Calendar._TT["SEL_DATE"] = "\u9009\u62e9\u65e5\u671f";
102
Calendar._TT["DRAG_TO_MOVE"] = "\u62d6\u52a8";
103
Calendar._TT["PART_TODAY"] = " (\u4eca\u5929)";
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\u4e3a\u8fd9\u5468\u7684\u7b2c\u4e00\u5929";
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"] = "\u5173\u95ed";
115
Calendar._TT["TODAY"] = "\u4eca\u5929";
116
Calendar._TT["TIME_PART"] = "(\u6309\u7740Shift\u952e)\u5355\u51fb\u6216\u62d6\u52a8\u6539\u53d8\u503c";
117

  
118
// date formats
119
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
120
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e\u65e5";
121

  
122
Calendar._TT["WK"] = "\u5468";
123
Calendar._TT["TIME"] = "\u65f6\u95f4:";
0 124

  
trunk/wb/include/jscalendar/lang/calendar-ru_win_.js
1
// ** I18N
2

  
3
// Calendar RU language
4
// Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net>
5
// Encoding: any
6
// Distributed under the same terms as the calendar itself.
7

  
8
// For translators: please use UTF-8 if possible.  We strongly believe that
9
// Unicode is the answer to a real internationalized world.  Also please
10
// include your contact information in the header, as can be seen above.
11

  
12
// full day names
13
Calendar._DN = new Array
14
("???????????",
15
 "???????????",
16
 "???????",
17
 "?????",
18
 "???????",
19
 "???????",
20
 "???????",
21
 "???????????");
22

  
23
// Please note that the following array of short day names (and the same goes
24
// for short month names, _SMN) isn't absolutely necessary.  We give it here
25
// for exemplification on how one can customize the short day names, but if
26
// they are simply the first N letters of the full name you can simply say:
27
//
28
//   Calendar._SDN_len = N; // short day name length
29
//   Calendar._SMN_len = N; // short month name length
30
//
31
// If N = 3 then this is not needed either since we assume a value of 3 if not
32
// present, to be compatible with translation files that were written before
33
// this feature.
34

  
35
// short day names
36
Calendar._SDN = new Array
37
("???",
38
 "???",
39
 "???",
40
 "???",
41
 "???",
42
 "???",
43
 "???",
44
 "???");
45

  
46
// full month names
47
Calendar._MN = new Array
48
("??????",
49
 "???????",
50
 "????",
51
 "??????",
52
 "???",
53
 "????",
54
 "????",
55
 "??????",
56
 "????????",
57
 "???????",
58
 "??????",
59
 "???????");
60

  
61
// short month names
62
Calendar._SMN = new Array
63
("???",
64
 "???",
65
 "???",
66
 "???",
67
 "???",
68
 "???",
69
 "???",
70
 "???",
71
 "???",
72
 "???",
73
 "???",
74
 "???");
75

  
76
// tooltips
77
Calendar._TT = {};
78
Calendar._TT["INFO"] = "? ?????????...";
79

  
80
Calendar._TT["ABOUT"] =
81
"DHTML Date/Time Selector\n" +
82
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
83
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
84
"Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
85
"\n\n" +
86
"??? ??????? ????:\n" +
87
"- ??? ?????? ?????? \xab, \xbb ????? ??????? ???\n" +
88
"- ??? ?????? ?????? " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ????? ??????? ?????\n" +
89
"- ????????? ??? ?????? ????????, ????? ????????? ???? ???????? ??????.";
90
Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
"??? ??????? ?????:\n" +
92
"- ??? ????? ?? ????? ??? ??????? ??? ?????????????\n" +
93
"- ??? ????? ? ??????? ???????? Shift ??? ???????????\n" +
94
"- ???? ?????? ? ??????? ?????? ?????/??????, ??? ????? ???????? ???????.";
95

  
96
Calendar._TT["PREV_YEAR"] = "?? ??? ????? (?????????? ??? ????)";
97
Calendar._TT["PREV_MONTH"] = "?? ????? ????? (?????????? ??? ????)";
98
Calendar._TT["GO_TODAY"] = "???????";
99
Calendar._TT["NEXT_MONTH"] = "?? ????? ?????? (?????????? ??? ????)";
100
Calendar._TT["NEXT_YEAR"] = "?? ??? ?????? (?????????? ??? ????)";
101
Calendar._TT["SEL_DATE"] = "???????? ????";
102
Calendar._TT["DRAG_TO_MOVE"] = "?????????????? ??????";
103
Calendar._TT["PART_TODAY"] = " (???????)";
104

  
105
// the following is to inform that "%s" is to be the first day of week
106
// %s will be replaced with the day name.
107
Calendar._TT["DAY_FIRST"] = "?????? ???? ?????? ????? %s";
108

  
109
// This may be locale-dependent.  It specifies the week-end days, as an array
110
// of comma-separated numbers.  The numbers are from 0 to 6: 0 means Sunday, 1
111
// means Monday, etc.
112
Calendar._TT["WEEKEND"] = "0,6";
113

  
114
Calendar._TT["CLOSE"] = "???????";
115
Calendar._TT["TODAY"] = "???????";
116
Calendar._TT["TIME_PART"] = "(Shift-)???? ??? ?????? ? ???????";
117

  
118
// date formats
119
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
120
Calendar._TT["TT_DATE_FORMAT"] = "%e %b, %a";
121

  
122
Calendar._TT["WK"] = "???";
123
Calendar._TT["TIME"] = "?????:";
0 124

  
trunk/wb/include/jscalendar/lang/calendar-es.js
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:";
0 130

  
trunk/wb/include/jscalendar/lang/calendar-du.js
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 46

  
trunk/wb/include/jscalendar/lang/calendar-ko.js
1
// ** I18N
2

  
3
// Calendar EN language
4
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
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-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
86
"\n"+
87
"?ֽ? ?????? ?????÷??? http://www.dynarch.com/projects/calendar/ ?? ?湮?ϼ???\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 121

  
trunk/wb/include/jscalendar/lang/calendar-big5-utf8.js
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 124

  
trunk/wb/include/jscalendar/lang/calendar-si.js
1
/* Slovenian language file for the DHTML Calendar version 0.9.2 
2
* Author David Milost <mercy@volja.net>, January 2004.
3
* Feel free to use this script under the terms of the GNU Lesser General
4
* Public License, as long as you do not remove or alter this notice.
5
*/
6
 // full day names
7
Calendar._DN = new Array
8
("Nedelja",
9
 "Ponedeljek",
10
 "Torek",
11
 "Sreda",
12
 "Četrtek",
13
 "Petek",
14
 "Sobota",
15
 "Nedelja");
16
 // short day names
17
 Calendar._SDN = new Array
18
("Ned",
19
 "Pon",
20
 "Tor",
21
 "Sre",
22
 "Čet",
23
 "Pet",
24
 "Sob",
25
 "Ned");
26
// short month names
27
Calendar._SMN = new Array
28
("Jan",
29
 "Feb",
30
 "Mar",
31
 "Apr",
32
 "Maj",
33
 "Jun",
34
 "Jul",
35
 "Avg",
36
 "Sep",
37
 "Okt",
38
 "Nov",
39
 "Dec");
40
  // full month names
41
Calendar._MN = new Array
42
("Januar",
43
 "Februar",
44
 "Marec",
45
 "April",
46
 "Maj",
47
 "Junij",
48
 "Julij",
49
 "Avgust",
50
 "September",
51
 "Oktober",
52
 "November",
53
 "December");
54

  
55
// tooltips
56
// tooltips
57
Calendar._TT = {};
58
Calendar._TT["INFO"] = "O koledarju";
59

  
60
Calendar._TT["ABOUT"] =
61
"DHTML Date/Time Selector\n" +
62
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
63
"Za zadnjo verzijo pojdine na naslov: http://www.dynarch.com/projects/calendar/\n" +
64
"Distribuirano pod GNU LGPL.  Poglejte http://gnu.org/licenses/lgpl.html za podrobnosti." +
65
"\n\n" +
66
"Izbor datuma:\n" +
67
"- Uporabite \xab, \xbb gumbe za izbor leta\n" +
68
"- Uporabite " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " gumbe za izbor meseca\n" +
69
"- Zadržite klik na kateremkoli od zgornjih gumbov za hiter izbor.";
70
Calendar._TT["ABOUT_TIME"] = "\n\n" +
71
"Izbor ćasa:\n" +
72
"- Kliknite na katerikoli del ćasa za poveć. le-tega\n" +
73
"- ali Shift-click za zmanj. le-tega\n" +
74
"- ali kliknite in povlecite za hiter izbor.";
75

  
76
Calendar._TT["TOGGLE"] = "Spremeni dan s katerim se prićne teden";
77
Calendar._TT["PREV_YEAR"] = "Predhodnje leto (dolg klik za meni)";
78
Calendar._TT["PREV_MONTH"] = "Predhodnji mesec (dolg klik za meni)";
79
Calendar._TT["GO_TODAY"] = "Pojdi na tekoći dan";
80
Calendar._TT["NEXT_MONTH"] = "Naslednji mesec (dolg klik za meni)";
81
Calendar._TT["NEXT_YEAR"] = "Naslednje leto (dolg klik za meni)";
82
Calendar._TT["SEL_DATE"] = "Izberite datum";
83
Calendar._TT["DRAG_TO_MOVE"] = "Pritisni in povleci za spremembo pozicije";
84
Calendar._TT["PART_TODAY"] = " (danes)";
85
Calendar._TT["MON_FIRST"] = "Prikaži ponedeljek kot prvi dan";
86
Calendar._TT["SUN_FIRST"] = "Prikaži nedeljo kot prvi dan";
87
Calendar._TT["CLOSE"] = "Zapri";
88
Calendar._TT["TODAY"] = "Danes";
89

  
90
// date formats
91
Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d";
92
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
93

  
94
Calendar._TT["WK"] = "Ted";
0 95

  
trunk/wb/include/jscalendar/lang/calendar-no.js
1
// ** I18N
2

  
3
// Calendar NO language
4
// Author: Daniel Holmen, <daniel.holmen@ciber.no>
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
("Søndag",
15
 "Mandag",
16
 "Tirsdag",
17
 "Onsdag",
18
 "Torsdag",
19
 "Fredag",
20
 "Lørdag",
21
 "Søndag");
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
("Søn",
38
 "Man",
39
 "Tir",
40
 "Ons",
41
 "Tor",
42
 "Fre",
43
 "Lør",
44
 "Søn");
45

  
46
// full month names
47
Calendar._MN = new Array
48
("Januar",
49
 "Februar",
50
 "Mars",
51
 "April",
52
 "Mai",
53
 "Juni",
54
 "Juli",
55
 "August",
56
 "September",
57
 "Oktober",
58
 "November",
59
 "Desember");
60

  
61
// short month names
62
Calendar._SMN = new Array
63
("Jan",
64
 "Feb",
65
 "Mar",
66
 "Apr",
67
 "Mai",
68
 "Jun",
69
 "Jul",
70
 "Aug",
71
 "Sep",
72
 "Okt",
73
 "Nov",
74
 "Des");
75

  
76
// tooltips
77
Calendar._TT = {};
78
Calendar._TT["INFO"] = "Om kalenderen";
79

  
80
Calendar._TT["ABOUT"] =
81
"DHTML Dato-/Tidsvelger\n" +
82
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
83
"For nyeste versjon, gå til: http://www.dynarch.com/projects/calendar/\n" +
84
"Distribuert under GNU LGPL.  Se http://gnu.org/licenses/lgpl.html for detaljer." +
85
"\n\n" +
86
"Datovalg:\n" +
87
"- Bruk knappene \xab og \xbb for å velge år\n" +
88
"- Bruk knappene " + String.fromCharCode(0x2039) + " og " + String.fromCharCode(0x203a) + " for å velge måned\n" +
89
"- Hold inne musknappen eller knappene over for raskere valg.";
90
Calendar._TT["ABOUT_TIME"] = "\n\n" +
91
"Tidsvalg:\n" +
92
"- Klikk på en av tidsdelene for å øke den\n" +
93
"- eller Shift-klikk for å senke verdien\n" +
94
"- eller klikk-og-dra for raskere valg..";
95

  
96
Calendar._TT["PREV_YEAR"] = "Forrige. år (hold for meny)";
97
Calendar._TT["PREV_MONTH"] = "Forrige. måned (hold for meny)";
98
Calendar._TT["GO_TODAY"] = "Gå til idag";
99
Calendar._TT["NEXT_MONTH"] = "Neste måned (hold for meny)";
100
Calendar._TT["NEXT_YEAR"] = "Neste år (hold for meny)";
101
Calendar._TT["SEL_DATE"] = "Velg dato";
102
Calendar._TT["DRAG_TO_MOVE"] = "Dra for å flytte";
103
Calendar._TT["PART_TODAY"] = " (idag)";
104
Calendar._TT["MON_FIRST"] = "Vis mandag først";
105
Calendar._TT["SUN_FIRST"] = "Vis søndag først";
106
Calendar._TT["CLOSE"] = "Lukk";
107
Calendar._TT["TODAY"] = "Idag";
108
Calendar._TT["TIME_PART"] = "(Shift-)Klikk eller dra for å endre verdi";
109

  
110
// date formats
111
Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y";
112
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";
113

  
114
Calendar._TT["WK"] = "uke";
0 115

  
trunk/wb/include/jscalendar/lang/calendar-hu.js
1
// ** I18N
2

  
3
// Calendar HU language
4
// Author: ???
5
// Modifier: KARASZI Istvan, <jscalendar@spam.raszi.hu>
6
// Encoding: any
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
("Vas?rnap",
16
 "H?tf?",
17
 "Kedd",
18
 "Szerda",
19
 "Cs?t?rt?k",
20
 "P?ntek",
21
 "Szombat",
22
 "Vas?rnap");
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
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff