Jump to content

မေႃႇၵျူး:zh-generateforms

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး

Documentation for this module may be created at မေႃႇၵျူး:zh-generateforms/doc

local export = {}
local data = mw.loadData("Module:zh/data/ts")

function export.generateForms(text, lang, sc)
	if sc == "Hant" then
		return {text, (text:gsub("[\194-\244][\128-\191]*", data))}
	end
	return {text}
end

return export