Module:Road data/strings/BGR/sandbox

--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

To inspect the content of this data module when editing, enter the following
into the Debug console:
  local util = require("Module:Road data/util")
  print(util.arrayToString(p))
To inspect a particular route type, change `p` above to include the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]

-- Bulgaria
local BGR = {}

local util = require("Module:Road data/util")
util.addAll(BGR, require("Module:Road data/strings/EUR"))
util.addAll(BGR, require("Module:Road data/strings/ASIA"))

BGR.A.shield = "Mw A%route% BG.svg"
BGR.A.shieldmain = "Mw A%route% BG.svg"
BGR.A.name = {
	default = "A%route%",
	["1"] = "Trakia Motorway",
	["2"] = "Hemus Motorway",
	["3"] = "Struma Motorway",
	["4"] = "Maritsa Motorway",
	["5"] = "Cherno More Motorway",
	["6"] = "Europe Motorway",
	["7"] = "Veliko Tarnovo–Ruse Motorway"
}
BGR.A.link = "A%route% motorway (Bulgaria)"
BGR.A.color = "MUTCDgreen"
BGR.A.translation = {
	arg = "route",
	["1"] = "Автомагистрала „Тракия“",
	["2"] = "Автомагистрала „Хемус“",
	["3"] = "Автомагистрала „Струма“",
	["4"] = "Автомагистрала „Марица“",
	["5"] = "Автомагистрала „Черно море“",
	["6"] = "Автомагистрала „Европа“",
	["7"] = "Автомагистрала „Велико Търново–Русе“"
}

BGR.I = {
	shield = "Nat road %route% BG.svg",
	name = {
		default = "Republic Road I-%route%"
	},
	link = {
		default = "I-%route% road (Bulgaria)"
	},
	abbr = "I-%route%",
	translation = {
		arg = "route",
		default = "Републикански път I-%route%"
	}
}

BGR.II = {
	shield = "Nat road %route% BG.svg",
	name = {
		default = "Republic Road II-%route%",
		["18"] = "Sofia Ring Road"
	},
	link = {
		default = "II-%route% road (Bulgaria)",
		["18"] = "Sofia Ring Road"
	},
	abbr = "II-%route%",
	translation = {
		arg = "route",
		default = "Републикански път II-%route%",
		["18"] = "Софийски околовръстен път",
	}
}

for k, v in pairs(BGR) do if k:find ("^%a") then
	v.lang = "bg"
end

end

return BGR