r111630 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111629‎ | r111630 | r111631 >
Date:10:03, 16 February 2012
Author:amire80
Status:ok
Tags:i18nreview 
Comment:
Removed unused characters and added tippi and addak, according to feedback from Pune Hackathon participants and Red Hat.
Modified paths:
  • /trunk/extensions/Narayam/resources/ext.narayam.rules.pa.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Narayam/resources/ext.narayam.rules.pa.js
@@ -1,4 +1,4 @@
2 -/**
 2+/**
33 * Transliteration regular expression rules table for Gurmukhi script for Punjabi
44 * @author Amir E. Aharoni
55 * Semi-automatically created from the Hindi transliteration mapping using
@@ -20,30 +20,12 @@
2121 ['([ਕ-ਹ]਼?)(੍I|ਿi|੆e)', '', '$1ੀ'],
2222 ['([ਕ-ਹ]਼?)੍u', '', '$1ੁ'],
2323 ['([ਕ-ਹ]਼?)(ੁu|੍U|੊o)', '', '$1ੂ'],
24 -['([ਕ-ਹ]਼?)੍R', '', '$1੃'],
25 -['([ਕ-ਹ]਼?)੃R', '', '$1੄'],
26 -['([ਕ-ਹ]਼?)੍ਲ਼੍l', '', '$1੢'],
27 -['([ਕ-ਹ]਼?)੢l', '', '$1੣'],
28 -['([ਕ-ਹ]਼?)੆\\^', '', '$1੅'],
2924 ['([ਕ-ਹ]਼?)੍e', '', '$1ੇ'],
3025 ['([ਕ-ਹ]਼?)੍E', '', '$1ੇ'],
31 -['([ਕ-ਹ]਼?)੊\\^', '', '$1੉'],
3226 ['([ਕ-ਹ]਼?)i', '', '$1ੈ'],
3327 ['([ਕ-ਹ]਼?)੍o', '', '$1ੋ'],
3428 ['([ਕ-ਹ]਼?)੍O', '', '$1ੋ'],
3529 ['([ਕ-ਹ]਼?)u', '', '$1ੌ'],
36 -['([ਕ-ਹ]਼?)੃a', '', '$1੍਱'],
37 -['([ਕ-ਹ]਼?)੃A', '', '$1੍਱ਾ'],
38 -['([ਕ-ਹ]਼?)੃i', '', '$1੍਱ਿ'],
39 -['([ਕ-ਹ]਼?)੃I', '', '$1੍਱ੀ'],
40 -['([ਕ-ਹ]਼?)੃u', '', '$1੍਱ੁ'],
41 -['([ਕ-ਹ]਼?)੃U', '', '$1੍਱ੂ'],
42 -['([ਕ-ਹ]਼?)੃\\^', '', '$1੍਱੅'],
43 -['([ਕ-ਹ]਼?)੃e', '', '$1੍਱੆'],
44 -['([ਕ-ਹ]਼?)੃E', '', '$1੍਱ੇ'],
45 -['([ਕ-ਹ]਼?)੃o', '', '$1੍਱੊'],
46 -['([ਕ-ਹ]਼?)੃O', '', '$1੍਱ੋ'],
47 -['([ਕ-ਹ]਼?)੃\\~', '', '$1੍਱੍'],
4830 ['([ਕ-ਹ])੍\\`', '', '$1਼੍'],
4931
5032 ['ਅa', '', 'ਆ'],
@@ -55,7 +37,7 @@
5638 ['ਂ\\^', '', 'ਁ'], // Adak bindi
5739 ['ਂm', '', 'ਁ'], // Adak bindi
5840 ['ਂM', '', 'ਁ'], // Adak bindi
59 -['ਓM', '', '੐'],
 41+['ਣ੍N', '', 'ੰ'], // Tippi - nasalization
6042
6143 ['ਕ੍h', '', 'ਖ੍'],
6244 ['ਗ੍h', '', 'ਘ੍'],
@@ -72,8 +54,6 @@
7355
7456 ['ਸ੍h', '', 'ਸ਼੍'],
7557 ['ਕ਼੍h', '', 'ਖ਼੍'],
76 -['ਜ਼੍h', '', '਴੍'],
77 -['੤\\.', '', '੥'],
7858
7959 ['a', '', 'ਅ'],
8060 ['b', '', 'ਬ੍'],
@@ -100,12 +80,11 @@
10181 ['u', '', 'ਉ'],
10282 ['(v|w)', '', 'ਵ੍'],
10383 ['y', '', 'ਯ੍'],
104 -['(z|Z)', '', '.'],
 84+['z', '', 'ੱ'], // Addak - gemination
10585 ['A', '', 'ਆ'],
10686 ['B', '', 'ਬ੍ਬ੍'],
10787 ['C', '', 'ਕ੍ਕ੍'],
10888 ['D', '', 'ਡ੍'],
109 -['E', '', '਍'],
11089 ['G', '', 'ਗ੍ਗ੍'],
11190 ['H', '', 'ਃ'], // Visarga
11291 ['I', '', 'ਈ'],

Sign-offs

UserFlagDate
Nikerabbitinspected17:44, 16 February 2012

Status & tagging log