[string] Fix Italian generic "Stop": set "Bus stop" + "Bus tram" #3286
No reviewers
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#3286
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "string-fix-stop-bus-tram"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This small change allows many people in Italy not to confuse search results related to tram and bus stops (and train stations): now all of them have a different description.
This bug was originally reported by @amreo during an OpenStreetMap mapping party in the lovely La Pigna, Sanremo (Italy):
https://scambi.org/2022/lab/18/
Added the
Signed-off-by
as expected but I've not executed theruby
stuff, sorry.Please note (since in some projects it's a problem in compilation): There is an apostrophe character in my translation:
'
This change also adds the ability to search "pullman" (widely used in Torino) plus a couple of autocomplete limitation (3 characters).
Thank you for this amazing Free/Libre and Open Source Project.
Can the user type "fermata" in the search to find any type of stop? If yes, then please add it also as a synonym here and below.
Category search does match separate tokens always. This change will affect suggestion's name only. Search will work the same way for "fermata", "autobus", "tram".
The only thing that entropy is increasing a bit with "del/dell" :)
If I understand correctly, "fermata" and "autobus" are just tokens, so feel free to say "yeah please drop -dell-" since it just means "of the". Unless an exact string match is not is weight-rewarded.
Did you test this changes somehow? "dell" is ok if we want to get grammatically valid suggest name.
Or "Fermata autobus", "Fermata tram" are also good suggestions?
Not tested. Here all the variants that could be nice to take in consideration:
Seems like you don't understand my point. "Fermata tram", or "Fermata autobus" search already should work on current app version with correct results. Please, check it out.
Your fix is good for blue suggest result names on top. Instead of generic "Fermata", the app will suggest "Fermata dell'autobus" or "Fermata del tram".
From my perspective, I'd prefer simple:
it:3autobus|3Fermata
it:3tram|3Fermata
Main transport as a first keyword for suggest. "Fermata" as a synonym for any transport ..
Does it make more sense now?