3 # Tatarish localisation for MediaWiki
5 # This file is encoded in UTF-8, no byte order mark.
6 # For compatibility with Latin-1 installations, please
7 # don't add literal characters above U+00ff.
10 require_once( "LanguageUtf8.php" );
12 #--------------------------------------------------------------------------
13 # Language-specific text
14 #--------------------------------------------------------------------------
16 # The names of the namespaces can be set here, but the numbers
17 # are magical, so don't change or move them! The Namespace class
18 # encapsulates some of the magic-ness.
21 /* private */ $wgNamespaceNamesTt = array(
23 NS_SPECIAL
=> 'Maxsus',
27 NS_USER_TALK
=> "Äğzä_bäxäse",
28 NS_WIKIPEDIA
=> "Wikipedia",
29 NS_WIKIPEDIA_TALK
=> "Wikipedia_bäxäse",
31 NS_IMAGE_TALK
=> "Räsem_bäxäse",
32 NS_MEDIAWIKI
=> "MediaWiki",
33 NS_MEDIAWIKI_TALK
=> "MediaWiki_bäxäse",
34 NS_TEMPLATE
=> "Ürnäk",
35 NS_TEMPLATE_TALK
=> "Ürnäk_bäxäse",
37 NS_HELP_TALK
=> "Yärdäm_bäxäse",
38 NS_CATEGORY
=> "Törkem",
39 NS_CATEGORY_TALK
=> "Törkem_bäxäse"
40 ) +
$wgNamespaceNamesEn;
42 /* private */ $wgQuickbarSettingsTt = array(
43 "None", "Fixed left", "Fixed right", "Floating left"
46 /* private */ $wgSkinNamesTt = array(
47 'standard' => 'Classic',
48 'nostalgia' => 'Nostalgia',
49 'cologneblue' => 'Cologne Blue',
50 'davinci' => 'DaVinci',
52 'monobook' => 'MonoBook',
56 /* private */ $wgDateFormatsTt = array(
65 /* private */ $wgBookstoreListTt = array(
66 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
67 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
68 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
69 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
73 global $wgLanguageNames;
74 require_once( "Names.php" );
76 $wgLanguageNamesTt =& $wgLanguageNames;
78 # Note to translators:
79 # Please include the English words as synonyms. This allows people
80 # from other wikis to contribute more easily.
82 /* private */ $wgMagicWordsTt = array(
84 MAG_REDIRECT
=> array( 0, '#yünältü' ),
85 MAG_NOTOC
=> array( 0, '__ETYUQ__' ),
86 MAG_FORCETOC
=> array( 0, '__ETTIQ__' ),
87 MAG_TOC
=> array( 0, '__ET__' ),
88 MAG_NOEDITSECTION
=> array( 0, '__BÜLEMTÖZÄTÜYUQ__' ),
89 MAG_START
=> array( 0, '__BAŞLAW__' ),
90 MAG_CURRENTMONTH
=> array( 1, 'AĞIMDAĞI_AY' ),
91 MAG_CURRENTMONTHNAME
=> array( 1, 'AĞIMDAĞI_AY_İSEME' ),
92 MAG_CURRENTDAY
=> array( 1, 'AĞIMDAĞI_KÖN' ),
93 MAG_CURRENTDAYNAME
=> array( 1, 'AĞIMDAĞI_KÖN_İSEME' ),
94 MAG_CURRENTYEAR
=> array( 1, 'AĞIMDAĞI_YIL' ),
95 MAG_CURRENTTIME
=> array( 1, 'AĞIMDAĞI_WAQIT' ),
96 MAG_NUMBEROFARTICLES
=> array( 1, 'MÄQÄLÄ_SANI' ),
97 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'AĞIMDAĞI_AY_İSEME_GEN' ),
98 MAG_PAGENAME
=> array( 1, 'BİTİSEME' ),
99 MAG_NAMESPACE
=> array( 1, 'İSEMARA' ),
100 MAG_MSG
=> array( 0, 'STR:' ),
101 MAG_SUBST
=> array( 0, 'TÖPÇEK:' ),
102 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
103 MAG_END
=> array( 0, '__AZAQ__' ),
104 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
105 MAG_IMG_RIGHT
=> array( 1, 'uñda' ),
106 MAG_IMG_LEFT
=> array( 1, 'sulda' ),
107 MAG_IMG_NONE
=> array( 1, 'yuq' ),
108 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
109 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
110 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
111 MAG_INT
=> array( 0, 'EÇKE:' ),
112 MAG_SITENAME
=> array( 1, 'SÄXİFÄİSEME' ),
113 MAG_NS
=> array( 0, 'İA:' ),
114 MAG_LOCALURL
=> array( 0, 'URINLIURL:' ),
115 MAG_LOCALURLE
=> array( 0, 'URINLIURLE:' ),
116 MAG_SERVER
=> array( 0, 'SERVER' )
119 #-------------------------------------------------------------------
121 #-------------------------------------------------------------------
122 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
123 # hyphen (-). If you need more characters, you may be able to change
124 # the regex in MagicWord::initRegex
126 # NOTE: To turn off "Current Events" in the sidebar,
127 # set "currentevents" => ""
129 # NOTE: To turn off "Disclaimers" in the title links,
130 # set "disclaimers" => ""
132 # NOTE: To turn off "Community portal" in the title links,
135 /* private */ $wgAllMessagesTt = array(
136 'special_version_prefix' => '',
137 'special_version_postfix' => '',
140 'sunday' => "Yäkşämbe",
141 'monday' => "Düşämbe",
142 'tuesday' => "Sişämbe",
143 'wednesday' => "Çärşämbe",
144 'thursday' => "Pänceşämbe",
146 'saturday' => "Şimbä",
147 'january' => "Ğínwar",
148 'february' => "Febräl",
154 'august' => "August",
155 'september' => "Sentäber",
156 'october' => "Öktäber",
157 'november' => "Nöyäber",
158 'december' => "Dekäber",
173 "tog-hover" => "Show hoverbox over wiki links",
174 "tog-underline" => "Underline links",
175 "tog-highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
176 "tog-justify" => "Justify paragraphs",
177 "tog-hideminor" => "Hide minor edits in recent changes",
178 "tog-usenewrc" => "Enhanced recent changes (not for all browsers)",
179 "tog-numberheadings" => "Auto-number headings",
180 "tog-showtoolbar" =>"Show edit toolbar",
181 "tog-editondblclick" => "Edit pages on double click (JavaScript)",
182 "tog-editsection" =>"Enable section editing via [edit] links",
183 "tog-editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
184 "tog-showtoc" =>"Show table of contents<br>(for articles with more than 3 headings)",
185 "tog-rememberpassword" => "Remember password across sessions",
186 "tog-editwidth" => "Edit box has full width",
187 "tog-watchdefault" => "Add pages you edit to your watchlist",
188 "tog-minordefault" => "Mark all edits minor by default",
189 "tog-previewontop" => "Show preview before edit box and not after it",
190 "tog-nocache" => "Disable page caching",
194 class LanguageTt
extends LanguageUtf8
{
196 function getDefaultUserOptions () {
197 $opt = Language
::getDefaultUserOptions();
201 function getBookstoreList () {
202 global $wgBookstoreListTt;
203 return $wgBookstoreListTt;
206 function getNamespaces() {
207 global $wgNamespaceNamesTt;
208 return $wgNamespaceNamesTt;
211 function getNsText( $index ) {
212 global $wgNamespaceNamesTt;
213 return $wgNamespaceNamesTt[$index];
216 function getNsIndex( $text ) {
217 global $wgNamespaceNamesTt;
219 foreach ( $wgNamespaceNamesTt as $i => $n ) {
220 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
225 function specialPage( $name ) {
226 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
229 function getQuickbarSettings() {
230 global $wgQuickbarSettingsTt;
231 return $wgQuickbarSettingsTt;
234 function getSkinNames() {
235 global $wgSkinNamesTt;
236 return $wgSkinNamesTt;
239 function getDateFormats() {
240 global $wgDateFormatsTt;
241 return $wgDateFormatsTt;
244 # Inherit userAdjust()
246 function date( $ts, $adj = false ) {
247 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
249 $d = (0 +
substr( $ts, 6, 2 )) . ". " .
250 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
255 function time( $ts, $adj = false ) {
256 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
258 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
262 function timeanddate( $ts, $adj = false ) {
263 return $this->date( $ts, $adj ) . ", " . $this->time( $ts, $adj );
268 function getValidSpecialPages() {
269 global $wgValidSpecialPagesTt;
270 return $wgValidSpecialPagesTt;
273 function getSysopSpecialPages() {
274 global $wgSysopSpecialPagesTt;
275 return $wgSysopSpecialPagesTt;
278 function getDeveloperSpecialPages() {
279 global $wgDeveloperSpecialPagesTt;
280 return $wgDeveloperSpecialPagesTt;
283 function getMessage( $key ) {
284 global $wgAllMessagesTt;
285 if( isset( $wgAllMessagesTt[$key] ) ) {
286 return $wgAllMessagesTt[$key];
288 return Language
::getMessage( $key );
298 # Inherit checkTitleEncoding()
300 # Inherit stripForSearch()
302 # Inherit setAltEncoding()
304 # Inherit recodeForEdit()
306 # Inherit recodeInput()
310 # Inherit getMagicWords()
312 function fallback8bitEncoding() {
313 # Windows codepage 1252 is a superset of iso 8859-1
314 # override this to use difference source encoding to
315 # translate incoming 8-bit URLs.
316 return "windows-1254";