7 # Tatarish localisation for MediaWiki
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.
14 require_once( "LanguageUtf8.php" );
16 #--------------------------------------------------------------------------
17 # Language-specific text
18 #--------------------------------------------------------------------------
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.
25 /* private */ $wgNamespaceNamesTt = array(
27 NS_SPECIAL
=> 'Maxsus',
31 NS_USER_TALK
=> "Äğzä_bäxäse",
32 NS_PROJECT
=> "Wikipedia",
33 NS_PROJECT_TALK
=> "Wikipedia_bäxäse",
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",
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;
46 /* private */ $wgQuickbarSettingsTt = array(
47 "None", "Fixed left", "Fixed right", "Floating left"
50 /* private */ $wgSkinNamesTt = array(
51 'standard' => 'Classic',
52 'nostalgia' => 'Nostalgia',
53 'cologneblue' => 'Cologne Blue',
54 'davinci' => 'DaVinci',
56 'monobook' => 'MonoBook',
60 /* private */ $wgDateFormatsTt = array(
65 global $wgLanguageNames;
66 require_once( "Names.php" );
68 $wgLanguageNamesTt =& $wgLanguageNames;
70 # Note to translators:
71 # Please include the English words as synonyms. This allows people
72 # from other wikis to contribute more easily.
74 /* private */ $wgMagicWordsTt = array(
76 MAG_REDIRECT
=> array( 0, '#yünältü' ),
77 MAG_NOTOC
=> array( 0, '__ETYUQ__' ),
78 MAG_FORCETOC
=> array( 0, '__ETTIQ__' ),
79 MAG_TOC
=> array( 0, '__ET__' ),
80 MAG_NOEDITSECTION
=> array( 0, '__BÜLEMTÖZÄTÜYUQ__' ),
81 MAG_START
=> array( 0, '__BAŞLAW__' ),
82 MAG_CURRENTMONTH
=> array( 1, 'AĞIMDAĞI_AY' ),
83 MAG_CURRENTMONTHNAME
=> array( 1, 'AĞIMDAĞI_AY_İSEME' ),
84 MAG_CURRENTDAY
=> array( 1, 'AĞIMDAĞI_KÖN' ),
85 MAG_CURRENTDAYNAME
=> array( 1, 'AĞIMDAĞI_KÖN_İSEME' ),
86 MAG_CURRENTYEAR
=> array( 1, 'AĞIMDAĞI_YIL' ),
87 MAG_CURRENTTIME
=> array( 1, 'AĞIMDAĞI_WAQIT' ),
88 MAG_NUMBEROFARTICLES
=> array( 1, 'MÄQÄLÄ_SANI' ),
89 MAG_CURRENTMONTHNAMEGEN
=> array( 1, 'AĞIMDAĞI_AY_İSEME_GEN' ),
90 MAG_PAGENAME
=> array( 1, 'BİTİSEME' ),
91 MAG_NAMESPACE
=> array( 1, 'İSEMARA' ),
92 MAG_SUBST
=> array( 0, 'TÖPÇEK:' ),
93 MAG_MSGNW
=> array( 0, 'MSGNW:' ),
94 MAG_END
=> array( 0, '__AZAQ__' ),
95 MAG_IMG_THUMBNAIL
=> array( 1, 'thumbnail', 'thumb' ),
96 MAG_IMG_RIGHT
=> array( 1, 'uñda' ),
97 MAG_IMG_LEFT
=> array( 1, 'sulda' ),
98 MAG_IMG_NONE
=> array( 1, 'yuq' ),
99 MAG_IMG_WIDTH
=> array( 1, '$1px' ),
100 MAG_IMG_CENTER
=> array( 1, 'center', 'centre' ),
101 MAG_IMG_FRAMED
=> array( 1, 'framed', 'enframed', 'frame' ),
102 MAG_INT
=> array( 0, 'EÇKE:' ),
103 MAG_SITENAME
=> array( 1, 'SÄXİFÄİSEME' ),
104 MAG_NS
=> array( 0, 'İA:' ),
105 MAG_LOCALURL
=> array( 0, 'URINLIURL:' ),
106 MAG_LOCALURLE
=> array( 0, 'URINLIURLE:' ),
107 MAG_SERVER
=> array( 0, 'SERVER' )
110 #-------------------------------------------------------------------
112 #-------------------------------------------------------------------
113 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
114 # hyphen (-). If you need more characters, you may be able to change
115 # the regex in MagicWord::initRegex
117 # NOTE: To turn off "Current Events" in the sidebar,
118 # set "currentevents" => ""
120 # NOTE: To turn off "Disclaimers" in the title links,
121 # set "disclaimers" => ""
123 # NOTE: To turn off "Community portal" in the title links,
126 /* private */ $wgAllMessagesTt = array(
129 'sunday' => "Yäkşämbe",
130 'monday' => "Düşämbe",
131 'tuesday' => "Sişämbe",
132 'wednesday' => "Çärşämbe",
133 'thursday' => "Pänceşämbe",
135 'saturday' => "Şimbä",
136 'january' => "Ğínwar",
137 'february' => "Febräl",
143 'august' => "August",
144 'september' => "Sentäber",
145 'october' => "Öktäber",
146 'november' => "Nöyäber",
147 'december' => "Dekäber",
162 "tog-underline" => "Underline links",
163 "tog-highlightbroken" => "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
164 "tog-justify" => "Justify paragraphs",
165 "tog-hideminor" => "Hide minor edits in recent changes",
166 "tog-usenewrc" => "Enhanced recent changes (not for all browsers)",
167 "tog-numberheadings" => "Auto-number headings",
168 "tog-showtoolbar" =>"Show edit toolbar",
169 "tog-editondblclick" => "Edit pages on double click (JavaScript)",
170 "tog-editsection" =>"Enable section editing via [edit] links",
171 "tog-editsectiononrightclick"=>"Enable section editing by right clicking<br /> on section titles (JavaScript)",
172 "tog-showtoc" =>"Show table of contents<br />(for articles with more than 3 headings)",
173 "tog-rememberpassword" => "Remember password across sessions",
174 "tog-editwidth" => "Edit box has full width",
175 "tog-watchdefault" => "Add pages you edit to your watchlist",
176 "tog-minordefault" => "Mark all edits minor by default",
177 "tog-previewontop" => "Show preview before edit box and not after it",
178 "tog-nocache" => "Disable page caching",
182 class LanguageTt
extends LanguageUtf8
{
184 function getNamespaces() {
185 global $wgNamespaceNamesTt;
186 return $wgNamespaceNamesTt;
189 function getQuickbarSettings() {
190 global $wgQuickbarSettingsTt;
191 return $wgQuickbarSettingsTt;
194 function getSkinNames() {
195 global $wgSkinNamesTt;
196 return $wgSkinNamesTt;
199 function getDateFormats() {
200 global $wgDateFormatsTt;
201 return $wgDateFormatsTt;
205 function date( $ts, $adj = false ) {
206 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
208 $d = (0 +
substr( $ts, 6, 2 )) . ". " .
209 $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . " " .
214 function time( $ts, $adj = false ) {
215 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
217 $t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
221 function timeanddate( $ts, $adj = false ) {
222 return $this->date( $ts, $adj ) . ", " . $this->time( $ts, $adj );
227 function getValidSpecialPages() {
228 global $wgValidSpecialPagesTt;
229 return $wgValidSpecialPagesTt;
232 function getSysopSpecialPages() {
233 global $wgSysopSpecialPagesTt;
234 return $wgSysopSpecialPagesTt;
237 function getDeveloperSpecialPages() {
238 global $wgDeveloperSpecialPagesTt;
239 return $wgDeveloperSpecialPagesTt;
242 function getMessage( $key ) {
243 global $wgAllMessagesTt;
244 if( isset( $wgAllMessagesTt[$key] ) ) {
245 return $wgAllMessagesTt[$key];
247 return parent
::getMessage( $key );
251 function fallback8bitEncoding() {
252 # Windows codepage 1252 is a superset of iso 8859-1
253 # override this to use difference source encoding to
254 # translate incoming 8-bit URLs.
255 return "windows-1254";