r104963 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104962‎ | r104963 | r104964 >
Date:11:51, 2 December 2011
Author:santhosh
Status:ok
Tags:
Comment:
Add Goan Konkani- Devanagari(gom-deva) input methods. Keymaps are same as hindi.
Reordered some messages.
Modified paths:
  • /trunk/extensions/Narayam/Narayam.i18n.php (modified) (history)
  • /trunk/extensions/Narayam/Narayam.php (modified) (history)
  • /trunk/extensions/Narayam/resources/ext.narayam.rules.gom-deva-inscript.js (added) (history)
  • /trunk/extensions/Narayam/resources/ext.narayam.rules.gom-deva.js (added) (history)

Diff [purge]

Index: trunk/extensions/Narayam/resources/ext.narayam.rules.gom-deva-inscript.js
@@ -0,0 +1,12 @@
 2+/**
 3+ * InScript regular expression rules table for Goan Konkani- Devanagari language
 4+ * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Hindi
 5+ * @author Santhosh Thottingal
 6+ * @date 2011-02-12
 7+ * License: GPLv3
 8+ */
 9+
 10+//copy the rules from hi_inscript.
 11+gom_deva_inscript_scheme = $.narayam.getScheme( 'hi-inscript' );
 12+gom_deva_inscript_scheme.namemsg ='narayam-gom-deva-inscript';
 13+jQuery.narayam.addScheme( 'gom-deva-inscript', gom_deva_inscript_scheme );
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.gom-deva-inscript.js
___________________________________________________________________
Added: svn:eol-style
114 + native
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.gom-deva.js
@@ -0,0 +1,11 @@
 2+/**
 3+ * Transliteration regular expression rules table for Goan Konkani- Devanagari language
 4+ * @author Santhosh Thottingal
 5+ * @date 2011-02-12
 6+ * License: GPLv3
 7+ */
 8+
 9+//copy the rules from hindi transliteration.
 10+gom_deva_scheme = $.narayam.getScheme( 'hi' );
 11+gom_deva_scheme.namemsg ='narayam-gom-deva';
 12+jQuery.narayam.addScheme( 'gom-deva', gom_deva_scheme );
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.gom-deva.js
___________________________________________________________________
Added: svn:eol-style
113 + native
Index: trunk/extensions/Narayam/Narayam.i18n.php
@@ -65,6 +65,8 @@
6666 'narayam-ru-standard' => 'Russian Standard',
6767 'narayam-sah-standard' => 'Sakha Standard',
6868 'narayam-hne-inscript' => 'Chhattisgarhi InScript',
 69+ 'narayam-gom-deva' => 'Goan Konkani-Devanagari Transliteration',
 70+ 'narayam-gom-deva-inscript' => 'Goan Konkani-Devanagari InScript',
6971 );
7072
7173 /** Message documentation (Message documentation)
@@ -1319,6 +1321,8 @@
13201322 'narayam-ru-standard' => 'റഷ്യൻ മാനകരൂപം',
13211323 'narayam-sah-standard' => 'സാഖാ മാനകരൂപം',
13221324 'narayam-hne-inscript' => 'ഛത്തീസ്ഗാഢി ഇന്‍സ്ക്രിപ്റ്റ്',
 1325+ 'narayam-gom-deva' => 'ഗോവന്‍ കൊങ്കണി-ദേവനാഗരി ലിപ്യന്തരണം',
 1326+ 'narayam-gom-deva-inscript' => 'ഗോവന്‍ കൊങ്കണി-ദേവനാഗരി ഇന്‍സ്ക്രിപ്റ്റ്',
13231327 );
13241328
13251329 /** Marathi (मराठी)
Index: trunk/extensions/Narayam/Narayam.php
@@ -74,8 +74,8 @@
7575 'eo' => 'ext.narayam.rules.eo',
7676 ),
7777 'gom-deva' => array(
78 - 'mr' => 'ext.narayam.rules.mr',
79 - 'mr-inscript' => 'ext.narayam.rules.mr',
 78+ 'gom-deva' => 'ext.narayam.rules.gom-deva',
 79+ 'gom-deva-inscript' => 'ext.narayam.rules.gom-deva-inscript',
8080 ),
8181 'hi' => array(
8282 'hi' => 'ext.narayam.rules.hi',
@@ -189,12 +189,20 @@
190190 'narayam-as-avro',
191191 'narayam-as-bornona',
192192 'narayam-as-inscript',
193 - 'narayam-de',
 193+ 'narayam-bn-avro',
 194+ 'narayam-bn-inscript',
 195+ 'narayam-bn-nkb',
194196 'narayam-ber-tfng',
195197 'narayam-brx-inscript',
 198+ 'narayam-de',
196199 'narayam-eo',
 200+ 'narayam-gom-deva',
 201+ 'narayam-gom-deva-inscript',
 202+ 'narayam-gu',
 203+ 'narayam-gu-inscript',
197204 'narayam-hi',
198205 'narayam-hi-inscript',
 206+ 'narayam-hne-inscript',
199207 'narayam-kn',
200208 'narayam-kn-inscript',
201209 'narayam-ml',
@@ -208,8 +216,10 @@
209217 'narayam-or-inscript',
210218 'narayam-pa-inscript',
211219 'narayam-pa-phonetic',
 220+ 'narayam-ru-standard',
212221 'narayam-sa',
213222 'narayam-sa-inscript',
 223+ 'narayam-sah-standard',
214224 'narayam-si-singlish',
215225 'narayam-si-wijesekara',
216226 'narayam-ta-99',
@@ -217,15 +227,7 @@
218228 'narayam-ta',
219229 'narayam-ta-bamini',
220230 'narayam-te-inscript',
221 - 'narayam-bn-avro',
222 - 'narayam-bn-inscript',
223 - 'narayam-bn-nkb',
224231 'narayam-ur',
225 - 'narayam-gu',
226 - 'narayam-gu-inscript',
227 - 'narayam-ru-standard',
228 - 'narayam-sah-standard',
229 - 'narayam-hne-inscript',
230232 ),
231233 'dependencies' => array(
232234 'mediawiki.util',
@@ -401,3 +403,11 @@
402404 'scripts' => 'resources/ext.narayam.rules.hne-inscript.js',
403405 'dependencies' => 'ext.narayam.rules.hi-inscript',
404406 );
 407+$wgResourceModules['ext.narayam.rules.gom-deva'] = $narayamTpl + array(
 408+ 'scripts' => 'resources/ext.narayam.rules.gom-deva.js',
 409+ 'dependencies' => 'ext.narayam.rules.hi',
 410+);
 411+$wgResourceModules['ext.narayam.rules.gom-deva-inscript'] = $narayamTpl + array(
 412+ 'scripts' => 'resources/ext.narayam.rules.gom-deva-inscript.js',
 413+ 'dependencies' => 'ext.narayam.rules.hi-inscript',
 414+);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104264Added gom-deva; sorted brx.amire8007:50, 26 November 2011

Status & tagging log