r99395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99394‎ | r99395 | r99396 >
Date:08:55, 10 October 2011
Author:junaidpv
Status:ok (Comments)
Tags:
Comment:
Narayam: Update Amharic transliteration scheme.
Modified paths:
  • /trunk/extensions/Narayam/js/ext.narayam.rules.am.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Narayam/js/ext.narayam.rules.am.js
@@ -7,8 +7,18 @@
88 */
99
1010 var rules = [
 11+['፻0', '', '፲፻'], // NUM_100 and 0 becomes 10 and 100
 12+
1113 ['፻0', '', '፲፻'], // 1000
 14+
1215 ['፳0', '', '፪፻'], // 200
 16+['፴0', '', '፫፻'], // 300
 17+['፵0', '', '፬፻'], // 400
 18+['፶0', '', '፭፻'], // 500
 19+['፷0', '', '፮፻'], // 600
 20+['፸0', '', '፯፻'], // 700
 21+['፹0', '', '፰፻'], // 800
 22+['፺0', '', '፱፻'], // 900
1323
1424 ['ጕe', '', 'ጐ'], // gwe
1525 ['ጕi', '', 'ጒ'], // gwi
@@ -72,7 +82,7 @@
7383 ['ጽo', '', 'ጾ'], // tso
7484 ['ጻa', '', 'ጿ'], // tsaa
7585
76 -['ጵe', '', 'ጰ'], // phe
 86+['ጵe', '', 'ጰ'], // phe or ppe (ph is alias for pp)
7787 ['ጵu', '', 'ጱ'], // phu
7888 ['ጵi', '', 'ጲ'], // phi
7989 ['ጵa', '', 'ጳ'], // pha
@@ -88,7 +98,7 @@
8999 ['ጭo', '', 'ጮ'], // cho
90100 ['ጫa', '', 'ጯ'], // chaa
91101
92 -['ጥe', '', 'ጠ'], // the
 102+['ጥe', '', 'ጠ'], // the or tte (th is alias for tt)
93103 ['ጥu', '', 'ጡ'], // thu
94104 ['ጥi', '', 'ጢ'], // thi
95105 ['ጥa', '', 'ጣ'], // tha
@@ -144,7 +154,7 @@
145155 ['ይo', '', 'ዮ'], // yo
146156 ['ያa', '', 'ዯ'], // yaa
147157
148 -['ዥe', '', 'ዠ'], // zhe
 158+['ዥe', '', 'ዠ'], // zhe or zze (zh is alias for zz)
149159 ['ዥu', '', 'ዡ'], // zhu
150160 ['ዥi', '', 'ዢ'], // zhi
151161 ['ዥa', '', 'ዣ'], // zha
@@ -197,7 +207,7 @@
198208 ['እo', '', 'ኦ'], // 'o
199209 ['ኣa', '', 'ኧ'], // 'aa
200210
201 -['ኝe', '', 'ኘ'], // Ne
 211+['ኝe', '', 'ኘ'], // Ne or nne (N is alias for nn)
202212 ['ኝu', '', 'ኙ'], // Nu
203213 ['ኝi', '', 'ኚ'], // Ni
204214 ['ኝa', '', 'ኛ'], // Na
@@ -292,7 +302,7 @@
293303 ['ርo', '', 'ሮ'], // ro
294304 ['ራe', '', 'ሯ'], // raa
295305
296 -['ሥe', '', 'ሠ'], // sze
 306+['ሥe', '', 'ሠ'], // sze or sse (sz is alias for ss)
297307 ['ሥu', '', 'ሡ'], // szu
298308 ['ሥi', '', 'ሢ'], // szi
299309 ['ሥa', '', 'ሣ'], // sza
@@ -332,16 +342,16 @@
333343 ['ህo', '', 'ሆ'], // ho
334344
335345 ['ህh', '', 'ሕ'], // hh
336 -['ስz', '', 'ሥ'], // sz
 346+['ስ(s|z)', '', 'ሥ'], // ss or sz
337347 ['ስh', '', 'ሽ'], // sh
338348 ['ቅh', '', 'ቕ'], // qh
339349 ['ክx', '', 'ኽ'], // kx
340 -['ዝh', '', 'ዥ'], // zh
 350+['ዝ(h|z)', '', 'ዥ'], // zh or zz
341351 ['ድd', '', 'ዽ'], // dd
342352 ['ግg', '', 'ጝ'], // gg
343 -['ትh', '', 'ጥ'], // th
 353+['ት(h|t)', '', 'ጥ'], // th or tt
344354 ['ችh', '', 'ጭ'], // ch
345 -['ፕh', '', 'ጵ'], // ph
 355+['ፕ(h|p)', '', 'ጵ'], // ph or pp
346356 ['ትs', '', 'ጽ'], // ts
347357 ['ትz', '', 'ፅ'], // tz
348358 ['ቅw', '', 'ቍ'], // qw
@@ -351,6 +361,8 @@
352362 ['ኽw', '', 'ዅ'], // kxw
353363 ['ግw', '', 'ጕ'], // gw
354364
 365+['(N|ንn)', '', 'ኝ'], // nn or N
 366+
355367 ['፩0', '', '፲'], // 10
356368 ['፪0', '', '፳'], // 20
357369 ['፫0', '', '፴'], // 30
@@ -374,7 +386,6 @@
375387 ['c', '', 'ች'],
376388 ['x', '', 'ኅ'],
377389 ['n', '', 'ን'],
378 -['N', '', 'ኝ'],
379390 ["'", '', 'እ'],
380391 ['k', '', 'ክ'],
381392 ['w', '', 'ው'],
@@ -387,10 +398,17 @@
388399 ['f', '', 'ፍ'],
389400 ['p', '', 'ፕ'],
390401
391 -['\\:', '', '፥'],
 402+// vowels
 403+['a', '', 'ኣ'],
 404+['e', '', 'አ'],
 405+['i', '', 'ኢ'],
 406+['o', '', 'ኦ'],
 407+['u', '', 'ኡ'],
 408+
 409+['\\;', '', '፥'],
392410 ['\\.', '', '።'],
393411 [',', '', '፣'],
394 -[';', '', '፤'],
 412+['\\:', '', '፤'],
395413 ['\\:', '', '፥'],
396414 ['/', '', '፨'],
397415 ['\\?', '', '፧'],
@@ -411,7 +429,7 @@
412430 jQuery.narayam.addScheme( 'am', {
413431 'namemsg': 'narayam-am',
414432 'extended_keyboard': false,
415 - 'lookbackLength': 5,
416 - 'keyBufferLength': 2,
 433+ 'lookbackLength': 2,
 434+ 'keyBufferLength': 0,
417435 'rules': rules
418436 } );

Follow-up revisions

RevisionCommit summaryAuthorDate
r102305MFT r99387 r99395 r99456 r99457 r99682 r99683 r100013 r100024 r100108 r100212...nikerabbit18:21, 7 November 2011

Comments

#Comment by Santhosh.thottingal (talk | contribs)   06:58, 12 October 2011

Do we need that double backslashed before semicolumn, dot, question mark etc?

Also, there is a duplication for '\\:'

#Comment by Santhosh.thottingal (talk | contribs)   08:44, 12 October 2011

For 1000, there is a single Character: ፼ U+137C

Syllable WOA, ዏ U+12CF is missing.

#Comment by Junaidpv (talk | contribs)   09:19, 12 October 2011

It is not yet complete, some minor updates required.

And they don't use ፼ (1000), instead they write 10x100 Their number writing system is different form ours.

Status & tagging log