mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
Use the cycleway's strings.options property to get options
This commit is contained in:
@@ -71,9 +71,7 @@ iD.ui.preset.cycleway = function(field) {
|
||||
}
|
||||
|
||||
cycleway.options = function() {
|
||||
var options = ['none', 'lane', 'shared_lane', 'track', 'share_busway', 'opposite_lane', 'opposite'];
|
||||
|
||||
return options.map(function(option) {
|
||||
return d3.keys(field.strings.options).map(function(option) {
|
||||
return {
|
||||
title: field.t('options.' + option + '.description'),
|
||||
value: option
|
||||
|
||||
Reference in New Issue
Block a user