Index: branches/REL1_4/phase3/RELEASE-NOTES |
— | — | @@ -16,6 +16,7 @@ |
17 | 17 | tag on a page that included a gallery through a template (backported from HEAD) |
18 | 18 | * (bug 2457) The "Special page" href now links to the current special page |
19 | 19 | rather than to "" |
| 20 | +* (bug 2467) Added a Turkish language file |
20 | 21 | |
21 | 22 | == MediaWiki 1.4.5 == |
22 | 23 | |
Index: branches/REL1_4/phase3/languages/LanguageTr.php |
— | — | @@ -0,0 +1,43 @@ |
| 2 | +<?php |
| 3 | +require_once( "LanguageUtf8.php" ); |
| 4 | + |
| 5 | +if ( $wgMetaNamespace == "Wikipedia" ) { |
| 6 | + $wgMetaNamespace = "Vikipedi"; |
| 7 | +} |
| 8 | +/* private */ $wgNamespaceNamesTr = array( |
| 9 | + NS_MEDIA => 'Media', |
| 10 | + NS_SPECIAL => '�zel', |
| 11 | + NS_MAIN => '', |
| 12 | + NS_TALK => 'Tartisma', |
| 13 | + NS_USER => 'Kullanici', |
| 14 | + NS_USER_TALK => 'Kullanici_mesaj', |
| 15 | + NS_PROJECT => $wgMetaNamespace, |
| 16 | + NS_PROJECT_TALK => $wgMetaNamespace . '_tartisma', |
| 17 | + NS_IMAGE => 'Resim', |
| 18 | + NS_IMAGE_TALK => 'Resim_tartisma', |
| 19 | + NS_MEDIAWIKI => 'MedyaViki', |
| 20 | + NS_MEDIAWIKI_TALK => 'MedyaViki_tartisma', |
| 21 | + NS_TEMPLATE => 'Sablon', |
| 22 | + NS_TEMPLATE_TALK => 'Sablon_tartisma', |
| 23 | + NS_HELP => 'Yardim', |
| 24 | + NS_HELP_TALK => 'Yardim_tartisma', |
| 25 | + NS_CATEGORY => 'Kategori', |
| 26 | + NS_CATEGORY_TALK => 'Kategori_tartisma', |
| 27 | +) + $wgNamespaceNamesEn; |
| 28 | + |
| 29 | +class LanguageTr extends LanguageUtf8 { |
| 30 | + function getNamespaces() { |
| 31 | + global $wgNamespaceNamesTr; |
| 32 | + return $wgNamespaceNamesTr; |
| 33 | + } |
| 34 | + |
| 35 | + function formatNum( $number ) { |
| 36 | + return strtr($this->commafy($number), '.,', ',.' ); |
| 37 | + } |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | +} |
| 42 | + |
| 43 | + |
| 44 | +?> |
Property changes on: branches/REL1_4/phase3/languages/LanguageTr.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 45 | + native |
Added: svn:keywords |
2 | 46 | + Author Date Id Revision |