From 02792d91702a6e56b4e4a30cec9f187ea3ccf3b3 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Tue, 21 Nov 2006 18:55:26 +0000 Subject: [PATCH] (bug 7978) New localization for Old Church Slavonic --- RELEASE-NOTES | 1 + languages/Names.php | 2 +- languages/classes/LanguageCu.php | 50 +++++++++++ languages/messages/MessagesCu.php | 141 ++++++++++++++++++++++++++++++ 4 files changed, 193 insertions(+), 1 deletion(-) create mode 100644 languages/classes/LanguageCu.php create mode 100644 languages/messages/MessagesCu.php diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ccbdf8bece..cd2f9b6f2f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -220,6 +220,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Lithuanian (lt) * Norwegian (no) * Occitan (oc) +* Old Church Slavonic (cu) * Polish (pl) * Portuguese (pt) * Russian (ru) diff --git a/languages/Names.php b/languages/Names.php index b78c30dd35..008f3025b9 100644 --- a/languages/Names.php +++ b/languages/Names.php @@ -47,7 +47,7 @@ 'cr' => 'Nēhiyaw / ᓀᐦᐃᔭᐤ', # Cree 'cs' => 'Česky', # Czech 'csb' => 'Kaszëbsczi', # Cassubian - 'cu' => 'словѣньскъ', # Old Church Slavonic (ancient language) + 'cu' => 'Словѣньскъ', # Old Church Slavonic (ancient language) 'cv' => 'Чăвашла', # Chuvash 'cy' => 'Cymraeg', # Welsh 'da' => 'Dansk', # Danish diff --git a/languages/classes/LanguageCu.php b/languages/classes/LanguageCu.php new file mode 100644 index 0000000000..6f6efe49e4 --- /dev/null +++ b/languages/classes/LanguageCu.php @@ -0,0 +1,50 @@ + diff --git a/languages/messages/MessagesCu.php b/languages/messages/MessagesCu.php new file mode 100644 index 0000000000..765ee002a6 --- /dev/null +++ b/languages/messages/MessagesCu.php @@ -0,0 +1,141 @@ + ".", + '.' => ',' +); + +$linkPrefixExtension = true; + +$namespaceNames = array( + NS_MEDIA => 'Срѣдьства', + NS_SPECIAL => 'Нарочьна', + NS_MAIN => '', + NS_TALK => 'Бесѣда', + NS_USER => 'Польѕевател҄ь', + NS_USER_TALK => 'Польѕевател_бесѣда', + #NS_PROJECT set by $wgMetaNamespace + NS_PROJECT_TALK => '{{grammar:genitive|$1}}_бесѣда', + NS_IMAGE => 'Видъ', + NS_IMAGE_TALK => 'Вида_бесѣда', + NS_MEDIAWIKI => 'MediaWiki', + NS_MEDIAWIKI_TALK => 'MediaWiki_бесѣда', + NS_TEMPLATE => 'Образьць', + NS_TEMPLATE_TALK => 'Образьца_бесѣда', + NS_HELP => 'Помощь', + NS_HELP_TALK => 'Помощи_бесѣда', + NS_CATEGORY => 'Катигорї', + NS_CATEGORY_TALK => 'Катигорїѩ_бесѣда', +); + +$defaultDateFormat = 'mdy'; + +$dateFormats = array( + 'mdy time' => 'H:i', + 'mdy date' => 'xg j числа, Y', + 'mdy both' => 'H:i, xg j числа, Y', + + 'dmy time' => 'H:i', + 'dmy date' => 'j F Y', + 'dmy both' => 'H:i, j F Y', + + 'ymd time' => 'H:i', + 'ymd date' => 'Y F j', + 'ymd both' => 'H:i, Y F j', + + 'ISO 8601 time' => 'xnH:xni:xns', + 'ISO 8601 date' => 'xnY-xnm-xnd', + 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns', +); + +$linkTrail = '/^([a-zабвгдеєжѕзїіıићклмнопсстѹфхѡѿцчшщъыьѣюѥѧѩѫѭѯѱѳѷѵґѓђёјйљњќуўџэ҄я“»]+)(.*)$/sDu'; + +$messages = array( +'linkprefix' => '/^(.*?)(„|«)$/sD', + +'january' => 'їанѹарїи', +'february' => 'феврѹарїи', +'march' => 'мартїи', +'april' => 'апрїлїи', +'may_long' => 'маїи', +'june' => 'їѹнїи', +'july' => 'їѹлїи', +'august' => 'аѵгѹстъ', +'september' => 'септемврїи', +'october' => 'октѡврїи', +'november' => 'ноемврїи', +'december' => 'декемврїи', +'january-gen' => 'їанѹарї', +'february-gen' => 'феврѹарї', +'march-gen' => 'мартї', +'april-gen' => 'апрїлї', +'may-gen' => 'маї', +'june-gen' => 'їѹнї', +'july-gen' => 'їѹлї', +'august-gen' => 'аѵгѹста', +'september-gen' => 'септемврї', +'october-gen' => 'октѡврї', +'november-gen' => 'ноемврї', +'december-gen' => 'декемврї', + +'1movedto2_redir' => '[[$1]] нареченъ [[$2]] врьхѹ прѣнаправлѥни ѥстъ.', +'blockip' => 'Загради польѕеватель', +'cite_article_link' => 'Приведи статїѭ', +'contributions' => 'Добродѣни польѕевател', +'createaccount' => 'Cъзижди си мѣсто', +'currentevents' => 'Текѫща събыти', +'delete' => 'ничьжи', +'edit' => 'исправи', +'editold' => 'исправи', +'editsection' => 'исправи', +'emailuser' => 'Посъли епїстолѫ', +'go' => 'Прѣиди', +'help' => 'Помощь', +'history_short' => 'Їстѡрї', +'ilsubmit' => 'Ищи', +'login' => 'Въниди', +'logout' => 'иходъ', +'mainpage' => 'Главьна страница', +'makebot-search' => 'Прѣиди', +'move' => 'прѣименѹи', +'mycontris' => 'Мо добродѣни', +'mypreferences' => 'мои строи', +'mytalk' => 'Мо бесѣда', +'navigation' => 'плаваниѥ', +'nstab-main' => 'статї', +'nstab-project' => 'съвѣтъ', +'nstab-special' => 'Нарочьна', +'nstab-user' => 'польѕеватель', +'permalink' => 'Ѹставьна съвѧзь', +'portal' => 'Обьщины съвѣтъ', +'powersearch' => 'Ищи', +'printableversion' => 'Печатьнъ образъ', +'protect' => 'забрани', +'qbedit' => 'исправи', +'qbspecialpages' => 'Нарочьны страницѧ', +'recentchanges' => 'Послѣдьнѩ мѣны', +'recentchangeslinked' => 'Вѧзаны мѣны', +'restriction-edit' => 'исправи', +'search' => 'поискъ', +'searcharticle' => 'Прѣиди', +'searchbutton' => 'Ищи', +'sitesupport' => 'Дани', +'specialpage' => 'нарочьна страница', +'specialpages' => 'Нарочьны страницѧ', +'talk' => 'бесѣда', +'toolbox' => 'Орѫди', +'unprotect' => 'пѹсти', +'unwatch' => 'остави блюдениѥ', +'upload' => 'Положи дѣло', +'uploadbtn' => 'Положи дѣло', +'userlogin' => 'Въниди / съзижди си мѣсто', +'userlogout' => 'иходъ', +'watch' => 'блюди', +'watchlist' => 'Мо блюдени', +'whatlinkshere' => ' Досьдещьнѩ съвѧзи', + +); + +?> -- 2.20.1