Content deleted Content added
Make regex less greedy so that it removes trailing markup |
per edit request; adds Tâi-lô romanization support |
||
Line 28:
["sl"] = "Sidney Lau",
["poj"] = "Pe̍h-ōe-jī",
["tl"] = "Tâi-lô",
["zhu"] = "Zhuyin Fuhao",
["l"] = "lit.",
Line 45 ⟶ 46:
["sl"] = "Sidney Lau romanisation",
["poj"] = "Pe̍h-ōe-jī",
["tl"] = "Tâi-uân Lô-má-jī Phing-im Hong-àn",
["zhu"] = "Bopomofo",
["l"] = "Literal translation",
Line 62 ⟶ 64:
["sl"] = "yue-Latn",
["poj"] = "nan-Latn",
["tl"] = "nan-Latn-tailo",
["zhu"] = "zh-Bopo",
}
Line 73 ⟶ 76:
["sl"] = true,
["poj"] = true,
["tl"] = true,
}
Line 134 ⟶ 138:
-- based on setting/preference specify order
local orderlist = {"c", "s", "t", "p", "tp", "w", "j", "cy", "sl", "poj", "tl", "zhu", "l", "tr"}
if (t1) then
orderlist[2] = "t"
Line 149 ⟶ 153:
if (poj1) then
orderlist[4] = "poj"
orderlist[5] = "
orderlist[6] = "
orderlist[7] = "
orderlist[8] = "
orderlist[9] = "
orderlist[10] = "
orderlist[11] = "sl"
end
|