@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.
- package/.claude/settings.local.json +25 -0
- package/.editorconfig +15 -0
- package/.eslintignore +2 -0
- package/.eslintrc +22 -0
- package/.gitattributes +3 -0
- package/.github/actions/setup/action.yml +37 -0
- package/.github/workflows/ci.yml +73 -0
- package/.gitignore +84 -0
- package/.idea/.gitignore +8 -0
- package/.idea/codeStyles/Project.xml +62 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/inspectionProfiles/Project_Default.xml +8 -0
- package/.idea/jsLinters/eslint.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +7 -0
- package/.idea/students-features.iml +12 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +667 -0
- package/.nvmrc +1 -0
- package/.prettierrc +11 -0
- package/.release-it.json +17 -0
- package/.watchmanconfig +1 -0
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
- package/.yarn/releases/yarn-3.6.1.cjs +874 -0
- package/babel.config.js +5 -0
- package/bob.config.js +25 -0
- package/dist/commonjs/features/chatbot/helpers.js +5 -1
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/index.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +2 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +2 -4
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -2
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +8 -4
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +20 -72
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +33 -0
- package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +94 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js +25 -0
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
- package/dist/commonjs/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
- package/dist/commonjs/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +11 -0
- package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js +11 -0
- package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js +6 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +2 -0
- package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +18 -8
- package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +86 -1
- package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +2 -1
- package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/commonjs/features/keyboard/types/types.js +1 -0
- package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
- package/dist/commonjs/index.js +38 -23
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/types/keys.js +2 -0
- package/dist/commonjs/lib/types/keys.js.map +1 -0
- package/dist/commonjs/shared/icons/GeometryIcon.js +32 -0
- package/dist/commonjs/shared/icons/GeometryIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +4 -3
- package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +12 -8
- package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +30 -0
- package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +29 -0
- package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +11 -6
- package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +12 -8
- package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +42 -0
- package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +32 -0
- package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +1 -0
- package/dist/commonjs/shared/translation/constants.js +17 -2
- package/dist/commonjs/shared/translation/constants.js.map +1 -1
- package/dist/commonjs/shared/translation/helpers.js +38 -8
- package/dist/commonjs/shared/translation/helpers.js.map +1 -1
- package/dist/commonjs/shared/translation/hooks.js +15 -7
- package/dist/commonjs/shared/translation/hooks.js.map +1 -1
- package/dist/commonjs/shared/translation/index.js +25 -0
- package/dist/commonjs/shared/translation/index.js.map +1 -1
- package/dist/commonjs/shared/translation/localization/ca.json +61 -0
- package/dist/commonjs/shared/translation/localization/de.json +61 -0
- package/{src/shared/translation/schema.json → dist/commonjs/shared/translation/localization/en.json} +38 -43
- package/dist/commonjs/shared/translation/localization/gb.json +61 -0
- package/dist/commonjs/shared/translation/localization/sct.json +61 -0
- package/dist/commonjs/shared/translation/localization/sw.json +61 -0
- package/dist/commonjs/shared/translation/model.js +15 -0
- package/dist/commonjs/shared/translation/model.js.map +1 -0
- package/dist/commonjs/shared/translation/validation.types.js +6 -0
- package/dist/commonjs/shared/translation/validation.types.js.map +1 -0
- package/dist/module/features/chatbot/helpers.js +5 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/index.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBotModel.js +7 -6
- package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js +2 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js +2 -3
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +4 -3
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +9 -5
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +21 -72
- package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +27 -0
- package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js +87 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.js.map +1 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js +21 -0
- package/dist/module/features/keyboard/components/SwitchableLayout/helpers.js.map +1 -0
- package/dist/module/features/keyboard/components/{AlgebraLayout → SwitchableLayout}/types.js +1 -1
- package/dist/module/features/keyboard/components/SwitchableLayout/types.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js +7 -0
- package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js +1 -0
- package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.constants.js +5 -0
- package/dist/module/features/keyboard/constants/keyboard.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js +3 -1
- package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
- package/dist/module/features/keyboard/constants/keyboardLayouts.js +19 -9
- package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js +86 -1
- package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
- package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
- package/dist/module/features/keyboard/constants/keys/units.constants.js +2 -1
- package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
- package/dist/module/features/keyboard/types/types.js +1 -0
- package/dist/module/features/keyboard/types/types.js.map +1 -1
- package/dist/module/index.js +1 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/types/keys.js +2 -0
- package/dist/module/lib/types/keys.js.map +1 -0
- package/dist/module/shared/icons/GeometryIcon.js +24 -0
- package/dist/module/shared/icons/GeometryIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/AngleIcon.js +4 -3
- package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +13 -9
- package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js +22 -0
- package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterAIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterBIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LetterCIcon.js +21 -0
- package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +12 -7
- package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +13 -9
- package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js +34 -0
- package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +1 -0
- package/dist/module/shared/icons/keyboard/TriangleIcon.js +24 -0
- package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +1 -0
- package/dist/module/shared/translation/constants.js +15 -1
- package/dist/module/shared/translation/constants.js.map +1 -1
- package/dist/module/shared/translation/helpers.js +33 -6
- package/dist/module/shared/translation/helpers.js.map +1 -1
- package/dist/module/shared/translation/hooks.js +14 -7
- package/dist/module/shared/translation/hooks.js.map +1 -1
- package/dist/module/shared/translation/index.js +3 -2
- package/dist/module/shared/translation/index.js.map +1 -1
- package/dist/module/shared/translation/localization/ca.json +61 -0
- package/dist/module/shared/translation/localization/de.json +61 -0
- package/dist/{commonjs/shared/translation/schema.json → module/shared/translation/localization/en.json} +38 -43
- package/dist/module/shared/translation/localization/gb.json +61 -0
- package/dist/module/shared/translation/localization/sct.json +61 -0
- package/dist/module/shared/translation/localization/sw.json +61 -0
- package/dist/module/shared/translation/model.js +11 -0
- package/dist/module/shared/translation/model.js.map +1 -0
- package/dist/module/shared/translation/validation.types.js +4 -0
- package/dist/module/shared/translation/validation.types.js.map +1 -0
- package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
- package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
- package/dist/typescript/commonjs/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts +5 -0
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
- package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +1 -0
- package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/index.d.ts +1 -0
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
- package/dist/typescript/commonjs/lib/types/keys.d.ts +8 -0
- package/dist/typescript/commonjs/lib/types/keys.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
- package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +368 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts +5 -1
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts +3 -1
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/index.d.ts +3 -3
- package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +125 -0
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -0
- package/dist/typescript/commonjs/shared/translation/types.d.ts +4 -3
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +21 -0
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -0
- package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +2 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts +8 -6
- package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
- package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +4 -0
- package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts +4 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/SwitchableLayout.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts +12 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/helpers.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts +21 -0
- package/dist/typescript/module/features/keyboard/components/SwitchableLayout/types.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +3 -0
- package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts +5 -0
- package/dist/typescript/module/features/keyboard/constants/keyboard.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +13 -4
- package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
- package/dist/typescript/module/features/keyboard/types/types.d.ts +1 -0
- package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
- package/dist/typescript/module/index.d.ts +1 -0
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
- package/dist/typescript/module/lib/types/keys.d.ts +8 -0
- package/dist/typescript/module/lib/types/keys.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +4 -0
- package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +1 -0
- package/dist/typescript/module/shared/translation/constants.d.ts +368 -1
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/helpers.d.ts +5 -1
- package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/hooks.d.ts +3 -1
- package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/index.d.ts +3 -3
- package/dist/typescript/module/shared/translation/index.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/model.d.ts +125 -0
- package/dist/typescript/module/shared/translation/model.d.ts.map +1 -0
- package/dist/typescript/module/shared/translation/types.d.ts +4 -3
- package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/validation.types.d.ts +21 -0
- package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -0
- package/example/.expo/README.md +8 -0
- package/example/.expo/devices.json +3 -0
- package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
- package/example/app.json +30 -0
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash-icon.png +0 -0
- package/example/babel.config.js +28 -0
- package/example/index.js +8 -0
- package/example/metro.config.js +18 -0
- package/example/package.json +25 -0
- package/example/src/App.tsx +8 -0
- package/example/tsconfig.json +6 -0
- package/package.json +4 -9
- package/src/features/chatbot/helpers.ts +2 -0
- package/src/features/chatbot/index.ts +9 -1
- package/src/features/chatbot/model/ChatBotModel.ts +7 -10
- package/src/features/chatbot/model/ChatBoxTextManager.ts +3 -2
- package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
- package/src/features/chatbot/types/api.types.ts +11 -6
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +4 -3
- package/src/features/exampleSolution/model/ExampleSolutionApi.ts +9 -5
- package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +17 -73
- package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +21 -0
- package/src/features/keyboard/components/SwitchableLayout/SwitchableLayout.tsx +100 -0
- package/src/features/keyboard/components/SwitchableLayout/helpers.tsx +31 -0
- package/src/features/keyboard/components/SwitchableLayout/types.ts +24 -0
- package/src/features/keyboard/constants/groups/geometry.constants.ts +25 -0
- package/src/features/keyboard/constants/groups/index.ts +1 -0
- package/src/features/keyboard/constants/keyboard.constants.ts +6 -0
- package/src/features/keyboard/constants/keyboard.helpers.ts +3 -0
- package/src/features/keyboard/constants/keyboardLayouts.ts +15 -5
- package/src/features/keyboard/constants/keys/geometry.constants.tsx +61 -1
- package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
- package/src/features/keyboard/constants/keys/units.constants.tsx +1 -0
- package/src/features/keyboard/types/types.ts +1 -0
- package/src/index.ts +1 -0
- package/src/lib/types/keys.ts +18 -0
- package/src/shared/icons/GeometryIcon.tsx +18 -0
- package/src/shared/icons/keyboard/AngleIcon.tsx +4 -2
- package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +5 -8
- package/src/shared/icons/keyboard/ImpliesIcon.tsx +16 -0
- package/src/shared/icons/keyboard/LetterAIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterBIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LetterCIcon.tsx +14 -0
- package/src/shared/icons/keyboard/LineSegmentIcon.tsx +6 -7
- package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +5 -8
- package/src/shared/icons/keyboard/ThereforeIcon.tsx +15 -0
- package/src/shared/icons/keyboard/TriangleIcon.tsx +18 -0
- package/src/shared/translation/constants.ts +16 -1
- package/src/shared/translation/helpers.ts +45 -5
- package/src/shared/translation/hooks.ts +22 -6
- package/src/shared/translation/index.ts +3 -3
- package/src/shared/translation/localization/ca.json +61 -0
- package/src/shared/translation/localization/de.json +61 -0
- package/{dist/module/shared/translation/schema.json → src/shared/translation/localization/en.json} +38 -43
- package/src/shared/translation/localization/gb.json +61 -0
- package/src/shared/translation/localization/sct.json +61 -0
- package/src/shared/translation/localization/sw.json +61 -0
- package/src/shared/translation/model.ts +16 -0
- package/src/shared/translation/types.ts +19 -3
- package/src/shared/translation/validation.types.ts +34 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +34 -0
- package/yarn.lock +10957 -0
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +0 -41
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
- package/dist/commonjs/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
- package/dist/commonjs/shared/translation/react-i18next.d.js +0 -5
- package/dist/commonjs/shared/translation/react-i18next.d.js.map +0 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +0 -36
- package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +0 -1
- package/dist/module/features/keyboard/components/AlgebraLayout/types.js.map +0 -1
- package/dist/module/shared/translation/react-i18next.d.js +0 -5
- package/dist/module/shared/translation/react-i18next.d.js.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
- package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +0 -15
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +0 -1
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts +0 -5
- package/dist/typescript/module/features/keyboard/components/AlgebraLayout/types.d.ts.map +0 -1
- package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +0 -52
- package/src/features/keyboard/components/AlgebraLayout/types.ts +0 -4
- 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.
|
|
7
|
-
|
|
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":["
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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":["
|
|
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
|
|
9
|
-
var _constants = require("./constants.js");
|
|
10
|
+
var _helpers = require("./helpers.js");
|
|
10
11
|
const useText = () => {
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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":["
|
|
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":"
|
|
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
|
+
}
|
package/{src/shared/translation/schema.json → dist/commonjs/shared/translation/localization/en.json}
RENAMED
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
11
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
63
|
-
"
|
|
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
|
+
}
|