A modult a Modul:Vaii-translit/doc lapon tudod dokumentálni

local export = {}

function export.tr(text)
	local data = mw.loadData("Module:Vaii-translit/data")
	
	text = mw.ustring.gsub(text, "꘎꘎", "!")
	text = mw.ustring.gsub(text, "..", data.tt_doubled)
	text = mw.ustring.gsub(text, '.', data.tt)
	
	return text

end

return export