Module:labels/data/lang/fi: difference between revisions

From Wiktionary, the free dictionary
< Module:labels‎ | data‎ | lang
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(41 intermediate revisions by 6 users not shown)
Line 1: Line 1:
local labels = {}
local labels = {}


labels["Finland"] = {
local function alias(x,y) -- allows aliases to be entered as a list
aliases = {"Finnish"},
for _,v in ipairs(y) do
labels[v] = x
end
end

labels["Helsinki slang"] = {
Wikipedia = true,
Wikipedia = true,
regional_categories = true,
plain_categories = {"Helsinki slang"},
parent = true,
}
}


labels["Finglish"] = {
labels["Sweden"] = {
Wikipedia = true,
Wikipedia = "Sweden Finnish",
plain_categories = {"Finglish"},
aliases = {"Swedish"},
regional_categories = true,
parent = true,
}

labels["American"] = {
Wikipedia = "American Finnish",
aliases = {"Finglish"},
regional_categories = true,
region = "[[North America]], specifically the [[United States]] and [[Canada]]",
parent = true,
}

-- grammar

labels["+accusative"] = {
display = "+ accusative",
omit_preComma = true,
}

labels["+partitive"] = {
display = "+ partitive",
omit_preComma = true,
}

labels["+nominative"] = {
display = "+ nominative",
omit_preComma = true,
}

labels["+genitive"] = {
display = "+ genitive",
omit_preComma = true,
}

labels["+inessive"] = {
display = "+ inessive",
omit_preComma = true,
}

labels["+elative"] = {
display = "+ elative",
omit_preComma = true,
}

labels["+illative"] = {
display = "+ illative",
omit_preComma = true,
}

labels["+adessive"] = {
display = "+ adessive",
omit_preComma = true,
}

labels["+ablative"] = {
display = "+ ablative",
omit_preComma = true,
}

labels["+allative"] = {
display = "+ allative",
omit_preComma = true,
}

labels["+inf1"] = {
display = "+ first infinitive",
omit_preComma = true,
}

labels["+inf3 inessive"] = {
display = "+ inessive of the third infinitive",
omit_preComma = true,
}

labels["+inf3 elative"] = {
display = "+ elative of the third infinitive",
omit_preComma = true,
}

labels["+inf3 illative"] = {
display = "+ illative of the third infinitive",
omit_preComma = true,
}

labels["+inf3 adessive"] = {
display = "+ adessive of the third infinitive",
omit_preComma = true,
}

labels["+inf3 abessive"] = {
display = "+ abessive of the third infinitive",
omit_preComma = true,
}

-- override label to provide a better link.
labels["telic"] = {
display = "[[Appendix:Finnic telic and atelic verbs|telic]]",
}

labels["atelic"] = {
display = "[[Appendix:Finnic telic and atelic verbs|atelic]]",
}
}


Line 20: Line 117:


labels["Western Finnish"] = {
labels["Western Finnish"] = {
aliases = {"Western", "Western Finland"},
Wikipedia = "Finnish language#Western dialects",
Wikipedia = "Finnish language#Western dialects",
plain_categories = {"Western Finnish"},
plain_categories = true,
}
}
alias("Western Finnish", { "Western", "Western Finland" })


labels["Eastern Finnish"] = {
labels["Eastern Finnish"] = {
aliases = {"Eastern", "Eastern Finland"},
Wikipedia = "Finnish language#Eastern dialects",
Wikipedia = "Finnish language#Eastern dialects",
plain_categories = {"Eastern Finnish"},
plain_categories = true,
}
}
alias("Eastern Finnish", { "Eastern", "Eastern Finland" })


-- major dialect groups
-- major dialect groups


labels["Southwest Finnish"] = {
labels["Southwest Finnish"] = {
aliases = {"Varsinais-Suomi", "lounaismurretta", "Southwest Finland", "Southwestern Finland", "Southwestern Finnish"},
Wikipedia = "Southwest Finnish dialects",
Wikipedia = "Southwest Finnish dialects",
plain_categories = {"Southwest Finnish"},
plain_categories = true,
}
}
alias("Southwest Finnish", { "Varsinais-Suomi", "lounaismurretta" })


labels["Tavastia"] = {
labels["Tavastia"] = {
aliases = {"Tavastian", "Häme"},
Wikipedia = "Tavastian dialects",
Wikipedia = "Tavastian dialects",
plain_categories = {"Tavastian Finnish"},
regional_categories = "Tavastian",
}
}
alias("Tavastia", { "Tavastian", "Häme" })


