mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 15:56:56 +02:00
Localize maxspeed field (mph and km/h)
This commit is contained in:
+4
-2
@@ -13,7 +13,8 @@ iD.data = {
|
||||
path + 'data/presets/presets.json',
|
||||
path + 'data/presets/defaults.json',
|
||||
path + 'data/presets/categories.json',
|
||||
path + 'data/presets/fields.json'
|
||||
path + 'data/presets/fields.json',
|
||||
path + 'data/imperial.json'
|
||||
], d3.json, function (err, data) {
|
||||
|
||||
iD.data = {
|
||||
@@ -27,7 +28,8 @@ iD.data = {
|
||||
defaults: data[6],
|
||||
categories: data[7],
|
||||
fields: data[8]
|
||||
}
|
||||
},
|
||||
imperial: data[9]
|
||||
};
|
||||
|
||||
callback();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -198,7 +198,7 @@
|
||||
},
|
||||
"maxspeed": {
|
||||
"key": "maxspeed",
|
||||
"type": "combo",
|
||||
"type": "maxspeed",
|
||||
"label": "Speed Limit"
|
||||
},
|
||||
"name": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"key": "maxspeed",
|
||||
"type": "combo",
|
||||
"type": "maxspeed",
|
||||
"label": "Speed Limit"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"combo",
|
||||
"defaultcheck",
|
||||
"text",
|
||||
"maxspeed",
|
||||
"number",
|
||||
"tel",
|
||||
"email",
|
||||
|
||||
Reference in New Issue
Block a user