@magmamath/students-features 1.3.3-rc.2 → 1.3.3

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 (430) hide show
  1. package/.claude/settings.local.json +25 -0
  2. package/.editorconfig +15 -0
  3. package/.eslintignore +2 -0
  4. package/.eslintrc +22 -0
  5. package/.gitattributes +3 -0
  6. package/.github/actions/setup/action.yml +37 -0
  7. package/.github/workflows/ci.yml +73 -0
  8. package/.gitignore +84 -0
  9. package/.idea/.gitignore +8 -0
  10. package/.idea/codeStyles/Project.xml +62 -0
  11. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  12. package/.idea/copilot.data.migration.agent.xml +6 -0
  13. package/.idea/copilot.data.migration.ask.xml +6 -0
  14. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  15. package/.idea/copilot.data.migration.edit.xml +6 -0
  16. package/.idea/inspectionProfiles/Project_Default.xml +8 -0
  17. package/.idea/jsLinters/eslint.xml +6 -0
  18. package/.idea/modules.xml +8 -0
  19. package/.idea/prettier.xml +7 -0
  20. package/.idea/students-features.iml +12 -0
  21. package/.idea/vcs.xml +6 -0
  22. package/.idea/workspace.xml +667 -0
  23. package/.nvmrc +1 -0
  24. package/.prettierrc +11 -0
  25. package/.release-it.json +17 -0
  26. package/.watchmanconfig +1 -0
  27. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
  28. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
  29. package/.yarn/releases/yarn-3.6.1.cjs +874 -0
  30. package/babel.config.js +5 -0
  31. package/bob.config.js +25 -0
  32. package/dist/commonjs/features/chatbot/helpers.js +5 -1
  33. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  34. package/dist/commonjs/features/chatbot/index.js.map +1 -1
  35. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
  36. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  37. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +2 -1
  38. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +2 -4
  40. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  41. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -2
  42. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  43. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +8 -4
  44. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  45. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +20 -72
  46. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  47. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +33 -0
  48. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
  49. package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +94 -0
  50. package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
  51. package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +25 -0
  52. package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
  53. package/dist/commonjs/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
  54. package/dist/commonjs/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
  55. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +11 -0
  56. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
  57. package/dist/commonjs/features/keyboard/constants/groups/index.js +11 -0
  58. package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
  59. package/dist/commonjs/features/keyboard/constants/keyboard.constants.js +6 -1
  60. package/dist/commonjs/features/keyboard/constants/keyboard.constants.js.map +1 -1
  61. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +2 -0
  62. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  63. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +18 -8
  64. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  65. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +86 -1
  66. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  67. package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
  68. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +2 -1
  69. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
  70. package/dist/commonjs/features/keyboard/types/types.js +1 -0
  71. package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
  72. package/dist/commonjs/index.js +38 -23
  73. package/dist/commonjs/index.js.map +1 -1
  74. package/dist/commonjs/lib/types/keys.js +2 -0
  75. package/dist/commonjs/lib/types/keys.js.map +1 -0
  76. package/dist/commonjs/shared/icons/GeometryIcon.js +32 -0
  77. package/dist/commonjs/shared/icons/GeometryIcon.js.map +1 -0
  78. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +4 -3
  79. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
  80. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +12 -8
  81. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  82. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +30 -0
  83. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
  84. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +29 -0
  85. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +1 -0
  86. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +29 -0
  87. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +1 -0
  88. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +29 -0
  89. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +1 -0
  90. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +11 -6
  91. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  92. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +12 -8
  93. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  94. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +42 -0
  95. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
  96. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +32 -0
  97. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +1 -0
  98. package/dist/commonjs/shared/translation/constants.js +17 -2
  99. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  100. package/dist/commonjs/shared/translation/helpers.js +38 -8
  101. package/dist/commonjs/shared/translation/helpers.js.map +1 -1
  102. package/dist/commonjs/shared/translation/hooks.js +15 -7
  103. package/dist/commonjs/shared/translation/hooks.js.map +1 -1
  104. package/dist/commonjs/shared/translation/index.js +25 -0
  105. package/dist/commonjs/shared/translation/index.js.map +1 -1
  106. package/dist/commonjs/shared/translation/localization/ca.json +61 -0
  107. package/dist/commonjs/shared/translation/localization/de.json +61 -0
  108. package/{src/shared/translation/schema.json → dist/commonjs/shared/translation/localization/en.json} +38 -43
  109. package/dist/commonjs/shared/translation/localization/gb.json +61 -0
  110. package/dist/commonjs/shared/translation/localization/sct.json +61 -0
  111. package/dist/commonjs/shared/translation/localization/sw.json +61 -0
  112. package/dist/commonjs/shared/translation/model.js +15 -0
  113. package/dist/commonjs/shared/translation/model.js.map +1 -0
  114. package/dist/commonjs/shared/translation/validation.types.js +6 -0
  115. package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
  116. package/dist/module/features/chatbot/helpers.js +5 -1
  117. package/dist/module/features/chatbot/helpers.js.map +1 -1
  118. package/dist/module/features/chatbot/index.js.map +1 -1
  119. package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
  120. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  121. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +2 -1
  122. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  123. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +2 -3
  124. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  125. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
  126. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  127. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +9 -5
  128. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  129. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +21 -72
  130. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  131. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +27 -0
  132. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
  133. package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +87 -0
  134. package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
  135. package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +21 -0
  136. package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
  137. package/dist/module/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
  138. package/dist/module/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
  139. package/dist/module/features/keyboard/constants/groups/geometry.constants.js +7 -0
  140. package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
  141. package/dist/module/features/keyboard/constants/groups/index.js +1 -0
  142. package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
  143. package/dist/module/features/keyboard/constants/keyboard.constants.js +5 -0
  144. package/dist/module/features/keyboard/constants/keyboard.constants.js.map +1 -1
  145. package/dist/module/features/keyboard/constants/keyboard.helpers.js +3 -1
  146. package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  147. package/dist/module/features/keyboard/constants/keyboardLayouts.js +19 -9
  148. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  149. package/dist/module/features/keyboard/constants/keys/geometry.constants.js +86 -1
  150. package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  151. package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
  152. package/dist/module/features/keyboard/constants/keys/units.constants.js +2 -1
  153. package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
  154. package/dist/module/features/keyboard/types/types.js +1 -0
  155. package/dist/module/features/keyboard/types/types.js.map +1 -1
  156. package/dist/module/index.js +1 -0
  157. package/dist/module/index.js.map +1 -1
  158. package/dist/module/lib/types/keys.js +2 -0
  159. package/dist/module/lib/types/keys.js.map +1 -0
  160. package/dist/module/shared/icons/GeometryIcon.js +24 -0
  161. package/dist/module/shared/icons/GeometryIcon.js.map +1 -0
  162. package/dist/module/shared/icons/keyboard/AngleIcon.js +4 -3
  163. package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
  164. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +13 -9
  165. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  166. package/dist/module/shared/icons/keyboard/ImpliesIcon.js +22 -0
  167. package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
  168. package/dist/module/shared/icons/keyboard/LetterAIcon.js +21 -0
  169. package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +1 -0
  170. package/dist/module/shared/icons/keyboard/LetterBIcon.js +21 -0
  171. package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +1 -0
  172. package/dist/module/shared/icons/keyboard/LetterCIcon.js +21 -0
  173. package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +1 -0
  174. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +12 -7
  175. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  176. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +13 -9
  177. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  178. package/dist/module/shared/icons/keyboard/ThereforeIcon.js +34 -0
  179. package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
  180. package/dist/module/shared/icons/keyboard/TriangleIcon.js +24 -0
  181. package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +1 -0
  182. package/dist/module/shared/translation/constants.js +15 -1
  183. package/dist/module/shared/translation/constants.js.map +1 -1
  184. package/dist/module/shared/translation/helpers.js +33 -6
  185. package/dist/module/shared/translation/helpers.js.map +1 -1
  186. package/dist/module/shared/translation/hooks.js +14 -7
  187. package/dist/module/shared/translation/hooks.js.map +1 -1
  188. package/dist/module/shared/translation/index.js +3 -2
  189. package/dist/module/shared/translation/index.js.map +1 -1
  190. package/dist/module/shared/translation/localization/ca.json +61 -0
  191. package/dist/module/shared/translation/localization/de.json +61 -0
  192. package/dist/{commonjs/shared/translation/schema.json → module/shared/translation/localization/en.json} +38 -43
  193. package/dist/module/shared/translation/localization/gb.json +61 -0
  194. package/dist/module/shared/translation/localization/sct.json +61 -0
  195. package/dist/module/shared/translation/localization/sw.json +61 -0
  196. package/dist/module/shared/translation/model.js +11 -0
  197. package/dist/module/shared/translation/model.js.map +1 -0
  198. package/dist/module/shared/translation/validation.types.js +4 -0
  199. package/dist/module/shared/translation/validation.types.js.map +1 -0
  200. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  201. package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
  202. package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
  203. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  204. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  205. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  206. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  207. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  208. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
  209. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  210. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  211. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  212. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
  213. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  214. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
  215. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
  216. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
  217. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
  218. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
  219. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
  220. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
  221. package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
  222. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
  223. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
  224. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +1 -0
  225. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
  226. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts +5 -0
  227. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
  228. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  229. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
  230. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  231. package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  232. package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  233. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +1 -0
  234. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
  235. package/dist/typescript/commonjs/index.d.ts +1 -0
  236. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  237. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
  238. package/dist/typescript/commonjs/lib/types/keys.d.ts +8 -0
  239. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +1 -0
  240. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +4 -0
  241. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +1 -0
  242. package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  243. package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  244. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
  245. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
  246. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
  247. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
  248. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
  249. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
  250. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
  251. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
  252. package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  253. package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  254. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
  255. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
  256. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
  257. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
  258. package/dist/typescript/commonjs/shared/translation/constants.d.ts +368 -1
  259. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +5 -1
  261. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -1
  262. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +3 -1
  263. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -1
  264. package/dist/typescript/commonjs/shared/translation/index.d.ts +3 -3
  265. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -1
  266. package/dist/typescript/commonjs/shared/translation/model.d.ts +125 -0
  267. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -0
  268. package/dist/typescript/commonjs/shared/translation/types.d.ts +4 -3
  269. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  270. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +21 -0
  271. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -0
  272. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  273. package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
  274. package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
  275. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  276. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
  277. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  278. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
  279. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  280. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
  281. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  282. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  283. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  284. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
  285. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  286. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
  287. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
  288. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
  289. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
  290. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
  291. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
  292. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
  293. package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
  294. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
  295. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
  296. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +1 -0
  297. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
  298. package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts +5 -0
  299. package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
  300. package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  301. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
  302. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  303. package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  304. package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  305. package/dist/typescript/module/features/keyboard/types/types.d.ts +1 -0
  306. package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
  307. package/dist/typescript/module/index.d.ts +1 -0
  308. package/dist/typescript/module/index.d.ts.map +1 -1
  309. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
  310. package/dist/typescript/module/lib/types/keys.d.ts +8 -0
  311. package/dist/typescript/module/lib/types/keys.d.ts.map +1 -0
  312. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +4 -0
  313. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +1 -0
  314. package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  315. package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  316. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
  317. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
  318. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
  319. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
  320. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
  321. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
  322. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
  323. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
  324. package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  325. package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  326. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
  327. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
  328. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
  329. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
  330. package/dist/typescript/module/shared/translation/constants.d.ts +368 -1
  331. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  332. package/dist/typescript/module/shared/translation/helpers.d.ts +5 -1
  333. package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -1
  334. package/dist/typescript/module/shared/translation/hooks.d.ts +3 -1
  335. package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -1
  336. package/dist/typescript/module/shared/translation/index.d.ts +3 -3
  337. package/dist/typescript/module/shared/translation/index.d.ts.map +1 -1
  338. package/dist/typescript/module/shared/translation/model.d.ts +125 -0
  339. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -0
  340. package/dist/typescript/module/shared/translation/types.d.ts +4 -3
  341. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  342. package/dist/typescript/module/shared/translation/validation.types.d.ts +21 -0
  343. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -0
  344. package/example/.expo/README.md +8 -0
  345. package/example/.expo/devices.json +3 -0
  346. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  347. package/example/app.json +30 -0
  348. package/example/assets/adaptive-icon.png +0 -0
  349. package/example/assets/favicon.png +0 -0
  350. package/example/assets/icon.png +0 -0
  351. package/example/assets/splash-icon.png +0 -0
  352. package/example/babel.config.js +28 -0
  353. package/example/index.js +8 -0
  354. package/example/metro.config.js +18 -0
  355. package/example/package.json +25 -0
  356. package/example/src/App.tsx +8 -0
  357. package/example/tsconfig.json +6 -0
  358. package/package.json +4 -9
  359. package/src/features/chatbot/helpers.ts +2 -0
  360. package/src/features/chatbot/index.ts +9 -1
  361. package/src/features/chatbot/model/ChatBotModel.ts +7 -10
  362. package/src/features/chatbot/model/ChatBoxTextManager.ts +3 -2
  363. package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
  364. package/src/features/chatbot/types/api.types.ts +11 -6
  365. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +4 -3
  366. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +9 -5
  367. package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +17 -73
  368. package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +21 -0
  369. package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +100 -0
  370. package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +31 -0
  371. package/src/features/keyboard/components/SwitchableLayout/types.ts +24 -0
  372. package/src/features/keyboard/constants/groups/geometry.constants.ts +25 -0
  373. package/src/features/keyboard/constants/groups/index.ts +1 -0
  374. package/src/features/keyboard/constants/keyboard.constants.ts +6 -0
  375. package/src/features/keyboard/constants/keyboard.helpers.ts +3 -0
  376. package/src/features/keyboard/constants/keyboardLayouts.ts +15 -5
  377. package/src/features/keyboard/constants/keys/geometry.constants.tsx +61 -1
  378. package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
  379. package/src/features/keyboard/constants/keys/units.constants.tsx +1 -0
  380. package/src/features/keyboard/types/types.ts +1 -0
  381. package/src/index.ts +1 -0
  382. package/src/lib/types/keys.ts +18 -0
  383. package/src/shared/icons/GeometryIcon.tsx +18 -0
  384. package/src/shared/icons/keyboard/AngleIcon.tsx +4 -2
  385. package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +5 -8
  386. package/src/shared/icons/keyboard/ImpliesIcon.tsx +16 -0
  387. package/src/shared/icons/keyboard/LetterAIcon.tsx +14 -0
  388. package/src/shared/icons/keyboard/LetterBIcon.tsx +14 -0
  389. package/src/shared/icons/keyboard/LetterCIcon.tsx +14 -0
  390. package/src/shared/icons/keyboard/LineSegmentIcon.tsx +6 -7
  391. package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +5 -8
  392. package/src/shared/icons/keyboard/ThereforeIcon.tsx +15 -0
  393. package/src/shared/icons/keyboard/TriangleIcon.tsx +18 -0
  394. package/src/shared/translation/constants.ts +16 -1
  395. package/src/shared/translation/helpers.ts +45 -5
  396. package/src/shared/translation/hooks.ts +22 -6
  397. package/src/shared/translation/index.ts +3 -3
  398. package/src/shared/translation/localization/ca.json +61 -0
  399. package/src/shared/translation/localization/de.json +61 -0
  400. package/{dist/module/shared/translation/schema.json → src/shared/translation/localization/en.json} +38 -43
  401. package/src/shared/translation/localization/gb.json +61 -0
  402. package/src/shared/translation/localization/sct.json +61 -0
  403. package/src/shared/translation/localization/sw.json +61 -0
  404. package/src/shared/translation/model.ts +16 -0
  405. package/src/shared/translation/types.ts +19 -3
  406. package/src/shared/translation/validation.types.ts +34 -0
  407. package/tsconfig.build.json +4 -0
  408. package/tsconfig.json +34 -0
  409. package/yarn.lock +10957 -0
  410. package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +0 -41
  411. package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
  412. package/dist/commonjs/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
  413. package/dist/commonjs/shared/translation/react-i18next.d.js +0 -5
  414. package/dist/commonjs/shared/translation/react-i18next.d.js.map +0 -1
  415. package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +0 -36
  416. package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
  417. package/dist/module/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
  418. package/dist/module/shared/translation/react-i18next.d.js +0 -5
  419. package/dist/module/shared/translation/react-i18next.d.js.map +0 -1
  420. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
  421. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
  422. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
  423. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
  424. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
  425. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
  426. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
  427. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
  428. package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +0 -52
  429. package/src/features/keyboard/components/AlgebraLayout/types.ts +0 -4
  430. package/src/shared/translation/react-i18next.d.ts +0 -21
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ThereforeIcon = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ const ASPECT_RATIO = 20 / 18;
14
+ const ThereforeIcon = ({
15
+ size = 20,
16
+ color
17
+ }) => {
18
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNativeSvg.default, {
19
+ width: size,
20
+ height: size / ASPECT_RATIO,
21
+ viewBox: "0 0 20 18",
22
+ fill: "none",
23
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Circle, {
24
+ cx: "7.07972",
25
+ cy: "11.6398",
26
+ r: "1.8",
27
+ fill: color
28
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Circle, {
29
+ cx: "12.9203",
30
+ cy: "11.6398",
31
+ r: "1.8",
32
+ fill: color
33
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Circle, {
34
+ cx: "10",
35
+ cy: "6.36006",
36
+ r: "1.8",
37
+ fill: color
38
+ })]
39
+ });
40
+ };
41
+ exports.ThereforeIcon = ThereforeIcon;
42
+ //# sourceMappingURL=ThereforeIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ASPECT_RATIO","ThereforeIcon","size","color","jsxs","width","height","viewBox","fill","children","jsx","Circle","cx","cy","exports"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/ThereforeIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA8C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAd,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA;AAE9C,MAAMmB,YAAY,GAAG,EAAE,GAAG,EAAE;AAErB,MAAMC,aAAa,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAChE,oBACE,IAAAxB,WAAA,CAAAyB,IAAA,EAAC3B,eAAA,CAAAS,OAAG;IAACmB,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAI,GAAGF,YAAa;IAACO,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC5E,IAAA9B,WAAA,CAAA+B,GAAA,EAACjC,eAAA,CAAAkC,MAAM;MAACC,EAAE,EAAC,SAAS;MAACC,EAAE,EAAC,SAAS;MAAC9B,CAAC,EAAC,KAAK;MAACyB,IAAI,EAAEL;IAAM,CAAE,CAAC,eACzD,IAAAxB,WAAA,CAAA+B,GAAA,EAACjC,eAAA,CAAAkC,MAAM;MAACC,EAAE,EAAC,SAAS;MAACC,EAAE,EAAC,SAAS;MAAC9B,CAAC,EAAC,KAAK;MAACyB,IAAI,EAAEL;IAAM,CAAE,CAAC,eACzD,IAAAxB,WAAA,CAAA+B,GAAA,EAACjC,eAAA,CAAAkC,MAAM;MAACC,EAAE,EAAC,IAAI;MAACC,EAAE,EAAC,SAAS;MAAC9B,CAAC,EAAC,KAAK;MAACyB,IAAI,EAAEL;IAAM,CAAE,CAAC;EAAA,CACjD,CAAC;AAEV,CAAC;AAAAW,OAAA,CAAAb,aAAA,GAAAA,aAAA","ignoreList":[]}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TriangleIcon = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ const ASPECT_RATIO = 20 / 18;
14
+ const TriangleIcon = ({
15
+ size = 20,
16
+ color
17
+ }) => {
18
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.default, {
19
+ width: size,
20
+ height: size / ASPECT_RATIO,
21
+ viewBox: "0 0 20 18",
22
+ fill: "none",
23
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.Path, {
24
+ d: "M9.82983 3.56494C9.9081 3.43933 10.0913 3.43941 10.1697 3.56494L16.2488 13.3228C16.3317 13.4559 16.2366 13.6281 16.0798 13.6284H3.92065C3.76376 13.6284 3.66791 13.456 3.75073 13.3228L9.82983 3.56494Z",
25
+ stroke: color,
26
+ strokeWidth: "1.6",
27
+ strokeLinejoin: "round"
28
+ })
29
+ });
30
+ };
31
+ exports.TriangleIcon = TriangleIcon;
32
+ //# sourceMappingURL=TriangleIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeSvg","_interopRequireWildcard","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ASPECT_RATIO","TriangleIcon","size","color","jsx","width","height","viewBox","fill","children","Path","d","stroke","strokeWidth","strokeLinejoin","exports"],"sourceRoot":"../../../../../src","sources":["shared/icons/keyboard/TriangleIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAC,uBAAA,CAAAF,OAAA;AAA4C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAd,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAI,UAAA,GAAAJ,CAAA,KAAAK,OAAA,EAAAL,CAAA;AAE5C,MAAMmB,YAAY,GAAG,EAAE,GAAG,EAAE;AAErB,MAAMC,YAAY,GAAGA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC/D,oBACE,IAAAxB,WAAA,CAAAyB,GAAA,EAAC3B,eAAA,CAAAS,OAAG;IAACmB,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAI,GAAGF,YAAa;IAACO,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC5E,IAAA9B,WAAA,CAAAyB,GAAA,EAAC3B,eAAA,CAAAiC,IAAI;MACHC,CAAC,EAAC,yMAAyM;MAC3MC,MAAM,EAAET,KAAM;MACdU,WAAW,EAAC,KAAK;MACjBC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV,CAAC;AAAAC,OAAA,CAAAd,YAAA,GAAAA,YAAA","ignoreList":[]}
@@ -3,6 +3,21 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.NAMESPACE = void 0;
7
- const NAMESPACE = exports.NAMESPACE = 'students-features';
6
+ exports.LOCALIZATION_CONFIGS = void 0;
7
+ var _frontendConfig = require("@magmamath/frontend-config");
8
+ var _en = _interopRequireDefault(require("./localization/en.json"));
9
+ var _gb = _interopRequireDefault(require("./localization/gb.json"));
10
+ var _sw = _interopRequireDefault(require("./localization/sw.json"));
11
+ var _ca = _interopRequireDefault(require("./localization/ca.json"));
12
+ var _sct = _interopRequireDefault(require("./localization/sct.json"));
13
+ var _de = _interopRequireDefault(require("./localization/de.json"));
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ const LOCALIZATION_CONFIGS = exports.LOCALIZATION_CONFIGS = {
16
+ [_frontendConfig.Locale.US]: _en.default,
17
+ [_frontendConfig.Locale.GB]: _gb.default,
18
+ [_frontendConfig.Locale.SE]: _sw.default,
19
+ [_frontendConfig.Locale.CA]: _ca.default,
20
+ [_frontendConfig.Locale.SCT]: _sct.default,
21
+ [_frontendConfig.Locale.DE]: _de.default
22
+ };
8
23
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["NAMESPACE","exports"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;;;;;AAAO,MAAMA,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,mBAAmB","ignoreList":[]}
1
+ {"version":3,"names":["_frontendConfig","require","_en","_interopRequireDefault","_gb","_sw","_ca","_sct","_de","e","__esModule","default","LOCALIZATION_CONFIGS","exports","Locale","US","EN","GB","SE","SW","CA","SCT","DE"],"sourceRoot":"../../../../src","sources":["shared/translation/constants.ts"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,GAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,GAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,GAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,GAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,IAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,GAAA,GAAAL,sBAAA,CAAAF,OAAA;AAAuC,SAAAE,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEhC,MAAMG,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG;EAClC,CAACE,sBAAM,CAACC,EAAE,GAAGC,WAAE;EACf,CAACF,sBAAM,CAACG,EAAE,GAAGA,WAAE;EACf,CAACH,sBAAM,CAACI,EAAE,GAAGC,WAAE;EACf,CAACL,sBAAM,CAACM,EAAE,GAAGA,WAAE;EACf,CAACN,sBAAM,CAACO,GAAG,GAAGA,YAAG;EACjB,CAACP,sBAAM,CAACQ,EAAE,GAAGA;AACf,CAAC","ignoreList":[]}
@@ -3,15 +3,45 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getText = void 0;
7
- var _i18next = _interopRequireDefault(require("i18next"));
8
- var _constants = require("./constants.js");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- const getText = (key, args = null) => {
11
- return _i18next.default.t(key, {
12
- ns: _constants.NAMESPACE,
13
- ...(args || {})
6
+ exports.getText = exports.getSubstitutedString = void 0;
7
+ exports.getTranslation = getTranslation;
8
+ exports.setFeaturesLocalization = void 0;
9
+ var _model = require("./model.js");
10
+ function getTranslation(config, key) {
11
+ const rawTranslation = config?.[key];
12
+ if (typeof rawTranslation === 'string' || !key.includes('.')) {
13
+ return rawTranslation;
14
+ }
15
+ const keys = key.split('.');
16
+ let translation = config;
17
+ for (const k of keys) {
18
+ if (translation[k] === undefined) return key;
19
+ translation = translation[k];
20
+ }
21
+ if (typeof translation === 'string') {
22
+ return translation;
23
+ }
24
+ return key;
25
+ }
26
+ const getSubstitutedString = (str, substitutions = {}) => {
27
+ const substitutionsArray = Object.entries(substitutions);
28
+ let result = str;
29
+ if (!substitutionsArray.length) return result;
30
+ substitutionsArray.forEach(([key, value]) => {
31
+ result = result.replace(`{{${key}}}`, value);
14
32
  });
33
+ return result;
34
+ };
35
+ exports.getSubstitutedString = getSubstitutedString;
36
+ const getText = (key, args = null) => {
37
+ const config = _model.$localization.getState();
38
+ const translation = getTranslation(config, key);
39
+ if (args) return getSubstitutedString(translation, args);
40
+ return translation;
15
41
  };
16
42
  exports.getText = getText;
43
+ const setFeaturesLocalization = generator => {
44
+ (0, _model.setLocalization)(generator);
45
+ };
46
+ exports.setFeaturesLocalization = setFeaturesLocalization;
17
47
  //# sourceMappingURL=helpers.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_i18next","_interopRequireDefault","require","_constants","e","__esModule","default","getText","key","args","i18next","t","ns","NAMESPACE","exports"],"sourceRoot":"../../../../src","sources":["shared/translation/helpers.ts"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAAuC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGhC,MAAMG,OAAgB,GAAGA,CAACC,GAAG,EAAEC,IAAI,GAAG,IAAI,KAAK;EACpD,OAAOC,gBAAO,CAACC,CAAC,CAACH,GAAG,EAAE;IAAEI,EAAE,EAAEC,oBAAS;IAAE,IAAIJ,IAAI,IAAI,CAAC,CAAC;EAAE,CAAC,CAAC;AAC3D,CAAC;AAAAK,OAAA,CAAAP,OAAA,GAAAA,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_model","require","getTranslation","config","key","rawTranslation","includes","keys","split","translation","k","undefined","getSubstitutedString","str","substitutions","substitutionsArray","Object","entries","result","length","forEach","value","replace","exports","getText","args","$localization","getState","setFeaturesLocalization","generator","setLocalization"],"sourceRoot":"../../../../src","sources":["shared/translation/helpers.ts"],"mappings":";;;;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAGO,SAASC,cAAcA,CAACC,MAAoB,EAAEC,GAAoB,EAAE;EACzE,MAAMC,cAAc,GAAGF,MAAM,GAAGC,GAAG,CAAuB;EAC1D,IAAI,OAAOC,cAAc,KAAK,QAAQ,IAAI,CAACD,GAAG,CAACE,QAAQ,CAAC,GAAG,CAAC,EAAE;IAC5D,OAAOD,cAAc;EACvB;EACA,MAAME,IAAI,GAAGH,GAAG,CAACI,KAAK,CAAC,GAAG,CAAC;EAC3B,IAAIC,WAAW,GAAGN,MAAM;EACxB,KAAK,MAAMO,CAAC,IAAIH,IAAI,EAAE;IACpB,IAAIE,WAAW,CAACC,CAAC,CAAuB,KAAKC,SAAS,EAAE,OAAOP,GAAG;IAClEK,WAAW,GAAGA,WAAW,CAACC,CAAC,CAA8B;EAC3D;EACA,IAAI,OAAOD,WAAW,KAAK,QAAQ,EAAE;IACnC,OAAOA,WAAW;EACpB;EACA,OAAOL,GAAG;AACZ;AAEO,MAAMQ,oBAAoB,GAAGA,CAACC,GAAW,EAAEC,aAAqC,GAAG,CAAC,CAAC,KAAK;EAC/F,MAAMC,kBAAkB,GAAGC,MAAM,CAACC,OAAO,CAACH,aAAa,CAAC;EACxD,IAAII,MAAM,GAAGL,GAAG;EAEhB,IAAI,CAACE,kBAAkB,CAACI,MAAM,EAAE,OAAOD,MAAM;EAE7CH,kBAAkB,CAACK,OAAO,CAAC,CAAC,CAAChB,GAAG,EAAEiB,KAAK,CAAC,KAAK;IAC3CH,MAAM,GAAGA,MAAM,CAACI,OAAO,CAAC,KAAKlB,GAAG,IAAI,EAAEiB,KAAK,CAAC;EAC9C,CAAC,CAAC;EAEF,OAAOH,MAAM;AACf,CAAC;AAAAK,OAAA,CAAAX,oBAAA,GAAAA,oBAAA;AAEM,MAAMY,OAAgB,GAAGA,CAACpB,GAAoB,EAAEqB,IAAI,GAAG,IAAI,KAAK;EACrE,MAAMtB,MAAM,GAAGuB,oBAAa,CAACC,QAAQ,CAAC,CAAC;EAEvC,MAAMlB,WAAW,GAAGP,cAAc,CAACC,MAAM,EAAEC,GAAG,CAAC;EAC/C,IAAIqB,IAAI,EAAE,OAAOb,oBAAoB,CAACH,WAAW,EAAEgB,IAAI,CAAC;EACxD,OAAOhB,WAAW;AACpB,CAAC;AAAAc,OAAA,CAAAC,OAAA,GAAAA,OAAA;AAEM,MAAMI,uBAAuB,GAClCC,SAAiF,IAC9E;EACH,IAAAC,sBAAe,EAACD,SAAS,CAAC;AAC5B,CAAC;AAAAN,OAAA,CAAAK,uBAAA,GAAAA,uBAAA","ignoreList":[]}
@@ -3,15 +3,23 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useText = void 0;
6
+ exports.useText = exports.useFeaturesLocalization = void 0;
7
+ var _effectorReact = require("effector-react");
8
+ var _model = require("./model.js");
7
9
  var _react = require("react");
8
- var _reactI18next = require("react-i18next");
9
- var _constants = require("./constants.js");
10
+ var _helpers = require("./helpers.js");
10
11
  const useText = () => {
11
- const {
12
- t
13
- } = (0, _reactI18next.useTranslation)(_constants.NAMESPACE);
14
- return (0, _react.useCallback)((key, args = null) => t(key, args ?? undefined), [t]);
12
+ const config = (0, _effectorReact.useUnit)(_model.$localization);
13
+ return (0, _react.useCallback)((key, args = null) => {
14
+ const translation = (0, _helpers.getTranslation)(config, key);
15
+ return args ? (0, _helpers.getSubstitutedString)(translation, args) : translation;
16
+ }, [config]);
15
17
  };
16
18
  exports.useText = useText;
19
+ const useFeaturesLocalization = generator => {
20
+ (0, _react.useEffect)(() => {
21
+ (0, _model.setLocalization)(generator);
22
+ }, [generator]);
23
+ };
24
+ exports.useFeaturesLocalization = useFeaturesLocalization;
17
25
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactI18next","_constants","useText","t","useTranslation","NAMESPACE","useCallback","key","args","undefined","exports"],"sourceRoot":"../../../../src","sources":["shared/translation/hooks.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAGO,MAAMG,OAAO,GAAGA,CAAA,KAAe;EACpC,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,4BAAc,EAACC,oBAAS,CAAC;EACvC,OAAO,IAAAC,kBAAW,EAAU,CAACC,GAAG,EAAEC,IAAI,GAAG,IAAI,KAAKL,CAAC,CAACI,GAAG,EAAEC,IAAI,IAAIC,SAAS,CAAW,EAAE,CAACN,CAAC,CAAC,CAAC;AAC7F,CAAC;AAAAO,OAAA,CAAAR,OAAA,GAAAA,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_effectorReact","require","_model","_react","_helpers","useText","config","useUnit","$localization","useCallback","key","args","translation","getTranslation","getSubstitutedString","exports","useFeaturesLocalization","generator","useEffect","setLocalization"],"sourceRoot":"../../../../src","sources":["shared/translation/hooks.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,QAAA,GAAAH,OAAA;AAEO,MAAMI,OAAO,GAAGA,CAAA,KAAe;EACpC,MAAMC,MAAM,GAAG,IAAAC,sBAAO,EAACC,oBAAa,CAAC;EACrC,OAAO,IAAAC,kBAAW,EAChB,CAACC,GAAG,EAAEC,IAAI,GAAG,IAAI,KAAK;IACpB,MAAMC,WAAW,GAAG,IAAAC,uBAAc,EAACP,MAAM,EAAEI,GAAG,CAAC;IAC/C,OAAOC,IAAI,GAAG,IAAAG,6BAAoB,EAACF,WAAW,EAAED,IAAI,CAAC,GAAGC,WAAW;EACrE,CAAC,EACD,CAACN,MAAM,CACT,CAAC;AACH,CAAC;AAAAS,OAAA,CAAAV,OAAA,GAAAA,OAAA;AAEM,MAAMW,uBAAuB,GAClCC,SAAiF,IAC9E;EACH,IAAAC,gBAAS,EAAC,MAAM;IACd,IAAAC,sBAAe,EAACF,SAAS,CAAC;EAC5B,CAAC,EAAE,CAACA,SAAS,CAAC,CAAC;AACjB,CAAC;AAAAF,OAAA,CAAAC,uBAAA,GAAAA,uBAAA","ignoreList":[]}
@@ -3,12 +3,36 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "$localization", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _model.$localization;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "setFeaturesLocalization", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _helpers.setFeaturesLocalization;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "setLocalization", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _model.setLocalization;
22
+ }
23
+ });
6
24
  Object.defineProperty(exports, "t", {
7
25
  enumerable: true,
8
26
  get: function () {
9
27
  return _helpers.getText;
10
28
  }
11
29
  });
30
+ Object.defineProperty(exports, "useFeaturesLocalization", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _hooks.useFeaturesLocalization;
34
+ }
35
+ });
12
36
  Object.defineProperty(exports, "useText", {
13
37
  enumerable: true,
14
38
  get: function () {
@@ -17,4 +41,5 @@ Object.defineProperty(exports, "useText", {
17
41
  });
18
42
  var _hooks = require("./hooks.js");
19
43
  var _helpers = require("./helpers.js");
44
+ var _model = require("./model.js");
20
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_hooks","require","_helpers"],"sourceRoot":"../../../../src","sources":["shared/translation/index.ts"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_hooks","require","_helpers","_model"],"sourceRoot":"../../../../src","sources":["shared/translation/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA","ignoreList":[]}
@@ -0,0 +1,61 @@
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
+ }
@@ -0,0 +1,61 @@
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
+ }
@@ -1,66 +1,61 @@
1
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",
2
15
  "chat": {
3
16
  "anotherHint": "Give me another hint",
4
- "answerAgain": "Answer again to get another hint!",
5
- "errorMessage": "Something went wrong! Try again",
6
17
  "getHint": "Get a hint",
7
- "giveHint": "I need a hint",
18
+ "needHint": "I need a hint",
8
19
  "giveHintOpenChat": "I need a hint",
20
+ "answerAgain": "Answer again to get another hint!",
21
+ "errorMessage": "Something went wrong! Try again",
9
22
  "howCanIHelp": "Hi! Do you want help?",
10
- "inputPlaceholder": "Type...",
11
- "needHint": "I need a hint",
12
- "showError": "Show error"
13
- },
14
- "exampleSolution": {
15
- "aha": "Aha!",
16
- "errorMessage": "Something went wrong with generating an example solution",
17
- "exampleSolution": "Example solution",
18
- "letMeThink": "Let me think..."
23
+ "showError": "Show error",
24
+ "inputPlaceholder": "Type..."
19
25
  },
20
26
  "gifCelebrations": {
21
- "almostThere": "Almost there",
22
27
  "greatStart": "Great start!",
23
- "onTheWay": "On the way!"
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"
24
36
  },
25
37
  "keyboard": {
26
- "area": "Area",
27
38
  "length": "Length",
28
- "time": "Time",
39
+ "area": "Area",
29
40
  "volume": "Volume",
30
- "weight": "Weight"
31
- },
32
- "locale": "en-SE",
33
- "teacherFeedback": {
34
- "noComments": "No comments yet"
35
- },
36
- "time": {
37
- "dayAgo": "day ago",
38
- "daysAgo": "{{count}} days ago",
39
- "hourAgo": "hour ago",
40
- "hoursAgo": "{{count}} hours ago",
41
- "justNow": "just now",
42
- "minuteAgo": "minute ago",
43
- "minutesAgo": "{{count}} minutes ago",
44
- "monthAgo": "month ago",
45
- "monthsAgo": "{{count}} months ago",
46
- "yearAgo": "year ago",
47
- "yearsAgo": "{{count}} years ago"
41
+ "weight": "Weight",
42
+ "time": "Time"
48
43
  },
49
44
  "voice": {
50
- "attempt": "Attempt '{{'number'}}'",
51
- "cancel": "Cancel",
52
- "delete": "Delete",
53
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",
54
50
  "noMicrophoneAccess": "No microphone access.",
55
51
  "noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
56
52
  "noMicrophoneFound": "No microphone found.",
57
- "recordingDeleted": "Recording successfully deleted.",
58
- "redo": "Redo",
53
+ "uploadFailed": "Upload failed. Please try again.",
59
54
  "redoRecording": "Redo recording?",
55
+ "redo": "Redo",
60
56
  "thisWillRemoveRecording": "This will remove your previous recording.",
61
57
  "transcriptions": "Transcriptions",
62
- "transcriptNotAvailable": "Transcript not available",
63
- "uploadFailed": "Upload failed. Please try again.",
64
- "youWontBeAbleToRecover": "You won't be able to recover this file once it's gone."
58
+ "attempt": "Attempt {{number}}",
59
+ "transcriptNotAvailable": "Transcript not available"
65
60
  }
66
- }
61
+ }
@@ -0,0 +1,61 @@
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
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "locale": "en-SCT",
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
+ }