Module:labels/data/lang/fi: difference between revisions
Content deleted Content added
Surjection (talk | contribs) No edit summary |
Surjection (talk | contribs) 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[" |
labels["Sweden"] = { |
||
Wikipedia = |
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]]", |
|||
} |
} |
||
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 = |
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 = |
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 = |
plain_categories = true, |
||
} |
} |
||
alias("Southwest Finnish", { "Varsinais-Suomi", "lounaismurretta" }) |
|||
labels["Tavastia"] = { |
labels["Tavastia"] = { |
||
aliases = {"Tavastian", "Häme"}, |
|||
Wikipedia = "Tavastian dialects", |
Wikipedia = "Tavastian dialects", |
||
regional_categories = "Tavastian", |
|||
} |
} |
||
alias("Tavastia", { "Tavastian", "Häme" }) |
|||
labels["Ostrobothnia"] = { |
labels["Ostrobothnia"] = { |
||
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", |
||
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", |
||
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", |
||
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", |
||
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"] = { |
||
aliases = {"Westrobothnian", "Länsi-Pohja", "Meänkieli"}, |
|||
display = "[[Westrobothnia]]", |
|||
regional_categories = "Westrobothnian", |
|||
} |
} |
||
alias("Westrobothnia", { "Westrobothnian", "Länsi-Pohja" }) |
|||
labels["Kymenlaakso"] = { |
labels["Kymenlaakso"] = { |
||
display = "[[Kymenlaakso]]", |
|||
regional_categories = true, |
|||
} |
} |
||
labels["Satakunta"] = { |
labels["Satakunta"] = { |
||
display = "[[Satakunta]]", |
|||
regional_categories = true, |
|||
} |
} |
||
labels["Central Finland"] = { |
|||
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", |
||
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. |
|||
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. |
|||
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"] = { |
||
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
- The following documentation is generated by Template:label language-specific data documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
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)