Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -170,6 +170,9 @@ |
171 | 171 | 'variantname-sr-jc', |
172 | 172 | 'variantname-sr-jl', |
173 | 173 | 'variantname-sr', |
| 174 | + 'variantname-kk-arab', |
| 175 | + 'variantname-kk-cyrl', |
| 176 | + 'variantname-kk-latn', |
174 | 177 | 'variantname-kk-tr', |
175 | 178 | 'variantname-kk-kz', |
176 | 179 | 'variantname-kk-cn', |
Index: trunk/phase3/languages/messages/MessagesKk_cyrl.php |
— | — | @@ -391,7 +391,7 @@ |
392 | 392 | 'tog-minordefault' => 'Әдепкіден барлық түзетулерді шағын деп белгіле', |
393 | 393 | 'tog-previewontop' => 'Қарап шығу аумағы өңдеу аумағы алдында', |
394 | 394 | 'tog-previewonfirst' => 'Бірінші өңдегенде қарап шығу', |
395 | | -'tog-nocache' => 'Бет қосалқы қалтасын өшір', |
| 395 | +'tog-nocache' => 'Бетті қосалқы қалтада сақтауды өшір', |
396 | 396 | 'tog-enotifwatchlistpages' => 'Бақыланған бет өзгергенде маған хат жібер', |
397 | 397 | 'tog-enotifusertalkpages' => 'Талқылауым өзгергенде маған хат жібер', |
398 | 398 | 'tog-enotifminoredits' => 'Шағын түзету туралы да маған хат жібер', |
— | — | @@ -698,7 +698,7 @@ |
699 | 699 | 'protectedpagetext' => 'Өңдеуді қақпайлау үшін бұл бет құлыпталынған.', |
700 | 700 | 'viewsourcetext' => 'Бұл беттің қайнарын қарауыңызға және көшіріп алуңызға болады:', |
701 | 701 | 'protectedinterface' => 'Бұл бет бағдарламаның тілдесу мәтінін жетістіреді, сондықтан қиянатты қақпайлау үшін өзгертуі құлыпталған.', |
702 | | -'editinginterface' => "'''Назар салыңыз:''' Бағдарламаға тілдесу мәтінін жетістіретін бетін өңдеп жатырсыз. Бұл беттің өзгертуі басқа қатысушыларға пайдаланушылық тілдесуі қалай көрінетіне әсер етеді.", |
| 702 | +'editinginterface' => "'''Назар салыңыз:''' Бағдарламаға тілдесу мәтінін жетістіретін бетін өңдеп жатырсыз. Бұл беттің өзгертуі басқа қатысушыларға пайдаланушылық тілдесуі қалай көрінетіне әсер етеді. Аудару үшін, MediaWiki бағдарламасын жерсіндіру [http://translatewiki.net/wiki/Translating:Intro Betawiki] жобасы пайдалануы жан-жағын қараңыз.", |
703 | 703 | 'sqlhidden' => '(SQL сұранымы жасырылған)', |
704 | 704 | 'cascadeprotected' => 'Бұл бет өңдеуден қорғалған, себебі келесі «баулы қорғауы» қосылған {{PLURAL:$1|бетке|беттерге}} кіріктірілген: |
705 | 705 | |
— | — | @@ -924,8 +924,8 @@ |
925 | 925 | ''Осы уикиде қам HTML қосылған, JavaScript шабуылдардан қорғану үшін алдын ала қарап шығу жасырылған.'' |
926 | 926 | |
927 | 927 | <strong>Егер бұл өңдеу адал талап болса, қайта байқап көріңіз. Егер бұл әлі істемесе, шығуды және қайта кіруді байқап көріңіз.</strong>", |
928 | | -'token_suffix_mismatch' => '<strong>Өңдеуіңіз қабылданбады, себебі қолданған бағдарламаңыз мәтіндегі |
929 | | -емле нышандарын кескілеп тастады. Бет мәтіні бүлінбеу үшін түзетуіңіз қабылданбайды. |
| 928 | +'token_suffix_mismatch' => '<strong>Түзетуіңіз тайдырылды, себебі тұтынғышыңыз өңдеу нышанында |
| 929 | +емле таңбаларын кескілеп тастады. Бет мәтіні бүлінбеу үшін түзетуіңіз тайдырылады. |
930 | 930 | Бұл ғаламторға негізделінген қате толған тіркелуі жоқ прокси-серверді пайдаланған болуы мүмкін.</strong>', |
931 | 931 | 'editing' => 'Өңделуде: $1', |
932 | 932 | 'editinguser' => 'Өңделуде: <b>$1</b> деген қатысушы', |
— | — | @@ -1193,7 +1193,7 @@ |
1194 | 1194 | 'files' => 'Файлдар', |
1195 | 1195 | |
1196 | 1196 | # User rights |
1197 | | -'userrights-lookup-user' => 'Қатысушы топтарын меңгеру', |
| 1197 | +'userrights-lookup-user' => 'Қатысушы топтарын реттеу', |
1198 | 1198 | 'userrights-user-editname' => 'Қатысушы атын енгізіңіз:', |
1199 | 1199 | 'editusergroup' => 'Қатысушы топтарын өңдеу', |
1200 | 1200 | 'userrights-editusergroup' => 'Қатысушы топтарын өңдеу', |
— | — | @@ -1540,7 +1540,7 @@ |
1541 | 1541 | |
1542 | 1542 | 'categoriespagetext' => 'Осында уикидегі барлық санаттарының тізімі беріліп тұр.', |
1543 | 1543 | 'data' => 'Деректер', |
1544 | | -'userrights' => 'Қатысушылар құқықтарын меңгеру', |
| 1544 | +'userrights' => 'Қатысушылар құқықтарын реттеу', |
1545 | 1545 | 'groups' => 'Қатысушы топтары', |
1546 | 1546 | 'alphaindexline' => '$1 — $2', |
1547 | 1547 | 'version' => 'Жүйе нұсқасы', |
— | — | @@ -1625,7 +1625,7 @@ |
1626 | 1626 | 'unwatch' => 'Бақыламау', |
1627 | 1627 | 'unwatchthispage' => 'Бақылауды тоқтату', |
1628 | 1628 | 'notanarticle' => 'Мағлұмат беті емес', |
1629 | | -'watchnochange' => 'Көрсетілген мерзімде ешбір бақыланған дана өңделген жоқ.', |
| 1629 | +'watchnochange' => 'Көрсетілген мерзімде еш бақыланған дана өңделген жоқ.', |
1630 | 1630 | 'watchlist-details' => 'Талқылау беттерін санамағанда {{PLURAL:$1|1|$1}} бет бақланған.', |
1631 | 1631 | 'wlheader-enotif' => '* Ескерту хат жіберуі қосылған.', |
1632 | 1632 | 'wlheader-showupdated' => "* Соңғы келіп-кетуіңізден бері өзгертілген беттерді '''жуан''' қаріпімен көрсет", |
— | — | @@ -2041,7 +2041,7 @@ |
2042 | 2042 | 'export-submit' => 'Сыртқа бер', |
2043 | 2043 | 'export-addcattext' => 'Мына санаттағы беттерді үстеу:', |
2044 | 2044 | 'export-addcat' => 'Үсте', |
2045 | | -'export-download' => 'Файл етіп сақтауды ұсыну', |
| 2045 | +'export-download' => 'Файл түрінде сақтау', |
2046 | 2046 | |
2047 | 2047 | # Namespace 8 related |
2048 | 2048 | 'allmessages' => 'Жүйе хабарлары', |
— | — | @@ -2160,7 +2160,7 @@ |
2161 | 2161 | # Metadata |
2162 | 2162 | 'nodublincore' => 'Бұл серверде «Dublin Core RDF» түрі қосымша деректері өшірілген.', |
2163 | 2163 | 'nocreativecommons' => 'Бұл серверде «Creative Commons RDF» түрі қосымша деректері өшірілген.', |
2164 | | -'notacceptable' => 'Осы уики сервер «пайдаланушы әрекеткішіңіз» оқи алатын пішімі бар деректерді жібере алмайды.', |
| 2164 | +'notacceptable' => 'Тұтынғышыңыз оқып алу үшін пішімделінген деректерді осы уики сервер жетістіре алмайды.', |
2165 | 2165 | |
2166 | 2166 | # Attribution |
2167 | 2167 | 'anonymous' => '{{SITENAME}} тіркелгісіз қатысушы(лары)', |
Index: trunk/phase3/languages/messages/MessagesKk_latn.php |
— | — | @@ -392,7 +392,7 @@ |
393 | 393 | 'tog-minordefault' => 'Ädepkiden barlıq tüzetwlerdi şağın dep belgile', |
394 | 394 | 'tog-previewontop' => 'Qarap şığw awmağı öñdew awmağı aldında', |
395 | 395 | 'tog-previewonfirst' => 'Birinşi öñdegende qarap şığw', |
396 | | -'tog-nocache' => 'Bet qosalqı qaltasın öşir', |
| 396 | +'tog-nocache' => 'Betti qosalqı qaltada saqtawdı öşir', |
397 | 397 | 'tog-enotifwatchlistpages' => 'Baqılanğan bet özgergende mağan xat jiber', |
398 | 398 | 'tog-enotifusertalkpages' => 'Talqılawım özgergende mağan xat jiber', |
399 | 399 | 'tog-enotifminoredits' => 'Şağın tüzetw twralı da mağan xat jiber', |
— | — | @@ -699,7 +699,7 @@ |
700 | 700 | 'protectedpagetext' => 'Öñdewdi qaqpaýlaw üşin bul bet qulıptalınğan.', |
701 | 701 | 'viewsourcetext' => 'Bul bettiñ qaýnarın qarawıñızğa jäne köşirip alwñızğa boladı:', |
702 | 702 | 'protectedinterface' => 'Bul bet bağdarlamanıñ tildesw mätinin jetistiredi, sondıqtan qïyanattı qaqpaýlaw üşin özgertwi qulıptalğan.', |
703 | | -'editinginterface' => "'''Nazar salıñız:''' Bağdarlamağa tildesw mätinin jetistiretin betin öñdep jatırsız. Bul bettiñ özgertwi basqa qatıswşılarğa paýdalanwşılıq tildeswi qalaý körinetine äser etedi.", |
| 703 | +'editinginterface' => "'''Nazar salıñız:''' Bağdarlamağa tildesw mätinin jetistiretin betin öñdep jatırsız. Bul bettiñ özgertwi basqa qatıswşılarğa paýdalanwşılıq tildeswi qalaý körinetine äser etedi. Awdarw üşin, MediaWiki bağdarlamasın jersindirw [http://translatewiki.net/wiki/Translating:Intro Betawiki] jobası paýdalanwı jan-jağın qarañız.", |
704 | 704 | 'sqlhidden' => '(SQL suranımı jasırılğan)', |
705 | 705 | 'cascadeprotected' => 'Bul bet öñdewden qorğalğan, sebebi kelesi «bawlı qorğawı» qosılğan {{PLURAL:$1|betke|betterge}} kiriktirilgen: |
706 | 706 | |
— | — | @@ -925,8 +925,8 @@ |
926 | 926 | ''Osı wïkïde qam HTML qosılğan, JavaScript şabwıldardan qorğanw üşin aldın ala qarap şığw jasırılğan.'' |
927 | 927 | |
928 | 928 | <strong>Eger bul öñdew adal talap bolsa, qaýta baýqap köriñiz. Eger bul äli istemese, şığwdı jäne qaýta kirwdi baýqap köriñiz.</strong>", |
929 | | -'token_suffix_mismatch' => '<strong>Öñdewiñiz qabıldanbadı, sebebi qoldanğan bağdarlamañız mätindegi |
930 | | -emle nışandarın keskilep tastadı. Bet mätini bülinbew üşin tüzetwiñiz qabıldanbaýdı. |
| 929 | +'token_suffix_mismatch' => '<strong>Tüzetwiñiz taýdırıldı, sebebi tutınğışıñız öñdew nışanında |
| 930 | +emle tañbaların keskilep tastadı. Bet mätini bülinbew üşin tüzetwiñiz taýdırıladı. |
931 | 931 | Bul ğalamtorğa negizdelingen qate tolğan tirkelwi joq proksï-serverdi paýdalanğan bolwı mümkin.</strong>', |
932 | 932 | 'editing' => 'Öñdelwde: $1', |
933 | 933 | 'editinguser' => 'Öñdelwde: <b>$1</b> degen qatıswşı', |
— | — | @@ -1194,7 +1194,7 @@ |
1195 | 1195 | 'files' => 'Faýldar', |
1196 | 1196 | |
1197 | 1197 | # User rights |
1198 | | -'userrights-lookup-user' => 'Qatıswşı toptarın meñgerw', |
| 1198 | +'userrights-lookup-user' => 'Qatıswşı toptarın rettew', |
1199 | 1199 | 'userrights-user-editname' => 'Qatıswşı atın engiziñiz:', |
1200 | 1200 | 'editusergroup' => 'Qatıswşı toptarın öñdew', |
1201 | 1201 | 'userrights-editusergroup' => 'Qatıswşı toptarın öñdew', |
— | — | @@ -1541,7 +1541,7 @@ |
1542 | 1542 | |
1543 | 1543 | 'categoriespagetext' => 'Osında wïkïdegi barlıq sanattarınıñ tizimi berilip tur.', |
1544 | 1544 | 'data' => 'Derekter', |
1545 | | -'userrights' => 'Qatıswşılar quqıqtarın meñgerw', |
| 1545 | +'userrights' => 'Qatıswşılar quqıqtarın rettew', |
1546 | 1546 | 'groups' => 'Qatıswşı toptarı', |
1547 | 1547 | 'alphaindexline' => '$1 — $2', |
1548 | 1548 | 'version' => 'Jüýe nusqası', |
— | — | @@ -1626,7 +1626,7 @@ |
1627 | 1627 | 'unwatch' => 'Baqılamaw', |
1628 | 1628 | 'unwatchthispage' => 'Baqılawdı toqtatw', |
1629 | 1629 | 'notanarticle' => 'Mağlumat beti emes', |
1630 | | -'watchnochange' => 'Körsetilgen merzimde eşbir baqılanğan dana öñdelgen joq.', |
| 1630 | +'watchnochange' => 'Körsetilgen merzimde eş baqılanğan dana öñdelgen joq.', |
1631 | 1631 | 'watchlist-details' => 'Talqılaw betterin sanamağanda {{PLURAL:$1|1|$1}} bet baqlanğan.', |
1632 | 1632 | 'wlheader-enotif' => '* Eskertw xat jiberwi qosılğan.', |
1633 | 1633 | 'wlheader-showupdated' => "* Soñğı kelip-ketwiñizden beri özgertilgen betterdi '''jwan''' qaripimen körset", |
— | — | @@ -2042,7 +2042,7 @@ |
2043 | 2043 | 'export-submit' => 'Sırtqa ber', |
2044 | 2044 | 'export-addcattext' => 'Mına sanattağı betterdi üstew:', |
2045 | 2045 | 'export-addcat' => 'Üste', |
2046 | | -'export-download' => 'Faýl etip saqtawdı usınw', |
| 2046 | +'export-download' => 'Faýl türinde saqtaw', |
2047 | 2047 | |
2048 | 2048 | # Namespace 8 related |
2049 | 2049 | 'allmessages' => 'Jüýe xabarları', |
— | — | @@ -2161,7 +2161,7 @@ |
2162 | 2162 | # Metadata |
2163 | 2163 | 'nodublincore' => 'Bul serverde «Dublin Core RDF» türi qosımşa derekteri öşirilgen.', |
2164 | 2164 | 'nocreativecommons' => 'Bul serverde «Creative Commons RDF» türi qosımşa derekteri öşirilgen.', |
2165 | | -'notacceptable' => 'Osı wïkï server «paýdalanwşı äreketkişiñiz» oqï alatın pişimi bar derekterdi jibere almaýdı.', |
| 2165 | +'notacceptable' => 'Tutınğışıñız oqıp alw üşin pişimdelingen derekterdi osı wïkï server jetistire almaýdı.', |
2166 | 2166 | |
2167 | 2167 | # Attribution |
2168 | 2168 | 'anonymous' => '{{SITENAME}} tirkelgisiz qatıswşı(ları)', |
Index: trunk/phase3/languages/messages/MessagesKk_arab.php |
— | — | @@ -400,7 +400,7 @@ |
401 | 401 | 'tog-minordefault' => 'ٵدەپكٸدەن بارلىق تٷزەتۋلەردٸ شاعىن دەپ بەلگٸلە', |
402 | 402 | 'tog-previewontop' => 'قاراپ شىعۋ اۋماعى ٶڭدەۋ اۋماعى الدىندا', |
403 | 403 | 'tog-previewonfirst' => 'بٸرٸنشٸ ٶڭدەگەندە قاراپ شىعۋ', |
404 | | -'tog-nocache' => 'بەت قوسالقى قالتاسىن ٶشٸر', |
| 404 | +'tog-nocache' => 'بەتتٸ قوسالقى قالتادا ساقتاۋدى ٶشٸر', |
405 | 405 | 'tog-enotifwatchlistpages' => 'باقىلانعان بەت ٶزگەرگەندە ماعان حات جٸبەر', |
406 | 406 | 'tog-enotifusertalkpages' => 'تالقىلاۋىم ٶزگەرگەندە ماعان حات جٸبەر', |
407 | 407 | 'tog-enotifminoredits' => 'شاعىن تٷزەتۋ تۋرالى دا ماعان حات جٸبەر', |
— | — | @@ -707,7 +707,7 @@ |
708 | 708 | 'protectedpagetext' => 'ٶڭدەۋدٸ قاقپايلاۋ ٷشٸن بۇل بەت قۇلىپتالىنعان.', |
709 | 709 | 'viewsourcetext' => 'بۇل بەتتٸڭ قاينارىن قاراۋىڭىزعا جٵنە كٶشٸرٸپ الۋڭىزعا بولادى:', |
710 | 710 | 'protectedinterface' => 'بۇل بەت باعدارلامانىڭ تٸلدەسۋ مٵتٸنٸن جەتٸستٸرەدٸ, سوندىقتان قيياناتتى قاقپايلاۋ ٷشٸن ٶزگەرتۋٸ قۇلىپتالعان.', |
711 | | -'editinginterface' => "'''نازار سالىڭىز:''' باعدارلاماعا تٸلدەسۋ مٵتٸنٸن جەتٸستٸرەتٸن بەتٸن ٶڭدەپ جاتىرسىز. بۇل بەتتٸڭ ٶزگەرتۋٸ باسقا قاتىسۋشىلارعا پايدالانۋشىلىق تٸلدەسۋٸ قالاي كٶرٸنەتٸنە ٵسەر ەتەدٸ.", |
| 711 | +'editinginterface' => "'''نازار سالىڭىز:''' باعدارلاماعا تٸلدەسۋ مٵتٸنٸن جەتٸستٸرەتٸن بەتٸن ٶڭدەپ جاتىرسىز. بۇل بەتتٸڭ ٶزگەرتۋٸ باسقا قاتىسۋشىلارعا پايدالانۋشىلىق تٸلدەسۋٸ قالاي كٶرٸنەتٸنە ٵسەر ەتەدٸ. اۋدارۋ ٷشٸن, MediaWiki باعدارلاماسىن جەرسٸندٸرۋ [http://translatewiki.net/wiki/Translating:Intro Betawiki] جوباسى پايدالانۋى جان-جاعىن قاراڭىز.", |
712 | 712 | 'sqlhidden' => '(SQL سۇرانىمى جاسىرىلعان)', |
713 | 713 | 'cascadeprotected' => 'بۇل بەت ٶڭدەۋدەن قورعالعان, سەبەبٸ كەلەسٸ «باۋلى قورعاۋى» قوسىلعان {{PLURAL:$1|بەتكە|بەتتەرگە}} كٸرٸكتٸرٸلگەن: |
714 | 714 | |
— | — | @@ -933,8 +933,8 @@ |
934 | 934 | ''وسى ۋيكيدە قام HTML قوسىلعان, JavaScript شابۋىلداردان قورعانۋ ٷشٸن الدىن الا قاراپ شىعۋ جاسىرىلعان.'' |
935 | 935 | |
936 | 936 | <strong>ەگەر بۇل ٶڭدەۋ ادال تالاپ بولسا, قايتا بايقاپ كٶرٸڭٸز. ەگەر بۇل ٵلٸ ٸستەمەسە, شىعۋدى جٵنە قايتا كٸرۋدٸ بايقاپ كٶرٸڭٸز.</strong>", |
937 | | -'token_suffix_mismatch' => '<strong>ٶڭدەۋٸڭٸز قابىلدانبادى, سەبەبٸ قولدانعان باعدارلاماڭىز مٵتٸندەگٸ |
938 | | -ەملە نىشاندارىن كەسكٸلەپ تاستادى. بەت مٵتٸنٸ بٷلٸنبەۋ ٷشٸن تٷزەتۋٸڭٸز قابىلدانبايدى. |
| 937 | +'token_suffix_mismatch' => '<strong>تٷزەتۋٸڭٸز تايدىرىلدى, سەبەبٸ تۇتىنعىشىڭىز ٶڭدەۋ نىشانىندا |
| 938 | +ەملە تاڭبالارىن كەسكٸلەپ تاستادى. بەت مٵتٸنٸ بٷلٸنبەۋ ٷشٸن تٷزەتۋٸڭٸز تايدىرىلادى. |
939 | 939 | بۇل عالامتورعا نەگٸزدەلٸنگەن قاتە تولعان تٸركەلۋٸ جوق پروكسي-سەرۆەردٸ پايدالانعان بولۋى مٷمكٸن.</strong>', |
940 | 940 | 'editing' => 'ٶڭدەلۋدە: $1', |
941 | 941 | 'editinguser' => 'ٶڭدەلۋدە: <b>$1</b> دەگەن قاتىسۋشى', |
— | — | @@ -1202,7 +1202,7 @@ |
1203 | 1203 | 'files' => 'فايلدار', |
1204 | 1204 | |
1205 | 1205 | # User rights |
1206 | | -'userrights-lookup-user' => 'قاتىسۋشى توپتارىن مەڭگەرۋ', |
| 1206 | +'userrights-lookup-user' => 'قاتىسۋشى توپتارىن رەتتەۋ', |
1207 | 1207 | 'userrights-user-editname' => 'قاتىسۋشى اتىن ەنگٸزٸڭٸز:', |
1208 | 1208 | 'editusergroup' => 'قاتىسۋشى توپتارىن ٶڭدەۋ', |
1209 | 1209 | 'userrights-editusergroup' => 'قاتىسۋشى توپتارىن ٶڭدەۋ', |
— | — | @@ -1549,7 +1549,7 @@ |
1550 | 1550 | |
1551 | 1551 | 'categoriespagetext' => 'وسىندا ۋيكيدەگٸ بارلىق ساناتتارىنىڭ تٸزٸمٸ بەرٸلٸپ تۇر.', |
1552 | 1552 | 'data' => 'دەرەكتەر', |
1553 | | -'userrights' => 'قاتىسۋشىلار قۇقىقتارىن مەڭگەرۋ', |
| 1553 | +'userrights' => 'قاتىسۋشىلار قۇقىقتارىن رەتتەۋ', |
1554 | 1554 | 'groups' => 'قاتىسۋشى توپتارى', |
1555 | 1555 | 'alphaindexline' => '$1 — $2', |
1556 | 1556 | 'version' => 'جٷيە نۇسقاسى', |
— | — | @@ -1634,7 +1634,7 @@ |
1635 | 1635 | 'unwatch' => 'باقىلاماۋ', |
1636 | 1636 | 'unwatchthispage' => 'باقىلاۋدى توقتاتۋ', |
1637 | 1637 | 'notanarticle' => 'ماعلۇمات بەتٸ ەمەس', |
1638 | | -'watchnochange' => 'كٶرسەتٸلگەن مەرزٸمدە ەشبٸر باقىلانعان دانا ٶڭدەلگەن جوق.', |
| 1638 | +'watchnochange' => 'كٶرسەتٸلگەن مەرزٸمدە ەش باقىلانعان دانا ٶڭدەلگەن جوق.', |
1639 | 1639 | 'watchlist-details' => 'تالقىلاۋ بەتتەرٸن ساناماعاندا {{PLURAL:$1|1|$1}} بەت باقلانعان.', |
1640 | 1640 | 'wlheader-enotif' => '* ەسكەرتۋ حات جٸبەرۋٸ قوسىلعان.', |
1641 | 1641 | 'wlheader-showupdated' => "* سوڭعى كەلٸپ-كەتۋٸڭٸزدەن بەرٸ ٶزگەرتٸلگەن بەتتەردٸ '''جۋان''' قارٸپٸمەن كٶرسەت", |
— | — | @@ -2050,7 +2050,7 @@ |
2051 | 2051 | 'export-submit' => 'سىرتقا بەر', |
2052 | 2052 | 'export-addcattext' => 'مىنا ساناتتاعى بەتتەردٸ ٷستەۋ:', |
2053 | 2053 | 'export-addcat' => 'ٷستە', |
2054 | | -'export-download' => 'فايل ەتٸپ ساقتاۋدى ۇسىنۋ', |
| 2054 | +'export-download' => 'فايل تٷرٸندە ساقتاۋ', |
2055 | 2055 | |
2056 | 2056 | # Namespace 8 related |
2057 | 2057 | 'allmessages' => 'جٷيە حابارلارى', |
— | — | @@ -2169,7 +2169,7 @@ |
2170 | 2170 | # Metadata |
2171 | 2171 | 'nodublincore' => 'بۇل سەرۆەردە «Dublin Core RDF» تٷرٸ قوسىمشا دەرەكتەرٸ ٶشٸرٸلگەن.', |
2172 | 2172 | 'nocreativecommons' => 'بۇل سەرۆەردە «Creative Commons RDF» تٷرٸ قوسىمشا دەرەكتەرٸ ٶشٸرٸلگەن.', |
2173 | | -'notacceptable' => 'وسى ۋيكي سەرۆەر «پايدالانۋشى ٵرەكەتكٸشٸڭٸز» وقي الاتىن پٸشٸمٸ بار دەرەكتەردٸ جٸبەرە المايدى.', |
| 2173 | +'notacceptable' => 'تۇتىنعىشىڭىز وقىپ الۋ ٷشٸن پٸشٸمدەلٸنگەن دەرەكتەردٸ وسى ۋيكي سەرۆەر جەتٸستٸرە المايدى.', |
2174 | 2174 | |
2175 | 2175 | # Attribution |
2176 | 2176 | 'anonymous' => '{{SITENAME}} تٸركەلگٸسٸز قاتىسۋشى(لارى)', |
Index: trunk/phase3/languages/classes/LanguageKk.deps.php |
— | — | @@ -7,6 +7,5 @@ |
8 | 8 | |
9 | 9 | |
10 | 10 | require_once( dirname(__FILE__).'/../LanguageConverter.php' ); |
11 | | -require_once( dirname(__FILE__).'/LanguageKk_kz.php' ); |
| 11 | +require_once( dirname(__FILE__).'/LanguageKk_cyrl.php' ); |
12 | 12 | |
13 | | - |
Index: trunk/phase3/languages/classes/LanguageKk_cyrl.php |
— | — | @@ -731,728 +731,4 @@ |
732 | 732 | } |
733 | 733 | } |
734 | 734 | |
735 | | -<?php |
736 | | -/** Kazakh (Қазақша) |
737 | | - * |
738 | | - * |
739 | | - * @addtogroup Language |
740 | | - */ |
741 | 735 | |
742 | | - |
743 | | -class LanguageKk_kz extends Language { |
744 | | - |
745 | | - # Convert from the nominative form of a noun to some other case |
746 | | - # Invoked with {{GRAMMAR:case|word}} |
747 | | - /** |
748 | | - * Cases: genitive, dative, accusative, locative, ablative, comitative + possessive forms |
749 | | - */ |
750 | | - function convertGrammar( $word, $case, $variant ) { |
751 | | - global $wgGrammarForms; |
752 | | - |
753 | | - if ($variant='kk-kz') { $word = LanguageKk_kz::convertGrammarKk_kz( $word, $case ); } |
754 | | - if ($variant='kk-tr') { $word = LanguageKk_kz::convertGrammarKk_tr( $word, $case ); } |
755 | | - if ($variant='kk-cn') { $word = LanguageKk_kz::convertGrammarKk_cn( $word, $case ); } |
756 | | - return $word; |
757 | | - } |
758 | | - |
759 | | - function convertGrammarKk_kz( $word, $case ) { |
760 | | - |
761 | | - if ( isset( $wgGrammarForms['kk-kz'][$case][$word] ) ) { |
762 | | - return $wgGrammarForms['kk-kz'][$case][$word]; |
763 | | - } |
764 | | - // Set up some constants... |
765 | | - // Vowels in last syllable |
766 | | - $frontVowels = array( "е", "ө", "ү", "і", "ә", "э" ); |
767 | | - $backVowels = array( "а", "о", "ұ", "ы", "я", "ё" ); |
768 | | - $allVowels = array( "е", "ө", "ү", "і", "ә", "э", "а", "о", "ұ", "ы", "я", "ё" ); |
769 | | - // Preceding letters |
770 | | - $preVowels = $allVowels; |
771 | | - $preNasals = array( "м", "н", "ң" ); |
772 | | - $preSonants = array( "и", "й", "л", "р", "у", "ю"); |
773 | | - # $preVoiceds = array( "б", "в", "г", "ғ", "д", "ж", "з", "һ" ); |
774 | | - # $preVoicelesses = array( "п", "ф", "к", "қ", "т", "ш", "с", "х", "ц", "ч", "щ" ); |
775 | | - $preConsonants = array( "п", "ф", "к", "қ", "т", "ш", "с", "х", "ц", "ч", "щ", "б", "в", "г", "д" ); |
776 | | - $preEzhZet = array( "ж", "з" ); |
777 | | - $preSonorants = array( "и", "й", "л", "р", "у", "ю", "м", "н", "ң", "ж", "з"); |
778 | | - |
779 | | - // Possessives |
780 | | - $firsts = array( "м", "ң" ); // 1st singular, 2nd unformal |
781 | | - $seconds = array( "з" ); // 1st plural, 2nd formal |
782 | | - $thirds = array( "ы", "і" ); // 3rd |
783 | | - // Put the word in a form we can play with since we're using UTF-8 |
784 | | - $ar = array(); |
785 | | - $ar = preg_split('//u', $word, -1, PREG_SPLIT_NO_EMPTY); |
786 | | - $wordEnding = $ar[count( $ar ) - 1]; //Here's the last letter in the word |
787 | | - $wordReversed = array_reverse( $ar ); //Here's an array with the order of the letters in the word reversed so we can find a match quicker *shrug* |
788 | | - |
789 | | - $wordLastVowel = LanguageKk_kz::lastVowel( $wordReversed, $allVowels ); |
790 | | - // Now convert the word |
791 | | - switch ( $case ) { |
792 | | - case "dc1": |
793 | | - case "genitive": #ilik |
794 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
795 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
796 | | - $word = implode( "", $ar ) . "тің"; |
797 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
798 | | - $word = implode( "", $ar ) . "тың"; |
799 | | - } |
800 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) ) { |
801 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
802 | | - $word = implode( "", $ar ) . "нің"; |
803 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
804 | | - $word = implode( "", $ar ) . "ның"; |
805 | | - } |
806 | | - } elseif ( in_array( $wordEnding, $preSonants ) || in_array( $wordEnding, $preEzhZet )) { |
807 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
808 | | - $word = implode( "", $ar ) . "дің"; |
809 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
810 | | - $word = implode( "", $ar ) . "дың"; |
811 | | - } |
812 | | - } |
813 | | - break; |
814 | | - case "dc2": |
815 | | - case "dative": #barıs |
816 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
817 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
818 | | - $word = implode( "", $ar ) . "ке"; |
819 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
820 | | - $word = implode( "", $ar ) . "қа"; |
821 | | - } |
822 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preSonorants ) ) { |
823 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
824 | | - $word = implode( "", $ar ) . "ге"; |
825 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
826 | | - $word = implode( "", $ar ) . "ға"; |
827 | | - } |
828 | | - } |
829 | | - break; |
830 | | - case "dc21": |
831 | | - case "possessive dative": #täweldık + barıs |
832 | | - if ( in_array( $wordEnding, $firsts ) ) { |
833 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
834 | | - $word = implode( "", $ar ) . "е"; |
835 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
836 | | - $word = implode( "", $ar ) . "а"; |
837 | | - } |
838 | | - } elseif ( in_array( $wordEnding, $seconds ) ) { |
839 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
840 | | - $word = implode( "", $ar ) . "ге"; |
841 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
842 | | - $word = implode( "", $ar ) . "ға"; |
843 | | - } |
844 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
845 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
846 | | - $word = implode( "", $ar ) . "не"; |
847 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
848 | | - $word = implode( "", $ar ) . "на"; |
849 | | - } |
850 | | - } |
851 | | - break; |
852 | | - case "dc3": |
853 | | - case "accusative": #tabıs |
854 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
855 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
856 | | - $word = implode( "", $ar ) . "ті"; |
857 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
858 | | - $word = implode( "", $ar ) . "ты"; |
859 | | - } |
860 | | - } elseif ( in_array( $wordEnding, $preVowels ) ) { |
861 | | - if ( in_array($wordLastVowel, $frontVowels ) ) { |
862 | | - $word = implode( "", $ar ) . "ні"; |
863 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
864 | | - $word = implode( "", $ar ) . "ны"; |
865 | | - } |
866 | | - } elseif ( in_array( $wordEnding, $preSonorants) ) { |
867 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
868 | | - $word = implode( "", $ar ) . "ді"; |
869 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
870 | | - $word = implode( "", $ar ) . "ды"; |
871 | | - } |
872 | | - } |
873 | | - break; |
874 | | - case "dc31": |
875 | | - case "possessive accusative": #täweldık + tabıs |
876 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $seconds ) ) { |
877 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
878 | | - $word = implode( "", $ar ) . "ді"; |
879 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
880 | | - $word = implode( "", $ar ) . "ды"; |
881 | | - } |
882 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
883 | | - $word = implode( "", $ar ) . "н"; |
884 | | - } |
885 | | - break; |
886 | | - case "dc4": |
887 | | - case "locative": #jatıs |
888 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
889 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
890 | | - $word = implode( "", $ar ) . "те"; |
891 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
892 | | - $word = implode( "", $ar ) . "та"; |
893 | | - } |
894 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preSonorants ) ) { |
895 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
896 | | - $word = implode( "", $ar ) . "де"; |
897 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
898 | | - $word = implode( "",$ar ) . "да"; |
899 | | - } |
900 | | - } |
901 | | - break; |
902 | | - case "dc41": |
903 | | - case "possessive locative": #täweldık + jatıs |
904 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $seconds ) ) { |
905 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
906 | | - $word = implode( "", $ar ) . "де"; |
907 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
908 | | - $word = implode( "", $ar ) . "да"; |
909 | | - } |
910 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
911 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
912 | | - $word = implode( "", $ar ) . "нде"; |
913 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
914 | | - $word = implode( "",$ar ) . "нда"; |
915 | | - } |
916 | | - } |
917 | | - break; |
918 | | - case "dc5": |
919 | | - case "ablative": #şığıs |
920 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
921 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
922 | | - $word = implode( "", $ar ) . "тен"; |
923 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
924 | | - $word = implode( "", $ar ) . "тан"; |
925 | | - } |
926 | | - } elseif ( in_array($wordEnding, $preVowels ) || in_array($wordEnding, $preSonants ) || in_array($wordEnding, $preEzhZet ) ) { |
927 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
928 | | - $word = implode( "", $ar ) . "ден"; |
929 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
930 | | - $word = implode( "", $ar ) . "дан"; |
931 | | - } |
932 | | - } elseif ( in_array($wordEnding, $preNasals ) ) { |
933 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
934 | | - $word = implode( "", $ar ) . "нен"; |
935 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
936 | | - $word = implode( "", $ar ) . "нан"; |
937 | | - } |
938 | | - } |
939 | | - break; |
940 | | - case "dc51": |
941 | | - case "possessive ablative": #täweldık + şığıs |
942 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $thirds ) ) { |
943 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
944 | | - $word = implode( "", $ar ) . "нен"; |
945 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
946 | | - $word = implode( "", $ar ) . "нан"; |
947 | | - } |
948 | | - } elseif ( in_array($wordEnding, $seconds ) ) { |
949 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
950 | | - $word = implode( "", $ar ) . "ден"; |
951 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
952 | | - $word = implode( "", $ar ) . "дан"; |
953 | | - } |
954 | | - } |
955 | | - break; |
956 | | - case "dc6": |
957 | | - case "comitative": #kömektes |
958 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
959 | | - $word = implode( "", $ar ) . "пен"; |
960 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) || in_array( $wordEnding, $preSonants ) ) { |
961 | | - $word = implode( "", $ar ) . "мен"; |
962 | | - } elseif ( in_array( $wordEnding, $preEzhZet ) ) { |
963 | | - $word = implode( "", $ar ) . "бен"; |
964 | | - } |
965 | | - break; |
966 | | - case "dc61": |
967 | | - case "possessive comitative": #täweldık + kömektes |
968 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
969 | | - $word = implode( "", $ar ) . "пенен"; |
970 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) || in_array( $wordEnding, $preSonants ) ) { |
971 | | - $word = implode( "", $ar ) . "менен"; |
972 | | - } elseif ( in_array( $wordEnding, $preEzhZet ) ) { |
973 | | - $word = implode( "", $ar ) . "бенен"; |
974 | | - } |
975 | | - break; |
976 | | - default: #dc0 #nominative #ataw |
977 | | - } |
978 | | - return $word; |
979 | | - } |
980 | | - |
981 | | - function convertGrammarKk_tr( $word, $case ) { |
982 | | - global $wgGrammarForms; |
983 | | - if ( isset( $wgGrammarForms['kk-tr'][$case][$word] ) ) { |
984 | | - return $wgGrammarForms['kk-tr'][$case][$word]; |
985 | | - } |
986 | | - // Set up some constants... |
987 | | - // Vowels in last syllable |
988 | | - $frontVowels = array( "e", "ö", "ü", "i", "ä", "é" ); |
989 | | - $backVowels = array( "a", "o", "u", "ı" ); |
990 | | - $allVowels = array( "e", "ö", "ü", "i", "ä", "é", "a", "o", "u", "ı" ); |
991 | | - // Preceding letters |
992 | | - $preVowels = $allVowels; |
993 | | - $preNasals = array( "m", "n", "ñ" ); |
994 | | - $preSonants = array( "ï", "ý", "l", "r", "w"); |
995 | | - # $preVoiceds = array( "b", "v", "g", "ğ", "d", "j", "z", "h" ); |
996 | | - # $preVoicelesses = array( "p", "f", "k", "q", "t", "ş", "s", "x", "c", "ç" ); |
997 | | - $preConsonants = array( "p", "f", "k", "q", "t", "ş", "s", "x", "c", "ç", "b", "v", "g", "d" ); |
998 | | - $preEzhZet = array( "j", "z" ); |
999 | | - $preSonorants = array( "ï", "ý", "l", "r", "w", "m", "n", "ñ", "j", "z"); |
1000 | | - |
1001 | | - // Possessives |
1002 | | - $firsts = array( "m", "ñ" ); // 1st singular, 2nd unformal |
1003 | | - $seconds = array( "z" ); // 1st plural, 2nd formal |
1004 | | - $thirds = array( "ı", "i" ); // 3rd |
1005 | | - // Put the word in a form we can play with since we're using UTF-8 |
1006 | | - $ar = array(); |
1007 | | - $ar = preg_split('//u', $word, -1, PREG_SPLIT_NO_EMPTY); |
1008 | | - $wordEnding = $ar[count( $ar ) - 1]; //Here's the last letter in the word |
1009 | | - $wordReversed = array_reverse( $ar ); //Here's an array with the order of the letters in the word reversed so we can find a match quicker *shrug* |
1010 | | - |
1011 | | - $wordLastVowel = LanguageKk_kz::lastVowel( $wordReversed, $allVowels ); |
1012 | | - // Now convert the word |
1013 | | - switch ( $case ) { |
1014 | | - case "dc1": |
1015 | | - case "genitive": #ilik |
1016 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1017 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1018 | | - $word = implode( "", $ar ) . "tiñ"; |
1019 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1020 | | - $word = implode( "", $ar ) . "tıñ"; |
1021 | | - } |
1022 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) ) { |
1023 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1024 | | - $word = implode( "", $ar ) . "niñ"; |
1025 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1026 | | - $word = implode( "", $ar ) . "nıñ"; |
1027 | | - } |
1028 | | - } elseif ( in_array( $wordEnding, $preSonants ) || in_array( $wordEnding, $preEzhZet )) { |
1029 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1030 | | - $word = implode( "", $ar ) . "diñ"; |
1031 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1032 | | - $word = implode( "", $ar ) . "dıñ"; |
1033 | | - } |
1034 | | - } |
1035 | | - break; |
1036 | | - case "dc2": |
1037 | | - case "dative": #barıs |
1038 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1039 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1040 | | - $word = implode( "", $ar ) . "ke"; |
1041 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1042 | | - $word = implode( "", $ar ) . "qa"; |
1043 | | - } |
1044 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preSonorants ) ) { |
1045 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1046 | | - $word = implode( "", $ar ) . "ge"; |
1047 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1048 | | - $word = implode( "", $ar ) . "ğa"; |
1049 | | - } |
1050 | | - } |
1051 | | - break; |
1052 | | - case "dc21": |
1053 | | - case "possessive dative": #täweldık + barıs |
1054 | | - if ( in_array( $wordEnding, $firsts ) ) { |
1055 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1056 | | - $word = implode( "", $ar ) . "e"; |
1057 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1058 | | - $word = implode( "", $ar ) . "a"; |
1059 | | - } |
1060 | | - } elseif ( in_array( $wordEnding, $seconds ) ) { |
1061 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1062 | | - $word = implode( "", $ar ) . "ge"; |
1063 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1064 | | - $word = implode( "", $ar ) . "ğa"; |
1065 | | - } |
1066 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
1067 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1068 | | - $word = implode( "", $ar ) . "ne"; |
1069 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1070 | | - $word = implode( "", $ar ) . "na"; |
1071 | | - } |
1072 | | - } |
1073 | | - break; |
1074 | | - case "dc3": |
1075 | | - case "accusative": #tabıs |
1076 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1077 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1078 | | - $word = implode( "", $ar ) . "ti"; |
1079 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1080 | | - $word = implode( "", $ar ) . "tı"; |
1081 | | - } |
1082 | | - } elseif ( in_array( $wordEnding, $preVowels ) ) { |
1083 | | - if ( in_array($wordLastVowel, $frontVowels ) ) { |
1084 | | - $word = implode( "", $ar ) . "ni"; |
1085 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1086 | | - $word = implode( "", $ar ) . "nı"; |
1087 | | - } |
1088 | | - } elseif ( in_array( $wordEnding, $preSonorants) ) { |
1089 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
1090 | | - $word = implode( "", $ar ) . "di"; |
1091 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1092 | | - $word = implode( "", $ar ) . "dı"; |
1093 | | - } |
1094 | | - } |
1095 | | - break; |
1096 | | - case "dc31": |
1097 | | - case "possessive accusative": #täweldık + tabıs |
1098 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $seconds ) ) { |
1099 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1100 | | - $word = implode( "", $ar ) . "di"; |
1101 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1102 | | - $word = implode( "", $ar ) . "dı"; |
1103 | | - } |
1104 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
1105 | | - $word = implode( "", $ar ) . "n"; |
1106 | | - } |
1107 | | - break; |
1108 | | - case "dc4": |
1109 | | - case "locative": #jatıs |
1110 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1111 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1112 | | - $word = implode( "", $ar ) . "te"; |
1113 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1114 | | - $word = implode( "", $ar ) . "ta"; |
1115 | | - } |
1116 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preSonorants ) ) { |
1117 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
1118 | | - $word = implode( "", $ar ) . "de"; |
1119 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1120 | | - $word = implode( "",$ar ) . "da"; |
1121 | | - } |
1122 | | - } |
1123 | | - break; |
1124 | | - case "dc41": |
1125 | | - case "possessive locative": #täweldık + jatıs |
1126 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $seconds ) ) { |
1127 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1128 | | - $word = implode( "", $ar ) . "de"; |
1129 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1130 | | - $word = implode( "", $ar ) . "da"; |
1131 | | - } |
1132 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
1133 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
1134 | | - $word = implode( "", $ar ) . "nde"; |
1135 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1136 | | - $word = implode( "",$ar ) . "nda"; |
1137 | | - } |
1138 | | - } |
1139 | | - break; |
1140 | | - case "dc5": |
1141 | | - case "ablative": #şığıs |
1142 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1143 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1144 | | - $word = implode( "", $ar ) . "ten"; |
1145 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1146 | | - $word = implode( "", $ar ) . "tan"; |
1147 | | - } |
1148 | | - } elseif ( in_array($wordEnding, $preVowels ) || in_array($wordEnding, $preSonants ) || in_array($wordEnding, $preEzhZet ) ) { |
1149 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1150 | | - $word = implode( "", $ar ) . "den"; |
1151 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1152 | | - $word = implode( "", $ar ) . "dan"; |
1153 | | - } |
1154 | | - } elseif ( in_array($wordEnding, $preNasals ) ) { |
1155 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1156 | | - $word = implode( "", $ar ) . "nen"; |
1157 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1158 | | - $word = implode( "", $ar ) . "nan"; |
1159 | | - } |
1160 | | - } |
1161 | | - break; |
1162 | | - case "dc51": |
1163 | | - case "possessive ablative": #täweldık + şığıs |
1164 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $thirds ) ) { |
1165 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1166 | | - $word = implode( "", $ar ) . "nen"; |
1167 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1168 | | - $word = implode( "", $ar ) . "nan"; |
1169 | | - } |
1170 | | - } elseif ( in_array($wordEnding, $seconds ) ) { |
1171 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1172 | | - $word = implode( "", $ar ) . "den"; |
1173 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1174 | | - $word = implode( "", $ar ) . "dan"; |
1175 | | - } |
1176 | | - } |
1177 | | - break; |
1178 | | - case "dc6": |
1179 | | - case "comitative": #kömektes |
1180 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1181 | | - $word = implode( "", $ar ) . "pen"; |
1182 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) || in_array( $wordEnding, $preSonants ) ) { |
1183 | | - $word = implode( "", $ar ) . "men"; |
1184 | | - } elseif ( in_array( $wordEnding, $preEzhZet ) ) { |
1185 | | - $word = implode( "", $ar ) . "ben"; |
1186 | | - } |
1187 | | - break; |
1188 | | - case "dc61": |
1189 | | - case "possessive comitative": #täweldık + kömektes |
1190 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1191 | | - $word = implode( "", $ar ) . "penen"; |
1192 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) || in_array( $wordEnding, $preSonants ) ) { |
1193 | | - $word = implode( "", $ar ) . "menen"; |
1194 | | - } elseif ( in_array( $wordEnding, $preEzhZet ) ) { |
1195 | | - $word = implode( "", $ar ) . "benen"; |
1196 | | - } |
1197 | | - break; |
1198 | | - default: #dc0 #nominative #ataw |
1199 | | - } |
1200 | | - return $word; |
1201 | | - } |
1202 | | - |
1203 | | - function convertGrammarKk_cn( $word, $case ) { |
1204 | | - global $wgGrammarForms; |
1205 | | - if ( isset( $wgGrammarForms['kk-cn'][$case][$word] ) ) { |
1206 | | - return $wgGrammarForms['kk-cn'][$case][$word]; |
1207 | | - } |
1208 | | - // Set up some constants... |
1209 | | - // Vowels in last syllable |
1210 | | - $frontVowels = array( "ە", "ٶ", "ٷ", "ٸ", "ٵ", "ە" ); |
1211 | | - $backVowels = array( "ا", "و", "ۇ", "ى" ); |
1212 | | - $allVowels = array( "ە", "ٶ", "ٷ", "ٸ", "ٵ", "ە", "ا", "و", "ۇ", "ى" ); |
1213 | | - // Preceding letters |
1214 | | - $preVowels = $allVowels; |
1215 | | - $preNasals = array( "م", "ن", "ڭ" ); |
1216 | | - $preSonants = array( "ي", "ي", "ل", "ر", "ۋ"); |
1217 | | - # $preVoiceds = array( "ب", "ۆ", "گ", "ع", "د", "ج", "ز", "ھ" ); |
1218 | | - # $preVoicelesses = array( "پ", "ف", "ك", "ق", "ت", "ش", "س", "ح", "تس", "چ" ); |
1219 | | - $preConsonants = array( "پ", "ف", "ك", "ق", "ت", "ش", "س", "ح", "تس", "چ", "ب", "ۆ", "گ", "د" ); |
1220 | | - $preEzhZet = array( "ج", "ز" ); |
1221 | | - $preSonorants = array( "ي", "ي", "ل", "ر", "ۋ", "م", "ن", "ڭ", "ج", "ز"); |
1222 | | - |
1223 | | - // Possessives |
1224 | | - $firsts = array( "م", "ڭ" ); // 1st singular, 2nd unformal |
1225 | | - $seconds = array( "ز" ); // 1st plural, 2nd formal |
1226 | | - $thirds = array( "ى", "ٸ" ); // 3rd |
1227 | | - // Put the word in a form we can play with since we're using UTF-8 |
1228 | | - $ar = array(); |
1229 | | - $ar = preg_split('//u', $word, -1, PREG_SPLIT_NO_EMPTY); |
1230 | | - $wordEnding = $ar[count( $ar ) - 1]; //Here's the last letter in the word |
1231 | | - $wordReversed = array_reverse( $ar ); //Here's an array with the order of the letters in the word reversed so we can find a match quicker *shrug* |
1232 | | - $wordLastVowel = LanguageKk_kz::lastVowel( $wordReversed, $allVowels ); |
1233 | | - // Now convert the word |
1234 | | - switch ( $case ) { |
1235 | | - case "dc1": |
1236 | | - case "genitive": #ilik |
1237 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1238 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1239 | | - $word = implode( "", $ar ) . "تٸڭ"; |
1240 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1241 | | - $word = implode( "", $ar ) . "تىڭ"; |
1242 | | - } |
1243 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) ) { |
1244 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1245 | | - $word = implode( "", $ar ) . "نٸڭ"; |
1246 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1247 | | - $word = implode( "", $ar ) . "نىڭ"; |
1248 | | - } |
1249 | | - } elseif ( in_array( $wordEnding, $preSonants ) || in_array( $wordEnding, $preEzhZet )) { |
1250 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1251 | | - $word = implode( "", $ar ) . "دٸڭ"; |
1252 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1253 | | - $word = implode( "", $ar ) . "دىڭ"; |
1254 | | - } |
1255 | | - } |
1256 | | - break; |
1257 | | - case "dc2": |
1258 | | - case "dative": #barıs |
1259 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1260 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1261 | | - $word = implode( "", $ar ) . "كە"; |
1262 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1263 | | - $word = implode( "", $ar ) . "قا"; |
1264 | | - } |
1265 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preSonorants ) ) { |
1266 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1267 | | - $word = implode( "", $ar ) . "گە"; |
1268 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1269 | | - $word = implode( "", $ar ) . "عا"; |
1270 | | - } |
1271 | | - } |
1272 | | - break; |
1273 | | - case "dc21": |
1274 | | - case "possessive dative": #täweldık + barıs |
1275 | | - if ( in_array( $wordEnding, $firsts ) ) { |
1276 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1277 | | - $word = implode( "", $ar ) . "ە"; |
1278 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1279 | | - $word = implode( "", $ar ) . "ا"; |
1280 | | - } |
1281 | | - } elseif ( in_array( $wordEnding, $seconds ) ) { |
1282 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1283 | | - $word = implode( "", $ar ) . "گە"; |
1284 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1285 | | - $word = implode( "", $ar ) . "عا"; |
1286 | | - } |
1287 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
1288 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1289 | | - $word = implode( "", $ar ) . "نە"; |
1290 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1291 | | - $word = implode( "", $ar ) . "نا"; |
1292 | | - } |
1293 | | - } |
1294 | | - break; |
1295 | | - case "dc3": |
1296 | | - case "accusative": #tabıs |
1297 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1298 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1299 | | - $word = implode( "", $ar ) . "تٸ"; |
1300 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1301 | | - $word = implode( "", $ar ) . "تى"; |
1302 | | - } |
1303 | | - } elseif ( in_array( $wordEnding, $preVowels ) ) { |
1304 | | - if ( in_array($wordLastVowel, $frontVowels ) ) { |
1305 | | - $word = implode( "", $ar ) . "نٸ"; |
1306 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1307 | | - $word = implode( "", $ar ) . "نى"; |
1308 | | - } |
1309 | | - } elseif ( in_array( $wordEnding, $preSonorants) ) { |
1310 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
1311 | | - $word = implode( "", $ar ) . "دٸ"; |
1312 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1313 | | - $word = implode( "", $ar ) . "دى"; |
1314 | | - } |
1315 | | - } |
1316 | | - break; |
1317 | | - case "dc31": |
1318 | | - case "possessive accusative": #täweldık + tabıs |
1319 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $seconds ) ) { |
1320 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1321 | | - $word = implode( "", $ar ) . "دٸ"; |
1322 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1323 | | - $word = implode( "", $ar ) . "دى"; |
1324 | | - } |
1325 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
1326 | | - $word = implode( "", $ar ) . "ن"; |
1327 | | - } |
1328 | | - break; |
1329 | | - case "dc4": |
1330 | | - case "locative": #jatıs |
1331 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1332 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1333 | | - $word = implode( "", $ar ) . "تە"; |
1334 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1335 | | - $word = implode( "", $ar ) . "تا"; |
1336 | | - } |
1337 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preSonorants ) ) { |
1338 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
1339 | | - $word = implode( "", $ar ) . "دە"; |
1340 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1341 | | - $word = implode( "",$ar ) . "دا"; |
1342 | | - } |
1343 | | - } |
1344 | | - break; |
1345 | | - case "dc41": |
1346 | | - case "possessive locative": #täweldık + jatıs |
1347 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $seconds ) ) { |
1348 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1349 | | - $word = implode( "", $ar ) . "دە"; |
1350 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1351 | | - $word = implode( "", $ar ) . "دا"; |
1352 | | - } |
1353 | | - } elseif ( in_array( $wordEnding, $thirds ) ) { |
1354 | | - if ( in_array( $wordLastVowel, $frontVowels) ) { |
1355 | | - $word = implode( "", $ar ) . "ندە"; |
1356 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1357 | | - $word = implode( "",$ar ) . "ندا"; |
1358 | | - } |
1359 | | - } |
1360 | | - break; |
1361 | | - case "dc5": |
1362 | | - case "ablative": #şığıs |
1363 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1364 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1365 | | - $word = implode( "", $ar ) . "تەن"; |
1366 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1367 | | - $word = implode( "", $ar ) . "تان"; |
1368 | | - } |
1369 | | - } elseif ( in_array($wordEnding, $preVowels ) || in_array($wordEnding, $preSonants ) || in_array($wordEnding, $preEzhZet ) ) { |
1370 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1371 | | - $word = implode( "", $ar ) . "دەن"; |
1372 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1373 | | - $word = implode( "", $ar ) . "دان"; |
1374 | | - } |
1375 | | - } elseif ( in_array($wordEnding, $preNasals ) ) { |
1376 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1377 | | - $word = implode( "", $ar ) . "نەن"; |
1378 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1379 | | - $word = implode( "", $ar ) . "نان"; |
1380 | | - } |
1381 | | - } |
1382 | | - break; |
1383 | | - case "dc51": |
1384 | | - case "possessive ablative": #täweldık + şığıs |
1385 | | - if ( in_array( $wordEnding, $firsts ) || in_array( $wordEnding, $thirds ) ) { |
1386 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1387 | | - $word = implode( "", $ar ) . "نەن"; |
1388 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1389 | | - $word = implode( "", $ar ) . "نان"; |
1390 | | - } |
1391 | | - } elseif ( in_array($wordEnding, $seconds ) ) { |
1392 | | - if ( in_array( $wordLastVowel, $frontVowels ) ) { |
1393 | | - $word = implode( "", $ar ) . "دەن"; |
1394 | | - } elseif ( in_array( $wordLastVowel, $backVowels ) ) { |
1395 | | - $word = implode( "", $ar ) . "دان"; |
1396 | | - } |
1397 | | - } |
1398 | | - break; |
1399 | | - case "dc6": |
1400 | | - case "comitative": #kömektes |
1401 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1402 | | - $word = implode( "", $ar ) . "پەن"; |
1403 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) || in_array( $wordEnding, $preSonants ) ) { |
1404 | | - $word = implode( "", $ar ) . "مەن"; |
1405 | | - } elseif ( in_array( $wordEnding, $preEzhZet ) ) { |
1406 | | - $word = implode( "", $ar ) . "بەن"; |
1407 | | - } |
1408 | | - break; |
1409 | | - case "dc61": |
1410 | | - case "possessive comitative": #täweldık + kömektes |
1411 | | - if ( in_array( $wordEnding, $preConsonants ) ) { |
1412 | | - $word = implode( "", $ar ) . "پەنەن"; |
1413 | | - } elseif ( in_array( $wordEnding, $preVowels ) || in_array( $wordEnding, $preNasals ) || in_array( $wordEnding, $preSonants ) ) { |
1414 | | - $word = implode( "", $ar ) . "مەنەن"; |
1415 | | - } elseif ( in_array( $wordEnding, $preEzhZet ) ) { |
1416 | | - $word = implode( "", $ar ) . "بەنەن"; |
1417 | | - } |
1418 | | - break; |
1419 | | - default: #dc0 #nominative #ataw |
1420 | | - } |
1421 | | - return $word; |
1422 | | - } |
1423 | | - |
1424 | | - function lastVowel( $wordReversed, $allVowels ) { |
1425 | | - |
1426 | | - // Find the last vowel in the word |
1427 | | - $wordLastVowel = NULL; |
1428 | | - foreach ( $wordReversed as $xvalue ) { |
1429 | | - foreach ( $allVowels as $yvalue ) { |
1430 | | - if ( strcmp( $xvalue, $yvalue ) == 0 ) { |
1431 | | - $wordLastVowel = $xvalue; |
1432 | | - break; |
1433 | | - } else { |
1434 | | - continue; |
1435 | | - } |
1436 | | - } |
1437 | | - if ( $wordLastVowel !== NULL ) { |
1438 | | - break; |
1439 | | - } else { |
1440 | | - continue; |
1441 | | - } |
1442 | | - } |
1443 | | - |
1444 | | - return $wordLastVowel; $wordEnding; |
1445 | | - } |
1446 | | - |
1447 | | - /** |
1448 | | - * Avoid grouping whole numbers between 0 to 9999 |
1449 | | - */ |
1450 | | - function commafy( $_ ) { |
1451 | | - if ( !preg_match( '/^\d{1,4}$/', $_ ) ) { |
1452 | | - return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev($_) ) ); |
1453 | | - } else { |
1454 | | - return $_; |
1455 | | - } |
1456 | | - } |
1457 | | -} |
1458 | | - |
1459 | | - |
Index: trunk/phase3/languages/classes/LanguageKk.php |
— | — | @@ -280,7 +280,8 @@ |
281 | 281 | case 'kk': |
282 | 282 | $word = parent::convertGrammar( $word, $case, $variant='kk-cyrl' ); |
283 | 283 | break; |
284 | | - default: #do nothing |
| 284 | + default: |
| 285 | + $word = parent::convertGrammar( $word, $case, $variant='kk-cyrl' ); |
285 | 286 | } |
286 | 287 | |
287 | 288 | wfProfileOut( $fname ); |