Module:tevo-translit: Difference between revisions

Melinoë (talk | contribs)
No edit summary
Melinoë (talk | contribs)
No edit summary
Line 58: Line 58:
['ु']='u',  
['ु']='u',  
['ू']='ū',  
['ू']='ū',  
['ॆ']='ei',
['ॆ']='ĕ',
['े']='ēi',  
['े']='ê',  
['ॅ']='e',
['ॅ']='e',
['ै']='ē',  
['ै']='ē',  
Line 77: Line 77:
['उ']='u',  
['उ']='u',  
['ऊ']='ū',  
['ऊ']='ū',  
['ऎ']='ei',
['ऎ']='ĕ',
['ए']='ēi',  
['ए']='ê',  
['ऍ']='e',
['ऍ']='e',
['ऐ']='ē',  
['ऐ']='ē',  
Line 123: Line 123:
text = gsub(text, "ः॑","́h")
text = gsub(text, "ः॑","́h")
text = gsub(text, "eí","éi")
text = gsub(text, "ēí","ḗi")
text = gsub(text, "oú","óu")
text = gsub(text, "ōú","ṓu")
text = gsub(text, '([aअ][' .. acute .. grave .. ']?[इउ])', '%1' .. diaeresis)
text = gsub(text, '([aअ][' .. acute .. grave .. ']?[इउ])', '%1' .. diaeresis)
text = gsub(text, '.', tt)
text = gsub(text, '.', tt)