Revert part of r28770, per AlefZet's request.
[lhc/web/wiklou.git] / languages / messages / MessagesKu_latn.php
index 2911b6f..8adde61 100644 (file)
@@ -9,17 +9,6 @@
  * @author Siebrand
  */
 
-$separatorTransformTable = array(
-       ',' => '.',
-       '.' => ','
-);
-
-$extraUserToggles = array(
-       'nolangconversion'
-);
-
-$linkPrefixExtension = true;
-
 $namespaceNames = array(
        NS_MEDIA            => 'Medya',
        NS_SPECIAL          => 'Taybet',
@@ -1152,6 +1141,62 @@ da bikarî navê wê rûpelê biguherînî.',
 'tooltip-ca-nstab-special'        => 'This is a special page, you can',
 'tooltip-compareselectedversions' => 'Cudatiyên guhartoyên hilbijartî yên vê rûpelê bibîne.',
 
+# Stylesheets
+'monobook.css' => '*.rtl 
+ {
+  dir:rtl;
+  text-align:right;
+  font-family: "Tahoma", "Unikurd Web", "Arial Unicode MS", "DejaVu Sans", "Lateef", "Scheherazade", "ae_Rasheeq", sans-serif, sans; 
+ }
+
+ /*Make the site more suitable for Soranî users */
+ h1 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";}
+ h2 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";}
+ h3 {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";}
+ body {font-family: "Tahoma", "Arial Unicode MS", sans-serif, sans, "Unikurd Web", "Scheherazade";}
+ textarea {font-family: Lucida Console, Tahoma;}
+ pre {font-family: Lucida Console, Tahoma;}',
+
+# Scripts
+'common.js' => '/* JavaScript */
+
+/* Workaround for language variants */
+
+// Set user-defined "lang" attributes for the document element (from zh)
+var htmlE=document.documentElement;
+if (wgUserLanguage == "ku"){ variant = "ku"; }
+if (wgUserLanguage == "ku-latn"){ variant = "ku-Latn"; }
+if (wgUserLanguage == "ku-arab"){ variant = "ku-Arab"; htmlE.setAttribute("dir","rtl"); }
+htmlE.setAttribute("lang",variant);
+htmlE.setAttribute("xml:lang",variant);
+
+// Switch language variants of messages (from zh)
+function wgULS(latn,arab){
+        //
+        ku=latn||arab;
+        ku=ku;
+        latn=latn;
+        arab=arab;
+        switch(wgUserLanguage){
+                case "ku": return ku;
+                case "ku-arab": return arab;
+                case "ku-latn": return latn;
+                default: return "";
+        }
+}
+
+// workaround for RTL ([[bugzilla:6756]])  and for [[bugzilla:02020]] & [[bugzilla:04295]]
+if (wgUserLanguage == "ku-arab") 
+{
+  document.direction="rtl";
+  document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/common/common_rtl.css">\');
+  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>\');
+
+  if (skin == "monobook"){
+     document.write(\'<link rel="stylesheet" type="text/css" href="\'+stylepath+\'/monobook/rtl.css">\');
+  }
+}',
+
 # Attribution
 'anonymous' => 'Bikarhênera/ê nediyarkirî ya/yê {{SITENAME}}',
 'siteuser'  => 'Bikarhênera/ê $1 a/ê {{SITENAME}}',
@@ -1186,6 +1231,11 @@ da bikarî navê wê rûpelê biguherînî.',
 # Special:Newimages
 'newimages' => 'Pêşangeha wêneyên nû',
 
+# Variants for Kurdish language
+'variantname-ku-arab' => 'tîpên erebî',
+'variantname-ku-latn' => 'tîpên latînî',
+'variantname-ku'      => 'disable',
+
 # EXIF tags
 'exif-imagedescription' => 'Navî wêneyê',