@magmamath/students-features 1.3.15 → 1.3.16

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 (299) hide show
  1. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -2
  2. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -2
  4. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  5. package/dist/commonjs/features/chatbot/helpers.js +3 -3
  6. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +3 -4
  8. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  9. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
  10. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  11. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
  12. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  13. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +4 -8
  14. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  15. package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -2
  16. package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
  17. package/dist/commonjs/features/feedback/model/comments.js +2 -2
  18. package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
  19. package/dist/commonjs/features/gifCelebrations/components/Gif.js +2 -2
  20. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
  21. package/dist/commonjs/features/gifCelebrations/helpers.js.map +1 -1
  22. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -2
  23. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  24. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +2 -2
  25. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  26. package/dist/commonjs/features/pmProgress/components/header/NextUp.js +2 -2
  27. package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -1
  28. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +2 -2
  29. package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
  30. package/dist/commonjs/features/pmProgress/components/header/StartButton.js +2 -2
  31. package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -1
  32. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +2 -2
  33. package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
  34. package/dist/commonjs/features/pmProgress/components/list/Fluency.js +2 -2
  35. package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -1
  36. package/dist/commonjs/features/pmProgress/components/list/ListCard.js +2 -2
  37. package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +1 -1
  38. package/dist/commonjs/features/pmProgress/components/list/ListItem.js +2 -2
  39. package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +1 -1
  40. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +2 -2
  41. package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
  42. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +2 -2
  43. package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
  44. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +5 -5
  45. package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
  46. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js +2 -2
  47. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
  48. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +2 -2
  49. package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
  50. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +2 -2
  51. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  52. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +2 -2
  53. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  54. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +2 -2
  55. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  56. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +2 -2
  57. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  58. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +7 -7
  59. package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  60. package/dist/commonjs/i18n/i18n.js +15 -0
  61. package/dist/commonjs/i18n/i18n.js.map +1 -0
  62. package/dist/commonjs/i18n/i18next.d.js +5 -0
  63. package/dist/commonjs/i18n/i18next.d.js.map +1 -0
  64. package/dist/commonjs/index.js +26 -41
  65. package/dist/commonjs/index.js.map +1 -1
  66. package/dist/commonjs/lib/helpers/helpers.js +12 -12
  67. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  68. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +1 -1
  69. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  70. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +1 -1
  71. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  72. package/dist/module/features/chatbot/helpers.js +1 -1
  73. package/dist/module/features/chatbot/helpers.js.map +1 -1
  74. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +2 -3
  75. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  76. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +3 -2
  77. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  78. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
  79. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  80. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +5 -9
  81. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  82. package/dist/module/features/feedback/components/EmptyComment.js +1 -1
  83. package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
  84. package/dist/module/features/feedback/model/comments.js +1 -1
  85. package/dist/module/features/feedback/model/comments.js.map +1 -1
  86. package/dist/module/features/gifCelebrations/components/Gif.js +1 -1
  87. package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
  88. package/dist/module/features/gifCelebrations/helpers.js.map +1 -1
  89. package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
  90. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  91. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +1 -1
  92. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  93. package/dist/module/features/pmProgress/components/header/NextUp.js +1 -1
  94. package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -1
  95. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +2 -2
  96. package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
  97. package/dist/module/features/pmProgress/components/header/StartButton.js +1 -1
  98. package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -1
  99. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +2 -3
  100. package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
  101. package/dist/module/features/pmProgress/components/list/Fluency.js +1 -1
  102. package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -1
  103. package/dist/module/features/pmProgress/components/list/ListCard.js +2 -2
  104. package/dist/module/features/pmProgress/components/list/ListCard.js.map +1 -1
  105. package/dist/module/features/pmProgress/components/list/ListItem.js +2 -2
  106. package/dist/module/features/pmProgress/components/list/ListItem.js.map +1 -1
  107. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +1 -1
  108. package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
  109. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +2 -2
  110. package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
  111. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +1 -1
  112. package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
  113. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js +1 -1
  114. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
  115. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +1 -1
  116. package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
  117. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +1 -1
  118. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  119. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -1
  120. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  121. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +1 -1
  122. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  123. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +1 -1
  124. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  125. package/dist/module/features/voice/recording/model/VoiceRecord.model.js +1 -1
  126. package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
  127. package/dist/module/i18n/i18n.js +9 -0
  128. package/dist/module/i18n/i18n.js.map +1 -0
  129. package/dist/module/i18n/i18next.d.js +5 -0
  130. package/dist/module/i18n/i18next.d.js.map +1 -0
  131. package/dist/module/index.js +0 -1
  132. package/dist/module/index.js.map +1 -1
  133. package/dist/module/lib/helpers/helpers.js +1 -1
  134. package/dist/module/lib/helpers/helpers.js.map +1 -1
  135. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +2 -2
  136. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  137. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
  138. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  139. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  140. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  141. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts +2 -2
  142. package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -1
  143. package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
  144. package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +1 -1
  145. package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
  146. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +1 -1
  147. package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
  148. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  149. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +2 -2
  150. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  151. package/dist/typescript/commonjs/i18n/i18n.d.ts +8 -0
  152. package/dist/typescript/commonjs/i18n/i18n.d.ts.map +1 -0
  153. package/dist/typescript/commonjs/index.d.ts +0 -1
  154. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  155. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +2 -2
  156. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  157. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
  158. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  159. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  160. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  161. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts +2 -2
  162. package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -1
  163. package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
  164. package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +1 -1
  165. package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
  166. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +1 -1
  167. package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
  168. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  169. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +2 -2
  170. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  171. package/dist/typescript/module/i18n/i18n.d.ts +8 -0
  172. package/dist/typescript/module/i18n/i18n.d.ts.map +1 -0
  173. package/dist/typescript/module/index.d.ts +0 -1
  174. package/dist/typescript/module/index.d.ts.map +1 -1
  175. package/package.json +11 -6
  176. package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -1
  177. package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +1 -1
  178. package/src/features/chatbot/helpers.ts +1 -1
  179. package/src/features/chatbot/model/ChatBoxTextManager.ts +4 -8
  180. package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
  181. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +3 -4
  182. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +5 -9
  183. package/src/features/feedback/components/EmptyComment.tsx +1 -1
  184. package/src/features/feedback/model/comments.ts +1 -1
  185. package/src/features/gifCelebrations/components/Gif.tsx +1 -1
  186. package/src/features/gifCelebrations/helpers.ts +2 -2
  187. package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
  188. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +1 -1
  189. package/src/features/pmProgress/components/header/NextUp.tsx +1 -1
  190. package/src/features/pmProgress/components/header/PmProgressHeader.tsx +2 -2
  191. package/src/features/pmProgress/components/header/StartButton.tsx +1 -1
  192. package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +2 -2
  193. package/src/features/pmProgress/components/list/Fluency.tsx +1 -1
  194. package/src/features/pmProgress/components/list/ListCard.tsx +3 -2
  195. package/src/features/pmProgress/components/list/ListItem.tsx +2 -2
  196. package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +4 -12
  197. package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +2 -2
  198. package/src/features/pmProgress/shared/pmProgress.helpers.ts +2 -2
  199. package/src/features/voice/playing/components/VoiceTranscriptionsDropdown.tsx +1 -1
  200. package/src/features/voice/playing/components/VoiceTranscriptionsDropdownItem.tsx +1 -1
  201. package/src/features/voice/recording/components/VoiceRecordButton.tsx +1 -1
  202. package/src/features/voice/recording/modal/ModalFooterButtons.tsx +2 -3
  203. package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +1 -1
  204. package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +1 -1
  205. package/src/features/voice/recording/model/VoiceRecord.model.ts +1 -1
  206. package/{dist/commonjs/shared/translation/localization/en.json → src/i18n/.generated/schema.json} +67 -62
  207. package/src/i18n/i18n.ts +12 -0
  208. package/src/i18n/i18next.d.ts +20 -0
  209. package/src/index.ts +0 -1
  210. package/src/lib/helpers/helpers.ts +1 -1
  211. package/dist/commonjs/lib/types/keys.js +0 -2
  212. package/dist/commonjs/lib/types/keys.js.map +0 -1
  213. package/dist/commonjs/shared/translation/constants.js +0 -23
  214. package/dist/commonjs/shared/translation/constants.js.map +0 -1
  215. package/dist/commonjs/shared/translation/helpers.js +0 -47
  216. package/dist/commonjs/shared/translation/helpers.js.map +0 -1
  217. package/dist/commonjs/shared/translation/hooks.js +0 -25
  218. package/dist/commonjs/shared/translation/hooks.js.map +0 -1
  219. package/dist/commonjs/shared/translation/index.js +0 -45
  220. package/dist/commonjs/shared/translation/index.js.map +0 -1
  221. package/dist/commonjs/shared/translation/localization/ca.json +0 -85
  222. package/dist/commonjs/shared/translation/localization/de.json +0 -85
  223. package/dist/commonjs/shared/translation/localization/gb.json +0 -85
  224. package/dist/commonjs/shared/translation/localization/sct.json +0 -85
  225. package/dist/commonjs/shared/translation/localization/sw.json +0 -85
  226. package/dist/commonjs/shared/translation/model.js +0 -15
  227. package/dist/commonjs/shared/translation/model.js.map +0 -1
  228. package/dist/commonjs/shared/translation/types.js +0 -6
  229. package/dist/commonjs/shared/translation/types.js.map +0 -1
  230. package/dist/commonjs/shared/translation/validation.types.js +0 -6
  231. package/dist/commonjs/shared/translation/validation.types.js.map +0 -1
  232. package/dist/module/lib/types/keys.js +0 -2
  233. package/dist/module/lib/types/keys.js.map +0 -1
  234. package/dist/module/shared/translation/constants.js +0 -18
  235. package/dist/module/shared/translation/constants.js.map +0 -1
  236. package/dist/module/shared/translation/helpers.js +0 -38
  237. package/dist/module/shared/translation/helpers.js.map +0 -1
  238. package/dist/module/shared/translation/hooks.js +0 -19
  239. package/dist/module/shared/translation/hooks.js.map +0 -1
  240. package/dist/module/shared/translation/index.js +0 -6
  241. package/dist/module/shared/translation/index.js.map +0 -1
  242. package/dist/module/shared/translation/localization/ca.json +0 -85
  243. package/dist/module/shared/translation/localization/de.json +0 -85
  244. package/dist/module/shared/translation/localization/en.json +0 -85
  245. package/dist/module/shared/translation/localization/gb.json +0 -85
  246. package/dist/module/shared/translation/localization/sct.json +0 -85
  247. package/dist/module/shared/translation/localization/sw.json +0 -85
  248. package/dist/module/shared/translation/model.js +0 -11
  249. package/dist/module/shared/translation/model.js.map +0 -1
  250. package/dist/module/shared/translation/types.js +0 -4
  251. package/dist/module/shared/translation/types.js.map +0 -1
  252. package/dist/module/shared/translation/validation.types.js +0 -4
  253. package/dist/module/shared/translation/validation.types.js.map +0 -1
  254. package/dist/typescript/commonjs/lib/types/keys.d.ts +0 -8
  255. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +0 -1
  256. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -513
  257. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +0 -1
  258. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +0 -7
  259. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +0 -1
  260. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +0 -5
  261. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +0 -1
  262. package/dist/typescript/commonjs/shared/translation/index.d.ts +0 -4
  263. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +0 -1
  264. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -173
  265. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +0 -1
  266. package/dist/typescript/commonjs/shared/translation/types.d.ts +0 -6
  267. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +0 -1
  268. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +0 -21
  269. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +0 -1
  270. package/dist/typescript/module/lib/types/keys.d.ts +0 -8
  271. package/dist/typescript/module/lib/types/keys.d.ts.map +0 -1
  272. package/dist/typescript/module/shared/translation/constants.d.ts +0 -513
  273. package/dist/typescript/module/shared/translation/constants.d.ts.map +0 -1
  274. package/dist/typescript/module/shared/translation/helpers.d.ts +0 -7
  275. package/dist/typescript/module/shared/translation/helpers.d.ts.map +0 -1
  276. package/dist/typescript/module/shared/translation/hooks.d.ts +0 -5
  277. package/dist/typescript/module/shared/translation/hooks.d.ts.map +0 -1
  278. package/dist/typescript/module/shared/translation/index.d.ts +0 -4
  279. package/dist/typescript/module/shared/translation/index.d.ts.map +0 -1
  280. package/dist/typescript/module/shared/translation/model.d.ts +0 -173
  281. package/dist/typescript/module/shared/translation/model.d.ts.map +0 -1
  282. package/dist/typescript/module/shared/translation/types.d.ts +0 -6
  283. package/dist/typescript/module/shared/translation/types.d.ts.map +0 -1
  284. package/dist/typescript/module/shared/translation/validation.types.d.ts +0 -21
  285. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +0 -1
  286. package/src/lib/types/keys.ts +0 -18
  287. package/src/shared/translation/constants.ts +0 -16
  288. package/src/shared/translation/helpers.ts +0 -47
  289. package/src/shared/translation/hooks.ts +0 -25
  290. package/src/shared/translation/index.ts +0 -3
  291. package/src/shared/translation/localization/ca.json +0 -85
  292. package/src/shared/translation/localization/de.json +0 -85
  293. package/src/shared/translation/localization/en.json +0 -85
  294. package/src/shared/translation/localization/gb.json +0 -85
  295. package/src/shared/translation/localization/sct.json +0 -85
  296. package/src/shared/translation/localization/sw.json +0 -85
  297. package/src/shared/translation/model.ts +0 -16
  298. package/src/shared/translation/types.ts +0 -21
  299. package/src/shared/translation/validation.types.ts +0 -34
