canvas-lms/packages/format-message-estree-util
Ed Schiebel cf86c2bffb Fix i18n:exract
closes MAT-127
flag=rce_enhancements

We are missing many translatable strings because the extract process
was broken due to a change in how node treats relative imports

The fix needed a fixed copy of format-message-estree-util locally
until the format-message folks fix it. I opened an issue in github
and Ahmad created a pull request.

Also had to update some import formatMessage form 'format-message'
to the local format-message.js file in order to use the namespace
and not the global formatMessage

Found that canvas-planner suffered from the same issue. Reran
it's `yarn i18n:extrract` task and checked in the results
(though I think that's done automagically by jenkins for
the translation process)

test plan:
  - packages/canvas-rce/locales/en.json has all the strings
    (look for Fullstring or "Click or shift-click for the html editor")

Change-Id: I822472dc90fcc7792224a7acce46b00804893ed9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/267755
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2021-06-24 18:01:47 +00:00
..
index.js Fix i18n:exract 2021-06-24 18:01:47 +00:00
jsx.js Fix i18n:exract 2021-06-24 18:01:47 +00:00
package.json Fix i18n:exract 2021-06-24 18:01:47 +00:00