fcad-core-dragon 2.0.0-beta.0 → 2.0.0-beta.10

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.
Files changed (161) hide show
  1. package/.editorconfig +6 -31
  2. package/.prettierrc +11 -0
  3. package/.vscode/extensions.json +8 -0
  4. package/.vscode/settings.json +16 -0
  5. package/CHANGELOG +153 -0
  6. package/README.md +28 -43
  7. package/documentation/.vitepress/config.js +114 -0
  8. package/documentation/api-examples.md +49 -0
  9. package/documentation/composants/app-base-button.md +58 -0
  10. package/documentation/composants/app-base-error-display.md +59 -0
  11. package/documentation/composants/app-base-popover.md +68 -0
  12. package/documentation/composants/app-comp-audio.md +75 -0
  13. package/documentation/composants/app-comp-branch-buttons.md +111 -0
  14. package/documentation/composants/app-comp-button-progress.md +53 -0
  15. package/documentation/composants/app-comp-carousel.md +53 -0
  16. package/documentation/composants/app-comp-container.md +53 -0
  17. package/documentation/composants/app-comp-input-checkbox-next.md +42 -0
  18. package/documentation/composants/app-comp-input-dropdown-next.md +34 -0
  19. package/documentation/composants/app-comp-input-radio-next.md +39 -0
  20. package/documentation/composants/app-comp-input-text-next.md +35 -0
  21. package/documentation/composants/app-comp-input-text-table-next.md +34 -0
  22. package/documentation/composants/app-comp-input-text-to-fill-dropdown-next.md +53 -0
  23. package/documentation/composants/app-comp-input-text-to-fill-next.md +31 -0
  24. package/documentation/composants/app-comp-jauge.md +31 -0
  25. package/documentation/composants/app-comp-menu-item.md +55 -0
  26. package/documentation/composants/app-comp-menu.md +29 -0
  27. package/documentation/composants/app-comp-navigation.md +41 -0
  28. package/documentation/composants/app-comp-note-call.md +53 -0
  29. package/documentation/composants/app-comp-note-credit.md +53 -0
  30. package/documentation/composants/app-comp-play-bar-next.md +53 -0
  31. package/documentation/composants/app-comp-pop-up-next.md +93 -0
  32. package/documentation/composants/app-comp-quiz-next.md +235 -0
  33. package/documentation/composants/app-comp-quiz-recall.md +53 -0
  34. package/documentation/composants/app-comp-svg-next.md +53 -0
  35. package/documentation/composants/app-comp-table-of-content.md +50 -0
  36. package/documentation/composants/app-comp-video-player.md +82 -0
  37. package/documentation/composants.md +46 -0
  38. package/documentation/composants_critiques/ModelPageComposant.md +53 -0
  39. package/documentation/composants_critiques/app-base-module.md +43 -0
  40. package/documentation/composants_critiques/app-base-page.md +48 -0
  41. package/documentation/composants_critiques/app-base.md +311 -0
  42. package/documentation/composants_critiques/main.md +15 -0
  43. package/documentation/demarrage.md +50 -0
  44. package/documentation/deploiement.md +58 -0
  45. package/documentation/index.md +33 -0
  46. package/documentation/markdown-examples.md +85 -0
  47. package/documentation/public/npm_version.png +0 -0
  48. package/documentation/public/vite.svg +15 -0
  49. package/documentation/public/vuejs.svg +2 -0
  50. package/documentation/public/vuetify.svg +6 -0
  51. package/eslint.config.js +60 -0
  52. package/package.json +43 -49
  53. package/src/$locales/en.json +94 -92
  54. package/src/$locales/fr.json +77 -113
  55. package/src/assets/data/onboardingMessages.json +1 -1
  56. package/src/components/AppBase.vue +971 -437
  57. package/src/components/AppBaseButton.test.js +21 -0
  58. package/src/components/AppBaseButton.vue +42 -10
  59. package/src/components/AppBaseErrorDisplay.vue +209 -162
  60. package/src/components/AppBaseFlipCard.vue +1 -0
  61. package/src/components/AppBaseModule.vue +1021 -976
  62. package/src/components/AppBasePage.vue +656 -128
  63. package/src/components/AppBasePopover.vue +41 -0
  64. package/src/components/AppBaseSkeleton.vue +66 -0
  65. package/src/components/AppCompAudio.vue +256 -0
  66. package/src/components/AppCompBranchButtons.vue +108 -181
  67. package/src/components/AppCompButtonProgress.vue +44 -70
  68. package/src/components/AppCompCarousel.vue +284 -233
  69. package/src/components/AppCompContainer.vue +29 -0
  70. package/src/components/AppCompInputCheckBoxNx.vue +323 -0
  71. package/src/components/AppCompInputDropdownNx.vue +299 -0
  72. package/src/components/AppCompInputRadioNx.vue +284 -0
  73. package/src/components/AppCompInputTextNx.vue +153 -0
  74. package/src/components/AppCompInputTextTableNx.vue +202 -0
  75. package/src/components/AppCompInputTextToFillDropdownNx.vue +340 -0
  76. package/src/components/AppCompInputTextToFillNx.vue +313 -0
  77. package/src/components/AppCompJauge.vue +36 -11
  78. package/src/components/AppCompMenu.vue +312 -92
  79. package/src/components/AppCompMenuItem.vue +129 -105
  80. package/src/components/AppCompNavigation.vue +972 -0
  81. package/src/components/AppCompNoteCall.vue +161 -0
  82. package/src/components/AppCompNoteCredit.vue +491 -0
  83. package/src/components/AppCompPlayBarNext.vue +2288 -0
  84. package/src/components/AppCompPopUpNext.vue +504 -0
  85. package/src/components/AppCompQuizNext.vue +510 -0
  86. package/src/components/AppCompQuizRecall.vue +350 -0
  87. package/src/components/AppCompSVGNext.vue +346 -0
  88. package/src/components/AppCompSettingsMenu.vue +18 -16
  89. package/src/components/AppCompTableOfContent.vue +340 -122
  90. package/src/components/AppCompVideoPlayer.vue +377 -0
  91. package/src/components/BaseModule.vue +24 -117
  92. package/src/components/tests__/AppBaseButton.spec.js +53 -0
  93. package/src/components/tests__/useTimer.spec.js +91 -0
  94. package/src/composables/useIdleDetector.js +56 -0
  95. package/src/composables/useQuiz.js +89 -0
  96. package/src/composables/useTimer.js +172 -0
  97. package/src/directives/nvdaFix.js +53 -0
  98. package/src/externalComps/ModuleView.vue +22 -0
  99. package/src/externalComps/SummaryView.vue +91 -0
  100. package/src/main.js +400 -142
  101. package/src/module/stores/appStore.js +947 -0
  102. package/src/module/xapi/ADL.js +241 -60
  103. package/src/module/xapi/Crypto/Hasher.js +8 -8
  104. package/src/module/xapi/Crypto/WordArray.js +6 -6
  105. package/src/module/xapi/Crypto/algorithms/BufferedBlockAlgorithm.js +4 -4
  106. package/src/module/xapi/Crypto/algorithms/C_algo.js +14 -18
  107. package/src/module/xapi/Crypto/algorithms/HMAC.js +1 -1
  108. package/src/module/xapi/Crypto/algorithms/SHA1.js +1 -1
  109. package/src/module/xapi/Crypto/encoders/Base.js +7 -7
  110. package/src/module/xapi/Crypto/encoders/Base64.js +3 -3
  111. package/src/module/xapi/Crypto/encoders/Hex.js +4 -3
  112. package/src/module/xapi/Crypto/encoders/Latin1.js +3 -3
  113. package/src/module/xapi/Crypto/encoders/Utf8.js +3 -3
  114. package/src/module/xapi/Statement/index.js +3 -3
  115. package/src/module/xapi/launch.js +10 -10
  116. package/src/module/xapi/utils.js +17 -17
  117. package/src/module/xapi/wrapper.js +223 -218
  118. package/src/module/xapi/xapiStatement.js +29 -29
  119. package/src/plugins/analytics.js +34 -0
  120. package/src/plugins/bus.js +7 -2
  121. package/src/plugins/gsap.js +9 -8
  122. package/src/plugins/helper.js +141 -43
  123. package/src/plugins/i18n.js +13 -18
  124. package/src/plugins/idb.js +46 -30
  125. package/src/plugins/save.js +1 -1
  126. package/src/plugins/scorm.js +15 -15
  127. package/src/plugins/xapi.js +2 -2
  128. package/src/public/index.html +23 -11
  129. package/src/router/index.js +57 -0
  130. package/src/router/routes.js +312 -0
  131. package/src/shared/generalfuncs.js +241 -10
  132. package/src/shared/validators.js +1018 -0
  133. package/vitest.config.js +19 -0
  134. package/.eslintignore +0 -29
  135. package/.eslintrc.js +0 -86
  136. package/.prettierrc.js +0 -5
  137. package/babel.config.js +0 -3
  138. package/src/components/AppBaseDragChoice.vue +0 -91
  139. package/src/components/AppBaseDropZone.vue +0 -112
  140. package/src/components/AppCompDragAndDrop.vue +0 -339
  141. package/src/components/AppCompInputAssociation.vue +0 -332
  142. package/src/components/AppCompInputCheckBox.vue +0 -227
  143. package/src/components/AppCompInputDropdown.vue +0 -184
  144. package/src/components/AppCompInputRadio.vue +0 -169
  145. package/src/components/AppCompInputTextBox.vue +0 -91
  146. package/src/components/AppCompInputTextTable.vue +0 -155
  147. package/src/components/AppCompInputTextToFillDropdown.vue +0 -255
  148. package/src/components/AppCompInputTextToFillText.vue +0 -164
  149. package/src/components/AppCompMediaPlayer.vue +0 -365
  150. package/src/components/AppCompNavigationFull.vue +0 -1791
  151. package/src/components/AppCompPlayBar.vue +0 -1540
  152. package/src/components/AppCompPopUp.vue +0 -523
  153. package/src/components/AppCompQuiz.vue +0 -2998
  154. package/src/components/AppCompToolTip.vue +0 -94
  155. package/src/mixins/$pageMixins.js +0 -381
  156. package/src/mixins/$quizMixins.js +0 -456
  157. package/src/mixins/timerMixin.js +0 -132
  158. package/src/module/store.js +0 -874
  159. package/src/plugins/timeManager.js +0 -77
  160. package/src/routes.js +0 -734
  161. package/vue.config.js +0 -83
