diff --git a/data/presets.yaml b/data/presets.yaml index ca0f5e3ac..ba0b8031c 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -452,6 +452,11 @@ en: drive_through: # drive_through=* label: Drive-Through + duration: + # duration=* + label: Duration + # duration field placeholder + placeholder: '00:00' electrified: # electrified=* label: Electrification diff --git a/data/presets/fields.json b/data/presets/fields.json index c0541dc7b..cee4ba054 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -623,6 +623,12 @@ "type": "check", "label": "Drive-Through" }, + "duration": { + "key": "duration", + "type": "text", + "label": "Duration", + "placeholder": "00:00" + }, "electrified": { "key": "electrified", "type": "combo", diff --git a/data/presets/fields/duration.json b/data/presets/fields/duration.json new file mode 100644 index 000000000..5a3a3f1de --- /dev/null +++ b/data/presets/fields/duration.json @@ -0,0 +1,6 @@ +{ + "key": "duration", + "type": "text", + "label": "Duration", + "placeholder": "00:00" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 0246520f3..dce0fc17a 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -11464,7 +11464,10 @@ "line" ], "fields": [ - "name" + "name", + "operator", + "duration", + "access" ], "tags": { "route": "ferry" diff --git a/data/presets/presets/route/ferry.json b/data/presets/presets/route/ferry.json index 696a17b28..df152dcf0 100644 --- a/data/presets/presets/route/ferry.json +++ b/data/presets/presets/route/ferry.json @@ -4,7 +4,10 @@ "line" ], "fields": [ - "name" + "name", + "operator", + "duration", + "access" ], "tags": { "route": "ferry" diff --git a/dist/locales/en.json b/dist/locales/en.json index ff3d862c1..c602dea71 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1464,6 +1464,10 @@ "drive_through": { "label": "Drive-Through" }, + "duration": { + "label": "Duration", + "placeholder": "00:00" + }, "electrified": { "label": "Electrification", "placeholder": "Contact Line, Electrified Rail...",