Localize maxspeed field (mph and km/h)

This commit is contained in:
Ansis Brammanis
2013-04-01 19:36:39 -04:00
parent af7d003b88
commit bae7b13425
10 changed files with 114 additions and 7 deletions
+4 -2
View File
@@ -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
+1 -1
View File
@@ -198,7 +198,7 @@
},
"maxspeed": {
"key": "maxspeed",
"type": "combo",
"type": "maxspeed",
"label": "Speed Limit"
},
"name": {
+2 -2
View File
@@ -1,5 +1,5 @@
{
"key": "maxspeed",
"type": "combo",
"type": "maxspeed",
"label": "Speed Limit"
}
}
+1
View File
@@ -23,6 +23,7 @@
"combo",
"defaultcheck",
"text",
"maxspeed",
"number",
"tel",
"email",