imported>আফতাবুজ্জামান
No edit summary
 
(No difference)

Latest revision as of 16:38, 1 May 2015

Documentation for this module may be created at Module:Sandbox/Aftabuzzaman/Test/doc

local export = {}
 
local mapping = {
	["february"]='ফেব্রুয়ারি', ["1"]='১', ["2"]='২'
};

-- translit any words or phrases
function export.tr(text, lang, sc)
	text = mw.ustring.gsub(
		text,
		'([F12])',
		function(c)
			return mapping[c]
		end)
	
	return text
end
 
return export