bug fixes from REL1_3
[lhc/web/wiklou.git] / languages / LanguageKo.php
index 9635dcb..25c7d84 100644 (file)
@@ -51,19 +51,6 @@ require_once( "LanguageUtf8.php" );
  "myskin" => "MySkin" 
 );
 
-/* private */ $wgUserTogglesKo = array(
-       "hover"         => "위키고리 풍선상자로 보이기",
-       "underline" => "고리에 밑줄치기",
-       "highlightbroken" => "없는 문서로의 고리 돋보이기",
-       "justify"       => "문단 정렬",
-       "hideminor" => "사소한 편집 최근 바뀜에서 숨기기",
-       "numberheadings" => "머릿글 번호 매기기",
-       "showtoolbar" => "Show edit toolbar",
-       "rememberpassword" => "세션동안 암호 기억",
-       "editwidth" => "편집상자 너비 최대",
-       "editondblclick" => "Edit pages on double click (JavaScript)",
-       "watchdefault" => "Watch new and modified articles"
-);
 
 /* private */ $wgBookstoreListKo = array(
        "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
@@ -73,10 +60,6 @@ require_once( "LanguageUtf8.php" );
        "Aladdin.co.kr" => "http://www.aladdin.co.kr/catalog/book.asp?ISBN=$1"
 );
 
-/* private */ $wgWeekdayNamesKo = array(
-       "일요일", "월요일", "화요일", "수요일", "목요일",
-       "금요일", "토요일"
-);
 
 
 # (Okay, I think I got it right now. This can be adjusted
@@ -93,16 +76,6 @@ require_once( "LanguageUtf8.php" );
        "金", "土"
 );
 
-/* private */ $wgMonthNamesKo = array(
-       "1월", "2월", "3월", "4월", "5월", "6월",
-       "7월", "8월", "9월", "10월", "11월",
-       "12월"
-);
-
-/* private */ $wgMonthAbbreviationsKo = array(
-       "1", "2", "3", "4", "5", "6", "7", "8",
-        "9", "10", "11",       "12"
-);
 
 # All special pages have to be listed here: a description of ""
 # will make them not show up on the "Special Pages" page, which
@@ -163,7 +136,55 @@ require_once( "LanguageUtf8.php" );
 );
 
 /* private */ $wgAllMessagesKo = array(
-
+'special_version_prefix' => '',
+'special_version_postfix' => '',
+
+# User Toggles
+
+"tog-hover"            => "위키고리 풍선상자로 보이기",
+"tog-underline" => "고리에 밑줄치기",
+"tog-highlightbroken" => "없는 문서로의 고리 돋보이기",
+"tog-justify"  => "문단 정렬",
+"tog-hideminor" => "사소한 편집 최근 바뀜에서 숨기기",
+"tog-numberheadings" => "머릿글 번호 매기기",
+"tog-showtoolbar" => "Show edit toolbar",
+"tog-rememberpassword" => "세션동안 암호 기억",
+"tog-editwidth" => "편집상자 너비 최대",
+"tog-editondblclick" => "Edit pages on double click (JavaScript)",
+"tog-watchdefault" => "Watch new and modified articles",
+# Dates
+
+'sunday' => "일요일",
+'monday' => "월요일",
+'tuesday' => "화요일",
+'wednesday' => "수요일",
+'thursday' => "목요일",
+'friday' => "금요일",
+'saturday' => "토요일",
+'january' => "1월",
+'february' => "2월",
+'march' => "3월",
+'april' => "4월",
+'may_long' => "5월",
+'june' => "6월",
+'july' => "7월",
+'august' => "8월",
+'september' => "9월",
+'october' => "10월",
+'november' => "11월",
+'december' => "12월",
+'jan' => "1",
+'feb' => "2",
+'mar' => "3",
+'apr' => "4",
+'may' => "5",
+'jun' => "6",
+'jul' => "7",
+'aug' => "8",
+'sep' => "9",
+'oct' => "10",
+'nov' => "11",
+'dec' => "12",
 # Bits of text used by many pages:
 #
 "mainpage"             => "대문",
@@ -598,6 +619,7 @@ $1의 조건으로 사용을 허가했음을 확인합니다.",
 "imghistory"   => "그림역사",
 "revertimg"            => "돌림",
 "deleteimg"            => "지우기",
+"deleteimgcompletely"          => "지우기",
 "imghistlegend" => "상세설명: (현재) = 현재의 그림입니다, (지움) = 옛 버젼을 지웁니다, (돌림) = 옛 버젼으로 되돌려 놓습니다.
 <br><i>특정 날짜에 올라온 그림을 보려면, 날짜를 찍어 주세요</i>.",
 "imagelinks"   => "그림고리",
@@ -912,29 +934,6 @@ class LanguageKo extends LanguageUtf8 {
                return $wgSkinNamesKo;
        }
 
-       function getUserToggles() {
-               global $wgUserTogglesKo;
-               return $wgUserTogglesKo;
-       }
-
-       function getMonthName( $key )
-       {
-               global $wgMonthNamesKo;
-               return $wgMonthNamesKo[$key-1];
-       }
-
-       function getMonthAbbreviation( $key )
-       {
-               global $wgMonthAbbreviationsKo;
-               return $wgMonthAbbreviationsKo[$key-1];
-       }
-
-       function getWeekdayName( $key )
-       {
-               global $wgWeekdayNamesKo;
-               return $wgWeekdayNamesKo[$key-1];
-       }
-
        # Inherit default userAdjust()
  
        function date( $ts, $adj = false )
@@ -942,13 +941,13 @@ class LanguageKo extends LanguageUtf8 {
                global $wgWeekdayAbbreviationsKo;
                if ( $adj ) { $ts = $this->userAdjust( $ts ); }
 
-        # This is horribly inefficient; I need to rework this
-        $x = getdate(mktime(( (int)substr( $ts, 8, 2) ) + $diff,
-                 (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
-                 (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
-          (int)substr( $ts, 0, 4 )));
-        
-        $d = substr( $ts, 0, 4 ) . "년 " .
+               # This is horribly inefficient; I need to rework this
+               $x = getdate(mktime(( (int)substr( $ts, 8, 2) ) + $diff,
+                       (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
+                       (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
+                       (int)substr( $ts, 0, 4 )));
+       
+               $d = substr( $ts, 0, 4 ) . "년 " .
                  $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . "월 " .
                  (0 + substr( $ts, 6, 2 )) . "일 " .
                  "(" . $wgWeekdayAbbreviationsKo[$x["wday"]] . ")";