Index: trunk/phase3/languages/messages/MessagesKu_latn.php |
— | — | @@ -9,17 +9,6 @@ |
10 | 10 | * @author Siebrand |
11 | 11 | */ |
12 | 12 | |
13 | | -$separatorTransformTable = array( |
14 | | - ',' => '.', |
15 | | - '.' => ',' |
16 | | -); |
17 | | - |
18 | | -$extraUserToggles = array( |
19 | | - 'nolangconversion' |
20 | | -); |
21 | | - |
22 | | -$linkPrefixExtension = true; |
23 | | - |
24 | 13 | $namespaceNames = array( |
25 | 14 | NS_MEDIA => 'Medya', |
26 | 15 | NS_SPECIAL => 'Taybet', |
— | — | @@ -1152,6 +1141,62 @@ |
1153 | 1142 | 'tooltip-ca-nstab-special' => 'This is a special page, you can', |
1154 | 1143 | 'tooltip-compareselectedversions' => 'Cudatiyên guhartoyên hilbijartî yên vê rûpelê bibîne.', |
1155 | 1144 | |
| 1145 | +# Stylesheets |
| 1146 | +'monobook.css' => '*.rtl |
| 1147 | + { |
| 1148 | + dir:rtl; |
| 1149 | + text-align:right; |
| 1150 | + font-family: "Tahoma", "Unikurd Web", "Arial Unicode MS", "DejaVu Sans", "Lateef", "Scheherazade", "ae_Rasheeq", sans-serif, sans; |
| 1151 | + } |
| 1152 | + |
| 1153 | + /*Make the site more suitable for Soranî users */ |
| 1154 | + h1 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
| 1155 | + h2 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
| 1156 | + h3 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
| 1157 | + body {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
| 1158 | + textarea {font-family: Lucida Console, Tahoma;} |
| 1159 | + pre {font-family: Lucida Console, Tahoma;}', |
| 1160 | + |
| 1161 | +# Scripts |
| 1162 | +'common.js' => '/* JavaScript */ |
| 1163 | + |
| 1164 | +/* Workaround for language variants */ |
| 1165 | + |
| 1166 | +// Set user-defined "lang" attributes for the document element (from zh) |
| 1167 | +var htmlE=document.documentElement; |
| 1168 | +if (wgUserLanguage == "ku"){ variant = "ku"; } |
| 1169 | +if (wgUserLanguage == "ku-latn"){ variant = "ku-Latn"; } |
| 1170 | +if (wgUserLanguage == "ku-arab"){ variant = "ku-Arab"; htmlE.setAttribute("dir","rtl"); } |
| 1171 | +htmlE.setAttribute("lang",variant); |
| 1172 | +htmlE.setAttribute("xml:lang",variant); |
| 1173 | + |
| 1174 | +// Switch language variants of messages (from zh) |
| 1175 | +function wgULS(latn,arab){ |
| 1176 | + // |
| 1177 | + ku=latn||arab; |
| 1178 | + ku=ku; |
| 1179 | + latn=latn; |
| 1180 | + arab=arab; |
| 1181 | + switch(wgUserLanguage){ |
| 1182 | + case "ku": return ku; |
| 1183 | + case "ku-arab": return arab; |
| 1184 | + case "ku-latn": return latn; |
| 1185 | + default: return ""; |
| 1186 | + } |
| 1187 | +} |
| 1188 | + |
| 1189 | +// workaround for RTL ([[bugzilla:6756]]) and for [[bugzilla:02020]] & [[bugzilla:04295]] |
| 1190 | +if (wgUserLanguage == "ku-arab") |
| 1191 | +{ |
| 1192 | + document.direction="rtl"; |
| 1193 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\'); |
| 1194 | + document.write(\'<style type="text/css">html {direction:rtl;} body {direction:rtl; unicode-bidi:embed; lang:ku-Arab; font-family:"Arial Unicode MS",Arial,Tahoma; font-size: 75%; letter-spacing: 0.001em;} html > body div#content ol {clear: left;} ol {margin-left:2.4em; margin-right:2.4em;} ul {margin-left:1.5em; margin-right:1.5em;} h1.firstHeading {background-position: bottom right; background-repeat: no-repeat;} h3 {font-size:110%;} h4 {font-size:100%;} h5 {font-size:90%;} #catlinks {width:100%;} #userloginForm {float: right !important;}</style>\'); |
| 1195 | + |
| 1196 | + if (skin == "monobook"){ |
| 1197 | + document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\'); |
| 1198 | + } |
| 1199 | +}', |
| 1200 | + |
1156 | 1201 | # Attribution |
1157 | 1202 | 'anonymous' => 'Bikarhênera/ê nediyarkirî ya/yê {{SITENAME}}', |
1158 | 1203 | 'siteuser' => 'Bikarhênera/ê $1 a/ê {{SITENAME}}', |
— | — | @@ -1186,6 +1231,11 @@ |
1187 | 1232 | # Special:Newimages |
1188 | 1233 | 'newimages' => 'Pêşangeha wêneyên nû', |
1189 | 1234 | |
| 1235 | +# Variants for Kurdish language |
| 1236 | +'variantname-ku-arab' => 'tîpên erebî', |
| 1237 | +'variantname-ku-latn' => 'tîpên latînî', |
| 1238 | +'variantname-ku' => 'disable', |
| 1239 | + |
1190 | 1240 | # EXIF tags |
1191 | 1241 | 'exif-imagedescription' => 'Navî wêneyê', |
1192 | 1242 | |
Index: trunk/phase3/languages/messages/MessagesKu_arab.php |
— | — | @@ -9,59 +9,6 @@ |
10 | 10 | |
11 | 11 | $fallback = 'ku-latn'; |
12 | 12 | |
13 | | -$rtl = true; |
14 | | - |
15 | | -$digitTransformTable = array( |
16 | | - '0' => '۰', # ۰ |
17 | | - '1' => '۱', # ۱ |
18 | | - '2' => '۲', # ۲ |
19 | | - '3' => '۳', # ۳ |
20 | | - '4' => '۴', # ۴ |
21 | | - '5' => '۵', # ۵ |
22 | | - '6' => '۶', # ۶ |
23 | | - '7' => '۷', # ۷ |
24 | | - '8' => '۸', # ۸ |
25 | | - '9' => '۹', # ۹ |
26 | | -); |
27 | | - |
28 | | -$separatorTransformTable = array( |
29 | | - ',' => '٬', # ٬ |
30 | | - '.' => '٫', # ٫ |
31 | | -); |
32 | | - |
33 | | -$defaultUserOptionOverrides = array( |
34 | | - # Swap sidebar to right side by default |
35 | | - 'quickbar' => 2, |
36 | | - # Underlines seriously harm legibility. Force off: |
37 | | - 'underline' => 0, |
38 | | -); |
39 | | - |
40 | | -$extraUserToggles = array( |
41 | | - 'nolangconversion' |
42 | | -); |
43 | | - |
44 | | -$fallback8bitEncoding = 'windows-1256'; |
45 | | - |
46 | | -$namespaceAliases = array( |
47 | | - # Aliases to ku-latn namespaces |
48 | | - 'Medya' => NS_MEDIA, |
49 | | - 'Taybet' => NS_SPECIAL, |
50 | | - 'Nîqaş' => NS_TALK, |
51 | | - 'Bikarhêner' => NS_USER, |
52 | | - 'Bikarhêner_nîqaş' => NS_USER_TALK, |
53 | | - '$1_nîqaş' => NS_PROJECT_TALK, |
54 | | - 'Wêne' => NS_IMAGE, |
55 | | - 'Wêne_nîqaş' => NS_IMAGE_TALK, |
56 | | - 'MediaWiki' => NS_MEDIAWIKI, |
57 | | - 'MediaWiki_nîqaş' => NS_MEDIAWIKI_TALK, |
58 | | - 'Şablon' => NS_TEMPLATE, |
59 | | - 'Şablon_nîqaş' => NS_TEMPLATE_TALK, |
60 | | - 'Alîkarî' => NS_HELP, |
61 | | - 'Alîkarî_nîqaş' => NS_HELP_TALK, |
62 | | - 'Kategorî' => NS_CATEGORY, |
63 | | - 'Kategorî_nîqaş' => NS_CATEGORY_TALK, |
64 | | -); |
65 | | - |
66 | 13 | $skinNames = array( |
67 | 14 | 'standard' => 'كلاسیك', |
68 | 15 | 'nostalgia' => 'قاوهیی', |
— | — | @@ -388,8 +335,7 @@ |
389 | 336 | 'tooltip-pt-userpage' => 'پهڕهی تایبهتی خۆم', |
390 | 337 | |
391 | 338 | # Separators for various lists |
392 | | -'semicolon-separator' => '؛', |
393 | | -'filetype-separator' => ' ،', |
| 339 | +'semicolon-separator' => '؛', |
394 | 340 | 'comma-separator' => '،', |
395 | 341 | |
396 | 342 | # Live preview |
Index: trunk/phase3/languages/messages/MessagesKu.php |
— | — | @@ -1,39 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * Kurdish (Kurdi) |
| 4 | + * Kurdish (latin) |
5 | 5 | * |
6 | 6 | * @addtogroup Language |
7 | 7 | */ |
8 | 8 | |
9 | | - # Stub message file for converter code "ku" |
10 | | - |
11 | 9 | $fallback = 'ku-latn'; |
12 | | - |
13 | | -$linkTrail = '/^([a-zcei?u?????????????????????????????????????????�g��\']+)(.*)$/sDu'; |
14 | | - |
15 | | -$messages = array( |
16 | | -'linkprefix' => '/^(.*?)([a-zcei?uA-ZCEI?U?????????????????????????????????????????��?]+)$/sDu', |
17 | | - |
18 | | -# Stylesheets |
19 | | -'monobook.css' => '*.rtl |
20 | | - { |
21 | | - dir:rtl; |
22 | | - text-align:right; |
23 | | - font-family: "Tahoma", "Unikurd Web", "Arial Unicode MS", "DejaVu Sans", "Lateef", "Scheherazade", "ae_Rasheeq", sans-serif, sans; |
24 | | - } |
25 | | - |
26 | | - /*Make the site more suitable for Sorani users */ |
27 | | - h1 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
28 | | - h2 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
29 | | - h3 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
30 | | - body {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";} |
31 | | - textarea {font-family: Lucida Console, Tahoma;} |
32 | | - pre {font-family: Lucida Console, Tahoma;}', |
33 | | - |
34 | | -# Variants for Kurdish language |
35 | | -'variantname-ku-latn' => 'tipen latini', |
36 | | -'variantname-ku-arab' => 'tipen erebi', |
37 | | -'variantname-ku' => 'disable', |
38 | | - |
39 | | -); |
40 | | - |