Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 1,996: Line 1,996:
     local spellout = acronym
     local spellout = acronym
     for letter, name in pairs(initialism) do
     for letter, name in pairs(initialism) do
     spellout = spellout:gsub("^" .. letter, name)
     spellout = mw.ustring.gsub(spellout, "^" .. letter, name)
     spellout = spellout:gsub(letter, "·" .. name)
     spellout = mw.ustring.gsub(spellout, letter, "·" .. name)
     mw.log(spellout)
     mw.log(spellout)
     end
     end
outputIPA = outputIPA:gsub(acronym, spellout)
outputIPA = mw.ustring.gsub(outputIPA, acronym, spellout)
end
end
      
      

Navigation menu