Module:rad-pronunciation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 55: Line 55:
local mode_register = "plain"
local mode_register = "plain"
local working_syllables = ""
local working_syllables = ""
local manual_entry = false
-- turn off rhymes if affix
-- turn off rhymes if affix
Line 134: Line 135:
end
end
table.insert(IPA[mode_dialect][mode_register], temp_arg)
mw.log("IPA: added '" .. temp_arg .. "' to IPA[" .. mode_dialect .. "][" .. mode_register .. "]")
mw.log("IPA: added '" .. temp_arg .. "' to IPA[" .. mode_dialect .. "][" .. mode_register .. "]")
table.insert(IPA[mode_dialect][mode_register], temp_arg)
manual_entry = true
if mode_dialect == "standard" or mode_dialect == "hjádvanþs" then
if mode_dialect == "standard" or mode_dialect == "hjádvanþs" then
Line 207: Line 209:
table.insert(args_temp, 1, "rad")
table.insert(args_temp, 1, "rad")
local IPA_show = "* " .. frame:expandTemplate{ title = "IPA", args = args_temp }
local IPA_show = "* " .. frame:expandTemplate{ title = "IPA", args = args_temp }
if manual_entry == true then
IPA_show = IPA_show .. "[[Category:Radestrian terms with manually entered pronunciation]]"
end
for r, _ in pairs(register) do
for r, _ in pairs(register) do

Navigation menu