2 require_once( "LanguageUtf8.php" );
4 /* private */ $wgNamespaceNamesTr = array(
9 NS_USER => 'Kullanıcı',
10 NS_USER_TALK => 'Kullanıcı_mesaj',
11 NS_PROJECT => $wgMetaNamespace,
12 NS_PROJECT_TALK => $wgMetaNamespace . '_tartışma',
14 NS_IMAGE_TALK => 'Resim_tartışma',
15 NS_MEDIAWIKI => 'MedyaViki',
16 NS_MEDIAWIKI_TALK => 'MedyaViki_tartışma',
17 NS_TEMPLATE => 'Şablon',
18 NS_TEMPLATE_TALK => 'Şablon_tartışma',
20 NS_HELP_TALK => 'Yardım_tartışma',
21 NS_CATEGORY => 'Kategori',
22 NS_CATEGORY_TALK => 'Kategori_tartışma',
23 ) + $wgNamespaceNamesEn;
25 class LanguageTr extends LanguageUtf8 {
26 function getNamespaces() {
27 global $wgNamespaceNamesTr;
28 return $wgNamespaceNamesTr;
31 function formatNum( $number, $year = false ) {
32 return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
35 function ucfirst ( $string ) {
36 if ( $string[0] == 'i' ) {
37 return 'İ' . substr( $string, 1 );
39 return parent::ucfirst( $string );