Module:Gthv-translit

From Linguifex
Revision as of 14:18, 6 July 2025 by Sware (talk | contribs) (Created page with "local export = {} local tt = { ["È"]='Ɛ́', ["è"]='ɛ́', ["Ê"]='Ɛ̈', ["ê"]='ɛ̈', ["Ò"]='Ɔ́', ["ò"]='ɔ́', ["Ô"]='Ɔ̈', ["ô"]='ɔ̈', }; function export.tr(text, lang, sc) text = mw.ustring.gsub(text, '.', tt) return text end return export")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


local export = {}
 
local tt = {
	["È"]='Ɛ́', ["è"]='ɛ́', ["Ê"]='Ɛ̈', ["ê"]='ɛ̈', ["Ò"]='Ɔ́', ["ò"]='ɔ́', ["Ô"]='Ɔ̈', ["ô"]='ɔ̈',
};

function export.tr(text, lang, sc)
	text = mw.ustring.gsub(text, '.', tt)
	return text
end

return export