r92342 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92341‎ | r92342 | r92343 >
Date:23:28, 15 July 2011
Author:robin
Status:ok (Comments)
Tags:
Comment:
Split MessagesKs into ks-arab and ks-deva, as Kashmiri is written in two scripts. The MessagesKs file contained rtl = true, which is only for the Arab script, and the digit transform table which was for the Devanagari script.
Added one lonely message from kswiki.

Also specified comment of Quechua to Southern Quechua, as it is the variety used in MessagesQu and on quwiki.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /trunk/phase3/languages/Names.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesKs.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesKs_arab.php (added) (history)
  • /trunk/phase3/languages/messages/MessagesKs_deva.php (added) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.19
@@ -206,6 +206,8 @@
207207 * (bug 29031) When translating block log entries, indefinite, infinite, and
208208 infinity are now considered the same.
209209 * Aromanian (rup) (renamed from "rua-rup").
 210+* Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri
 211+ (Devanagari) (ks-deva). Defaults to ks-arab.
210212
211213 === Other changes in 1.19 ===
212214 * Removed legacy wgAjaxWatch javascript global object, no longer in use.
Index: trunk/phase3/languages/messages/MessagesKs_arab.php
@@ -0,0 +1,33 @@
 2+<?php
 3+/** Kashmiri (Perso-Arabic) (كشميري)
 4+ *
 5+ * See MessagesQqq.php for message documentation incl. usage of parameters
 6+ * To improve a translation please visit http://translatewiki.net
 7+ *
 8+ * @ingroup Language
 9+ * @file
 10+ *
 11+ */
 12+
 13+# @todo FIXME: Inherit almost everything for now
 14+$rtl = true;
 15+
 16+$digitTransformTable = array(
 17+ '0' => '٠', # &#x0660;
 18+ '1' => '١', # &#x0661;
 19+ '2' => '٢', # &#x0662;
 20+ '3' => '٣', # &#x0663;
 21+ '4' => '٤', # &#x0664;
 22+ '5' => '٥', # &#x0665;
 23+ '6' => '٦', # &#x0666;
 24+ '7' => '٧', # &#x0667;
 25+ '8' => '٨', # &#x0668;
 26+ '9' => '٩', # &#x0669;
 27+ '.' => '٫', # &#x066b; wrong table ?
 28+ ',' => '٬', # &#x066c;
 29+);
 30+
 31+$messages = array(
 32+# Recent changes
 33+'recentchanges' => 'نَوِ تبدیلی',
 34+);
\ No newline at end of file
Property changes on: trunk/phase3/languages/messages/MessagesKs_arab.php
___________________________________________________________________
Added: svn:eol-style
135 + native
Index: trunk/phase3/languages/messages/MessagesKs.php
@@ -9,18 +9,4 @@
1010 *
1111 */
1212
13 -# @todo FIXME: Inherit almost everything for now
14 -$rtl = true;
15 -
16 -$digitTransformTable = array(
17 - '0' => '०', # &#x0966;
18 - '1' => '१', # &#x0967;
19 - '2' => '२', # &#x0968;
20 - '3' => '३', # &#x0969;
21 - '4' => '४', # &#x096a;
22 - '5' => '५', # &#x096b;
23 - '6' => '६', # &#x096c;
24 - '7' => '७', # &#x096d;
25 - '8' => '८', # &#x096e;
26 - '9' => '९', # &#x096f;
27 -);
 13+$fallback = 'ks-arab';
Index: trunk/phase3/languages/messages/MessagesKs_deva.php
@@ -0,0 +1,30 @@
 2+<?php
 3+/** Kashmiri (Devanagari) (कश्मीरी)
 4+ *
 5+ * See MessagesQqq.php for message documentation incl. usage of parameters
 6+ * To improve a translation please visit http://translatewiki.net
 7+ *
 8+ * @ingroup Language
 9+ * @file
 10+ *
 11+ */
 12+
 13+# @todo FIXME: Inherit almost everything for now
 14+
 15+$digitTransformTable = array(
 16+ '0' => '०', # &#x0966;
 17+ '1' => '१', # &#x0967;
 18+ '2' => '२', # &#x0968;
 19+ '3' => '३', # &#x0969;
 20+ '4' => '४', # &#x096a;
 21+ '5' => '५', # &#x096b;
 22+ '6' => '६', # &#x096c;
 23+ '7' => '७', # &#x096d;
 24+ '8' => '८', # &#x096e;
 25+ '9' => '९', # &#x096f;
 26+);
 27+
 28+$messages = array(
 29+# Recent changes
 30+'recentchanges' => 'नवि तबदीली',
 31+);
\ No newline at end of file
Property changes on: trunk/phase3/languages/messages/MessagesKs_deva.php
___________________________________________________________________
Added: svn:eol-style
132 + native
Index: trunk/phase3/languages/Names.php
@@ -179,7 +179,9 @@
180180 'krc' => 'Къарачай-Малкъар', # Karachay-Balkar
181181 'kri' => 'Krio', # Krio
182182 'krj' => 'Kinaray-a', # Kinaray-a
183 - 'ks' => 'कश्मीरी - (كشميري)', # Kashmiri
 183+ 'ks' => 'कश्मीरी - (كشميري)', # Kashmiri (multiple scripts - defaults to Perso-Arabic)
 184+ 'ks-arab' => 'كشميري', # Kashmiri (Perso-Arabic script)
 185+ 'ks-deva' => 'कश्मीरी', # Kashmiri (Devanagari script)
184186 'ksh' => 'Ripoarisch', # Ripuarian
185187 'ku' => 'Kurdî', # Kurdish (multiple scripts - defaults to Latin)
186188 'ku-latn' => "\xE2\x80\xAAKurdî (latînî)\xE2\x80\xAC", # Northern Kurdish (Latin script)
@@ -269,7 +271,7 @@
270272 'ps' => 'پښتو', # Pashto, Northern/Paktu/Pakhtu/Pakhtoo/Afghan/Pakhto/Pashtu/Pushto/Yusufzai Pashto
271273 'pt' => 'Português', # Portuguese
272274 'pt-br' => 'Português do Brasil', # Brazilian Portuguese
273 - 'qu' => 'Runa Simi', # Quechua
 275+ 'qu' => 'Runa Simi', # Southern Quechua
274276 'rgn' => 'Rumagnôl', # Romagnol
275277 'rif' => 'Tarifit', # Tarifit
276278 'rm' => 'Rumantsch', # Raeto-Romance

Follow-up revisions

RevisionCommit summaryAuthorDate
r102466Readd Names.php and other files removed in r102465...platonides23:35, 8 November 2011

Comments

#Comment by Reedy (talk | contribs)   23:42, 15 July 2011

Names.php has mixed indenting by the looks of it

#Comment by Nikerabbit (talk | contribs)   12:56, 20 July 2011

Looks like broken differ, I can't see the problem locally.

Status & tagging log