Modifiche

⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Modulo:Fan-pronunciation

1 byte aggiunto, 06:15, 2 ott 2018
nessun oggetto della modifica
Riga 53: Riga 53:  
    local vowel_count = select(2, decomposed:gsub("[æaeiou]", "%1"))
 
    local vowel_count = select(2, decomposed:gsub("[æaeiou]", "%1"))
 
             transcriptio=mw.ustring.sub(decomposed,-1)
 
             transcriptio=mw.ustring.sub(decomposed,-1)
             if transcriptio ~= 'a' and 'o'  then  
+
             if transcriptio ~= '[^eyuioaj]'  then  
 
             decomposed=mw.ustring.gsub(decomposed,"(".. vowel ..")(" .. not_vowel .. "*)$",'%1' ..mw.ustring.char(0x301).. '%2')
 
             decomposed=mw.ustring.gsub(decomposed,"(".. vowel ..")(" .. not_vowel .. "*)$",'%1' ..mw.ustring.char(0x301).. '%2')
 
             elseif vowel_count ~= 1 then
 
             elseif vowel_count ~= 1 then

Menu di navigazione