[string] Fix Italian generic "Stop": set "Bus stop" + "Bus tram" #3286

Merged
valerio-bozzolan merged 1 commit from string-fix-stop-bus-tram into master 2022-08-30 08:45:20 +00:00
valerio-bozzolan commented 2022-08-28 17:16:01 +00:00 (Migrated from github.com)

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 the ruby 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.

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 the `ruby` 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.
biodranik (Migrated from github.com) reviewed 2022-08-28 19:54:25 +00:00
biodranik (Migrated from github.com) commented 2022-08-28 19:54:24 +00:00

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.

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.
vng (Migrated from github.com) reviewed 2022-08-29 08:11:33 +00:00
vng (Migrated from github.com) commented 2022-08-29 08:11:33 +00:00

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" :)

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" :)
vng (Migrated from github.com) approved these changes 2022-08-29 08:13:24 +00:00
valerio-bozzolan (Migrated from github.com) reviewed 2022-08-29 08:45:32 +00:00
valerio-bozzolan (Migrated from github.com) commented 2022-08-29 08:45:32 +00:00

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.

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.
vng (Migrated from github.com) reviewed 2022-08-29 09:56:42 +00:00
vng (Migrated from github.com) commented 2022-08-29 09:56:42 +00:00

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?

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?
valerio-bozzolan (Migrated from github.com) reviewed 2022-08-29 10:00:39 +00:00
valerio-bozzolan (Migrated from github.com) commented 2022-08-29 10:00:39 +00:00

Not tested. Here all the variants that could be nice to take in consideration:

  • fermata dell'autobus (← canonical) / fermata autobus
  • fermata del pullman / fermata pullman
  • fermata del bus / fermata bus
  • bus stop
Not tested. Here all the variants that could be nice to take in consideration: - fermata dell'autobus (← canonical) / fermata autobus - fermata del pullman / fermata pullman - fermata del bus / fermata bus - bus stop
vng (Migrated from github.com) reviewed 2022-08-29 11:44:29 +00:00
vng (Migrated from github.com) commented 2022-08-29 11:44:29 +00:00

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".

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".
vng (Migrated from github.com) reviewed 2022-08-29 11:48:37 +00:00
vng (Migrated from github.com) commented 2022-08-29 11:48:36 +00:00

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 ..

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 ..
valerio-bozzolan commented 2022-08-29 12:40:12 +00:00 (Migrated from github.com)

Does it make more sense now?

Does it make more sense now?
vng (Migrated from github.com) approved these changes 2022-08-29 15:30:11 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#3286
No description provided.