Module:Road data/strings/RUS

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

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

-- Russia
local RUS = {}

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


RUS.AH.shield = "AH%route%-RUS.svg"
RUS.AH.color = "ASIA-RUS"
RUS.E.shield = "E%route%-RUS.svg"
RUS.E.color = "EUR-RUS"

RUS.M.shield = "M%route%-RUS.svg"
RUS.M.link = "M%route% (Russia)"
RUS.M.name = "Federal Highway М%route%"
RUS.M.translation = "Федеральная автомобильная дорога М%route%"
RUS["М"] = RUS.M

RUS.R.shield = "P%route%-RUS.svg"
RUS.R.link = "P%route% (Russia)"
RUS.R.name = "Federal Highway Р%route%"
RUS.R.translation = "Федеральная автомобильная дорога Р%route%"

RUS.P = RUS.R
RUS["Р"] = RUS.R

RUS.A.shield = "A%route%-RUS.svg"
RUS.A.name = "Federal Highway А%route%"
RUS.A.link = "A%route% (Russia)"
RUS.A.translation = "Федеральная автомобильная дорога А%route%"
RUS["А"] = RUS.A
         
RUS.MKAD = {
	shield = "MKAD_Москва.svg",
	link="Moscow Ring Road",
	abbr="MKAD"
}

-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(RUS) do if k:find ("^%a") then
	v.lang = "ru"
	end
end
         
return RUS