update sr namespeaces
[lhc/web/wiklou.git] / languages / LanguageTh.php
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
6 #--------------------------------------------------------------------------
7 # Translated from English by Varakorn Ungvichian
8 # แปลงจากภาษาอังกฤษโดย นาย วรากร อึ้งวิเชียร
9 #--------------------------------------------------------------------------
10
11 /* private */ $wgNamespaceNamesTh = array(
12 NS_MEDIA => "Media",
13 NS_SPECIAL => "พิเศษ",
14 NS_MAIN => "",
15 NS_TALK => "พูดคุย",
16 NS_USER => "ผู้ใช้",
17 NS_USER_TALK => "คุยเกี่ยวกับผู้ใช้",
18 NS_PROJECT => $wgMetaNamespace,
19 NS_PROJECT_TALK => $wgMetaNamespace . "_talk",
20 NS_IMAGE => "ภาพ",
21 NS_IMAGE_TALK => "คุยเกี่ยวกับภาพ",
22 NS_MEDIAWIKI => "MediaWiki",
23 NS_MEDIAWIKI_TALK => "คุยเกี่ยวกับ_MediaWiki",
24
25 ) + $wgNamespaceNamesEn;
26
27 /* private */ $wgQuickbarSettingsTh = array(
28 "ไม่มี", "อยู่ทางซ้าย", "อยู่ทางขวา", "ลอยทางซ้าย"
29 );
30
31 # All special pages have to be listed here: a description of ""
32 # will make them not show up on the "Special Pages" page, which
33 # is the right thing for some of them (such as the "targeted" ones).
34 #
35 /* private */ $wgValidSpecialPagesTh = array(
36 "Userlogin" => "",
37 "Userlogout" => "",
38 "Preferences" => "ตั้งค่าสำหรับผู้ใช้",
39 "Watchlist" => "Watchlist",
40 "Recentchanges" => "หน้าที่ได้รับการแก้ไขเมื่อเร็ว ๆ นี้",
41 "Upload" => "Upload ภาพ",
42 "Imagelist" => "รายชื่อภาพ",
43 "Listusers" => "ผูใช้ที่ลงทะเบียนแล้ว",
44 "Statistics" => "สถิติของเว็บไซต์",
45 "Randompage" => "สุ่มบทความ",
46
47 "Lonelypages" => "บทความที่ไม่ได้ลิงก์ไว้",
48 "Unusedimages" => "ภาพที่ไม่ได้ใช้",
49 "Popularpages" => "บทความที่ได้รับความนิยม",
50 "Wantedpages" => "บทความที่เป็นที่ต้องการมากที่สุด",
51 "Shortpages" => "บทความสั้น",
52 "Longpages" => "บทความยาว",
53 "Newpages" => "บทความที่สร้างมาใหม่",
54 "Ancientpages" => "บทความที่เก่าที่สุด",
55 "Deadendpages" => "หน้าทางตัน",
56 # "Intl" => "ลิงก์ระหว่างภาษา",
57 "Allpages" => "ทุกหน้าตามชื่อ",
58
59 "Ipblocklist" => "ผู้ใช้และ IP address ที่ถูกกั้นไว้",
60 "Maintenance" => "หน้าสำหรับการรักษาบำรุง",
61 "Specialpages" => "",
62 "Contributions" => "",
63 "Emailuser" => "",
64 "Whatlinkshere" => "",
65 "Recentchangeslinked" => "",
66 "Movepage" => "",
67 "Booksources" => "แหล่งหนังสือภายนอก",
68 # "Categories" => "ประเภทของหน้า",
69 "Export" => "การ export หน้าเป็น XML",
70 "Version" => "Version",
71 );
72
73 /* private */ $wgSysopSpecialPagesTh = array(
74 "Blockip" => "กั้นผู้ใช้ หรือ IP address",
75 "Asksql" => "ค้นหาในฐานข้อมูล",
76 "Undelete" => "คืนหน้าที่ถูกลบไป"
77 );
78
79 /* private */ $wgDeveloperSpecialPagesTh = array(
80 "Lockdb" => "ทำให้ฐานข้อมูลอ่านได้อย่างเดียว",
81 "Unlockdb" => "ทำให้ฐานข้อมูลสามารถเขียนได้",
82 );
83
84 #-------------------------------------------------------------------
85 # Default messages
86 #-------------------------------------------------------------------
87 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
88 # hyphen (-). If you need more characters, you may be able to change
89 # the regex in MagicWord::initRegex
90
91 /* private */ $wgAllMessagesTh = array(
92
93 # User Toggles
94 #
95
96 "tog-underline" => "ขีดเส้นใต้ลิงก์",
97 "tog-highlightbroken" => "จัดลิงก์ที่ไม่มี <a href=\"\" class=\"new\">เป็น ดังนี้</a> (หรือ เป็นดังนี้<a href=\"\" class=\"internal\">?</a>).",
98 "tog-justify" => "จัดย่อหน้าให้เรียบร้อย",
99 "tog-hideminor" => "ไม่แสดงการแก้ไขย่อยใน recent changes",
100 "tog-usenewrc" => "Enhanced recent changes (ไม่สามารถใช้ได้กับทุกเว็บบราวเซอร์)",
101 "tog-numberheadings" => "ใส่ตัวเลขหน้าหัวข้อโดยอัตโนมัติ",
102 "tog-showtoolbar" => "Show edit toolbar",
103 "tog-editondblclick" => "แก้ไขหน้าโดยใช้ double click (ผ่าน JavaScript)",
104 "tog-editsection"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ลิงก์ [แก้ไข]",
105 "tog-editsectiononrightclick"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ right click<br /> บนชื่อส่วนย่อย (ผ่าน JavaScript)",
106 "tog-showtoc"=>"แสดงสารบัญ<br />(สำหรับบทความที่มีมากกว่า 3 หัวข้อ)",
107 "tog-rememberpassword" => "จำ password ระหว่าง session",
108 "tog-editwidth" => "กล่องสำหรับการแก้ไขกว้างเต็มหน้าจอ",
109 "tog-watchdefault" => "นำหน้าที่แก้ไขไปใส่ watchlist",
110 "tog-minordefault" => "กำหนด default ให้การแก้ไขทุกครั้งเป็นการแก้ไขย่อย",
111 "tog-previewontop" => "แสดง preview ก่อนกล่องสำหรับการแก้ไข",
112 "tog-nocache" => "ไม่นำหน้าต่าง ๆ มาใส่ใน cache",
113
114
115 # Dates
116 #
117
118 'sunday' => "วันอาทิตย์",
119 'monday' => "วันจันทร์",
120 'tuesday' => "วันอังคาร",
121 'wednesday' => "วันพุธ",
122 'thursday' => "วันพฤหัสบดี",
123 'friday' => "วันศุกร์",
124 'saturday' => "วันเสาร์",
125 'january' => "มกราคม",
126 'february' => "กุมภาพันธ์",
127 'march' => "มีนาคม",
128 'april' => "เมษายน",
129 'may_long' => "พฤษภาคม",
130 'june' => "มิถุนายน",
131 'july' => "กรกฎาคม",
132 'august' => "สิงหาคม",
133 'september' => "กันยายน",
134 'october' => "ตุลาคม",
135 'november' => "พฤศจิกายน",
136 'december' => "ธันวาคม",
137 'jan' => "ม.ค.",
138 'feb' => "ก.พ.",
139 'mar' => "มี.ค.",
140 'apr' => "เม.ย.",
141 'may' => "พ.ค.",
142 'jun' => "มิ.ย.",
143 'jul' => "ก.ค.",
144 'aug' => "ส.ค.",
145 'sep' => "ก.ย.",
146 'oct' => "ต.ค.",
147 'nov' => "พ.ย.",
148 'dec' => "ธ.ค.",
149
150 # Bits of text used by many pages:
151 #
152 "categories" => "ประเภทของหน้า",
153 "category" => "ประเภท",
154 "category_header" => "บทความในประเภท \"$1\"",
155 "subcategories" => "ประเภทย่อย",
156
157 "linktrail" => "/^([a-z]+)(.*)\$/sD",
158 "mainpage" => "หน้าหลัก",
159 "mainpagetext" => "Wiki software ถูกติดตั้งเรียบร้อยแล้ว",
160 "about" => "เกี่ยวกับ",
161 "aboutsite" => "เกี่ยวกับ $wgSitename",
162 "aboutpage" => "$wgMetaNamespace:เกี่ยวกับ",
163 "help" => "ความช่วยเหลือ",
164 "helppage" => "$wgMetaNamespace:ความช่วยเหลือ",
165 "wikititlesuffix" => "$wgSitename",
166 "bugreports" => "รายงาน bug",
167 "bugreportspage" => "$wgMetaNamespace:รายงาน bug",
168 "sitesupport" => "การบริจาค",
169 "sitesupportpage" => "", # If not set, won't appear. Can be wiki page or URL
170 "faq" => "FAQ",
171 "faqpage" => "$wgMetaNamespace:FAQ",
172 "edithelp" => "ความช่วยเหลือในการแก้ไขหน้า",
173 "edithelppage" => "$wgMetaNamespace:การแก้ไขหน้า",
174 "cancel" => "ยกเลิก",
175 "qbfind" => "ค้นหา",
176 "qbbrowse" => "ค้น",
177 "qbedit" => "แก้ไข",
178 "qbpageoptions" => "หน้านี้",
179 "qbpageinfo" => "บริบท",
180 "qbmyoptions" => "หน้าของฉัน",
181 "qbspecialpages" => "หน้าพิเศษ",
182 "moredotdotdot" => "อื่น ๆ ...",
183 "mypage" => "หน้าของฉัน",
184 "mytalk" => "หน้าพูดคุยของฉัน",
185 "currentevents" => "เหตุการณ์ปัจจุบัน",
186 "errorpagetitle" => "ความผิดพลาด",
187 "returnto" => "กลับไปยัง $1.",
188 "tagline" => "จาก $wgSitename, สารานุกรมฟรี",
189 "whatlinkshere" => "หน้าที่ลิงก์มายังที่นี่",
190 "help" => "ความช่วยเหลือ",
191 "search" => "ค้นหา",
192 "go" => "ไป",
193 "history" => "ประวัติของหน้านี้",
194 "printableversion" => "Printable version",
195 "editthispage" => "แก้ไขหน้านี้",
196 "deletethispage" => "ลบหน้านี้",
197 "protectthispage" => "ป้องกันหน้านี้",
198 "unprotectthispage" => "ยกเลิกการป้องกันหน้านี้",
199 "newpage" => "หน้าใหม่",
200 "talkpage" => "พูดคุยเกี่ยวกับหน้านี้",
201 "postcomment" => "Post a comment",
202 "articlepage" => "View article",
203 "subjectpage" => "View subject", # For compatibility
204 "userpage" => "View user page",
205 "wikipediapage" => "View meta page",
206 "imagepage" => "View image page",
207 "viewtalkpage" => "View discussion",
208 "otherlanguages" => "Other languages",
209 "redirectedfrom" => "(Redirected from $1)",
210 "lastmodified" => "This page was last modified $1.",
211 "viewcount" => "This page has been accessed $1 times.",
212 "gnunote" => "All text is available under the terms of the <a class=internal href='/wiki/GNU_FDL'>GNU Free Documentation License</a>.",
213 "printsubtitle" => "(From {{SERVER}})",
214 "protectedpage" => "Protected page",
215 "administrators" => "$wgMetaNamespace:Administrators",
216 "sysoptitle" => "Sysop access required",
217 "sysoptext" => "The action you have requested can only be
218 performed by users with \"sysop\" status.
219 See $1.",
220 "developertitle" => "Developer access required",
221 "developertext" => "The action you have requested can only be
222 performed by users with \"developer\" status.
223 See $1.",
224
225 "nbytes" => "$1 ไบต์",
226 "go" => "ไป",
227 "ok" => "OK",
228 "sitetitle" => "$wgSitename",
229 "sitesubtitle" => "สารานุกรมฟรี",
230 "retrievedfrom" => "Retrieved from \"$1\"",
231 "newmessages" => "คุณมีข้อความใหม่ $1.",
232 "newmessageslink" => "ข้อความ",
233 "editsection"=>"แก้ไข",
234 "toc" => "สารบัญ",
235 "showtoc" => "แสดงสารบัญ",
236 "hidetoc" => "ซ่อนสารบัญ",
237 "thisisdeleted" => "แสดงหรือคืน $1?",
238 "restorelink" => "$1 การแก้ไขที่ลบแล้ว",
239
240 # Main script and global functions
241 #
242 "nosuchaction" => "ไม่มีการกระทำดังกล่าว",
243 "nosuchactiontext" => "การกระทำที่บอกไว้ใน URL ไม่
244 เป็นที่ยอมรับของ wiki",
245 "nosuchspecialpage" => "ไม่มีหน้าพิเศษดังกล่าว",
246 "nospecialpagetext" => "คุณได้ขอหน้าพิเศษที่ไม่
247 เป็นที่ยอมรับของ wiki",
248
249 # Login and logout pages
250 #
251 "loginpagetitle" => "ล็อกอินผู้ใช้",
252 "yourname" => "ชื่อผู้ใช้",
253 "yourpassword" => "รหัสผ่าน",
254 "yourpasswordagain" => "พิมพ์รหัสผ่านอีกครั้ง",
255 "newusersonly" => " (เฉพาะผู้ใช้ใหม่)",
256
257 "login" => "ล็อกอิน",
258 "loginprompt" => "ต้อง enable cookie เพื่อล็อกอินสู่ $wgSitename ได้",
259 "userlogin" => "ล็อกอิน",
260 "logout" => "ล็อกเอาท์",
261 "userlogout" => "ล็อกเอาท์",
262 "notloggedin" => "ไม่ได้ล็อกอินไว้",
263 "createaccount" => "สร้าง account ใหม่",
264 "createaccountmail" => "ผ่านอีเมล์",
265 "badretype" => "รหัสผ่านที่พิมพ์ไว้ไม่เหมือนกัน",
266 "userexists" => "ชื่อผู้ใช้ที่พิมพ์ไว้ถูกใช้แล้ว โปรดเลือกชื่ออื่น",
267 "youremail" => "อีเมล์ของคุณ*",
268
269 # Edit pages
270 #
271 "newarticletext" =>
272 "คุณได้ตามลิงก์ที่นำไปยังหน้าที่ยังไม่ปรากฏอยู่
273 เพื่อเริ่มสร้างหน้าใหม่ พิมพ์ลงในกล่องข้างล่างนี้
274 (ดู[[$wgMetaNamespace:ความช่วยเหลือ|หน้าความช่วยเหลือ]]สำหรับข้อมูลเพิ่มเติม)
275 If you are here by mistake, just click your browser's '''back''' button.",
276 "noarticletext" => "(ไม่มีข้อความในหน้านี้)",
277 "updated" => "(ได้รับการแก้ไขแล้ว)",
278
279 );
280
281 #--------------------------------------------------------------------------
282 # Internationalisation code
283 #--------------------------------------------------------------------------
284
285 require_once( "LanguageUtf8.php" );
286
287 class LanguageTh extends LanguageUtf8 {
288
289 function getNamespaces() {
290 global $wgNamespaceNamesTh;
291 return $wgNamespaceNamesTh;
292 }
293
294 function getQuickbarSettings() {
295 global $wgQuickbarSettingsTh;
296 return $wgQuickbarSettingsTh;
297 }
298
299 function getValidSpecialPages()
300 {
301 global $wgValidSpecialPagesTh;
302 return $wgValidSpecialPagesTh;
303 }
304
305 function getSysopSpecialPages()
306 {
307 global $wgSysopSpecialPagesTh;
308 return $wgSysopSpecialPagesTh;
309 }
310
311 function getDeveloperSpecialPages()
312 {
313 global $wgDeveloperSpecialPagesTh;
314 return $wgDeveloperSpecialPagesTh;
315 }
316
317 function getMessage( $key )
318 {
319 global $wgAllMessagesTh;
320 if( isset( $wgAllMessagesTh[$key] ) ) {
321 return $wgAllMessagesTh[$key];
322 } else {
323 return parent::getMessage( $key );
324 }
325 }
326
327 function getAllMessages()
328 {
329 global $wgAllMessagesTh;
330 return $wgAllMessagesTh;
331 }
332
333 }
334
335 ?>