package/package.json CHANGED
@@ -1,64 +1,58 @@
1
1
  {
2
2
  "name": "fcad-core-dragon",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.10",
4
4
  "private": false,
5
+ "type": "module",
5
6
  "main": "./src/main.js",
6
- "config": {
7
- "projname": ""
8
- },
9
7
  "scripts": {
10
- "watch": "nodemon -e js,vue,html,json -x yalc push",
11
- "build": "vue-cli-service build --target lib --name fcadCoreNext ./src/main.js",
12
- "lint": "vue-cli-service lint",
13
- "vue": "vue"
8
+ "build": "vite build",
9
+ "dev": "vite",
10
+ "docs:build": "vitepress build documentation",
11
+ "docs:dev": "vitepress dev documentation",
12
+ "docs:preview": "vitepress preview documentation",
13
+ "lintfix": "eslint --fix src",
14
+ "lintreport": "eslint ./src",
15
+ "preview": "vite preview",
16
+ "reset": "rm -rf ./node_modules package-lock.json .cache dist && npm i && npm run watch",
17
+ "test:unit": "vitest",
18
+ "vue": "vue",
19
+ "watch": "nodemon -e js,vue,html,json -x yalc publish --push",
20
+ "format": "prettier --write src/"
14
21
  },
15
- "dependencies": {
16
- "crypto-js": "^4.0.0",
17
- "gsap": "^3.6.0",
18
- "idb": "^6.1.2",
19
- "axios": "^0.27.2",
20
- "portal-vue": "^2.1.7",
21
- "mobile-detect": "^1.4.4",
22
- "core-js": "~3.9.1"
23
- },
24
- "peerDependencies": {
25
- "vuex": "~3.0.1",
26
- "vue-axios": "~3.3.7",
27
- "vue-router": "~3.2.0",
28
- "vue-i18n": "~8.26.3",
29
- "vue": "~2.6.11"
30
- },
31
- "devDependencies": {
32
- "@vue/cli-plugin-babel": "^4.5.11",
33
- "@vue/cli-plugin-eslint": "^4.5.11",
34
- "@vue/cli-service": "^4.5.11",
35
- "@vue/eslint-config-prettier": "^5.0.0",
36
- "babel-eslint": "^10.1.0",
37
- "eslint": "^6.7.2",
38
- "eslint-config-airbnb-base": "^14.2.1",
39
- "eslint-config-prettier": "^6.12.0",
40
- "eslint-plugin-import": "^2.22.1",
41
- "eslint-plugin-prettier": "^3.3.1",
42
- "eslint-plugin-vue": "^6.2.2",
43
- "prettier": "^1.19.1",
44
- "sass": "~1.26.5",
45
- "sass-loader": "~8.0.2",
46
- "vue-loader": "~15.9.8",
47
- "vue-template-compiler": "~2.6.14",
48
- "bootstrap-vue": "~2.21.2",
49
- "vuex": "~3.0.1",
50
- "vue-axios": "~3.3.7",
51
- "vue-router": "~3.2.0",
52
- "vue-i18n": "~8.26.3",
53
- "vue": "~2.6.11"
22
+ "config": {
23
+ "projname": ""
54
24
  },
55
-
56
-
57
25
  "browserslist": [
58
26
  "> 1%",
59
27
  "last 2 versions",
60
28
  "not dead"
61
29
  ],
30
+ "dependencies": {
31
+ "axios": "^1.6.8",
32
+ "gsap": "^3.12.5",
33
+ "idb": "^8.0.0",
34
+ "mobile-detect": "^1.4.5",
35
+ "pinia": "^3.0.3",
36
+ "tiny-emitter": "^2.1.0",
37
+ "vue-safe-teleport": "^0.1.2"
38
+ },
39
+ "devDependencies": {
40
+ "@eslint/js": "^9.38.0",
41
+ "@vitejs/plugin-vue": "^6.0.1",
42
+ "@vue/eslint-config-prettier": "^10.2.0",
43
+ "@vue/test-utils": "^2.4.6",
44
+ "eslint": "^9.38.0",
45
+ "eslint-plugin-cypress": "^5.1.0",
46
+ "eslint-plugin-vue": "~10.3.0",
47
+ "globals": "^16.4.0",
48
+ "jsdom": "^25.0.1",
49
+ "nodemon": "^3.1.0",
50
+ "prettier": "^3.6.2",
51
+ "sass-embedded": "^1.91.0",
52
+ "vitepress": "^1.6.3",
53
+ "vitest": "^3.2.4",
54
+ "vue-router": "^4.4.5"
55
+ },
62
56
  "engines": {
63
57
  "node": ">0.11.9"
64
58
  }
@@ -1,60 +1,41 @@
1
1
  {
2
2
  "button": {
3
- "accessibility":"Subtitles and transcript",
4
- "alert_close":"Close this window",
5
- "back_to_branching":"Go back to the main page",
6
- "back_to_menu": "Back to the menu",
7
- "btn_branch":"Explore this topic further",
8
- "cancel_pop": "Cancel",
9
3
  "carousel_next": "Next",
10
4
  "carousel_prev": "Previous",
11
- "confirm_pop": "Confirm",
12
- "copyright": "Copyright",
13
- "download_transcript": "Download text alternative",
14
- "full_screen": "full-screen",
15
- "hide_nav_bar": "Hide navigation bar",
16
- "hide_subtitle": "Hide subtitles",
17
- "instructions": "technical instruction",
18
- "menu": "Lesson contents",
19
- "menu_anchor": "Menu anchors",
5
+ "full_screen_on": "Full-screen",
6
+ "full_screen_off": "Exit full-screen",
7
+ "go_to_next_page": "Go to the next page",
8
+ "go_to_previous_page": "Go to the previous page",
9
+ "go_to_first_page": "Go to the first page",
10
+ "go_to_lesson": "Go to the next lesson",
11
+ "go_to_menu": "Go to the lesson contents page",
12
+ "info": "Info",
13
+ "menu": "Start",
20
14
  "menu_item": {
21
15
  "end": "Pick up where I left off",
22
- "middle": "Pick up where I left off",
23
16
  "start": "Start the lesson"
24
17
  },
25
18
  "mute": "Mute",
26
- "next": "Go to the next page",
19
+ "next": "Next",
27
20
  "next_activity": "Go to the next activity",
28
- "next_conclu": "Go to the lesson conclusion",
29
- "next_introduction": "Go to the lesson introduction",
30
- "next_branch":"Go to the next topic",
31
- "next_before_conclu_module":"Go to the module conclusion",
32
- "next_lesson" : "Go to the next lesson",
33
21
  "pause": "Pause",
34
22
  "play": "Play",
35
- "previous": "Go to the previous page",
36
- "previous_activity": "Go to the previous activity",
37
- "quiz_close_no_answer": "Stay and complete the exercise",
38
- "quiz_confirm": "Confirm",
39
- "quiz_multiple": "my answers",
40
- "quiz_save": "Save",
41
- "quiz_single": "my answer",
23
+ "previous": "Previous",
42
24
  "quiz_verify": "Check",
43
25
  "replay": "Replay",
44
- "reset": "Reset",
45
- "return_to_branch":"return to main content",
46
26
  "save": "Save",
47
- "setting": "Settings",
48
- "show_subtitle": "Display subtitles",
49
- "skip_nav_content": "skip to main containt",
50
- "submit": "Check my answer",
51
- "switch_off": "off",
52
- "switch_on": "on",
27
+ "subtitle_off": "Hide subtitles",
28
+ "subtitle_on": "Display subtitles",
29
+ "submit": "Check",
30
+ "toc": "Progression",
31
+ "toc_title": "Show activity contents",
32
+ "transcript_off": "Hide transcript",
33
+ "transcript_on": "Show transcript",
53
34
  "unmute": "Unmute",
54
- "volume":"Volume",
35
+ "volume": "Volume",
55
36
  "closePopUp": "Close"
56
37
  },
57
- "instruction": {
38
+ "instruction": {
58
39
  "branch": "Click on the item to find additional information.",
59
40
  "bif": "Select the path you wish to discover.",
60
41
  "choix_mult": "Select one or more options, then check your answer.",
@@ -67,89 +48,110 @@
67
48
  "pop_over": "Hover over the item to display the information.",
68
49
  "reponse_ouverte": "Write your answer and save it.",
69
50
  "reponse_ouverte_no_validation": "Write your answer and save it.",
70
- "texte_tableau": {
71
- "multi":"Write your answers, then check them.",
72
- "single":"Write your answer, then check it."
51
+ "texte_tableau": {
52
+ "multi": "Write your answers, then check them.",
53
+ "single": "Write your answer, then check it."
73
54
  },
74
- "texte_tableau_no_validation": {
75
- "multi":"Write your answers, then save them.",
76
- "single":"Write your answer and save it."
55
+ "texte_tableau_no_validation": {
56
+ "multi": "Write your answers, then save them.",
57
+ "single": "Write your answer and save it."
77
58
  },
78
59
  "texte_troue": {
79
- "multi":"Write your answers, then check them.",
80
- "single":"Write your answer, then check it."
60
+ "multi": "Write your answers, then check them.",
61
+ "single": "Write your answer, then check it."
81
62
  },
82
- "texte_troue_no_validation": {
83
- "multi":"Write your answers, then save them.",
84
- "single":"Write your answer and save it."
63
+ "texte_troue_no_validation": {
64
+ "multi": "Write your answers, then save them.",
65
+ "single": "Write your answer and save it."
85
66
  },
86
- "texte_troue_select": {
87
- "multi":"Select some options, then check your answers.",
88
- "single":"Select an option, then check your answer."
67
+ "texte_troue_select": {
68
+ "multi": "Select some options, then check your answers.",
69
+ "single": "Select an option, then check your answer."
89
70
  },
90
- "texte_troue_select_no_validation": {
91
- "multi":"Select some options, then save them.",
92
- "single":"Select an option, and save it."
71
+ "texte_troue_select_no_validation": {
72
+ "multi": "Select some options, then save them.",
73
+ "single": "Select an option, and save it."
93
74
  }
94
75
  },
95
76
  "label": {
96
- "for_pagination": "page",
97
- "for_volume_level": "volume",
98
- "splashscreen": "Welcome",
99
- "section":"Go to the section named",
100
- "timer":"estimated time"
77
+ "side_panel": "side panel",
78
+ "timer": "estimated time",
79
+ "info_long": "Display notes and references",
80
+ "note_reference": "???"
101
81
  },
102
82
  "message": {
103
- "bad_orientation_msg": "Please, turn your device for a better experience.",
104
- "bad_orientation_title": "Warning",
105
83
  "err_download_file": "The file download has failed.",
106
- "err_download_transcript":"There was a problem to download the transcript file",
84
+ "dropdown_list": "Dropdown list",
107
85
  "first_option_dropdown": "Choose an option",
108
- "no_answer": "You did not answer.",
109
86
  "no_attempts": "You have no more attempts.",
110
- "skip_content":"Skip to the main content.",
111
- "splash_welcome": "This course includes multimedia content. To avoid having to click on the play button on every page, you can activate automatic playback here. You can change this choice at any time in the settings.Settings Automatic playback of multimedia content at any time in the settings."
87
+ "loading_state_msg": "Loading. Please wait...",
88
+ "progress_card": "Progress status:",
89
+ "recall_done": "You have answered the question :",
90
+ "recall_undone": "You have not answered the question.",
91
+ "skip_content": "Skip to the main content."
112
92
  },
113
93
  "popup": {
114
- "text_noanswer_back_root": "You didn’t enter an answer. Do you really want to go back to the main page?",
115
- "text_noanswer_next_activity": "You didn’t enter an answer. Do you really want to go to the next activity?",
116
- "text_noanswer_next_branch": "You didn’t enter an answer. Do you really want to go to the next topic?",
117
- "text_noanswer_next_page": "You didn’t enter an answer. Do you really want to go to the next page?",
118
- "title_warning": "Oops!"
94
+ "text_what_to_do": "What do you wish to do?"
119
95
  },
120
96
  "text": {
121
97
  "activity": "Activity",
122
- "conclusion": "Conclusion",
123
- "introduction": "Introduction",
98
+ "activity_title": "My activities",
99
+ "activity_progress": "Progress status:",
100
+ "carousel": "Carousel",
101
+ "conclusion": "Conclusion to the Lesson",
102
+ "complete": "Completed",
103
+ "error": "error",
104
+ "introduction": "Introduction to the Lesson",
124
105
  "lesson": "Lesson",
125
- "quiz":"Words to complete the sentence",
126
- "place_holder":{
127
- "for_branch_title":"Title for branch",
128
- "for_lesson_title":"Title of this lesson",
106
+ "quiz": "Words to complete the sentence",
107
+ "place_holder": {
108
+ "for_lesson_title": "Title of this lesson",
129
109
  "for_textarea": "Write here.",
130
- "for_download_file_name":"file",
131
- "for_title_btn_progress":"Click to discover the content"
132
- }
110
+ "for_title_btn_progress": "Click to discover the content"
111
+ },
112
+ "of": "of",
113
+ "slide": "Slide",
114
+ "title_note": "Note(s)",
115
+ "title_credit": "Credit(s)",
116
+ "err_credit": "Le texte de la page ne comporte pas d’appel de note correspondant à cette note-ci. Un appel de note doit être ajouté.",
117
+ "title_link_bas": "Go back to the text",
118
+ "title_link_call": "Go to the footnote",
119
+ "toc": "Show activity contents",
120
+ "title_content_view": "Contents",
121
+ "transcript": "Transcript"
133
122
  },
134
123
  "user_settings": {
135
124
  "autoplay": "Automatic playback of multimedia content",
136
125
  "close": "Close this window",
137
126
  "onboarding": "Turn on the guided tour",
138
- "subtitles":"Always show subtitles when playing multimedia content",
127
+ "subtitles": "Always show subtitles when playing multimedia content",
139
128
  "title": "Settings"
140
129
  },
141
- "quizState":{
142
- "Selected":"Option selected",
143
- "goodAnswer":"Good answer",
144
- "badAnswer":"Wrong answer"
130
+ "quizState": {
131
+ "goodAnswer": "Good answer",
132
+ "badAnswer": "Wrong answer",
133
+ "neutralAnswer": "Neutral answer",
134
+ "answers": "Answer choices",
135
+ "radioFieldset": "Select one answer from the following",
136
+ "checkboxFieldset": "Select one or more answers from the following",
137
+ "options": "options",
138
+ "textTableFieldset1": "Fill the",
139
+ "textTableFieldset2": "following text fields",
140
+ "dropdownFieldsetSingle": "Select an answer in the following dropdown list",
141
+ "dropdownFieldsetMulti1": "Select an answer in the",
142
+ "dropdownFieldsetMulti2": "following dropdown lists",
143
+ "textToFillFieldset1": "In the following text, fill the",
144
+ "textToFillFieldset2": "text fields",
145
+ "textToFillDropdownFieldset1": "In the following text, Select an answer in the",
146
+ "textToFillDropdownFieldset2": "text fields"
145
147
  },
146
- "a11y_sr":{
148
+ "a11y_sr": {
147
149
  "time": {
148
- "hours":"hour | hours",
149
- "minute":"minute | minutes",
150
- "second":"second |seconds"
150
+ "hours": "hour | hours",
151
+ "minute": "minute | minutes",
152
+ "second": "second |seconds"
151
153
  },
152
- "seek_slider":"Seek slider",
153
- "range_expression":"at {x} of {y}."
154
+ "seek_slider": "Seek slider",
155
+ "range_expression": "at %x of %y."
154
156
  }
155
157
  }
@@ -1,156 +1,120 @@
1
1
  {
2
2
  "button": {
3
- "accessibility":"Sous-titres et transcription",
4
- "alert_close":"Fermer cette fenêtre",
5
- "back_to_branching":"Retourner à la page d’origine",
6
- "back_to_menu": "Retour au sommaire",
7
- "btn_branch":"Approfondir ce sujet",
8
- "cancel_pop": "Annuler",
9
3
  "carousel_next": "Suivant",
10
4
  "carousel_prev": "Précédent",
11
5
  "confirm_pop": "Confirmer",
12
- "copyright": "Droit d'auteur",
13
- "download_transcript": "Télécharger une version texte",
14
- "full_screen": "plein-écran",
15
- "hide_nav_bar": "Masquer la barre de navigation",
16
- "hide_subtitle": "Masquer les sous-titres",
17
- "instructions": "consigne technique",
18
- "menu": "Sommaire de la leçon",
19
- "menu_anchor": "Menu des ancres",
6
+ "full_screen_on": "Plein écran",
7
+ "full_screen_off": "Quitter le mode plein écran",
8
+ "go_to_first_page": "Aller à la première page",
9
+ "go_to_next_page": "Aller à la page suivante",
10
+ "go_to_previous_page": "Aller à la page précédente",
11
+ "go_to_lesson": "Aller à la leçon suivante",
12
+ "go_to_menu": "Aller au sommaire de la leçon",
13
+ "info": "Info",
14
+ "menu": "Début",
20
15
  "menu_item": {
21
16
  "end": "Reprendre là où j’étais",
22
- "middle": "Reprendre là où j’étais",
23
17
  "start": "Commencer la leçon"
24
18
  },
25
19
  "mute": "Désactiver le son",
26
- "next": "Aller à la page suivante",
20
+ "next": "Suivant",
27
21
  "next_activity": "Aller à l’activité suivante",
28
- "next_conclu": "Aller à la conclusion de la leçon",
29
- "next_introduction": "Aller à l'introduction de la leçon",
30
- "next_branch":"Aller au sujet suivant",
31
- "next_before_conclu_module":"Aller à la conclusion du module",
32
- "next_lesson" : "Aller à la leçon suivante",
33
22
  "pause": "Pause",
34
- "play": "jouer",
35
- "previous": "Aller à la page précédente",
36
- "previous_activity": "Aller à l’activité précédente",
37
- "quiz_close_no_answer": "Rester et faire cet exercice",
38
- "quiz_confirm": "Confirmer",
39
- "quiz_multiple": "mes réponses",
40
- "quiz_save": "Enregistrer",
41
- "quiz_single": "ma réponse",
23
+ "play": "Jouer",
24
+ "previous": "Précédent",
42
25
  "quiz_verify": "Vérifier",
43
26
  "replay": "Rejouer",
44
- "reset": "Réinitialiser",
45
- "return_to_branch":"Retour au résumé",
46
27
  "save": "Enregistrer",
47
- "setting": "Paramètres",
48
- "show_subtitle": "Afficher les sous-titres",
49
- "skip_nav_content": "Passer au contenu principal",
50
- "submit": "Vérifier ma réponse",
51
- "switch_off": "off",
52
- "switch_on": "on",
28
+ "subtitle_off": "Masquer les sous-titres",
29
+ "subtitle_on": "Afficher les sous-titres",
30
+ "submit": "Valider",
31
+ "toc": "Progression",
32
+ "toc_title": "Afficher la table des matières de l’activité",
33
+ "transcript_off": "Masquer la transcription",
34
+ "transcript_on": "Afficher la transcription",
53
35
  "unmute": "Activer le son",
54
- "volume":"Volume",
36
+ "volume": "Volume",
55
37
  "closePopUp": "Fermer"
56
38
  },
57
- "instruction": {
58
- "branch": "Cliquez sur l’élément pour découvrir l’information supplémentaire.",
59
- "bif": "Sélectionnez le chemin que vous souhaitez découvrir.",
60
- "choix_mult": "Sélectionnez une ou plusieurs réponses, puis vérifiez votre choix.",
61
- "choix_mult_no_validation": "Sélectionnez une ou plusieurs réponses, puis confirmez votre choix.",
62
- "choix_unique": "Sélectionnez votre réponse, puis vérifiez-la.",
63
- "choix_unique_no_validation": "Sélectionnez une réponse, puis confirmez-la.",
64
- "click_show": "Cliquez sur l’élément pour découvrir l’information supplémentaire.",
65
- "dropdown": "Associez les bonnes réponses aux énoncés correspondants, puis vérifiez vos réponses.",
66
- "dropdown_no_validation": "Associez une réponse à chaque énoncé, puis confirmez vos réponses.",
67
- "pop_over": "Survolez l’élément pour afficher l'information.",
68
- "reponse_ouverte": "Rédigez votre réponse, puis enregistrez-la.",
69
- "reponse_ouverte_no_validation": "Rédigez votre réponse, puis enregistrez-la.",
70
- "texte_tableau": {
71
- "multi":"Écrivez vos réponses, puis vérifiez-les.",
72
- "single":"Écrivez votre réponse, puis vérifiez-la."
73
- },
74
- "texte_tableau_no_validation": {
75
- "multi":"Écrivez vos réponses, puis enregistrez-les.",
76
- "single":"Rédigez votre réponse, puis enregistrez-la."
77
- },
78
- "texte_troue": {
79
- "multi":"Écrivez vos réponses, puis vérifiez-les.",
80
- "single":"Écrivez votre réponse, puis vérifiez-la."
81
- },
82
- "texte_troue_no_validation": {
83
- "multi":"Écrivez vos réponses, puis enregistrez-les.",
84
- "single":"Rédigez votre réponse, puis enregistrez-la."
85
- },
86
- "texte_troue_select":{
87
- "multi":"Sélectionnez des réponses, puis vérifiez-les.",
88
- "single":"Sélectionnez une réponse, puis vérifiez-la."
89
- },
90
- "texte_troue_select_no_validation": {
91
- "multi":"Sélectionnez des réponses, puis enregistrez-les.",
92
- "single":"Sélectionnez une réponse, puis enregistrez-la."
93
- }
94
- },
95
39
  "label": {
96
- "for_pagination": "page",
97
- "for_volume_level": "volume",
98
- "splashscreen": "Contenu multimédia",
99
- "section":"Aller à la section intitulée",
100
- "timer":"temps estimé"
40
+ "side_panel": "fenêtre latérale",
41
+ "timer": "temps estimé",
42
+ "info_long": "Afficher les notes et les mentions de sources",
43
+ "note_reference": "Note de reference"
101
44
  },
102
45
  "message": {
103
- "bad_orientation_msg": "Veuillez retourner votre appareil pour une meilleur expérience.",
104
- "bad_orientation_title": "Attention",
105
46
  "err_download_file": "Le téléchargement de ce fichier a échoué.",
106
- "err_download_transcript":"Impossible de télécharger le fichier de transcription",
47
+ "dropdown_list": "Liste déroulante",
107
48
  "first_option_dropdown": "Choisir une option",
108
- "no_answer": "Vous n'avez pas répondu.",
109
49
  "no_attempts": "Vous n'avez plus d'essai.",
110
- "skip_content":"Passer au contenu principal",
111
- "splash_welcome": "Ce cours comprend du contenu multimédia. Pour éviter de devoir lancer la lecture de ce contenu dans chaque page, vous pouvez activer la lecture automatique ici. Il vous sera possible de modifier ce choix à tout moment dans les paramètres."
112
-
50
+ "loading_state_msg": "Chargement. Veuillez patienter...",
51
+ "progress_card": "État d’avancement :",
52
+ "recall_done": "Vous avez répondu précédemment à la question :",
53
+ "recall_undone": "Vous n'avez pas répondu à la question concernée.",
54
+ "skip_content": "Passer au contenu principal"
113
55
  },
114
56
  "popup": {
115
- "text_noanswer_back_root": "Vous n’avez pas entré de réponse. Voulez-vous tout de même retourner à la page d’origine?",
116
- "text_noanswer_next_activity": "Vous n’avez pas entré de réponse. Voulez-vous tout de même aller à l’activité suivante?",
117
- "text_noanswer_next_branch": "Vous n’avez pas entré de réponse. Voulez-vous tout de même aller au sujet suivant?",
118
- "text_noanswer_next_page": "Vous n’avez pas entré de réponse. Voulez-vous tout de même aller à la page suivante?",
119
- "title_warning": "Attention!"
57
+ "text_what_to_do": "Que voulez-vous faire?"
120
58
  },
121
59
  "text": {
122
60
  "activity": "Activité",
123
- "conclusion": "Conclusion",
124
- "introduction": "Introduction",
61
+ "activity_title": "Mes activités",
62
+ "activity_progress": "État d’avancement :",
63
+ "carousel": "Carrousel",
64
+ "conclusion": "Conclusion de la leçon",
65
+ "complete": "Terminé",
66
+ "error": "erreur",
67
+ "introduction": "Introduction de la leçon",
125
68
  "lesson": "Leçon",
126
- "quiz":"Mot complétant la phrase",
127
- "place_holder":{
128
- "for_branch_title":"Titre de la branche",
129
- "for_lesson_title":"Titre de la leçon",
69
+ "quiz": "Mot complétant la phrase",
70
+ "place_holder": {
71
+ "for_lesson_title": "Titre de la leçon",
130
72
  "for_textarea": "Écrivez ici.",
131
- "for_download_file_name":"fichier",
132
- "for_title_btn_progress":"Cliquer pour découvrir le contenu"
133
- }
73
+ "for_title_btn_progress": "Cliquer pour découvrir le contenu"
74
+ },
75
+ "of": "de",
76
+ "slide": "Diapositive",
77
+ "title_note": "Note(s)",
78
+ "title_credit": "Source(s)",
79
+ "err_credit": "Le texte de la page ne comporte pas d’appel de note correspondant à cette note-ci. Un appel de note doit être ajouté.",
80
+ "title_link_bas": "Revenir au texte",
81
+ "title_link_call": "Accéder à la note",
82
+ "title_content_view": "Sommaire",
83
+ "toc": "Table des matières",
84
+ "transcript": "Transcription"
134
85
  },
135
86
  "user_settings": {
136
87
  "autoplay": "Lecture automatique du contenu multimédia",
137
88
  "close": "Fermer cette fenêtre",
138
89
  "onboarding": "Activer la visite guidée",
139
- "subtitles":"Activer le soutitrage par défault",
90
+ "subtitles": "Activer le soutitrage par défault",
140
91
  "title": "Paramètres"
141
92
  },
142
- "quizState":{
143
- "Selected":"Réponse sélectionnée",
144
- "goodAnswer":"Bonne réponse",
145
- "badAnswer":"Mauvaise réponse"
93
+ "quizState": {
94
+ "goodAnswer": "Bonne réponse",
95
+ "badAnswer": "Mauvaise réponse",
96
+ "neutralAnswer": "Réponse neutre",
97
+ "answers": "Choix de réponses",
98
+ "radioFieldset": "Sélectionnez une réponse parmi les",
99
+ "checkboxFieldset": "Sélectionnez une ou plusieurs réponses parmi les",
100
+ "options": "options suivantes",
101
+ "textTableFieldset1": "Remplissez les",
102
+ "textTableFieldset2": "champs de texte suivants",
103
+ "dropdownFieldsetSingle": "Sélectionnez une réponse dans la liste déroulante suivante",
104
+ "dropdownFieldsetMulti1": "Sélectionnez une réponse dans les",
105
+ "dropdownFieldsetMulti2": "listes déroulantes suivantes",
106
+ "textToFillFieldset1": "Dans le texte qui suit, remplissez les",
107
+ "textToFillFieldset2": "champs de texte",
108
+ "textToFillDropdownFieldset1": "Dans le texte qui suit, Sélectionnez une réponse dans les",
109
+ "textToFillDropdownFieldset2": "listes déroulantes"
146
110
  },
147
- "a11y_sr":{
111
+ "a11y_sr": {
148
112
  "time": {
149
- "hours":"heure | heures",
150
- "minute":"minute | minutes",
151
- "second":"seconde |secondes"
113
+ "hours": "heure | heures",
114
+ "minute": "minute | minutes",
115
+ "second": "seconde |secondes"
152
116
  },
153
- "seek_slider":"Barre de lecture",
154
- "range_expression":"à {x} sur {y}."
117
+ "seek_slider": "Barre de lecture",
118
+ "range_expression": %x sur %y."
155
119
  }
156
120
  }
@@ -25,7 +25,7 @@
25
25
  "message_4": {
26
26
  "type": "tooltip",
27
27
  "value": {
28
- "target":"primary_activity",
28
+ "target": "primary_activity",
29
29
  "title": "Navigation principale",
30
30
  "content": "<p>La navigation principale permet de valider ses réponses de quiz et de passer à la page suivante.</p>"
31
31
  }