Modifiche

⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Modulo:It-pronunciation

2 byte rimossi, 12:02, 17 dic 2018
nessun oggetto della modifica
Riga 58: Riga 58:  
    --local vowel_count = select(2, decomposed:gsub("[æaeiou]", "%1"))
 
    --local vowel_count = select(2, decomposed:gsub("[æaeiou]", "%1"))
 
             --if vowel_count ~= 1 then
 
             --if vowel_count ~= 1 then
            transcriptio=mw.ustring.sub(decomposed,-1)
+
            transcriptio=mw.ustring.sub(decomposed,-1)
            if transcriptio == 'a' then  
+
            --if transcriptio == 'a' then  
              decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" ..  mw.ustring.char(0x301) .. "%2")
+
            -- decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" ..  mw.ustring.char(0x301) .. "%2")
 
             --end
 
             --end
            elseif transcriptio =='e' then  
+
              if transcriptio =='e' then  
 
               decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" ..  mw.ustring.char(0x301) .. "%2")
 
               decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" ..  mw.ustring.char(0x301) .. "%2")
 
             elseif transcriptio =='o' then  
 
             elseif transcriptio =='o' then  

Menu di navigazione