(or other separators)
test plan:
*before pulling down this patch set*, reproduce the bug.
- this requires setting up I18n locally:
1. rake 18n:generate_js
2. RAILS_LOAD_ALL_LOCALES=true USE_OPTIMIZED_JS=true yarn run webpack
3. RAILS_LOAD_ALL_LOCALES=true bundle exec rails server
- create a course and set its language to Portuguese
- enable Mastery Paths feature in the course or its account
- create at least two assignments, set one of them as a trigger
assignment and add the other to a mastery path
- save the trigger assignment
- edit the assignment and change a cutoff value to a fractional
number, using a decimal comma (e.g., "7,5"), which should
be displayed as "7,5 pts"
- try to save the assignment. this will fail with a 400 error.
*pull down the patchset and re-run webpack*
- reload the assignment page
- attempt the edit again
- this time it should save
flag = conditional_release
fixes LS-1547
Change-Id: Ie7b1a0b1dcef6cfddde2a64e5be83b85ab1ac854
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/250906
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>