r9534 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r9533‎ | r9534 | r9535 >
Date:20:41, 20 June 2005
Author:avar
Status:old
Tags:
Comment:
* (bug 2467) Adding a Turkish language file
Modified paths:
  • /branches/REL1_4/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_4/phase3/languages/LanguageTr.php (added) (history)

Diff [purge]

Index: branches/REL1_4/phase3/RELEASE-NOTES
@@ -16,6 +16,7 @@
1717 tag on a page that included a gallery through a template (backported from HEAD)
1818 * (bug 2457) The "Special page" href now links to the current special page
1919 rather than to ""
 20+* (bug 2467) Added a Turkish language file
2021
2122 == MediaWiki 1.4.5 ==
2223
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
145 + native
Added: svn:keywords
246 + Author Date Id Revision

Follow-up revisions

RevisionCommit summaryAuthorDate
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
r9545* (bug 2467) Fixed encoding issue with previous patchavar02:06, 21 June 2005

Status & tagging log