--[==[
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"]`.
]==]

-- Bosnia and Herzegovina
local BIH = {}

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


BIH.E.shield = "E%route%-BIH.svg"
BIH.E.shieldmain = "E%route%-BIH.svg"
BIH.E.translation = "Evropski put E %route%"

BIH.A.shield = "A%route%-BIH.svg"
BIH.A.shieldmain = "A%route%-BIH.svg"
BIH.A.link = "A%route% (Bosnia and Herzegovina)"
BIH.A.translation = "Autoput A%route%"

BIH.B.shield = "B%route%-BIH.svg"
BIH.B.shieldmain = "B%route%-BIH.svg"
BIH.B.color = "blue-var1"
BIH.B.translation = "Brza cesta B%route%"

BIH.M.shield = "M%route%-BIH.svg"
BIH.M.shieldmain = "M%route%-BIH.svg"
BIH.M.name = "%type%-%route"
BIH.M.link = "M-%route% road (Bosnia and Herzegovina)"
BIH.M.abbr = "M-%route%"
BIH.M.color = "blue-var1"
BIH.M.translation = "Magistralna cesta M%route%"

BIH.R.shield = "R%route%-BIH.svg"
BIH.R.shieldmain = "R%route%-BIH.svg"
BIH.R.name = "%type%-%route"
BIH.R.link = {
	default = "R-%route% road (Bosnia and Herzegovina)",
	ifexists = true
}
BIH.R.abbr = "R-%route%"
BIH.R.color = "yellow"
BIH.R.translation = "Regionalna cesta R%route%"


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

return BIH