labels["Ostrobothnia"] = {
labels["Ostrobothnia"] = {
plain_categories = {"Ostrobothnian Finnish"},
aliases = {"Ostrobothnian", "Pohjanmaa", "Österbotten"},
Wikipedia = "Ostrobothnians",
regional_categories = "Ostrobothnian",
}
}
alias("Ostrobothnia", { "Ostrobothnian", "Pohjanmaa" })


labels["South Ostrobothnia"] = {
labels["South Ostrobothnia"] = {
aliases = {"South Ostrobothnian", "Etelä-Pohjanmaa", "Southern Ostrobothnia", "Southern Ostrobothnian"},
Wikipedia = "South Ostrobothnian dialect",
Wikipedia = "South Ostrobothnian dialect",
plain_categories = {"South Ostrobothnian Finnish"},
regional_categories = "South Ostrobothnian",
}
}
alias("South Ostrobothnia", { "South Ostrobothnian", "Etelä-Pohjanmaa", "Southern Ostrobothnia", "Southern Ostrobothnian" })


labels["Central Ostrobothnia"] = {
labels["Central Ostrobothnia"] = {
aliases = {"Central Ostrobothnian", "Keski-Pohjanmaa"},
Wikipedia = "Central and Northern Ostrobothnian dialects",
Wikipedia = "Central and Northern Ostrobothnian dialects",
plain_categories = {"Central Ostrobothnian Finnish"},
regional_categories = "Central Ostrobothnian",
}
}
alias("Central Ostrobothnia", { "Central Ostrobothnian", "Keski-Pohjanmaa" })


labels["North Ostrobothnia"] = {
labels["North Ostrobothnia"] = {
aliases = {"North Ostrobothnian", "Pohjois-Pohjanmaa", "Northern Ostrobothnia", "Northern Ostrobothnian"},
Wikipedia = "Central and Northern Ostrobothnian dialects",
Wikipedia = "Central and Northern Ostrobothnian dialects",
plain_categories = {"North Ostrobothnian Finnish"},
regional_categories = "North Ostrobothnian",
}
}
alias("North Ostrobothnia", { "North Ostrobothnian", "Pohjois-Pohjanmaa", "Northern Ostrobothnia", "Northern Ostrobothnian" })


labels["Central and North Ostrobothnia"] = {
labels["Central and North Ostrobothnia"] = {
aliases = {"Central and Northern Ostrobothnia", "Central and Nort Ostrobothnian", "Central and Northern Ostrobothnian"},
Wikipedia = "Central and Northern Ostrobothnian dialects",
Wikipedia = "Central and Northern Ostrobothnian dialects",
plain_categories = {"Central Ostrobothnian Finnish", "North Ostrobothnian Finnish"},
regional_categories = {"Central Ostrobothnian", "North Ostrobothnian"},
}
}
alias("Central and North Ostrobothnia", { "Central and Northern Ostrobothnia", "Central and Nort Ostrobothnian", "Central and Northern Ostrobothnian" })


labels["Lapland"] = {
labels["Lapland"] = {
aliases = {"Peräpohjola"},
Wikipedia = "Peräpohjola dialects",
Wikipedia = "Peräpohjola dialects",
regional_categories = true,
plain_categories = {"Lapland Finnish"},
}
}
alias("Lapland", { "Peräpohjola" })


labels["Westrobothnia"] = {
labels["Westrobothnia"] = {
plain_categories = {"Westrobothnian Finnish"},
aliases = {"Westrobothnian", "Länsi-Pohja", "Meänkieli"},
display = "[[Westrobothnia]]",
regional_categories = "Westrobothnian",
}
}
alias("Westrobothnia", { "Westrobothnian", "Länsi-Pohja" })


labels["Kymenlaakso"] = {
labels["Kymenlaakso"] = {
plain_categories = {"Kymenlaakso Finnish"},
display = "[[Kymenlaakso]]",
regional_categories = true,
}
}


labels["Satakunta"] = {
labels["Satakunta"] = {
plain_categories = {"Satakunta Finnish"},
display = "[[Satakunta]]",
regional_categories = true,
}
}


--labels["Central Finnish"] = {
labels["Central Finland"] = {
-- plain_categories = {"Central Finnish"},
aliases = {"Central Finnish"},
regional_categories = "Central",
--}
}


labels["Kainuu"] = {
labels["Kainuu"] = {
Wikipedia = "Kainuu dialect",
Wikipedia = "Kainuu dialect",
regional_categories = true,
plain_categories = {"Kainuu Finnish"},
}
}


labels["Savonia"] = {
labels["Savonia"] = {
aliases = {"Savonian", "Savo"},
Wikipedia = "Savonian dialects",
Wikipedia = "Savonian dialects",
plain_categories = {"Savonian Finnish"},
regional_categories = "Savonian",
}
}
alias("Savonia", { "Savonian", "Savo" })


