common-voice / sentence-collector

Tool to collect and review sentences for Common Voice
https://commonvoice.mozilla.org/sentence-collector/
Mozilla Public License 2.0
81 stars 62 forks source link

fix for eo.js and tok.js validation scripts #615

Closed janPensa closed 2 years ago

janPensa commented 2 years ago

Somehow [BbCcDdFfGgHhQqRrVvXxYyZz\u00C0-\u02BF\u1E00-\u1EFF\uF1900-\uF19FF] and [qQwWxXyYÀ-ćĊ-ěĞ-ģĞ-ģĦ-ijĶ-śŞ-ūŮ-\u02AF\u1E00-\u1EFFα-ωΑ-ΩЀ-ӿ] match with all regular Latin letters as well, making the Sentence Collector reject all submissions.

Changed to [BbCcDdFfGgHhQqRrVvXxYyZzÀ-ʯα-ω] and [qQwWxXyYÀ-ćĊ-ěĞ-ģĞ-ģĦ-ijĶ-śŞ-ūŮ-ʯα-ωΑ-ΩЀ-ӿ], which should work well. (At least they do in Notepad++, which I found has the same behavior.)

MichaelKohler commented 2 years ago

The changes are based on the wrong branch, I guess you re-used the same branch? Can you create a new branch and do the hotfix changes?

janPensa commented 2 years ago

Will do.