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(
64 /* private */ $wgUserTogglesTt = array(
65 "hover" => "Show hoverbox over wiki links",
66 "underline" => "Underline links",
67 "highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
68 "justify" => "Justify paragraphs",
69 "hideminor" => "Hide minor edits in recent changes",
70 "usenewrc" => "Enhanced recent changes (not for all browsers)",
71 "numberheadings" => "Auto-number headings",
72 "showtoolbar" =>"Show edit toolbar",
73 "editondblclick" => "Edit pages on double click (JavaScript)",
74 "editsection" =>"Enable section editing via [edit] links",
75 "editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
76 "showtoc" =>"Show table of contents<br>(for articles with more than 3 headings)",
77 "rememberpassword" => "Remember password across sessions",
78 "editwidth" => "Edit box has full width",
79 "watchdefault" => "Add pages you edit to your watchlist",
80 "minordefault" => "Mark all edits minor by default",
81 "previewontop" => "Show preview before edit box and not after it",
82 "nocache" => "Disable page caching"
85 /* private */ $wgBookstoreListTt = array(
86 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
87 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
88 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
89 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
93 global $wgLanguageNames;
94 require_once( "Names.php" );
96 $wgLanguageNamesTt =& $wgLanguageNames;
98 # Note to translators:
99 # Please include the English words as synonyms. This allows people
100 # from other wikis to contribute more easily.
102 /* private */ $wgMagicWordsTt = array(
104 MAG_REDIRECT
=> array( 0, '#yünältü' ),
105 MAG_NOTOC
=> array( 0, '__ETYUQ__' ),
106 MAG_FORCETOC
=> array( 0, '__ETTIQ__' ),
107 MAG_TOC
=> array( 0, '__ET__' ),
108 MAG_NOEDITSECTION
=> array( 0, '__BÜLEMTÖZÄTÜYUQ__' ),
109 MAG_START
=> array( 0, '__BAŞLAW__' ),
110 MAG_CURRENTMONTH
=> array( 1, 'AĞIMDAĞI_AY' ),
111 MAG_CURRENTMONTHNAME
=> array( 1, 'AĞIMDAĞI_AY_İSEME' ),
112 MAG_CURRENTDAY
=> array( 1, 'AĞIMDAĞI_KÖN' ),
113 MAG_CURRENTDAYNAME
=> array( 1, 'AĞIMDAĞI_KÖN_İSEME' ),
114 MAG_CURRENTYEAR
=> array( 1, 'AĞIMDAĞI_YIL' ),
115 MAG_CURRENTTIME
=> array( 1, 'AĞIMDAĞI_WAQIT' ),
116 MAG_NUMBEROFARTICLES
=> array( 1, 'MÄQÄLÄ_SANI' ),
117 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'AĞIMDAĞI_AY_İSEME_GEN' ),
118 MAG_PAGENAME
=> array( 1, 'BİTİSEME' ),
119 MAG_NAMESPACE
=> array( 1, 'İSEMARA' ),
120 MAG_MSG
=> array( 0, 'STR:' ),
121 MAG_SUBST
=> array( 0, 'TÖPÇEK:' ),
122 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
123 MAG_END
=> array( 0, '__AZAQ__' ),
124 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
125 MAG_IMG_RIGHT
=> array( 1, 'uñda' ),
126 MAG_IMG_LEFT
=> array( 1, 'sulda' ),
127 MAG_IMG_NONE
=> array( 1, 'yuq' ),
128 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
129 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
130 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
131 MAG_INT
=> array( 0, 'EÇKE:' ),
132 MAG_SITENAME
=> array( 1, 'SÄXİFÄİSEME' ),
133 MAG_NS
=> array( 0, 'İA:' ),
134 MAG_LOCALURL
=> array( 0, 'URINLIURL:' ),
135 MAG_LOCALURLE
=> array( 0, 'URINLIURLE:' ),
136 MAG_SERVER
=> array( 0, 'SERVER' )
139 #-------------------------------------------------------------------
141 #-------------------------------------------------------------------
142 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
143 # hyphen (-). If you need more characters, you may be able to change
144 # the regex in MagicWord::initRegex
146 # NOTE: To turn off "Current Events" in the sidebar,
147 # set "currentevents" => ""
149 # NOTE: To turn off "Disclaimers" in the title links,
150 # set "disclaimers" => ""
152 # NOTE: To turn off "Community portal" in the title links,
155 /* private */ $wgAllMessagesTt = array();
157 class LanguageTt
extends LanguageUtf8
{
159 function getDefaultUserOptions () {
160 $opt = Language
::getDefaultUserOptions();
164 function getBookstoreList () {
165 global $wgBookstoreListTt;
166 return $wgBookstoreListTt;
169 function getNamespaces() {
170 global $wgNamespaceNamesTt;
171 return $wgNamespaceNamesTt;
174 function getNsText( $index ) {
175 global $wgNamespaceNamesTt;
176 return $wgNamespaceNamesTt[$index];
179 function getNsIndex( $text ) {
180 global $wgNamespaceNamesTt;
182 foreach ( $wgNamespaceNamesTt as $i => $n ) {
183 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
188 function specialPage( $name ) {
189 return $this->getNsText( Namespace::getSpecial() ) . ":" . $name;
192 function getQuickbarSettings() {
193 global $wgQuickbarSettingsTt;
194 return $wgQuickbarSettingsTt;
197 function getSkinNames() {
198 global $wgSkinNamesTt;
199 return $wgSkinNamesTt;
202 function getDateFormats() {
203 global $wgDateFormatsTt;
204 return $wgDateFormatsTt;
207 function getUserToggles() {
208 global $wgUserTogglesTt;
209 return $wgUserTogglesTt;
212 # Inherit userAdjust()
214 function date( $ts, $adj = false ) {
215 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
217 $d = (0 +
substr( $ts, 6, 2 )) . ". " .
218 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
223 function time( $ts, $adj = false ) {
224 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
226 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
230 function timeanddate( $ts, $adj = false ) {
231 return $this->date( $ts, $adj ) . ", " . $this->time( $ts, $adj );
236 function getValidSpecialPages() {
237 global $wgValidSpecialPagesTt;
238 return $wgValidSpecialPagesTt;
241 function getSysopSpecialPages() {
242 global $wgSysopSpecialPagesTt;
243 return $wgSysopSpecialPagesTt;
246 function getDeveloperSpecialPages() {
247 global $wgDeveloperSpecialPagesTt;
248 return $wgDeveloperSpecialPagesTt;
251 function getMessage( $key ) {
252 global $wgAllMessagesTt;
253 if( isset( $wgAllMessagesTt[$key] ) )
254 return $wgAllMessagesTt[$key];
264 # Inherit checkTitleEncoding()
266 # Inherit stripForSearch()
268 # Inherit setAltEncoding()
270 # Inherit recodeForEdit()
272 # Inherit recodeInput()
276 # Inherit getMagicWords()
278 function fallback8bitEncoding() {
279 # Windows codepage 1252 is a superset of iso 8859-1
280 # override this to use difference source encoding to
281 # translate incoming 8-bit URLs.
282 return "windows-1254";