labels["Karelia"] = {
labels["South Karelia"] = {
aliases = {"South Karelian", "Etelä-Karjala", "Southern Karelia", "Southern Karelian", "Karelian", "Karelia"},
Wikipedia = "South Karelian dialects", -- WP article is for a smaller group, but there is no better match.
Wikipedia = "South Karelian dialects", -- WP article is for a smaller group, but there is no better match.
regional_categories = "South Karelian",
plain_categories = {"Karelian Finnish"},
}
}
alias("Karelia", { "Karelian", "Karjala" })


labels["Ingria"] = {
labels["Ingria"] = {
aliases = {"Ingrian", "Inkeri"},
Wikipedia = "Ingrian dialects", -- WP article is for a smaller group, but there is no better match.
plain_categories = {"Ingrian Finnish"},
Wikipedia = "Ingrian dialects",
regional_categories = "Ingrian",
}
}
alias("Ingria", { "Ingrian", "Inkeri" })


labels["Gulf of Finland"] = {
labels["Gulf of Finland"] = {
aliases = {"Suomenlahti", "Gulf of Finland islands"},
Wikipedia = "Gulf of Finland dialects", -- WP article is for a smaller group, but there is no better match.
plain_categories = {"Gulf of Finland Finnish"},
display = "[[Gulf of Finland]] islands",
regional_categories = true,
}

labels["Värmland"] = {
aliases = {"Värmland Savonian", "Varmland", "Vermlanti"},
Wikipedia = "Värmland Savonian dialect",
regional_categories = "Värmland Savonian",
}
}
alias("Gulf of Finland", { "Suomenlahti" })


-- others
-- others


labels["Uusimaa"] = {
labels["Uusimaa"] = {
plain_categories = {"Uusimaa Finnish"},
aliases = {"Nyland"},
display = "[[Uusimaa]]",
regional_categories = true,
}

labels["Helsinki slang"] = {
Wikipedia = true,
plain_categories = true,
}
}
alias("Uusimaa", { "Nyland" })


return labels
return require("Module:labels").finalize_data(labels)

Latest revision as of 00:10, 14 July 2024

This module contains data for language-specific labels. See Module:labels/data for more info.

NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:labels/data/lang in order for the module to be recognized.


local labels = {}

labels["Finland"] = {
	aliases = {"Finnish"},
	Wikipedia = true,
	regional_categories = true,
	parent = true,
}

labels["Sweden"] = {
	Wikipedia = "Sweden Finnish",
	aliases = {"Swedish"},
	regional_categories = true,
	parent = true,
}

labels["American"] = {
	Wikipedia = "American Finnish",
	aliases = {"Finglish"},
	regional_categories = true,
	region = "[[North America]], specifically the [[United States]] and [[Canada]]",
	parent = true,
}

-- grammar

labels["+accusative"] = {
	display = "+ accusative",
	omit_preComma = true,
}

labels["+partitive"] = {
	display = "+ partitive",
	omit_preComma = true,
}

labels["+nominative"] = {
	display = "+ nominative",
	omit_preComma = true,
}

labels["+genitive"] = {
	display = "+ genitive",
	omit_preComma = true,
}

labels["+inessive"] = {
	display = "+ inessive",
	omit_preComma = true,
}

labels["+elative"] = {
	display = "+ elative",
	omit_preComma = true,
}

labels["+illative"] = {
	display = "+ illative",
	omit_preComma = true,
}

labels["+adessive"] = {
	display = "+ adessive",
	omit_preComma = true,
}

labels["+ablative"] = {
	display = "+ ablative",
	omit_preComma = true,
}

labels["+allative"] = {
	display = "+ allative",
	omit_preComma = true,
}

labels["+inf1"] = {
	display = "+ first infinitive",
	omit_preComma = true,
}

labels["+inf3 inessive"] = {
	display = "+ inessive of the third infinitive",
	omit_preComma = true,
}

labels["+inf3 elative"] = {
	display = "+ elative of the third infinitive",
	omit_preComma = true,
}

labels["+inf3 illative"] = {
	display = "+ illative of the third infinitive",
	omit_preComma = true,
}

labels["+inf3 adessive"] = {
	display = "+ adessive of the third infinitive",
	omit_preComma = true,
}

labels["+inf3 abessive"] = {
	display = "+ abessive of the third infinitive",
	omit_preComma = true,
}

-- override label to provide a better link.
labels["telic"] = {
	display = "[[Appendix:Finnic telic and atelic verbs|telic]]",
}

