@instructure/canvas-rce 5.13.1 → 5.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -65,11 +65,9 @@ polyfills in your own app, you can put this in your html above the script that i
65
65
  `@instructure/canvas-rce`:
66
66
 
67
67
  ```
68
- <script src="https://cdn.polyfill.io/v2/polyfill.min.js?rum=0"></script>
68
+ <script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js"></script>
69
69
  ```
70
70
 
71
- (See https://polyfill.io/v2/docs/ for more info)
72
-
73
71
  ## Development
74
72
 
75
73
  See [DEVELOPMENT.md](https://github.com/instructure/canvas-lms/blob/master/packages/canvas-rce/DEVELOPMENT.md)
@@ -148,6 +148,10 @@ export default function getTranslations(locale) {
148
148
  p = import('./translations/locales/he');
149
149
  break;
150
150
 
151
+ case 'hi':
152
+ p = import('./translations/locales/hi');
153
+ break;
154
+
151
155
  case 'ht':
152
156
  p = import('./translations/locales/ht');
153
157
  break;
@@ -340,5 +344,5 @@ export default function getTranslations(locale) {
340
344
  return transReadyPromise;
341
345
  }
342
346
  export function getLocaleList() {
343
- return ['ab', 'ar', 'ca', 'cs', 'cs-CZ', 'cy', 'da', 'da-x-k12', 'da-DK', 'de', 'el', 'en', 'en-AU-x-unimelb', 'en-GB-x-ukhe', 'en-AU', 'en-CA', 'en-CY', 'en-GB', 'en-NZ', 'en-SE', 'en-US', 'es', 'es-ES', 'es-GT', 'fa-IR', 'fi', 'fr', 'fr-CA', 'ga', 'he', 'ht', 'hu', 'hu-HU', 'hy', 'id', 'id-ID', 'is', 'it', 'ja', 'ko', 'ko-KR', 'lt', 'lt-LT', 'mi', 'mn-MN', 'ms', 'nb', 'nb-x-k12', 'nl', 'nl-NL', 'nn', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'se', 'sl', 'sv', 'sv-x-k12', 'sv-SE', 'tg', 'th', 'th-TH', 'tl-PH', 'tr', 'uk-UA', 'vi', 'vi-VN', 'zh', 'zh-Hans', 'zh-Hant', 'zh-HK', 'zh-TW', 'zh-TW.Big5'];
347
+ return ['ab', 'ar', 'ca', 'cs', 'cs-CZ', 'cy', 'da', 'da-x-k12', 'da-DK', 'de', 'el', 'en', 'en-AU-x-unimelb', 'en-GB-x-ukhe', 'en-AU', 'en-CA', 'en-CY', 'en-GB', 'en-NZ', 'en-SE', 'en-US', 'es', 'es-ES', 'es-GT', 'fa-IR', 'fi', 'fr', 'fr-CA', 'ga', 'he', 'hi', 'ht', 'hu', 'hu-HU', 'hy', 'id', 'id-ID', 'is', 'it', 'ja', 'ko', 'ko-KR', 'lt', 'lt-LT', 'mi', 'mn-MN', 'ms', 'nb', 'nb-x-k12', 'nl', 'nl-NL', 'nn', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'se', 'sl', 'sv', 'sv-x-k12', 'sv-SE', 'tg', 'th', 'th-TH', 'tl-PH', 'tr', 'uk-UA', 'vi', 'vi-VN', 'zh', 'zh-Hans', 'zh-Hant', 'zh-HK', 'zh-TW', 'zh-TW.Big5'];
344
348
  }
@@ -19,7 +19,7 @@ import React, { useEffect, useRef } from 'react';
19
19
  import { View } from '@instructure/ui-view';
20
20
  import { buildSvg } from '../../svg';
21
21
  import checkerboardStyle from '../../../shared/CheckerboardStyling';
22
- import formatMessage from 'format-message';
22
+ import formatMessage from '../../../../../format-message';
23
23
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
24
24
  const SQUARE_SIZE = 8;
25
25
  export const Preview = _ref => {
@@ -22,7 +22,7 @@ import { Heading } from '@instructure/ui-heading';
22
22
  import { CloseButton } from '@instructure/ui-buttons';
23
23
  import { View } from '@instructure/ui-view';
24
24
  import { Modal } from '@instructure/ui-modal';
25
- import formatMessage from 'format-message';
25
+ import formatMessage from '../../../../../format-message';
26
26
  export function ExternalToolDialogModal(props) {
27
27
  return /*#__PURE__*/React.createElement(Modal, {
28
28
  "data-mce-component": true,
@@ -23,7 +23,7 @@ import { View } from '@instructure/ui-view';
23
23
  import { Flex } from '@instructure/ui-flex';
24
24
  import { Heading } from '@instructure/ui-heading';
25
25
  import { CloseButton } from '@instructure/ui-buttons';
26
- import formatMessage from 'format-message';
26
+ import formatMessage from '../../../../../format-message';
27
27
  export function ExternalToolDialogTray(props) {
28
28
  const {
29
29
  label,
@@ -18,7 +18,7 @@
18
18
  import React from 'react';
19
19
  import { SVGIcon } from '@instructure/ui-svg-images';
20
20
  import { IconAssignmentLine, IconDiscussionLine, IconModuleLine, IconQuizLine, IconQuizSolid as IconNewQuiz, IconAnnouncementLine, IconDocumentLine } from '@instructure/ui-icons';
21
- import formatMessage from 'format-message';
21
+ import formatMessage from '../../../format-message';
22
22
  export const IconBlank = props => {
23
23
  return /*#__PURE__*/React.createElement(SVGIcon, Object.assign({
24
24
  name: "IconBlank",
@@ -345,6 +345,9 @@ const locale = {
345
345
  "content_1440204b": {
346
346
  "message": "Ábhar"
347
347
  },
348
+ "content_in_the_editor_will_be_changed_press_cancel_d5bf3357": {
349
+ "message": "Athrófar ábhar san eagarthóir. Brúigh Cealaigh chun an t-ábhar bunaidh a choinneáil."
350
+ },
348
351
  "content_is_still_being_uploaded_if_you_continue_it_8f06d0cb": {
349
352
  "message": "Tá an ábhar fós á uaslódáil, má leanann tú ar aghaidh ní bheidh sé leabaithe i gceart."
350
353
  },
@@ -648,6 +651,12 @@ const locale = {
648
651
  "enter_at_least_3_characters_to_search_4f037ee0": {
649
652
  "message": "Cuir isteach 3 charachtar ar a laghad le cuardaigh"
650
653
  },
654
+ "enter_replacement_text_17631bbc": {
655
+ "message": "cuir isteach téacs athsholáthair"
656
+ },
657
+ "enter_search_text_26cb4459": {
658
+ "message": "cuir isteach téacs cuardaigh"
659
+ },
651
660
  "epsilon_54bb8afa": {
652
661
  "message": "Eipsealón"
653
662
  },
@@ -738,6 +747,12 @@ const locale = {
738
747
  "files_index_af7c662b": {
739
748
  "message": "Innéacs Comhaid"
740
749
  },
750
+ "find_8d605019": {
751
+ "message": "Aimsigh"
752
+ },
753
+ "find_and_replace_6e345933": {
754
+ "message": "Aimsigh agus Athraigh"
755
+ },
741
756
  "finish_bc343002": {
742
757
  "message": "Críochnaigh"
743
758
  },
@@ -984,6 +999,9 @@ const locale = {
984
999
  "indefinite_integral_6623307e": {
985
1000
  "message": "Slánuimhreach Éiginnte"
986
1001
  },
1002
+ "index_of_max_80dcf7a5": {
1003
+ "message": "{ index } de { max }"
1004
+ },
987
1005
  "indigo_2035fc55": {
988
1006
  "message": "Indeagó"
989
1007
  },
@@ -1323,6 +1341,9 @@ const locale = {
1323
1341
  "next_40e12421": {
1324
1342
  "message": "Ar aghaidh"
1325
1343
  },
1344
+ "next_findtext_9d69f0fe": {
1345
+ "message": "An chéad { findText } eile"
1346
+ },
1326
1347
  "no_accessibility_issues_were_detected_f8d3c875": {
1327
1348
  "message": "Níor aimsíodh aon saincheisteanna inrochtaineachta."
1328
1349
  },
@@ -1380,6 +1401,9 @@ const locale = {
1380
1401
  "no_results_940393cf": {
1381
1402
  "message": "Gan torthaí."
1382
1403
  },
1404
+ "no_results_found_58717065": {
1405
+ "message": "Níor aimsíodh aon toradh"
1406
+ },
1383
1407
  "no_results_found_for_filterterm_ad1b04c8": {
1384
1408
  "message": "Níor aimsíodh aon torthaí le haghaidh { filterTerm }"
1385
1409
  },
@@ -1560,6 +1584,9 @@ const locale = {
1560
1584
  "preformatted_d0670862": {
1561
1585
  "message": "Réamhfhormáidithe"
1562
1586
  },
1587
+ "prepend_findtext_append_8e0e769a": {
1588
+ "message": "{ prepend }{ findText }{ append }"
1589
+ },
1563
1590
  "prev_f82cbc48": {
1564
1591
  "message": "Roimhe seo"
1565
1592
  },
@@ -1575,6 +1602,12 @@ const locale = {
1575
1602
  "preview_inline_9787330": {
1576
1603
  "message": "Réamhamharc inlíne"
1577
1604
  },
1605
+ "previous_bd2ac015": {
1606
+ "message": "Roimhe Seo"
1607
+ },
1608
+ "previous_findtext_8dfbfd30": {
1609
+ "message": "Roimhe Seo { findText }"
1610
+ },
1578
1611
  "prime_917ea60e": {
1579
1612
  "message": "Príomha"
1580
1613
  },
@@ -1647,9 +1680,27 @@ const locale = {
1647
1680
  "remove_link_d1f2f4d0": {
1648
1681
  "message": "Bain Nasc"
1649
1682
  },
1683
+ "replace_all_d3d68b3": {
1684
+ "message": "Athraigh Gach Rud"
1685
+ },
1686
+ "replace_all_findtext_with_replacetext_da574b32": {
1687
+ "message": "Athraigh { findText } ar fad le { replaceText }"
1688
+ },
1650
1689
  "replace_e61834a7": {
1651
1690
  "message": "Ionadaigh"
1652
1691
  },
1692
+ "replace_findtext_with_replacetext_7b5c7fb3": {
1693
+ "message": "Athraigh { findText } le { replaceText }"
1694
+ },
1695
+ "replace_with_eeff01ad": {
1696
+ "message": "Athraigh le"
1697
+ },
1698
+ "replaced_alertfindtext_with_alertreplacetext_de5c1795": {
1699
+ "message": "Athraíodh { alertFindText } le { alertReplaceText }"
1700
+ },
1701
+ "replaced_all_alertfindtext_with_alertreplacetext_83fdfe59": {
1702
+ "message": "Athraíodh { alertFindText } ar fad le { alertReplaceText }"
1703
+ },
1653
1704
  "reset_95a81614": {
1654
1705
  "message": "Athshocraigh"
1655
1706
  },
@@ -1659,6 +1710,9 @@ const locale = {
1659
1710
  "restore_auto_save_deccd84b": {
1660
1711
  "message": "Athchóirigh sábháil uathoibríoch?"
1661
1712
  },
1713
+ "result_index_of_max_7db5ad8b": {
1714
+ "message": "Toradh { index } de { max }."
1715
+ },
1662
1716
  "reverse_turnstile_does_not_yield_7558be06": {
1663
1717
  "message": "Cas an Geata Droim ar Ais (Ní Ghéilltear)"
1664
1718
  },