change all occurrences of "fromwikipedia" to "tagline".
[lhc/web/wiklou.git] / languages / LanguageTh.php
index 47c4384..8dbf2d1 100644 (file)
  "myskin" => "MySkin"
 );
 
-/* private */ $wgMathNamesTh = array(
-       "Always render PNG",
-       "HTML if very simple or else PNG",
-       "HTML if possible or else PNG",
-       "Leave it as TeX (for text browsers)",
-       "Recommended for modern browsers"
-);
-
 /* private */ $wgDateFormatsTh = array(
        "No preference",
        "มกราคม 15, 2001",
        "2001-01-15"
 );
 
-/* private */ $wgUserTogglesTh = array(
-       "hover"         => "แสดง hoverbox เหนือลิงก์",
-       "underline" => "ขีดเส้นใต้ลิงก์",
-       "highlightbroken" => "จัดลิงก์ที่ไม่มี <a href=\"\" class=\"new\">เป็น
-ดังนี้</a> (หรือ เป็นดังนี้<a href=\"\" class=\"internal\">?</a>).",
-       "justify"       => "จัดย่อหน้าให้เรียบร้อย",
-       "hideminor" => "ไม่แสดงการแก้ไขย่อยใน recent changes",
-       "usenewrc" => "Enhanced recent changes (ไม่สามารถใช้ได้กับทุกเว็บบราวเซอร์)",
-       "numberheadings" => "ใส่ตัวเลขหน้าหัวข้อโดยอัตโนมัติ",
-       "showtoolbar" => "Show edit toolbar",
-       "editondblclick" => "แก้ไขหน้าโดยใช้ double click (ผ่าน JavaScript)",
-       "editsection"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ลิงก์ [แก้ไข]",
-       "editsectiononrightclick"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ right click<br> บนชื่อส่วนย่อย (ผ่าน JavaScript)",
-       "showtoc"=>"แสดงสารบัญ<br>(สำหรับบทความที่มีมากกว่า 3 หัวข้อ)",
-       "rememberpassword" => "จำ password ระหว่าง session",
-       "editwidth" => "กล่องสำหรับการแก้ไขกว้างเต็มหน้าจอ",
-       "watchdefault" => "นำหน้าที่แก้ไขไปใส่ watchlist",
-       "minordefault" => "กำหนด default ให้การแก้ไขทุกครั้งเป็นการแก้ไขย่อย",
-       "previewontop" => "แสดง preview ก่อนกล่องสำหรับการแก้ไข",
-       "nocache" => "ไม่นำหน้าต่าง ๆ มาใส่ใน cache"
-);
-
-/* private */ $wgWeekdayNamesTh = array(
-       "วันอาทิตย์", "วันจันทร์", "วันอังคาร", "วันพุธ", "วันพฤหัสบดี",
-       "วันศุกร์", "วันเสาร์"
-);
-
-/* private */ $wgMonthNamesTh = array(
-       "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน",
-       "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน",
-       "ธันวาคม"
-);
 
-/* private */ $wgMonthAbbreviationsTh = array(
-       "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.",
-       "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."
-);
 
 # All special pages have to be listed here: a description of ""
 # will make them not show up on the "Special Pages" page, which
 # the regex in MagicWord::initRegex
 
 /* private */ $wgAllMessagesTh = array(
+'special_version_prefix' => '',
+'special_version_postfix' => '',
+
+# User Toggles
+#
+
+"tog-hover"            => "แสดง hoverbox เหนือลิงก์",
+"tog-underline" => "ขีดเส้นใต้ลิงก์",
+"tog-highlightbroken" => "จัดลิงก์ที่ไม่มี <a href=\"\" class=\"new\">เป็น ดังนี้</a> (หรือ เป็นดังนี้<a href=\"\" class=\"internal\">?</a>).",
+"tog-justify"  => "จัดย่อหน้าให้เรียบร้อย",
+"tog-hideminor" => "ไม่แสดงการแก้ไขย่อยใน recent changes",
+"tog-usenewrc" => "Enhanced recent changes (ไม่สามารถใช้ได้กับทุกเว็บบราวเซอร์)",
+"tog-numberheadings" => "ใส่ตัวเลขหน้าหัวข้อโดยอัตโนมัติ",
+"tog-showtoolbar" => "Show edit toolbar",
+"tog-editondblclick" => "แก้ไขหน้าโดยใช้ double click (ผ่าน JavaScript)",
+"tog-editsection"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ลิงก์ [แก้ไข]",
+"tog-editsectiononrightclick"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ right click<br> บนชื่อส่วนย่อย (ผ่าน JavaScript)",
+"tog-showtoc"=>"แสดงสารบัญ<br>(สำหรับบทความที่มีมากกว่า 3 หัวข้อ)",
+"tog-rememberpassword" => "จำ password ระหว่าง session",
+"tog-editwidth" => "กล่องสำหรับการแก้ไขกว้างเต็มหน้าจอ",
+"tog-watchdefault" => "นำหน้าที่แก้ไขไปใส่ watchlist",
+"tog-minordefault" => "กำหนด default ให้การแก้ไขทุกครั้งเป็นการแก้ไขย่อย",
+"tog-previewontop" => "แสดง preview ก่อนกล่องสำหรับการแก้ไข",
+"tog-nocache" => "ไม่นำหน้าต่าง ๆ มาใส่ใน cache",
+
+
+# Dates
+#
+
+'sunday' => "วันอาทิตย์",
+'monday' => "วันจันทร์",
+'tuesday' => "วันอังคาร",
+'wednesday' => "วันพุธ",
+'thursday' => "วันพฤหัสบดี",
+'friday' => "วันศุกร์",
+'saturday' => "วันเสาร์",
+'january' => "มกราคม",
+'february' => "กุมภาพันธ์",
+'march' => "มีนาคม",
+'april' => "เมษายน",
+'may_long' => "พฤษภาคม",
+'june' => "มิถุนายน",
+'july' => "กรกฎาคม",
+'august' => "สิงหาคม",
+'september' => "กันยายน",
+'october' => "ตุลาคม",
+'november' => "พฤศจิกายน",
+'december' => "ธันวาคม",
+'jan' => "ม.ค.",
+'feb' => "ก.พ.",
+'mar' => "มี.ค.",
+'apr' => "เม.ย.",
+'may' => "พ.ค.",
+'jun' => "มิ.ย.",
+'jul' => "ก.ค.",
+'aug' => "ส.ค.",
+'sep' => "ก.ย.",
+'oct' => "ต.ค.",
+'nov' => "พ.ย.",
+'dec' => "ธ.ค.",
 
 # Bits of text used by many pages:
 #
 "mainpage"             => "หน้าหลัก",
 "mainpagetext" => "Wiki software  ถูกติดตั้งเรียบร้อยแล้ว",
 "about"                        => "เกี่ยวกับ",
-"aboutwikipedia" => "เกี่ยวกับ $wgSitename",
+"aboutsite"      => "เกี่ยวกับ $wgSitename",
 "aboutpage"            => "$wgMetaNamespace:เกี่ยวกับ",
 "help"                 => "ความช่วยเหลือ",
 "helppage"             => "$wgMetaNamespace:ความช่วยเหลือ",
 "currentevents" => "เหตุการณ์ปัจจุบัน",
 "errorpagetitle" => "ความผิดพลาด",
 "returnto"             => "กลับไปยัง $1.",
-"fromwikipedia"        => "จาก $wgSitename, สารานุกรมฟรี",
+"tagline"              => "จาก $wgSitename, สารานุกรมฟรี",
 "whatlinkshere"        => "หน้าที่ลิงก์มายังที่นี่",
 "help"                 => "ความช่วยเหลือ",
 "search"               => "ค้นหา",
@@ -257,13 +273,6 @@ See $1.",
 #
 "error"                        => "Error",
 "databaseerror" => "Database error",
-"dberrortext"  => "A database query syntax error has occurred.
-This could be because of an illegal search query (see $5),
-or it may indicate a bug in the software.
-The last attempted database query was:
-<blockquote><tt>$1</tt></blockquote>
-from within function \"<tt>$2</tt>\".
-MySQL returned error \"<tt>$3: $4</tt>\".",
 "dberrortextcl" => "A database query syntax error has occurred.
 The last attempted database query was:
 \"$1\"
@@ -480,9 +489,7 @@ Please check the URL you used to access this page.\n",
 # Search results
 #
 "searchresults" => "Search results",
-"searchhelppage" => "$wgMetaNamespace:Searching",
-"searchingwikipedia" => "Searching $wgSitename",
-"searchresulttext" => "For more information about searching $wgSitename, see $1.",
+"searchresulttext" => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
 "searchquery"  => "For query \"$1\"",
 "badquery"             => "Badly formed search query",
 "badquerytext" => "We could not process your query.
@@ -619,37 +626,6 @@ from server time (UTC).",
 to upload files.",
 "uploadfile"   => "Upload images, sounds, documents etc.",
 "uploaderror"  => "Upload error",
-"uploadtext"   => "<strong>STOP!</strong> Before you upload here,
-make sure to read and follow the <a href=\"" .
-wfLocalUrlE( "$wgMetaNamespace:Image_use_policy" ) . "\">image use policy</a>.
-<p>If a file with the name you are specifying already
-exists on the wiki, it'll be replaced without warning.
-So unless you mean to update a file, it's a good idea
-to first check if such a file exists.
-<p>To view or search previously uploaded images,
-go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
-"\">list of uploaded images</a>.
-Uploads and deletions are logged on the <a href=\"" .
-wfLocalUrlE( "$wgMetaNamespace:Upload_log" ) . "\">upload log</a>.
-<p>Use the form below to upload new image files for use in
-illustrating your articles.
-On most browsers, you will see a \"Browse...\" button, which will
-bring up your operating system's standard file open dialog.
-Choosing a file will fill the name of that file into the text
-field next to the button.
-You must also check the box affirming that you are not
-violating any copyrights by uploading the file.
-Press the \"Upload\" button to finish the upload.
-This may take some time if you have a slow internet connection.
-<p>The preferred formats are JPEG for photographic images, PNG
-for drawings and other iconic images, and OGG for sounds.
-Please name your files descriptively to avoid confusion.
-To include the image in an article, use a link in the form
-<b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
-or <b>[[media:file.ogg]]</b> for sounds.
-<p>Please note that as with wiki pages, others may edit or
-delete your uploads if they think it serves the encyclopedia, and
-you may be blocked from uploading if you abuse the system.",
 
 "uploadlog"            => "upload log",
 "uploadlogpage" => "Upload_log",
@@ -701,6 +677,7 @@ created and by whom, and anything else you may know about it.",
 "imghistory"   => "Image history",
 "revertimg"            => "rev",
 "deleteimg"            => "del",
+"deleteimgcompletely"          => "del",
 "imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
 this old version, (rev) = revert to this old version.
 <br><i>Click on date to see image uploaded on that date</i>.",
@@ -1069,7 +1046,16 @@ amusement.",
 # Namespace 8 related
 
 "allmessages"  => "All_messages",
-"allmessagestext"      => "This is a list of all messages available in the MediaWiki: namespace"
+"allmessagestext"      => "This is a list of all messages available in the MediaWiki: namespace",
+
+# Math options
+'mw_math_png' => 'Always render PNG',
+'mw_math_simple' => 'HTML if very simple or else PNG',
+'mw_math_html' => 'HTML if possible or else PNG',
+'mw_math_source' => 'Leave it as TeX (for text browsers)',
+'mw_math_modern' => 'Recommended for modern browsers',
+'mw_math_mathml' => 'MathML if possible (experimental)',
+
 );
 
 #--------------------------------------------------------------------------
@@ -1109,39 +1095,11 @@ class LanguageTh extends LanguageUtf8 {
                return $wgSkinNamesTh;
        }
 
-       function getMathNames() {
-               global $wgMathNamesTh;
-               return $wgMathNamesTh;
-       }
-
        function getDateFormats() {
                global $wgDateFormatsTh;
                return $wgDateFormatsTh;
        }
 
-       function getUserToggles() {
-               global $wgUserTogglesTh;
-               return $wgUserTogglesTh;
-       }
-
-       function getMonthName( $key )
-       {
-               global $wgMonthNamesTh;
-               return $wgMonthNamesTh[$key-1];
-       }
-
-       function getMonthAbbreviation( $key )
-       {
-               global $wgMonthAbbreviationsTh;
-               return $wgMonthAbbreviationsTh[$key-1];
-       }
-
-       function getWeekdayName( $key )
-       {
-               global $wgWeekdayNamesTh;
-               return $wgWeekdayNamesTh[$key-1];
-       }
-
        function getValidSpecialPages()
        {
                global $wgValidSpecialPagesTh;