Module:Road data/strings/VNM: Difference between revisions
imported>Fredddie add |
(No difference)
|
Latest revision as of 02:21, 15 November 2022
Documentation for this module may be created at Module:Road data/strings/VNM/doc
--[==[
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"]`.
]==]
-- Vietnam
local VNM = {}
local util = require("Module:Road data/util")
util.addAll(VNM, require("Module:Road data/strings/ASIA"))
VNM[''] = {
shield = "",
name = "Route %route%",
link = "Route %route% (Vietnam)",
abbr = "Đường %route%",
translation = "Đường %route%",
lang = "vi"
}
VNM.CT = {
shield = {
hook = "padroute",
paddedLength = 2,
default = "CT %paddedRoute%, VNM.svg",
},
name = {
hook = "padroute",
paddedLength = 2,
default = "CT.%paddedRoute% Expressway",
},
link = "Expressway %route% (Vietnam)",
abbr = {
hook = "padroute",
paddedLength = 2,
default = "CT.%paddedRoute%",
},
translation = {
hook = "padroute",
paddedLength = 2,
default = "Đường cao tốc %paddedRoute%",
},
lang = "vi"
}
VNM["ct"] = VNM.CT
VNM["expressway"] = VNM.CT
VNM["cao tốc"] = VNM.CT
VNM["đường cao tốc"] = VNM.CT
VNM.QL = {
shield = "QL %route%, VNM.svg",
name = "National Route %route%",
link = "National Route %route% (Vietnam)",
abbr = "QL %route%",
translation = "Quốc lộ %route%",
lang = "vi"
}
VNM["ql"] = VNM.QL
VNM["nation"] = VNM.QL
VNM["quốc lộ"] = VNM.QL
VNM["national"] = VNM.QL
VNM.TL = {
shield = "", --ifexist in the future
name = "Provincial Route %route%",
link = {
ifexists = true,
default = "Provincial Route %route% (Vietnam)",
otherwise = ""
},
abbr = "TL %route%",
translation = "Tỉnh lộ %route%",
lang = "vi"
}
VNM["tl"] = VNM.TL
VNM["province"] = VNM.TL
VNM["tỉnh lộ"] = VNM.TL
VNM["provincial"] = VNM.TL
VNM["ĐT"] = VNM.TL
VNM["DT"] = VNM.TL
VNM.HL = {
shield = "", --ifexist in the future
link = {
ifexists = true,
default = "District Route %route% (Vietnam)",
otherwise = ""
},
abbr = "HL %route%",
translation = "Hương lộ %route%",
lang = "vi"
}
VNM["hl"] = VNM.HL
VNM["district"] = VNM.HL
VNM["hương lộ"] = VNM.HL
VNM["huyện lộ"] = VNM.HL
VNM["ĐH"] = VNM.HL
VNM["DH"] = VNM.HL
VNM["ĐCK"] = {
shield = "", --ifexist in the future
name = "Canal Towpath %route%",
link = {
ifexists = true,
default = "Canal Towpath %route% (Vietnam)",
otherwise = ""
},
abbr = "ĐCK %route%",
translation = "Đường cặp kênh %route%",
lang = "vi"
}
VNM["đck"] = VNM["ĐCK"]
VNM["towpath"] = VNM["ĐCK"]
VNM["DCK"] = VNM["ĐCK"]
VNM["đường cặp kênh"] = VNM["ĐCK"]
VNM.DHCM = {
shield = "DHCM, VNM.svg",
name = "Ho Chi Minh Highway",
link = "Ho Chi Minh Highway",
abbr = "ĐHCM",
translation = "Đường Hồ Chí Minh",
lang = "vi"
}
VNM["ĐHCM"] = VNM.DHCM
return VNM