-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add preset amenity=driver_training #499
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
35dc2ad
Create driver_training.json
SteveLz f96dd90
Update driver_training.json
SteveLz 5b858f7
Update data/presets/amenity/driver_training.json
SteveLz ef12f65
Update data/presets/amenity/driver_training.json
SteveLz 840d611
Update driver_training.json
SteveLz ecc465c
Create license_classes.json
SteveLz 8ea93c8
Update data/fields/license_classes.json
SteveLz d426a8b
Update data/presets/amenity/driver_training.json
SteveLz a6502fe
Update data/fields/license_classes.json
SteveLz 6eacb64
fix typo / json syntax
tyrasd de7cc95
Update driving_school.json
SteveLz 0782264
Merge branch 'main' into patch-1
tyrasd 863d1d9
fix syntax error
tyrasd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"key": "license_classes", | ||
"type": "semiCombo", | ||
"label": "Driving License Classes" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"icon": "maki-car", | ||
"fields": [ | ||
"name", | ||
"operator", | ||
"operator/type", | ||
"address", | ||
"opening_hours" | ||
], | ||
"moreFields": [ | ||
"license_classes", | ||
tyrasd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"email", | ||
"fax", | ||
"opening_hours/covid19", | ||
"payment_multi", | ||
"phone", | ||
"website", | ||
"wheelchair" | ||
], | ||
"geometry": [ | ||
"point", | ||
"area" | ||
], | ||
"tags": { | ||
"amenity": "driver_training" | ||
}, | ||
"name": "Driver Training Grounds", | ||
"aliases": [ | ||
"Driving Safety Center" | ||
], | ||
"terms": [ | ||
"Driving School" | ||
SteveLz marked this conversation as resolved.
Show resolved
Hide resolved
|
||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“Driving license” is understandable but not quite correct in any dialect of English. The source string should be changed to “driver’s license”, per American English. (The British English term would be “driving licence”; the Canadian, Australian, and New Zealand English localizations would have their own translations as well.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from that, “driver’s license classes” is confusing in the context of a preset for driver training. At first, when I tried to translate this string, I thought it meant “classes for obtaining a driver’s license”, but this key actually means “classes of driver’s license”. On the Driver Training Grounds preset, a user might end up leaving this field blank because no classes are taught there. I’d suggest changing this string to “License Classifications” or “Classes of Driver’s License” to avoid confusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed the spelling/wording in 7f0b1e4