Added support for localization of address fields

This commit is contained in:
Christian Schwarz
2014-06-03 22:49:42 +02:00
parent 4f70731dfb
commit b3acd56bbb
8 changed files with 11211 additions and 39 deletions
+6 -2
View File
@@ -18,7 +18,9 @@ iD.data = {
path + 'data/operations-sprite.json',
path + 'data/locales.json',
path + 'dist/locales/en.json',
path + 'data/name-suggestions.json'
path + 'data/name-suggestions.json',
path + 'data/address-formats.json',
path + 'data/countries.json'
], d3.json, function (err, data) {
iD.data = {
@@ -37,7 +39,9 @@ iD.data = {
operations: data[10],
locales: data[11],
en: data[12],
suggestions: data[13]
suggestions: data[13],
addressFormats: data[14],
countries: data[15]
};
callback();