မော်ဂျူး:form of/lang-data/en

အဝ်ႏ ဝိစ်သိဉ်နရီ ကို

Documentation for this module may be created at မော်ဂျူး:form of/lang-data/en/doc

--[=[
This module contains lang-specific tags for English.
]=]

local tags = {}
local shortcuts = {}
shortcuts["ed-form"] = {"spast", "တောမ်ႏ", "အွဉ်ႏနယ်အတိတ်ကာႏလ", "part"}
shortcuts["ing-form"] = {"pres", "part", "တောမ်ႏ", "ger"}
shortcuts["s-verb-form"] = {"3", "s", "spres", "ind"}
shortcuts["st-form"] = {"2-st", "s", "spres", "ind"}
shortcuts["st-past-form"] = {"2-st", "s", "spast", "ind"}
shortcuts["th-form"] = {"3-th", "s", "spres", "ind"}

----------------------- Person -----------------------

-- These tags exist so we can add appropriate 'archaic FOO' labels in [[Module:form of/cats]].
tags["second-person (-st)"] = {
	tag_type = "person",
	display = "[[သွုပ်ဆုဲင်ꩻ:ငဝ်းယပ်ꩻ#second person|second-person]]",
	shortcuts = {"2-st"},
}

tags["third-person (-th)"] = {
	tag_type = "person",
	display = "[[သွုပ်ဆုဲင်ꩻ:ငဝ်းယပ်ꩻ#third person|third-person]]",
	shortcuts = {"3-th"},
}

----------------------- Create the shortcuts list -----------------------

for name, data in pairs(tags) do
	if data.shortcuts then
		for _, shortcut in ipairs(data.shortcuts) do
			shortcuts[shortcut] = name
		end
	end
end

return {tags = tags, shortcuts = shortcuts}