Overlay logo with "Set $wgLogo to the URL path to your own logo image."
[lhc/web/wiklou.git] / languages / LanguageTt.php
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
6 #
7 # Tatarish localisation for MediaWiki
8 #
9 # This file is encoded in UTF-8, no byte order mark.
10 # For compatibility with Latin-1 installations, please
11 # don't add literal characters above U+00ff.
12 #
13
14 require_once( "LanguageUtf8.php" );
15
16 #--------------------------------------------------------------------------
17 # Language-specific text
18 #--------------------------------------------------------------------------
19
20 # The names of the namespaces can be set here, but the numbers
21 # are magical, so don't change or move them! The Namespace class
22 # encapsulates some of the magic-ness.
23 #
24
25 /* private */ $wgNamespaceNamesTt = array(
26 NS_MEDIA => 'Media',
27 NS_SPECIAL => 'Maxsus',
28 NS_MAIN => '',
29 NS_TALK => 'Bäxäs',
30 NS_USER => 'Äğzä',
31 NS_USER_TALK => "Äğzä_bäxäse",
32 NS_PROJECT => "Wikipedia",
33 NS_PROJECT_TALK => "Wikipedia_bäxäse",
34 NS_IMAGE => "Räsem",
35 NS_IMAGE_TALK => "Räsem_bäxäse",
36 NS_MEDIAWIKI => "MediaWiki",
37 NS_MEDIAWIKI_TALK => "MediaWiki_bäxäse",
38 NS_TEMPLATE => "Ürnäk",
39 NS_TEMPLATE_TALK => "Ürnäk_bäxäse",
40 NS_HELP => "Yärdäm",
41 NS_HELP_TALK => "Yärdäm_bäxäse",
42 NS_CATEGORY => "Törkem",
43 NS_CATEGORY_TALK => "Törkem_bäxäse"
44 ) + $wgNamespaceNamesEn;
45
46 /* private */ $wgQuickbarSettingsTt = array(
47 "None", "Fixed left", "Fixed right", "Floating left"
48 );
49
50 /* private */ $wgSkinNamesTt = array(
51 'standard' => 'Classic',
52 'nostalgia' => 'Nostalgia',
53 'cologneblue' => 'Cologne Blue',
54 'davinci' => 'DaVinci',
55 'mono' => 'Mono',
56 'monobook' => 'MonoBook',
57 'myskin' => 'MySkin'
58 );
59
60 /* private */ $wgDateFormatsTt = array(
61 # "köyläwsez",
62 );
63
64
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"
70 );
71
72 # Read language names
73 global $wgLanguageNames;
74 require_once( "Names.php" );
75
76 $wgLanguageNamesTt =& $wgLanguageNames;
77
78 # Note to translators:
79 # Please include the English words as synonyms. This allows people
80 # from other wikis to contribute more easily.
81 #
82 /* private */ $wgMagicWordsTt = array(
83 # ID CASE SYNONYMS
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' )
117 ) + $wgMagicWordsEn;
118
119 #-------------------------------------------------------------------
120 # Default messages
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
125
126 # NOTE: To turn off "Current Events" in the sidebar,
127 # set "currentevents" => ""
128
129 # NOTE: To turn off "Disclaimers" in the title links,
130 # set "disclaimers" => ""
131
132 # NOTE: To turn off "Community portal" in the title links,
133 # set "portal" => ""
134
135 /* private */ $wgAllMessagesTt = array(
136 'special_version_prefix' => '',
137 'special_version_postfix' => '',
138
139 # week days, months
140 'sunday' => "Yäkşämbe",
141 'monday' => "Düşämbe",
142 'tuesday' => "Sişämbe",
143 'wednesday' => "Çärşämbe",
144 'thursday' => "Pänceşämbe",
145 'friday' => "Comğa",
146 'saturday' => "Şimbä",
147 'january' => "Ğínwar",
148 'february' => "Febräl",
149 'march' => "Mart",
150 'april' => "Äpril",
151 'may_long' => "May",
152 'june' => "Yün",
153 'july' => "Yül",
154 'august' => "August",
155 'september' => "Sentäber",
156 'october' => "Öktäber",
157 'november' => "Nöyäber",
158 'december' => "Dekäber",
159 'jan' => "Ğín",
160 'feb' => "Feb",
161 'mar' => "Mar",
162 'apr' => "Äpr",
163 'may' => "May",
164 'jun' => "Yün",
165 'jul' => "Yül",
166 'aug' => "Aug",
167 'sep' => "Sen",
168 'oct' => "Ökt",
169 'nov' => "Nöy",
170 'dec' => "Dek",
171
172 # User Toggles
173 "tog-underline" => "Underline links",
174 "tog-highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
175 "tog-justify" => "Justify paragraphs",
176 "tog-hideminor" => "Hide minor edits in recent changes",
177 "tog-usenewrc" => "Enhanced recent changes (not for all browsers)",
178 "tog-numberheadings" => "Auto-number headings",
179 "tog-showtoolbar" =>"Show edit toolbar",
180 "tog-editondblclick" => "Edit pages on double click (JavaScript)",
181 "tog-editsection" =>"Enable section editing via [edit] links",
182 "tog-editsectiononrightclick"=>"Enable section editing by right clicking<br /> on section titles (JavaScript)",
183 "tog-showtoc" =>"Show table of contents<br />(for articles with more than 3 headings)",
184 "tog-rememberpassword" => "Remember password across sessions",
185 "tog-editwidth" => "Edit box has full width",
186 "tog-watchdefault" => "Add pages you edit to your watchlist",
187 "tog-minordefault" => "Mark all edits minor by default",
188 "tog-previewontop" => "Show preview before edit box and not after it",
189 "tog-nocache" => "Disable page caching",
190
191 );
192
193 class LanguageTt extends LanguageUtf8 {
194
195 function getBookstoreList () {
196 global $wgBookstoreListTt;
197 return $wgBookstoreListTt;
198 }
199
200 function getNamespaces() {
201 global $wgNamespaceNamesTt;
202 return $wgNamespaceNamesTt;
203 }
204
205 function getNsText( $index ) {
206 global $wgNamespaceNamesTt;
207 return $wgNamespaceNamesTt[$index];
208 }
209
210 function getNsIndex( $text ) {
211 global $wgNamespaceNamesTt;
212
213 foreach ( $wgNamespaceNamesTt as $i => $n ) {
214 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
215 }
216 return false;
217 }
218
219 function getQuickbarSettings() {
220 global $wgQuickbarSettingsTt;
221 return $wgQuickbarSettingsTt;
222 }
223
224 function getSkinNames() {
225 global $wgSkinNamesTt;
226 return $wgSkinNamesTt;
227 }
228
229 function getDateFormats() {
230 global $wgDateFormatsTt;
231 return $wgDateFormatsTt;
232 }
233
234 # Inherit userAdjust()
235
236 function date( $ts, $adj = false ) {
237 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
238
239 $d = (0 + substr( $ts, 6, 2 )) . ". " .
240 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
241 substr( $ts, 0, 4 );
242 return $d;
243 }
244
245 function time( $ts, $adj = false ) {
246 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
247
248 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
249 return $t;
250 }
251
252 function timeanddate( $ts, $adj = false ) {
253 return $this->date( $ts, $adj ) . ", " . $this->time( $ts, $adj );
254 }
255
256 # Inherit rfc1123()
257
258 function getValidSpecialPages() {
259 global $wgValidSpecialPagesTt;
260 return $wgValidSpecialPagesTt;
261 }
262
263 function getSysopSpecialPages() {
264 global $wgSysopSpecialPagesTt;
265 return $wgSysopSpecialPagesTt;
266 }
267
268 function getDeveloperSpecialPages() {
269 global $wgDeveloperSpecialPagesTt;
270 return $wgDeveloperSpecialPagesTt;
271 }
272
273 function getMessage( $key ) {
274 global $wgAllMessagesTt;
275 if( isset( $wgAllMessagesTt[$key] ) ) {
276 return $wgAllMessagesTt[$key];
277 } else {
278 return Language::getMessage( $key );
279 }
280 }
281
282 # Inherit iconv()
283
284 # Inherit ucfirst()
285
286 # Inherit lcfirst()
287
288 # Inherit checkTitleEncoding()
289
290 # Inherit stripForSearch()
291
292 # Inherit setAltEncoding()
293
294 # Inherit recodeForEdit()
295
296 # Inherit recodeInput()
297
298 # Inherit isRTL()
299
300 # Inherit getMagicWords()
301
302 function fallback8bitEncoding() {
303 # Windows codepage 1252 is a superset of iso 8859-1
304 # override this to use difference source encoding to
305 # translate incoming 8-bit URLs.
306 return "windows-1254";
307 }
308 }
309
310 ?>