local labels = {}
local function alias(a, b) for _, v in ipairs(b) do labels[v] = a end end -- allows aliases to be entered as a list
labels["Beira"] = {
Wikipedia = "Beira (Portugal)",
plain_categories = {"Beirão Portuguese"},
}
labels["Trás-os-Montes"] = {
Wikipedia = true,
plain_categories = {"Transmontane Portuguese"},
}
labels["Brazilian Portuguese spelling"] = {
display = "Brazilian spelling",
Wikipedia = "Portuguese orthography#Brazilian vs. European spelling",
plain_categories = {"Brazilian Portuguese forms"},
language = "pt",
}
alias("Brazilian Portuguese spelling", {"Brazilian orthography"})
-- kludge, needed here for [[Template:standard spelling of]] et al
labels["Brazilian Portuguese form"] = {
display = "Brazilian Portuguese",
Wikipedia = "Portuguese orthography#Brazilian vs. European spelling",
plain_categories = {"Brazilian Portuguese forms"},
language = "pt",
}
alias("Brazilian Portuguese form", {"pt-br form"})
-- kludge, needed here for [[Template:pt-verb form of]] et al
labels["Brazilian Portuguese verb form"] = {
display = "Brazilian spelling",
Wikipedia = "Portuguese orthography#Brazilian vs. European spelling",
plain_categories = {"Brazilian Portuguese verb forms"},
language = "pt",
}
labels["European Portuguese spelling"] = {
aliases = {"European Portuguese orthography", "chính tả tiếng Bồ Đào Nha châu Âu"},
display = "chính tả tại châu Âu",
Wikipedia = "Chính tả tiếng Bồ Đào Nha#Chính tả tại Brasil vs. châu Âu",
plain_categories = "Dạng tiếng Bồ Đào Nha châu Âu",
}
-- kludge, needed here for [[Template:standard spelling of]] et al
labels["European Portuguese form"] = {
display = "European Portuguese",
Wikipedia = "Portuguese orthography#Brazilian vs. European spelling",
plain_categories = {"European Portuguese forms"},
language = "pt",
}
alias("European Portuguese form", {"pt-pt form"})
-- kludge, needed here for [[Template:pt-verb form of]] et al
labels["European Portuguese verb form"] = {
display = "European spelling",
Wikipedia = "Portuguese orthography#Brazilian vs. European spelling",
plain_categories = {"European Portuguese verb forms"},
language = "pt",
}
return labels