r9545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9544‎ | r9545 | r9546 >
Date:02:06, 21 June 2005
Author:avar
Status:old
Tags:
Comment:
* (bug 2467) Fixed encoding issue with previous patch
Modified paths:
  • /branches/REL1_4/phase3/languages/LanguageTr.php (modified) (history)

Diff [purge]

Index: branches/REL1_4/phase3/languages/LanguageTr.php
@@ -1,28 +1,25 @@
22 <?php
33 require_once( "LanguageUtf8.php" );
44
5 -if ( $wgMetaNamespace == "Wikipedia" ) {
6 - $wgMetaNamespace = "Vikipedi";
7 -}
85 /* private */ $wgNamespaceNamesTr = array(
96 NS_MEDIA => 'Media',
10 - NS_SPECIAL => '�zel',
 7+ NS_SPECIAL => 'Özel',
118 NS_MAIN => '',
12 - NS_TALK => 'Tartisma',
13 - NS_USER => 'Kullanici',
14 - NS_USER_TALK => 'Kullanici_mesaj',
 9+ NS_TALK => 'Tartışma',
 10+ NS_USER => 'Kullanıcı',
 11+ NS_USER_TALK => 'Kullanıcı_mesaj',
1512 NS_PROJECT => $wgMetaNamespace,
16 - NS_PROJECT_TALK => $wgMetaNamespace . '_tartisma',
 13+ NS_PROJECT_TALK => $wgMetaNamespace . '_tartışma',
1714 NS_IMAGE => 'Resim',
18 - NS_IMAGE_TALK => 'Resim_tartisma',
 15+ NS_IMAGE_TALK => 'Resim_tartışma',
1916 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',
 17+ NS_MEDIAWIKI_TALK => 'MedyaViki_tartışma',
 18+ NS_TEMPLATE => 'Şablon',
 19+ NS_TEMPLATE_TALK => 'Şablon_tartışma',
 20+ NS_HELP => 'Yardım',
 21+ NS_HELP_TALK => 'Yardım_tartışma',
2522 NS_CATEGORY => 'Kategori',
26 - NS_CATEGORY_TALK => 'Kategori_tartisma',
 23+ NS_CATEGORY_TALK => 'Kategori_tartışma',
2724 ) + $wgNamespaceNamesEn;
2825
2926 class LanguageTr extends LanguageUtf8 {
@@ -31,13 +28,8 @@
3229 return $wgNamespaceNamesTr;
3330 }
3431
35 - function formatNum( $number ) {
36 - return strtr($this->commafy($number), '.,', ',.' );
 32+ function formatNum( $number, $year = false ) {
 33+ return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
3734 }
38 -
39 -
40 -
4135 }
42 -
43 -
4436 ?>

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r9534* (bug 2467) Adding a Turkish language fileavar20:41, 20 June 2005
r9535* (bug 2467) Adding a Turkish language fileavar20:41, 20 June 2005
r9544* (bug 2467) Fixed encoding issue with previous patchavar02:05, 21 June 2005

Status & tagging log