@@ -1,173 +0,0 @@
1
- import { Translations } from './types';
2
- import { LOCALIZATION_CONFIGS } from './constants';
3
- export declare const setLocalization: import("effector").EventCallable<{
4
- locale: string;
5
- "teacherFeedback.noComments": string;
6
- "time.justNow": string;
7
- "time.minuteAgo": string;
8
- "time.minutesAgo": string;
9
- "time.hourAgo": string;
10
- "time.hoursAgo": string;
11
- "time.dayAgo": string;
12
- "time.daysAgo": string;
13
- "time.monthAgo": string;
14
- "time.monthsAgo": string;
15
- "time.yearAgo": string;
16
- "time.yearsAgo": string;
17
- chat: {
18
- anotherHint: string;
19
- getHint: string;
20
- needHint: string;
21
- giveHintOpenChat: string;
22
- answerAgain: string;
23
- errorMessage: string;
24
- howCanIHelp: string;
25
- showError: string;
26
- inputPlaceholder: string;
27
- };
28
- gifCelebrations: {
29
- greatStart: string;
30
- onTheWay: string;
31
- almostThere: string;
32
- };
33
- exampleSolution: {
34
- exampleSolution: string;
35
- letMeThink: string;
36
- aha: string;
37
- errorMessage: string;
38
- };
39
- keyboard: {
40
- length: string;
41
- area: string;
42
- volume: string;
43
- weight: string;
44
- time: string;
45
- };
46
- voice: {
47
- deleteRecording: string;
48
- youWontBeAbleToRecover: string;
49
- recordingDeleted: string;
50
- delete: string;
51
- cancel: string;
52
- noMicrophoneAccess: string;
53
- noMicrophoneAccessBySystem: string;
54
- noMicrophoneFound: string;
55
- uploadFailed: string;
56
- redoRecording: string;
57
- redo: string;
58
- thisWillRemoveRecording: string;
59
- transcriptions: string;
60
- attempt: string;
61
- transcriptNotAvailable: string;
62
- };
63
- pmProgress: {
64
- title: string;
65
- startButton: string;
66
- nextUp: string;
67
- teacherRecs: string;
68
- practiceButton: string;
69
- stars: string;
70
- time: string;
71
- thisWeek: string;
72
- lastWeek: string;
73
- allTime: string;
74
- fluency: string;
75
- andMore: string;
76
- skillsLeft: string;
77
- skillLeft: string;
78
- grade: string;
79
- gradeK: string;
80
- gradeOther: string;
81
- loading: string;
82
- allLockedTitle: string;
83
- allLockedSubtitle: string;
84
- initErrorTitle: string;
85
- initErrorSubtitle: string;
86
- };
87
- } | ((config: typeof LOCALIZATION_CONFIGS) => Translations)>;
88
- export declare const $localization: import("effector").StoreWritable<{
89
- locale: string;
90
- "teacherFeedback.noComments": string;
91
- "time.justNow": string;
92
- "time.minuteAgo": string;
93
- "time.minutesAgo": string;
94
- "time.hourAgo": string;
95
- "time.hoursAgo": string;
96
- "time.dayAgo": string;
97
- "time.daysAgo": string;
98
- "time.monthAgo": string;
99
- "time.monthsAgo": string;
100
- "time.yearAgo": string;
101
- "time.yearsAgo": string;
102
- chat: {
103
- anotherHint: string;
104
- getHint: string;
105
- needHint: string;
106
- giveHintOpenChat: string;
107
- answerAgain: string;
108
- errorMessage: string;
109
- howCanIHelp: string;
110
- showError: string;
111
- inputPlaceholder: string;
112
- };
113
- gifCelebrations: {
114
- greatStart: string;
115
- onTheWay: string;
116
- almostThere: string;
117
- };
118
- exampleSolution: {
119
- exampleSolution: string;
120
- letMeThink: string;
121
- aha: string;
122
- errorMessage: string;
123
- };
124
- keyboard: {
125
- length: string;
126
- area: string;
127
- volume: string;
128
- weight: string;
129
- time: string;
130
- };
131
- voice: {
132
- deleteRecording: string;
133
- youWontBeAbleToRecover: string;
134
- recordingDeleted: string;
135
- delete: string;
136
- cancel: string;
137
- noMicrophoneAccess: string;
138
- noMicrophoneAccessBySystem: string;
139
- noMicrophoneFound: string;
140
- uploadFailed: string;
141
- redoRecording: string;
142
- redo: string;
143
- thisWillRemoveRecording: string;
144
- transcriptions: string;
145
- attempt: string;
146
- transcriptNotAvailable: string;
147
- };
148
- pmProgress: {
149
- title: string;
150
- startButton: string;
151
- nextUp: string;
152
- teacherRecs: string;
153
- practiceButton: string;
154
- stars: string;
155
- time: string;
156
- thisWeek: string;
157
- lastWeek: string;
158
- allTime: string;
159
- fluency: string;
160
- andMore: string;
161
- skillsLeft: string;
162
- skillLeft: string;
163
- grade: string;
164
- gradeK: string;
165
- gradeOther: string;
166
- loading: string;
167
- allLockedTitle: string;
168
- allLockedSubtitle: string;
169
- initErrorTitle: string;
170
- initErrorSubtitle: string;
171
- };
172
- }>;
173
- //# sourceMappingURL=model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cACD,OAAO,oBAAoB,KAAK,YAAY,EACpE,CAAA;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAA"}
@@ -1,6 +0,0 @@
1
- import enTranslations from './localization/en.json';
2
- import { RetrieveKeys } from '../../lib/types/keys';
3
- export type Translations = typeof enTranslations;
4
- export type TranslationKeys = RetrieveKeys<Translations>;
5
- export type GetText = (key: TranslationKeys, args?: Record<string, string> | null) => string;
6
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AAOnD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAA;AAChD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AACxD,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,KAAK,MAAM,CAAA"}
@@ -1,21 +0,0 @@
1
- import enTranslations from './localization/en.json';
2
- import swTranslations from './localization/sw.json';
3
- import gbTranslations from './localization/gb.json';
4
- import caTranslations from './localization/ca.json';
5
- import sctTranslations from './localization/sct.json';
6
- type Extends<T, U> = T extends U ? true : false;
7
- type ExtendsAll<Candidate, Types extends unknown[]> = Types extends [infer Head, ...infer Tail] ? Extends<Candidate, Head> extends true ? ExtendsAll<Candidate, Tail> : false : true;
8
- type FindDominantType<Types extends unknown[]> = Types extends [
9
- infer First,
10
- ...infer Rest extends unknown[]
11
- ] ? ExtendsAll<First, Rest> extends true ? First : FindDominantType<Rest> : never;
12
- type DominantTranslation = FindDominantType<[
13
- typeof enTranslations,
14
- typeof swTranslations,
15
- typeof gbTranslations,
16
- typeof caTranslations,
17
- typeof sctTranslations
18
- ]>;
19
- export type ISValidTranslation<T extends DominantTranslation> = T;
20
- export {};
21
- //# sourceMappingURL=validation.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation.types.d.ts","sourceRoot":"","sources":["../../../../../src/shared/translation/validation.types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,eAAe,MAAM,yBAAyB,CAAA;AAErD,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,GAAG,KAAK,CAAA;AAE/C,KAAK,UAAU,CAAC,SAAS,EAAE,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,GAC3F,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,GACnC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,CAAA;AAER,KAAK,gBAAgB,CAAC,KAAK,SAAS,OAAO,EAAE,IAAI,KAAK,SAAS;IAC7D,MAAM,KAAK;IACX,GAAG,MAAM,IAAI,SAAS,OAAO,EAAE;CAChC,GACG,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,IAAI,GAClC,KAAK,GACL,gBAAgB,CAAC,IAAI,CAAC,GACxB,KAAK,CAAA;AAET,KAAK,mBAAmB,GAAG,gBAAgB,CACzC;IACE,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,cAAc;IACrB,OAAO,eAAe;CACvB,CACF,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,mBAAmB,IAAI,CAAC,CAAA"}
@@ -1,18 +0,0 @@
1
- type JoinKeys<K extends string, P extends string> = `${K}.${P}`
2
-
3
- type NestedKeys<T, Prefix extends string = ''> = T extends object
4
- ? T extends Array<any>
5
- ? never
6
- : {
7
- [K in keyof T & string]: T[K] extends object
8
- ?
9
- | JoinKeys<Prefix extends '' ? K : `${Prefix}.${K}`, NestedKeys<T[K], ''>>
10
- | (Prefix extends '' ? K : `${Prefix}.${K}`)
11
- : Prefix extends ''
12
- ? K
13
- : `${Prefix}.${K}`
14
- }[keyof T & string]
15
- : never
16
-
17
- type FlattenKeys<T> = T extends string ? T : never
18
- export type RetrieveKeys<T> = FlattenKeys<NestedKeys<T>>
@@ -1,16 +0,0 @@
1
- import { Locale } from '@magmamath/frontend-config'
2
- import EN from './localization/en.json'
3
- import GB from './localization/gb.json'
4
- import SW from './localization/sw.json'
5
- import CA from './localization/ca.json'
6
- import SCT from './localization/sct.json'
7
- import DE from './localization/de.json'
8
-
9
- export const LOCALIZATION_CONFIGS = {
10
- [Locale.US]: EN,
11
- [Locale.GB]: GB,
12
- [Locale.SE]: SW,
13
- [Locale.CA]: CA,
14
- [Locale.SCT]: SCT,
15
- [Locale.DE]: DE,
16
- }
@@ -1,47 +0,0 @@
1
- import { LOCALIZATION_CONFIGS } from './constants'
2
- import { $localization, setLocalization } from './model'
3
- import { GetText, TranslationKeys, Translations } from './types'
4
-
5
- export function getTranslation(config: Translations, key: TranslationKeys) {
6
- const rawTranslation = config?.[key as keyof Translations]
7
- if (typeof rawTranslation === 'string' || !key.includes('.')) {
8
- return rawTranslation as string
9
- }
10
- const keys = key.split('.')
11
- let translation = config
12
- for (const k of keys) {
13
- if (translation[k as keyof Translations] === undefined) return key
14
- translation = translation[k as keyof Translations] as any
15
- }
16
- if (typeof translation === 'string') {
17
- return translation
18
- }
19
- return key
20
- }
21
-
22
- export const getSubstitutedString = (str: string, substitutions: Record<string, string> = {}) => {
23
- const substitutionsArray = Object.entries(substitutions)
24
- let result = str
25
-
26
- if (!substitutionsArray.length) return result
27
-
28
- substitutionsArray.forEach(([key, value]) => {
29
- result = result.replace(`{{${key}}}`, value)
30
- })
31
-
32
- return result
33
- }
34
-
35
- export const getText: GetText = (key: TranslationKeys, args = null) => {
36
- const config = $localization.getState()
37
-
38
- const translation = getTranslation(config, key)
39
- if (args) return getSubstitutedString(translation, args)
40
- return translation
41
- }
42
-
43
- export const setFeaturesLocalization = (
44
- generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations,
45
- ) => {
46
- setLocalization(generator)
47
- }
@@ -1,25 +0,0 @@
1
- import { useUnit } from 'effector-react'
2
- import { $localization, setLocalization } from './model'
3
- import { GetText, Translations } from './types'
4
- import { useCallback, useEffect } from 'react'
5
- import { LOCALIZATION_CONFIGS } from './constants'
6
- import { getSubstitutedString, getTranslation } from './helpers'
7
-
8
- export const useText = (): GetText => {
9
- const config = useUnit($localization)
10
- return useCallback<GetText>(
11
- (key, args = null) => {
12
- const translation = getTranslation(config, key)
13
- return args ? getSubstitutedString(translation, args) : translation
14
- },
15
- [config],
16
- )
17
- }
18
-
19
- export const useFeaturesLocalization = (
20
- generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations,
21
- ) => {
22
- useEffect(() => {
23
- setLocalization(generator)
24
- }, [generator])
25
- }
@@ -1,3 +0,0 @@
1
- export { useFeaturesLocalization, useText } from './hooks'
2
- export { setFeaturesLocalization, getText as t } from './helpers'
3
- export { $localization, setLocalization } from './model'
@@ -1,85 +0,0 @@
1
- {
2
- "locale": "en-CA",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- },
61
- "pmProgress": {
62
- "title": "Practice & Progress",
63
- "startButton": "START",
64
- "nextUp": "Next up!",
65
- "teacherRecs": "Teacher recommendations",
66
- "practiceButton": "PRACTICE",
67
- "stars": "Practice stars",
68
- "time": "Practice time",
69
- "thisWeek": "This week",
70
- "lastWeek": "Last week",
71
- "allTime": "All time",
72
- "fluency": "Fluency",
73
- "andMore": "and {{count}} more...",
74
- "skillsLeft": "skills left",
75
- "skillLeft": "skill left",
76
- "grade": "Grade",
77
- "gradeK": "K",
78
- "gradeOther": "Other",
79
- "loading": "Loading...",
80
- "allLockedTitle": "All grades are locked",
81
- "allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practising.",
82
- "initErrorTitle": "Something went wrong",
83
- "initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "locale": "de-DE",
3
- "teacherFeedback.noComments": "Noch keine Kommentare",
4
- "time.justNow": "gerade eben",
5
- "time.minuteAgo": "vor einer Minute",
6
- "time.minutesAgo": "vor {{count}} Minuten",
7
- "time.hourAgo": "vor einer Stunde",
8
- "time.hoursAgo": "vor {{count}} Stunden",
9
- "time.dayAgo": "vor einem Tag",
10
- "time.daysAgo": "vor {{count}} Tagen",
11
- "time.monthAgo": "vor einem Monat",
12
- "time.monthsAgo": "vor {{count}} Monaten",
13
- "time.yearAgo": "vor einem Jahr",
14
- "time.yearsAgo": "vor {{count}} Jahren",
15
- "chat": {
16
- "anotherHint": "Gib mir noch einen Hinweis",
17
- "getHint": "Einen Hinweis erhalten",
18
- "needHint": "Ich brauche einen Hinweis",
19
- "giveHintOpenChat": "Ich brauche einen Hinweis",
20
- "answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
21
- "errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
22
- "howCanIHelp": "Hi! Möchtest du Hilfe?",
23
- "showError": "Fehler anzeigen",
24
- "inputPlaceholder": "Tippe..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Toller Start!",
28
- "onTheWay": "Auf dem Weg!",
29
- "almostThere": "Fast geschafft"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Beispiellösung",
33
- "letMeThink": "Lass mich nachdenken...",
34
- "aha": "Aha!",
35
- "errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
36
- },
37
- "keyboard": {
38
- "length": "Länge",
39
- "area": "Fläche",
40
- "volume": "Volumen",
41
- "weight": "Gewicht",
42
- "time": "Zeit"
43
- },
44
- "voice": {
45
- "deleteRecording": "Aufnahme löschen?",
46
- "youWontBeAbleToRecover": "Du kannst die Datei nicht wiederherstellen, wenn sie einmal gelöscht ist.",
47
- "recordingDeleted": "Aufnahme gelöscht.",
48
- "delete": "Löschen",
49
- "cancel": "Abbrechen",
50
- "noMicrophoneAccess": "Kein Mikrofon-Zugriff.",
51
- "noMicrophoneAccessBySystem": "Mikrofonzugriff durch Systemeinstellungen verweigert.",
52
- "noMicrophoneFound": "Kein Mikrofon gefunden.",
53
- "uploadFailed": "Hochladen fehlgeschlagen. Bitte versuche es erneut.",
54
- "redoRecording": "Aufnahme erneut aufnehmen?",
55
- "redo": "Wiederholen",
56
- "thisWillRemoveRecording": "Dadurch wird die Aufnahme entfernt.",
57
- "transcriptions": "Transkriptionen",
58
- "attempt": "Versuch {{number}}",
59
- "transcriptNotAvailable": "Transkript nicht verfügbar"
60
- },
61
- "pmProgress": {
62
- "title": "Üben & Fortschritt",
63
- "startButton": "START",
64
- "nextUp": "Als Nächstes dran!",
65
- "teacherRecs": "Empfehlungen der Lehrkraft",
66
- "practiceButton": "ÜBEN",
67
- "stars": "Übungssterne",
68
- "time": "Übungszeit",
69
- "thisWeek": "Diese Woche",
70
- "lastWeek": "Letzte Woche",
71
- "allTime": "Gesamte Zeit",
72
- "fluency": "Sicherheit",
73
- "andMore": "und {{count}} weitere...",
74
- "skillsLeft": "Fähigkeiten übrig",
75
- "skillLeft": "Fähigkeit übrig",
76
- "grade": "Jahrgang",
77
- "gradeK": "Kiga",
78
- "gradeOther": "Sonstige",
79
- "loading": "Wird geladen...",
80
- "allLockedTitle": "Alle Jahrgänge sind gesperrt",
81
- "allLockedSubtitle": "Deine Lehrkraft hat alle Jahrgänge gesperrt.\nBitte sie, Jahrgänge freizuschalten, damit du mit dem Üben beginnen kannst.",
82
- "initErrorTitle": "Etwas ist schiefgelaufen",
83
- "initErrorSubtitle": "Wir konnten deinen Fortschritt nicht laden.\nBitte versuche es später erneut."
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "locale": "en-SE",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- },
61
- "pmProgress": {
62
- "title": "Practice & Progress",
63
- "startButton": "START",
64
- "nextUp": "Next up!",
65
- "teacherRecs": "Teacher recommendations",
66
- "practiceButton": "PRACTICE",
67
- "stars": "Practice stars",
68
- "time": "Practice time",
69
- "thisWeek": "This week",
70
- "lastWeek": "Last week",
71
- "allTime": "All time",
72
- "fluency": "Fluency",
73
- "andMore": "and {{count}} more...",
74
- "skillsLeft": "skills left",
75
- "skillLeft": "skill left",
76
- "grade": "Grade",
77
- "gradeK": "K",
78
- "gradeOther": "Other",
79
- "loading": "Loading...",
80
- "allLockedTitle": "All grades are locked",
81
- "allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practicing.",
82
- "initErrorTitle": "Something went wrong",
83
- "initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
84
- }
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "locale": "en-GB",
3
- "teacherFeedback.noComments": "No comments yet",
4
- "time.justNow": "just now",
5
- "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "{{count}} minutes ago",
7
- "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
9
- "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
11
- "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
13
- "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
15
- "chat": {
16
- "anotherHint": "Give me another hint",
17
- "getHint": "Get a hint",
18
- "needHint": "I need a hint",
19
- "giveHintOpenChat": "I need a hint",
20
- "answerAgain": "Answer again to get another hint!",
21
- "errorMessage": "Something went wrong! Try again",
22
- "howCanIHelp": "Hi! Do you want help?",
23
- "showError": "Show error",
24
- "inputPlaceholder": "Type..."
25
- },
26
- "gifCelebrations": {
27
- "greatStart": "Great start!",
28
- "onTheWay": "On the way!",
29
- "almostThere": "Almost there"
30
- },
31
- "exampleSolution": {
32
- "exampleSolution": "Example solution",
33
- "letMeThink": "Let me think...",
34
- "aha": "Aha!",
35
- "errorMessage": "Something went wrong with generating an example solution"
36
- },
37
- "keyboard": {
38
- "length": "Length",
39
- "area": "Area",
40
- "volume": "Volume",
41
- "weight": "Weight",
42
- "time": "Time"
43
- },
44
- "voice": {
45
- "deleteRecording": "Delete recording?",
46
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
47
- "recordingDeleted": "Recording successfully deleted.",
48
- "delete": "Delete",
49
- "cancel": "Cancel",
50
- "noMicrophoneAccess": "No microphone access.",
51
- "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
52
- "noMicrophoneFound": "No microphone found.",
53
- "uploadFailed": "Upload failed. Please try again.",
54
- "redoRecording": "Redo recording?",
55
- "redo": "Redo",
56
- "thisWillRemoveRecording": "This will remove your previous recording.",
57
- "transcriptions": "Transcriptions",
58
- "attempt": "Attempt {{number}}",
59
- "transcriptNotAvailable": "Transcript not available"
60
- },
61
- "pmProgress": {
62
- "title": "Practice & Progress",
63
- "startButton": "START",
64
- "nextUp": "Next up!",
65
- "teacherRecs": "Teacher recommendations",
66
- "practiceButton": "PRACTICE",
67
- "stars": "Practice stars",
68
- "time": "Practice time",
69
- "thisWeek": "This week",
70
- "lastWeek": "Last week",
71
- "allTime": "All time",
72
- "fluency": "Fluency",
73
- "andMore": "and {{count}} more...",
74
- "skillsLeft": "skills left",
75
- "skillLeft": "skill left",
76
- "grade": "Year",
77
- "gradeK": "R",
78
- "gradeOther": "Other",
79
- "loading": "Loading...",
80
- "allLockedTitle": "All years are locked",
81
- "allLockedSubtitle": "Your teacher has locked all years.\nAsk them to unlock years so you can start practising.",
82
- "initErrorTitle": "Something went wrong",
83
- "initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
84
- }
85
- }