Ignore accents when searching instruments
Some languages like spanish uses accents on letters but often they are not typed when searching. Same for french é or è. The instrument filter in the new score wizard or the instrument list should ignore accents.
It would be great to have tests for this feature to make sure it works with non latin (russian, greek, hebrew, chinese).
See 1. here : https://musescore.org/en/node/269463
Comments
Used regex expressions to go through diacritic characters and replace them with English characters - used a list of the most common vowel diacritics and accented versions of 'y', 'c', and 'n'
Where is that patch?
In reply to Where is that patch? by Jojo-Schmitz
I just submitted a pull request here: https://github.com/musescore/MuseScore/pull/3487
Ah, I looked there but didn't see one. I do now
Fixed in branch master, commit 5dd85bd5ab
fix #269467: added stringutils class to support searching without accents, added tests in mtest
Fixed in branch master, commit 4a9804ff2d
Merge pull request #3496 from finleylau/stringutils
fix #269467: added stringutils class
Fixed in branch 2.2, commit df52fba201
fix #269467: added stringutils class to support searching without accents, added tests in mtest
Automatically closed -- issue fixed for 2 weeks with no activity.