Index: trunk/phase3/languages/messages/MessagesKk_tr.php |
— | — | @@ -88,8 +88,6 @@ |
89 | 89 | 'standard' => 'Dağdılı', |
90 | 90 | 'nostalgia' => 'Añsaw', |
91 | 91 | 'cologneblue' => 'Köln zeñgirligi', |
92 | | - 'davinci' => 'Da Vïnçï', |
93 | | - 'mono' => 'Dara', |
94 | 92 | 'monobook' => 'Dara kitap', |
95 | 93 | 'myskin' => 'Öz mänerim', |
96 | 94 | 'chick' => 'Balapan', |
— | — | @@ -1102,7 +1100,7 @@ |
1103 | 1101 | 'resultsperpage' => 'Bet saýın nätïje sanı:', |
1104 | 1102 | 'contextlines' => 'Nätïje saýın jol sanı:', |
1105 | 1103 | 'contextchars' => 'Jol saýın ärip sanı:', |
1106 | | -'stubthreshold' => 'Biteme körstetwin anıqtaw tabaldırığı:', |
| 1104 | +'stub-threshold' => '<span class="mw-stub-example">Biteme siltemesin</span> pişimdew tabaldırığı:', |
1107 | 1105 | 'recentchangesdays' => 'Jüıqtağı özgeristerdegi körsetiletin künder:', |
1108 | 1106 | 'recentchangescount' => 'Jwıqtağı özgeristerdegi körsetiletin tüzetwler:', |
1109 | 1107 | 'savedprefs' => 'Baptawlarıñız saqtaldı.', |
— | — | @@ -2054,47 +2052,64 @@ |
2055 | 2053 | 'monobook.css' => '/* Mındağı CSS ämirleri «Dara kitap» bezendirw mänerin paýdalanwşılarğa äser etedi */', |
2056 | 2054 | |
2057 | 2055 | # Scripts |
2058 | | -'common.js' => '/* Mındağı JavaScript ämirleri ärqaýsı bet qaralğanda barlıq paýdalanwşılarğa jükteledi. */ |
2059 | | - |
| 2056 | +'common.js' => '/* Мындағы JavaScript әмірлері әрқайсы бет қаралғанда барлық пайдаланушыларға жүктеледі. */ |
2060 | 2057 | /* Workaround for language variants */ |
| 2058 | +var languagevariant; |
| 2059 | +var direction; |
| 2060 | +switch(wgUserLanguage){ |
| 2061 | + case "kk": |
| 2062 | + languagevariant = "kk"; |
| 2063 | + direction = "ltr"; |
| 2064 | + break; |
| 2065 | + case "kk-kz": |
| 2066 | + languagevariant = "kk-Cyrl"; |
| 2067 | + direction = "ltr"; |
| 2068 | + break; |
| 2069 | + case "kk-kz": |
| 2070 | + languagevariant = "kk-Latn"; |
| 2071 | + direction = "ltr"; |
| 2072 | + break; |
| 2073 | + case "kk-cn": |
| 2074 | + // workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
| 2075 | + languagevariant = "kk-Arab"; |
| 2076 | + direction = "rtl"; |
2061 | 2077 | |
2062 | | -var htmlE=document.documentElement; |
2063 | | -if (wgUserLanguage == "kk"){ variant = "kk"; } |
2064 | | -if (wgUserLanguage == "kk-kz"){ variant = "kk-Cyrl"; } |
2065 | | -if (wgUserLanguage == "kk-tr"){ variant = "kk-Latn"; } |
2066 | | -if (wgUserLanguage == "kk-cn"){ |
2067 | | - // workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
2068 | | - document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
2069 | | - document.write(\'<style type="text/css">html {direction:rtl;} body {direction:rtl; unicode-bidi:embed; font-size: 75%; letter-spacing: 0.001em;} h1.firstHeading {background-position: bottom right; background-repeat: no-repeat;} h3 {font-size:110%;} h4 {font-size:100%;} h5 {font-size:90%;} .editsection {float: left !important;}</style>\'); |
2070 | | - if (skin == "monobook"){ |
2071 | | - document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
2072 | | - document.write(\'<style type="text/css">html > body div#content ol {clear: left;} ol {margin-left:2.4em; margin-right:2.4em;} ul {margin-left:1.5em; margin-right:1.5em;} h3 {font-size:110%;} h4 {font-size:100%;} h5 {font-size:90%;} .editsection {margin-right:5px; margin-left: 0;} #column-one {padding-top:0; margin-top:0;} #p-navigation {padding-top:0; margin-top:160px;} #catlinks {width:100%;} #userloginForm {float: right !important;}</style>\'); |
| 2078 | + document.getElementsByTagName("body").className = "rtl"; |
| 2079 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
| 2080 | + document.write(\'<style type="text/css">div#shared-image-desc {direction: ltr;} input#wpUploadFile, input#wpDestFile, input#wpLicense {float: right;} .editsection {float: left !important;} .infobox {float: left !important; clear:left; } div.floatleft, table.floatleft {float:right !important; margin-left:0.5em !important; margin-right:0 !important; } div.floatright, table.floatright {clear:left; float:left !important; margin-left:0 !important; margin-right:0.5em !important;}</style>\'); |
2073 | 2081 | |
2074 | | - } |
2075 | | - |
2076 | | - document.direction="rtl"; |
2077 | | - variant = "kk-Arab"; |
2078 | | - htmlE.setAttribute("dir","rtl"); |
| 2082 | + if (skin == "monobook"){ |
| 2083 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/quickbar-right.css">\'); |
| 2084 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
| 2085 | + document.write(\'<style type="text/css">body{font-size: 75%; letter-spacing: 0.001em;} h3{font-size:110%;} h4 {font-size:100%;} h5{font-size:90%;} html > body div#content ol{clear: left;} ol{margin-left:2.4em; margin-right:2.4em;} ul{margin-left:1.5em; margin-right:1.5em;} .editsection{margin-right:5px; margin-left:0;} #column-one{padding-top:0; margin-top:0;} #p-navigation{padding-top:0; margin-top:160px;} #catlinks{width:100%;} #userloginForm{float: right !important;} .pBody{-moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0em !important;} .portlet h5{clear:right;}</style>\'); |
| 2086 | + } |
| 2087 | + break; |
| 2088 | + default: |
| 2089 | + languagevariant = "kk"; |
| 2090 | + direction = "ltr"; |
2079 | 2091 | } |
2080 | 2092 | |
2081 | | -// Set user-defined "lang" attributes for the document element (from zh) |
2082 | | -htmlE.setAttribute("lang",variant); |
2083 | | -htmlE.setAttribute("xml:lang",variant); |
| 2093 | +// Set user language attributes for the whole document |
| 2094 | +var htmlE=document.documentElement; |
| 2095 | +htmlE.setAttribute("lang",languagevariant); |
| 2096 | +htmlE.setAttribute("xml:lang",languagevariant); |
| 2097 | +htmlE.setAttribute("dir",direction); |
2084 | 2098 | |
2085 | | -// Switch language variants of messages (from zh) |
2086 | | -function wgULS(kz,tr,cn){ |
2087 | | - // |
2088 | | - kk=kz||tr||cn; |
2089 | | - kz=kz; |
2090 | | - tr=tr; |
2091 | | - cn=cn; |
2092 | | - switch(wgUserLanguage){ |
2093 | | - case "kk": return kk; |
2094 | | - case "kk-kz": return kz; |
2095 | | - case "kk-tr": return tr; |
2096 | | - case "kk-cn": return cn; |
2097 | | - default: return ""; |
2098 | | - } |
| 2099 | +// Switch language variants of messages |
| 2100 | +function wgULS(kz,tr,cn,en){ |
| 2101 | + if (!en) { en = ""; } |
| 2102 | + |
| 2103 | + kk=kz||tr||cn; |
| 2104 | + kz=kz; |
| 2105 | + tr=tr; |
| 2106 | + cn=cn; |
| 2107 | + switch(wgUserLanguage){ |
| 2108 | + case "kk": return kk; |
| 2109 | + case "kk-kz": return kz; |
| 2110 | + case "kk-tr": return tr; |
| 2111 | + case "kk-cn": return cn; |
| 2112 | + default: return en; |
| 2113 | + } |
2099 | 2114 | }', |
2100 | 2115 | 'monobook.js' => '/* Bosteki boldı; ornına mınanı [[MediaWiki:common.js]] paýdalañız */', |
2101 | 2116 | |
— | — | @@ -2611,6 +2626,11 @@ |
2612 | 2627 | 'livepreview-failed' => "Twra qarap şığw amalı bolmadı!\nKädimgi qarap şığw ädisin baýqap köriñiz.", |
2613 | 2628 | 'livepreview-error' => "Mınağan qosılw amalı bolmadı: $1 «$2»\nKädimgi qarap şığw ädisin baýqap köriñiz.", |
2614 | 2629 | |
| 2630 | +# Friendlier slave lag warnings |
| 2631 | +'lag-warn-normal' => '$1 sekwndtan jañalaw özgerister bul tizimde körsetilmewi mümkin.', |
| 2632 | +'lag-warn-high' => 'Derekqor serveri zor keşigwi sebebinen, $1 sekwndtan jañalaw özgerister |
| 2633 | +bul tizimde körsetilmewi mümkin.', |
| 2634 | + |
2615 | 2635 | ); |
2616 | 2636 | |
2617 | 2637 | ?> |
Index: trunk/phase3/languages/messages/MessagesKk_cn.php |
— | — | @@ -95,8 +95,6 @@ |
96 | 96 | 'standard' => 'داعدىلى', |
97 | 97 | 'nostalgia' => 'اڭساۋ', |
98 | 98 | 'cologneblue' => 'كٶلن زەڭگٸرلٸگٸ', |
99 | | - 'davinci' => 'دا ۆينچي', |
100 | | - 'mono' => 'دارا', |
101 | 99 | 'monobook' => 'دارا كٸتاپ', |
102 | 100 | 'myskin' => 'ٶز مٵنەرٸم', |
103 | 101 | 'chick' => 'بالاپان', |
— | — | @@ -1109,7 +1107,7 @@ |
1110 | 1108 | 'resultsperpage' => 'بەت سايىن نٵتيجە سانى:', |
1111 | 1109 | 'contextlines' => 'نٵتيجە سايىن جول سانى:', |
1112 | 1110 | 'contextchars' => 'جول سايىن ٵرٸپ سانى:', |
1113 | | -'stubthreshold' => 'بٸتەمە كٶرستەتۋٸن انىقتاۋ تابالدىرىعى:', |
| 1111 | +'stub-threshold' => '<span class="mw-stub-example">بٸتەمە سٸلتەمەسٸن</span> پٸشٸمدەۋ تابالدىرىعى:', |
1114 | 1112 | 'recentchangesdays' => 'جٷىقتاعى ٶزگەرٸستەردەگٸ كٶرسەتٸلەتٸن كٷندەر:', |
1115 | 1113 | 'recentchangescount' => 'جۋىقتاعى ٶزگەرٸستەردەگٸ كٶرسەتٸلەتٸن تٷزەتۋلەر:', |
1116 | 1114 | 'savedprefs' => 'باپتاۋلارىڭىز ساقتالدى.', |
— | — | @@ -2061,47 +2059,64 @@ |
2062 | 2060 | 'monobook.css' => '/* مىنداعى CSS ٵمٸرلەرٸ «دارا كٸتاپ» بەزەندٸرۋ مٵنەرٸن پايدالانۋشىلارعا ٵسەر ەتەدٸ */', |
2063 | 2061 | |
2064 | 2062 | # Scripts |
2065 | | -'common.js' => '/* مىنداعى JavaScript ٵمٸرلەرٸ ٵرقايسى بەت قارالعاندا بارلىق پايدالانۋشىلارعا جٷكتەلەدٸ. */ |
2066 | | - |
| 2063 | +'common.js' => '/* Мындағы JavaScript әмірлері әрқайсы бет қаралғанда барлық пайдаланушыларға жүктеледі. */ |
2067 | 2064 | /* Workaround for language variants */ |
| 2065 | +var languagevariant; |
| 2066 | +var direction; |
| 2067 | +switch(wgUserLanguage){ |
| 2068 | + case "kk": |
| 2069 | + languagevariant = "kk"; |
| 2070 | + direction = "ltr"; |
| 2071 | + break; |
| 2072 | + case "kk-kz": |
| 2073 | + languagevariant = "kk-Cyrl"; |
| 2074 | + direction = "ltr"; |
| 2075 | + break; |
| 2076 | + case "kk-kz": |
| 2077 | + languagevariant = "kk-Latn"; |
| 2078 | + direction = "ltr"; |
| 2079 | + break; |
| 2080 | + case "kk-cn": |
| 2081 | + // workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
| 2082 | + languagevariant = "kk-Arab"; |
| 2083 | + direction = "rtl"; |
2068 | 2084 | |
2069 | | -var htmlE=document.documentElement; |
2070 | | -if (wgUserLanguage == "kk"){ variant = "kk"; } |
2071 | | -if (wgUserLanguage == "kk-kz"){ variant = "kk-Cyrl"; } |
2072 | | -if (wgUserLanguage == "kk-tr"){ variant = "kk-Latn"; } |
2073 | | -if (wgUserLanguage == "kk-cn"){ |
2074 | | - // workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
2075 | | - document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
2076 | | - document.write(\'<style type="text/css">html {direction:rtl;} body {direction:rtl; unicode-bidi:embed; font-size: 75٪; letter-spacing: 0.001em;} h1.firstHeading {background-position: bottom right; background-repeat: no-repeat;} h3 {font-size:110٪;} h4 {font-size:100٪;} h5 {font-size:90٪;} .editsection {float: left !important;}</style>\'); |
2077 | | - if (skin == "monobook"){ |
2078 | | - document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
2079 | | - document.write(\'<style type="text/css">html > body div#content ol {clear: left;} ol {margin-left:2.4em; margin-right:2.4em;} ul {margin-left:1.5em; margin-right:1.5em;} h3 {font-size:110٪;} h4 {font-size:100٪;} h5 {font-size:90٪;} .editsection {margin-right:5px; margin-left: 0;} #column-one {padding-top:0; margin-top:0;} #p-navigation {padding-top:0; margin-top:160px;} #catlinks {width:100٪;} #userloginForm {float: right !important;}</style>\'); |
| 2085 | + document.getElementsByTagName("body").className = "rtl"; |
| 2086 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
| 2087 | + document.write(\'<style type="text/css">div#shared-image-desc {direction: ltr;} input#wpUploadFile, input#wpDestFile, input#wpLicense {float: right;} .editsection {float: left !important;} .infobox {float: left !important; clear:left; } div.floatleft, table.floatleft {float:right !important; margin-left:0.5em !important; margin-right:0 !important; } div.floatright, table.floatright {clear:left; float:left !important; margin-left:0 !important; margin-right:0.5em !important;}</style>\'); |
2080 | 2088 | |
2081 | | - } |
2082 | | - |
2083 | | - document.direction="rtl"; |
2084 | | - variant = "kk-Arab"; |
2085 | | - htmlE.setAttribute("dir","rtl"); |
| 2089 | + if (skin == "monobook"){ |
| 2090 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/quickbar-right.css">\'); |
| 2091 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
| 2092 | + document.write(\'<style type="text/css">body{font-size: 75%; letter-spacing: 0.001em;} h3{font-size:110%;} h4 {font-size:100%;} h5{font-size:90%;} html > body div#content ol{clear: left;} ol{margin-left:2.4em; margin-right:2.4em;} ul{margin-left:1.5em; margin-right:1.5em;} .editsection{margin-right:5px; margin-left:0;} #column-one{padding-top:0; margin-top:0;} #p-navigation{padding-top:0; margin-top:160px;} #catlinks{width:100%;} #userloginForm{float: right !important;} .pBody{-moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0em !important;} .portlet h5{clear:right;}</style>\'); |
| 2093 | + } |
| 2094 | + break; |
| 2095 | + default: |
| 2096 | + languagevariant = "kk"; |
| 2097 | + direction = "ltr"; |
2086 | 2098 | } |
2087 | 2099 | |
2088 | | -// Set user-defined "lang" attributes for the document element (from zh) |
2089 | | -htmlE.setAttribute("lang",variant); |
2090 | | -htmlE.setAttribute("xml:lang",variant); |
| 2100 | +// Set user language attributes for the whole document |
| 2101 | +var htmlE=document.documentElement; |
| 2102 | +htmlE.setAttribute("lang",languagevariant); |
| 2103 | +htmlE.setAttribute("xml:lang",languagevariant); |
| 2104 | +htmlE.setAttribute("dir",direction); |
2091 | 2105 | |
2092 | | -// Switch language variants of messages (from zh) |
2093 | | -function wgULS(kz,tr,cn){ |
2094 | | - // |
2095 | | - kk=kz||tr||cn; |
2096 | | - kz=kz; |
2097 | | - tr=tr; |
2098 | | - cn=cn; |
2099 | | - switch(wgUserLanguage){ |
2100 | | - case "kk": return kk; |
2101 | | - case "kk-kz": return kz; |
2102 | | - case "kk-tr": return tr; |
2103 | | - case "kk-cn": return cn; |
2104 | | - default: return ""; |
2105 | | - } |
| 2106 | +// Switch language variants of messages |
| 2107 | +function wgULS(kz,tr,cn,en){ |
| 2108 | + if (!en) { en = ""; } |
| 2109 | + |
| 2110 | + kk=kz||tr||cn; |
| 2111 | + kz=kz; |
| 2112 | + tr=tr; |
| 2113 | + cn=cn; |
| 2114 | + switch(wgUserLanguage){ |
| 2115 | + case "kk": return kk; |
| 2116 | + case "kk-kz": return kz; |
| 2117 | + case "kk-tr": return tr; |
| 2118 | + case "kk-cn": return cn; |
| 2119 | + default: return en; |
| 2120 | + } |
2106 | 2121 | }', |
2107 | 2122 | 'monobook.js' => '/* بوستەكٸ بولدى; ورنىنا مىنانى [[MediaWiki:common.js]] پايدالاڭىز */', |
2108 | 2123 | |
— | — | @@ -2339,6 +2354,7 @@ |
2340 | 2355 | 'exif-compression-6' => 'JPEG', |
2341 | 2356 | |
2342 | 2357 | 'exif-unknowndate' => 'بەلگٸسٸز كٷن-ايى', |
| 2358 | + |
2343 | 2359 | 'exif-photometricinterpretation-2' => 'RGB', |
2344 | 2360 | 'exif-photometricinterpretation-6' => 'YCbCr', |
2345 | 2361 | |
— | — | @@ -2617,6 +2633,11 @@ |
2618 | 2634 | 'livepreview-failed' => "تۋرا قاراپ شىعۋ امالى بولمادى!\nكٵدٸمگٸ قاراپ شىعۋ ٵدٸسٸن بايقاپ كٶرٸڭٸز.", |
2619 | 2635 | 'livepreview-error' => "مىناعان قوسىلۋ امالى بولمادى: $1 «$2»\nكٵدٸمگٸ قاراپ شىعۋ ٵدٸسٸن بايقاپ كٶرٸڭٸز.", |
2620 | 2636 | |
| 2637 | +# Friendlier slave lag warnings |
| 2638 | +'lag-warn-normal' => '$1 سەكۋندتان جاڭالاۋ ٶزگەرٸستەر بۇل تٸزٸمدە كٶرسەتٸلمەۋٸ مٷمكٸن.', |
| 2639 | +'lag-warn-high' => 'دەرەكقور سەرۆەرٸ زور كەشٸگۋٸ سەبەبٸنەن, $1 سەكۋندتان جاڭالاۋ ٶزگەرٸستەر |
| 2640 | +بۇل تٸزٸمدە كٶرسەتٸلمەۋٸ مٷمكٸن.', |
| 2641 | + |
2621 | 2642 | ); |
2622 | 2643 | |
2623 | 2644 | ?> |
Index: trunk/phase3/languages/messages/MessagesKk_kz.php |
— | — | @@ -87,8 +87,6 @@ |
88 | 88 | 'standard' => 'Дағдылы', |
89 | 89 | 'nostalgia' => 'Аңсау', |
90 | 90 | 'cologneblue' => 'Көлн зеңгірлігі', |
91 | | - 'davinci' => 'Да Винчи', |
92 | | - 'mono' => 'Дара', |
93 | 91 | 'monobook' => 'Дара кітап', |
94 | 92 | 'myskin' => 'Өз мәнерім', |
95 | 93 | 'chick' => 'Балапан', |
— | — | @@ -1101,7 +1099,7 @@ |
1102 | 1100 | 'resultsperpage' => 'Бет сайын нәтиже саны:', |
1103 | 1101 | 'contextlines' => 'Нәтиже сайын жол саны:', |
1104 | 1102 | 'contextchars' => 'Жол сайын әріп саны:', |
1105 | | -'stubthreshold' => 'Бітеме көрстетуін анықтау табалдырығы:', |
| 1103 | +'stub-threshold' => '<span class="mw-stub-example">Бітеме сілтемесін</span> пішімдеу табалдырығы:', |
1106 | 1104 | 'recentchangesdays' => 'Жүықтағы өзгерістердегі көрсетілетін күндер:', |
1107 | 1105 | 'recentchangescount' => 'Жуықтағы өзгерістердегі көрсетілетін түзетулер:', |
1108 | 1106 | 'savedprefs' => 'Баптауларыңыз сақталды.', |
— | — | @@ -2054,35 +2052,52 @@ |
2055 | 2053 | |
2056 | 2054 | # Scripts |
2057 | 2055 | 'common.js' => '/* Мындағы JavaScript әмірлері әрқайсы бет қаралғанда барлық пайдаланушыларға жүктеледі. */ |
2058 | | - |
2059 | 2056 | /* Workaround for language variants */ |
| 2057 | +var languagevariant; |
| 2058 | +var direction; |
| 2059 | +switch(wgUserLanguage){ |
| 2060 | + case "kk": |
| 2061 | + languagevariant = "kk"; |
| 2062 | + direction = "ltr"; |
| 2063 | + break; |
| 2064 | + case "kk-kz": |
| 2065 | + languagevariant = "kk-Cyrl"; |
| 2066 | + direction = "ltr"; |
| 2067 | + break; |
| 2068 | + case "kk-kz": |
| 2069 | + languagevariant = "kk-Latn"; |
| 2070 | + direction = "ltr"; |
| 2071 | + break; |
| 2072 | + case "kk-cn": |
| 2073 | + // workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
| 2074 | + languagevariant = "kk-Arab"; |
| 2075 | + direction = "rtl"; |
2060 | 2076 | |
2061 | | -var htmlE=document.documentElement; |
2062 | | -if (wgUserLanguage == "kk"){ variant = "kk"; } |
2063 | | -if (wgUserLanguage == "kk-kz"){ variant = "kk-Cyrl"; } |
2064 | | -if (wgUserLanguage == "kk-tr"){ variant = "kk-Latn"; } |
2065 | | -if (wgUserLanguage == "kk-cn"){ |
2066 | | - // workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
2067 | | - document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
2068 | | - document.write(\'<style type="text/css">html {direction:rtl;} body {direction:rtl; unicode-bidi:embed; font-size: 75%; letter-spacing: 0.001em;} h1.firstHeading {background-position: bottom right; background-repeat: no-repeat;} h3 {font-size:110%;} h4 {font-size:100%;} h5 {font-size:90%;} .editsection {float: left !important;}</style>\'); |
2069 | | - if (skin == "monobook"){ |
2070 | | - document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
2071 | | - document.write(\'<style type="text/css">html > body div#content ol {clear: left;} ol {margin-left:2.4em; margin-right:2.4em;} ul {margin-left:1.5em; margin-right:1.5em;} h3 {font-size:110%;} h4 {font-size:100%;} h5 {font-size:90%;} .editsection {margin-right:5px; margin-left: 0;} #column-one {padding-top:0; margin-top:0;} #p-navigation {padding-top:0; margin-top:160px;} #catlinks {width:100%;} #userloginForm {float: right !important;}</style>\'); |
| 2077 | + document.getElementsByTagName("body").className = "rtl"; |
| 2078 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
| 2079 | + document.write(\'<style type="text/css">div#shared-image-desc {direction: ltr;} input#wpUploadFile, input#wpDestFile, input#wpLicense {float: right;} .editsection {float: left !important;} .infobox {float: left !important; clear:left; } div.floatleft, table.floatleft {float:right !important; margin-left:0.5em !important; margin-right:0 !important; } div.floatright, table.floatright {clear:left; float:left !important; margin-left:0 !important; margin-right:0.5em !important;}</style>\'); |
2072 | 2080 | |
2073 | | - } |
2074 | | - |
2075 | | - document.direction="rtl"; |
2076 | | - variant = "kk-Arab"; |
2077 | | - htmlE.setAttribute("dir","rtl"); |
| 2081 | + if (skin == "monobook"){ |
| 2082 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/quickbar-right.css">\'); |
| 2083 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
| 2084 | + document.write(\'<style type="text/css">body{font-size: 75%; letter-spacing: 0.001em;} h3{font-size:110%;} h4 {font-size:100%;} h5{font-size:90%;} html > body div#content ol{clear: left;} ol{margin-left:2.4em; margin-right:2.4em;} ul{margin-left:1.5em; margin-right:1.5em;} .editsection{margin-right:5px; margin-left:0;} #column-one{padding-top:0; margin-top:0;} #p-navigation{padding-top:0; margin-top:160px;} #catlinks{width:100%;} #userloginForm{float: right !important;} .pBody{-moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0em !important;} .portlet h5{clear:right;}</style>\'); |
| 2085 | + } |
| 2086 | + break; |
| 2087 | + default: |
| 2088 | + languagevariant = "kk"; |
| 2089 | + direction = "ltr"; |
2078 | 2090 | } |
2079 | 2091 | |
2080 | | -// Set user-defined "lang" attributes for the document element (from zh) |
2081 | | -htmlE.setAttribute("lang",variant); |
2082 | | -htmlE.setAttribute("xml:lang",variant); |
| 2092 | +// Set user language attributes for the whole document |
| 2093 | +var htmlE=document.documentElement; |
| 2094 | +htmlE.setAttribute("lang",languagevariant); |
| 2095 | +htmlE.setAttribute("xml:lang",languagevariant); |
| 2096 | +htmlE.setAttribute("dir",direction); |
2083 | 2097 | |
2084 | | -// Switch language variants of messages (from zh) |
2085 | | -function wgULS(kz,tr,cn){ |
2086 | | - // |
| 2098 | +// Switch language variants of messages |
| 2099 | +function wgULS(kz,tr,cn,en){ |
| 2100 | + if (!en) { en = ""; } |
| 2101 | + |
2087 | 2102 | kk=kz||tr||cn; |
2088 | 2103 | kz=kz; |
2089 | 2104 | tr=tr; |
— | — | @@ -2092,7 +2107,7 @@ |
2093 | 2108 | case "kk-kz": return kz; |
2094 | 2109 | case "kk-tr": return tr; |
2095 | 2110 | case "kk-cn": return cn; |
2096 | | - default: return ""; |
| 2111 | + default: return en; |
2097 | 2112 | } |
2098 | 2113 | }', |
2099 | 2114 | 'monobook.js' => '/* Бостекі болды; орнына мынаны [[MediaWiki:common.js]] пайдалаңыз */', |
— | — | @@ -2610,6 +2625,11 @@ |
2611 | 2626 | 'livepreview-failed' => "Тура қарап шығу амалы болмады!\nКәдімгі қарап шығу әдісін байқап көріңіз.", |
2612 | 2627 | 'livepreview-error' => "Мынаған қосылу амалы болмады: $1 «$2»\nКәдімгі қарап шығу әдісін байқап көріңіз.", |
2613 | 2628 | |
| 2629 | +# Friendlier slave lag warnings |
| 2630 | +'lag-warn-normal' => '$1 секундтан жаңалау өзгерістер бұл тізімде көрсетілмеуі мүмкін.', |
| 2631 | +'lag-warn-high' => 'Дерекқор сервері зор кешігуі себебінен, $1 секундтан жаңалау өзгерістер |
| 2632 | +бұл тізімде көрсетілмеуі мүмкін.', |
| 2633 | + |
2614 | 2634 | ); |
2615 | 2635 | |
2616 | 2636 | ?> |