2005-06-20 20:41:05 +00:00
|
|
|
|
<?php
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
|
|
2006-06-28 19:52:31 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* Turkish (Türkçe)
|
|
|
|
|
|
*
|
2011-03-14 22:14:39 +00:00
|
|
|
|
* Turkish has two different i, one with a dot and another without a dot. They
|
|
|
|
|
|
* are totally different letters in this language, so we have to override the
|
|
|
|
|
|
* ucfirst and lcfirst methods.
|
|
|
|
|
|
* See http://en.wikipedia.org/wiki/Dotted_and_dotless_I
|
|
|
|
|
|
* and @bug 28040
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
|
* @ingroup Language
|
2006-06-28 19:52:31 +00:00
|
|
|
|
*/
|
2006-07-26 07:15:39 +00:00
|
|
|
|
class LanguageTr extends Language {
|
2011-03-14 22:14:39 +00:00
|
|
|
|
|
2011-05-29 15:59:47 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* @param $string string
|
|
|
|
|
|
* @return string
|
|
|
|
|
|
*/
|
2006-06-28 19:52:31 +00:00
|
|
|
|
function ucfirst ( $string ) {
|
2010-07-29 09:43:18 +00:00
|
|
|
|
if ( !empty( $string ) && $string[0] == 'i' ) {
|
2006-06-28 19:52:31 +00:00
|
|
|
|
return 'İ' . substr( $string, 1 );
|
|
|
|
|
|
} else {
|
|
|
|
|
|
return parent::ucfirst( $string );
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2011-03-14 22:14:39 +00:00
|
|
|
|
|
2011-05-29 15:59:47 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* @param $string string
|
|
|
|
|
|
* @return mixed|string
|
|
|
|
|
|
*/
|
2011-03-14 22:14:39 +00:00
|
|
|
|
function lcfirst ( $string ) {
|
|
|
|
|
|
if ( !empty( $string ) && $string[0] == 'I' ) {
|
|
|
|
|
|
return 'ı' . substr( $string, 1 );
|
|
|
|
|
|
} else {
|
|
|
|
|
|
return parent::lcfirst( $string );
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2011-05-29 15:59:47 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* @see bug 28040
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param $string string
|
2011-05-29 16:32:05 +00:00
|
|
|
|
* @param $first string|bool
|
2011-05-29 15:59:47 +00:00
|
|
|
|
*
|
|
|
|
|
|
* @return string
|
|
|
|
|
|
*/
|
2011-03-16 07:38:15 +00:00
|
|
|
|
function uc( $string, $first = false ) {
|
2011-03-15 21:56:54 +00:00
|
|
|
|
$string = preg_replace( '/i/', 'İ', $string );
|
2011-03-16 07:38:15 +00:00
|
|
|
|
return parent::uc( $string, $first );
|
2011-03-15 21:56:54 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2011-05-29 15:59:47 +00:00
|
|
|
|
/**
|
|
|
|
|
|
* @see bug 28040
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param $string string
|
2011-05-29 16:32:05 +00:00
|
|
|
|
* @param $first string|bool
|
2011-05-29 15:59:47 +00:00
|
|
|
|
*
|
|
|
|
|
|
* @return string
|
|
|
|
|
|
*/
|
2011-03-16 07:38:15 +00:00
|
|
|
|
function lc( $string, $first = false ) {
|
2011-03-15 21:56:54 +00:00
|
|
|
|
$string = preg_replace( '/I/', 'ı', $string );
|
2011-03-16 07:38:15 +00:00
|
|
|
|
return parent::lc( $string, $first );
|
2011-03-15 21:56:54 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2006-04-29 20:07:14 +00:00
|
|
|
|
}
|