มอดูล:form of/lang-data/lt

จาก วิกิพจนานุกรม พจนานุกรมเสรี
--[=[
This module contains lang-specific tags for Lithuanian.
]=]

local tags = {}
local shortcuts = {}

----------------------- Non-finite -----------------------

tags["participle of necessity"] = {
	tag_type = "non-finite",
	glossary = "gerundive",
	glossary_type = "wp",
	shortcuts = {"partnec"},
	wikidata = "Q731298", -- gerundive
}

-- Lithuanian-specific adverbial participle type; native term normally used in English
tags["būdinys"] = {
	tag_type = "non-finite",
	glossary = "būdinys",
	glossary_type = "wikt",
	shortcuts = {"budinys"},
}

-- Lithuanian-specific adverbial participle type; native term normally used in English
tags["padalyvis"] = {
	tag_type = "non-finite",
	glossary = "padalyvis",
	glossary_type = "wikt",
}

-- Lithuanian-specific adverbial participle type; native term normally used in English
tags["pusdalyvis"] = {
	tag_type = "non-finite",
	glossary = "pusdalyvis",
	glossary_type = "wikt",
}

----------------------- 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}