labels["atelic"] = {
	display = "[[Appendix:Finnic telic and atelic verbs|atelic]]",
}

-- top-level dialect groups

labels["Western Finnish"] = {
	aliases = {"Western", "Western Finland"},
	Wikipedia = "Finnish language#Western dialects",
	plain_categories = true,
}

labels["Eastern Finnish"] = {
	aliases = {"Eastern", "Eastern Finland"},
	Wikipedia = "Finnish language#Eastern dialects",
	plain_categories = true,
}

-- major dialect groups

labels["Southwest Finnish"] = {
	aliases = {"Varsinais-Suomi", "lounaismurretta", "Southwest Finland", "Southwestern Finland", "Southwestern Finnish"},
	Wikipedia = "Southwest Finnish dialects",
	plain_categories = true,
}

labels["Tavastia"] = {
	aliases = {"Tavastian", "Häme"},
	Wikipedia = "Tavastian dialects",
	regional_categories = "Tavastian",
}

labels["Ostrobothnia"] = {
	aliases = {"Ostrobothnian", "Pohjanmaa", "Österbotten"},
	Wikipedia = "Ostrobothnians",
	regional_categories = "Ostrobothnian",
}

labels["South Ostrobothnia"] = {
	aliases = {"South Ostrobothnian", "Etelä-Pohjanmaa", "Southern Ostrobothnia", "Southern Ostrobothnian"},
	Wikipedia = "South Ostrobothnian dialect",
	regional_categories = "South Ostrobothnian",
}

labels["Central Ostrobothnia"] = {
	aliases = {"Central Ostrobothnian", "Keski-Pohjanmaa"},
	Wikipedia = "Central and Northern Ostrobothnian dialects",
	regional_categories = "Central Ostrobothnian",
}

labels["North Ostrobothnia"] = {
	aliases = {"North Ostrobothnian", "Pohjois-Pohjanmaa", "Northern Ostrobothnia", "Northern Ostrobothnian"},
	Wikipedia = "Central and Northern Ostrobothnian dialects",
	regional_categories = "North Ostrobothnian",
}

labels["Central and North Ostrobothnia"] = {
	aliases = {"Central and Northern Ostrobothnia", "Central and Nort Ostrobothnian", "Central and Northern Ostrobothnian"},
	Wikipedia = "Central and Northern Ostrobothnian dialects",
	regional_categories = {"Central Ostrobothnian", "North Ostrobothnian"},
}

labels["Lapland"] = {
	aliases = {"Peräpohjola"},
	Wikipedia = "Peräpohjola dialects",
	regional_categories = true,
}

labels["Westrobothnia"] = {
	aliases = {"Westrobothnian", "Länsi-Pohja", "Meänkieli"},
	display = "[[Westrobothnia]]",
	regional_categories = "Westrobothnian",
}

labels["Kymenlaakso"] = {
	display = "[[Kymenlaakso]]",
	regional_categories = true,
}

labels["Satakunta"] = {
	display = "[[Satakunta]]",
	regional_categories = true,
}

labels["Central Finland"] = {
	aliases = {"Central Finnish"},
	regional_categories = "Central",
}

labels["Kainuu"] = {
	Wikipedia = "Kainuu dialect",
	regional_categories = true,
}

labels["Savonia"] = {
	aliases = {"Savonian", "Savo"},
	Wikipedia = "Savonian dialects",
	regional_categories = "Savonian",
}

labels["South Karelia"] = {
	aliases = {"South Karelian", "Etelä-Karjala", "Southern Karelia", "Southern Karelian", "Karelian", "Karelia"},
	Wikipedia = "South Karelian dialects", -- WP article is for a smaller group, but there is no better match.
	regional_categories = "South Karelian",
}

labels["Ingria"] = {
	aliases = {"Ingrian", "Inkeri"},
	Wikipedia = "Ingrian dialects",
	regional_categories = "Ingrian",
}

labels["Gulf of Finland"] = {
	aliases = {"Suomenlahti", "Gulf of Finland islands"},
	display = "[[Gulf of Finland]] islands",
	regional_categories = true,
}

labels["Värmland"] = {
	aliases = {"Värmland Savonian", "Varmland", "Vermlanti"},
	Wikipedia = "Värmland Savonian dialect",
	regional_categories = "Värmland Savonian",
}

-- others

labels["Uusimaa"] = {
	aliases = {"Nyland"},
	display = "[[Uusimaa]]",
	regional_categories = true,
}

labels["Helsinki slang"] = {
	Wikipedia = true,
	plain_categories = true,
}

return require("Module:labels").finalize_data(labels)