@magmamath/students-features 1.3.15 → 1.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +2 -2
- package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +2 -2
- package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/commonjs/features/chatbot/helpers.js +3 -3
- package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +3 -4
- package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
- package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
- package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +4 -8
- package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/commonjs/features/feedback/components/EmptyComment.js +2 -2
- package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/commonjs/features/feedback/model/comments.js +2 -2
- package/dist/commonjs/features/feedback/model/comments.js.map +1 -1
- package/dist/commonjs/features/gifCelebrations/components/Gif.js +2 -2
- package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
- package/dist/commonjs/features/gifCelebrations/helpers.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +2 -2
- package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +2 -2
- package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js +2 -2
- package/dist/commonjs/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js +2 -2
- package/dist/commonjs/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js +2 -2
- package/dist/commonjs/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js +2 -2
- package/dist/commonjs/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/ListCard.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js +2 -2
- package/dist/commonjs/features/pmProgress/components/list/ListItem.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js +2 -2
- package/dist/commonjs/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js +2 -2
- package/dist/commonjs/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js +5 -5
- package/dist/commonjs/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js +2 -2
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +2 -2
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +2 -2
- package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +2 -2
- package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +2 -2
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +2 -2
- package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js +7 -7
- package/dist/commonjs/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/commonjs/i18n/i18n.js +15 -0
- package/dist/commonjs/i18n/i18n.js.map +1 -0
- package/dist/commonjs/i18n/i18next.d.js +5 -0
- package/dist/commonjs/i18n/i18next.d.js.map +1 -0
- package/dist/commonjs/index.js +26 -41
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lib/helpers/helpers.js +12 -12
- package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +1 -1
- package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +1 -1
- package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
- package/dist/module/features/chatbot/helpers.js +1 -1
- package/dist/module/features/chatbot/helpers.js.map +1 -1
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js +2 -3
- package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js +3 -2
- package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
- package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +5 -9
- package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js +1 -1
- package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
- package/dist/module/features/feedback/model/comments.js +1 -1
- package/dist/module/features/feedback/model/comments.js.map +1 -1
- package/dist/module/features/gifCelebrations/components/Gif.js +1 -1
- package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
- package/dist/module/features/gifCelebrations/helpers.js.map +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -1
- package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +1 -1
- package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js +1 -1
- package/dist/module/features/pmProgress/components/header/NextUp.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js +2 -2
- package/dist/module/features/pmProgress/components/header/PmProgressHeader.js.map +1 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js +1 -1
- package/dist/module/features/pmProgress/components/header/StartButton.js.map +1 -1
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js +2 -3
- package/dist/module/features/pmProgress/components/insights/PmTimeframeStats.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js +1 -1
- package/dist/module/features/pmProgress/components/list/Fluency.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/ListCard.js +2 -2
- package/dist/module/features/pmProgress/components/list/ListCard.js.map +1 -1
- package/dist/module/features/pmProgress/components/list/ListItem.js +2 -2
- package/dist/module/features/pmProgress/components/list/ListItem.js.map +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js +1 -1
- package/dist/module/features/pmProgress/components/locked/PmStatusOverlay.js.map +1 -1
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js +2 -2
- package/dist/module/features/pmProgress/components/recs/PmTeacherRecs.js.map +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js +1 -1
- package/dist/module/features/pmProgress/shared/pmProgress.helpers.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdown.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionsDropdownItem.js.map +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js +1 -1
- package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -1
- package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +1 -1
- package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js +1 -1
- package/dist/module/features/voice/recording/model/VoiceRecord.model.js.map +1 -1
- package/dist/module/i18n/i18n.js +9 -0
- package/dist/module/i18n/i18n.js.map +1 -0
- package/dist/module/i18n/i18next.d.js +5 -0
- package/dist/module/i18n/i18next.d.js.map +1 -0
- package/dist/module/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/helpers/helpers.js +1 -1
- package/dist/module/lib/helpers/helpers.js.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +2 -2
- package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
- package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.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/gifCelebrations/helpers.d.ts +2 -2
- package/dist/typescript/commonjs/features/gifCelebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/list/ListCard.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts +1 -1
- package/dist/typescript/commonjs/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +2 -2
- package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/commonjs/i18n/i18n.d.ts +8 -0
- package/dist/typescript/commonjs/i18n/i18n.d.ts.map +1 -0
- package/dist/typescript/commonjs/index.d.ts +0 -1
- package/dist/typescript/commonjs/index.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +2 -2
- package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
- package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.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/gifCelebrations/helpers.d.ts +2 -2
- package/dist/typescript/module/features/gifCelebrations/helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/Fluency.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/list/ListCard.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/components/locked/PmStatusOverlay.d.ts.map +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts +1 -1
- package/dist/typescript/module/features/pmProgress/shared/pmProgress.helpers.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +2 -2
- package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
- package/dist/typescript/module/i18n/i18n.d.ts +8 -0
- package/dist/typescript/module/i18n/i18n.d.ts.map +1 -0
- package/dist/typescript/module/index.d.ts +0 -1
- package/dist/typescript/module/index.d.ts.map +1 -1
- package/package.json +11 -6
- package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -1
- package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +1 -1
- package/src/features/chatbot/helpers.ts +1 -1
- package/src/features/chatbot/model/ChatBoxTextManager.ts +4 -8
- package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
- package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +3 -4
- package/src/features/exampleSolution/model/ExampleSolutionApi.ts +5 -9
- package/src/features/feedback/components/EmptyComment.tsx +1 -1
- package/src/features/feedback/model/comments.ts +1 -1
- package/src/features/gifCelebrations/components/Gif.tsx +1 -1
- package/src/features/gifCelebrations/helpers.ts +2 -2
- package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -1
- package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +1 -1
- package/src/features/pmProgress/components/header/NextUp.tsx +1 -1
- package/src/features/pmProgress/components/header/PmProgressHeader.tsx +2 -2
- package/src/features/pmProgress/components/header/StartButton.tsx +1 -1
- package/src/features/pmProgress/components/insights/PmTimeframeStats.tsx +2 -2
- package/src/features/pmProgress/components/list/Fluency.tsx +1 -1
- package/src/features/pmProgress/components/list/ListCard.tsx +3 -2
- package/src/features/pmProgress/components/list/ListItem.tsx +2 -2
- package/src/features/pmProgress/components/locked/PmStatusOverlay.tsx +4 -12
- package/src/features/pmProgress/components/recs/PmTeacherRecs.tsx +2 -2
- package/src/features/pmProgress/shared/pmProgress.helpers.ts +2 -2
- package/src/features/voice/playing/components/VoiceTranscriptionsDropdown.tsx +1 -1
- package/src/features/voice/playing/components/VoiceTranscriptionsDropdownItem.tsx +1 -1
- package/src/features/voice/recording/components/VoiceRecordButton.tsx +1 -1
- package/src/features/voice/recording/modal/ModalFooterButtons.tsx +2 -3
- package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +1 -1
- package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +1 -1
- package/src/features/voice/recording/model/VoiceRecord.model.ts +1 -1
- package/{dist/commonjs/shared/translation/localization/en.json → src/i18n/.generated/schema.json} +67 -62
- package/src/i18n/i18n.ts +12 -0
- package/src/i18n/i18next.d.ts +20 -0
- package/src/index.ts +0 -1
- package/src/lib/helpers/helpers.ts +1 -1
- package/dist/commonjs/lib/types/keys.js +0 -2
- package/dist/commonjs/lib/types/keys.js.map +0 -1
- package/dist/commonjs/shared/translation/constants.js +0 -23
- package/dist/commonjs/shared/translation/constants.js.map +0 -1
- package/dist/commonjs/shared/translation/helpers.js +0 -47
- package/dist/commonjs/shared/translation/helpers.js.map +0 -1
- package/dist/commonjs/shared/translation/hooks.js +0 -25
- package/dist/commonjs/shared/translation/hooks.js.map +0 -1
- package/dist/commonjs/shared/translation/index.js +0 -45
- package/dist/commonjs/shared/translation/index.js.map +0 -1
- package/dist/commonjs/shared/translation/localization/ca.json +0 -85
- package/dist/commonjs/shared/translation/localization/de.json +0 -85
- package/dist/commonjs/shared/translation/localization/gb.json +0 -85
- package/dist/commonjs/shared/translation/localization/sct.json +0 -85
- package/dist/commonjs/shared/translation/localization/sw.json +0 -85
- package/dist/commonjs/shared/translation/model.js +0 -15
- package/dist/commonjs/shared/translation/model.js.map +0 -1
- package/dist/commonjs/shared/translation/types.js +0 -6
- package/dist/commonjs/shared/translation/types.js.map +0 -1
- package/dist/commonjs/shared/translation/validation.types.js +0 -6
- package/dist/commonjs/shared/translation/validation.types.js.map +0 -1
- package/dist/module/lib/types/keys.js +0 -2
- package/dist/module/lib/types/keys.js.map +0 -1
- package/dist/module/shared/translation/constants.js +0 -18
- package/dist/module/shared/translation/constants.js.map +0 -1
- package/dist/module/shared/translation/helpers.js +0 -38
- package/dist/module/shared/translation/helpers.js.map +0 -1
- package/dist/module/shared/translation/hooks.js +0 -19
- package/dist/module/shared/translation/hooks.js.map +0 -1
- package/dist/module/shared/translation/index.js +0 -6
- package/dist/module/shared/translation/index.js.map +0 -1
- package/dist/module/shared/translation/localization/ca.json +0 -85
- package/dist/module/shared/translation/localization/de.json +0 -85
- package/dist/module/shared/translation/localization/en.json +0 -85
- package/dist/module/shared/translation/localization/gb.json +0 -85
- package/dist/module/shared/translation/localization/sct.json +0 -85
- package/dist/module/shared/translation/localization/sw.json +0 -85
- package/dist/module/shared/translation/model.js +0 -11
- package/dist/module/shared/translation/model.js.map +0 -1
- package/dist/module/shared/translation/types.js +0 -4
- package/dist/module/shared/translation/types.js.map +0 -1
- package/dist/module/shared/translation/validation.types.js +0 -4
- package/dist/module/shared/translation/validation.types.js.map +0 -1
- package/dist/typescript/commonjs/lib/types/keys.d.ts +0 -8
- package/dist/typescript/commonjs/lib/types/keys.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -513
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts +0 -7
- package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts +0 -5
- package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/index.d.ts +0 -4
- package/dist/typescript/commonjs/shared/translation/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -173
- package/dist/typescript/commonjs/shared/translation/model.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +0 -6
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +0 -1
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +0 -21
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +0 -1
- package/dist/typescript/module/lib/types/keys.d.ts +0 -8
- package/dist/typescript/module/lib/types/keys.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/constants.d.ts +0 -513
- package/dist/typescript/module/shared/translation/constants.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/helpers.d.ts +0 -7
- package/dist/typescript/module/shared/translation/helpers.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/hooks.d.ts +0 -5
- package/dist/typescript/module/shared/translation/hooks.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/index.d.ts +0 -4
- package/dist/typescript/module/shared/translation/index.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/model.d.ts +0 -173
- package/dist/typescript/module/shared/translation/model.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/types.d.ts +0 -6
- package/dist/typescript/module/shared/translation/types.d.ts.map +0 -1
- package/dist/typescript/module/shared/translation/validation.types.d.ts +0 -21
- package/dist/typescript/module/shared/translation/validation.types.d.ts.map +0 -1
- package/src/lib/types/keys.ts +0 -18
- package/src/shared/translation/constants.ts +0 -16
- package/src/shared/translation/helpers.ts +0 -47
- package/src/shared/translation/hooks.ts +0 -25
- package/src/shared/translation/index.ts +0 -3
- package/src/shared/translation/localization/ca.json +0 -85
- package/src/shared/translation/localization/de.json +0 -85
- package/src/shared/translation/localization/en.json +0 -85
- package/src/shared/translation/localization/gb.json +0 -85
- package/src/shared/translation/localization/sct.json +0 -85
- package/src/shared/translation/localization/sw.json +0 -85
- package/src/shared/translation/model.ts +0 -16
- package/src/shared/translation/types.ts +0 -21
- package/src/shared/translation/validation.types.ts +0 -34
package/{dist/commonjs/shared/translation/localization/en.json → src/i18n/.generated/schema.json}
RENAMED
|
@@ -1,85 +1,90 @@
|
|
|
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",
|
|
15
2
|
"chat": {
|
|
16
3
|
"anotherHint": "Give me another hint",
|
|
17
|
-
"getHint": "Get a hint",
|
|
18
|
-
"needHint": "I need a hint",
|
|
19
|
-
"giveHintOpenChat": "I need a hint",
|
|
20
4
|
"answerAgain": "Answer again to get another hint!",
|
|
21
5
|
"errorMessage": "Something went wrong! Try again",
|
|
6
|
+
"getHint": "Get a hint",
|
|
7
|
+
"giveHint": "I need a hint",
|
|
8
|
+
"giveHintOpenChat": "I need a hint",
|
|
22
9
|
"howCanIHelp": "Hi! Do you want help?",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"gifCelebrations": {
|
|
27
|
-
"greatStart": "Great start!",
|
|
28
|
-
"onTheWay": "On the way!",
|
|
29
|
-
"almostThere": "Almost there"
|
|
10
|
+
"inputPlaceholder": "Type...",
|
|
11
|
+
"needHint": "I need a hint",
|
|
12
|
+
"showError": "Show error"
|
|
30
13
|
},
|
|
31
14
|
"exampleSolution": {
|
|
32
|
-
"exampleSolution": "Example solution",
|
|
33
|
-
"letMeThink": "Let me think...",
|
|
34
15
|
"aha": "Aha!",
|
|
35
|
-
"errorMessage": "Something went wrong with generating an example solution"
|
|
16
|
+
"errorMessage": "Something went wrong with generating an example solution",
|
|
17
|
+
"exampleSolution": "Example solution",
|
|
18
|
+
"letMeThink": "Let me think..."
|
|
19
|
+
},
|
|
20
|
+
"gifCelebrations": {
|
|
21
|
+
"almostThere": "Almost there",
|
|
22
|
+
"greatStart": "Great start!",
|
|
23
|
+
"onTheWay": "On the way!"
|
|
36
24
|
},
|
|
37
25
|
"keyboard": {
|
|
38
|
-
"length": "Length",
|
|
39
26
|
"area": "Area",
|
|
27
|
+
"length": "Length",
|
|
28
|
+
"time": "Time",
|
|
40
29
|
"volume": "Volume",
|
|
41
|
-
"weight": "Weight"
|
|
42
|
-
|
|
30
|
+
"weight": "Weight"
|
|
31
|
+
},
|
|
32
|
+
"locale": "en-SE",
|
|
33
|
+
"pmProgress": {
|
|
34
|
+
"allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practicing.",
|
|
35
|
+
"allLockedTitle": "All grades are locked",
|
|
36
|
+
"allTime": "All time",
|
|
37
|
+
"andMore": "and '{{'count'}}' more...",
|
|
38
|
+
"fluency": "Fluency",
|
|
39
|
+
"grade": "Grade",
|
|
40
|
+
"gradeK": "K",
|
|
41
|
+
"gradeOther": "Other",
|
|
42
|
+
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later.",
|
|
43
|
+
"initErrorTitle": "Something went wrong",
|
|
44
|
+
"lastWeek": "Last week",
|
|
45
|
+
"loading": "Loading...",
|
|
46
|
+
"nextUp": "Next up!",
|
|
47
|
+
"practiceButton": "PRACTICE",
|
|
48
|
+
"skillLeft": "skill left",
|
|
49
|
+
"skillsLeft": "skills left",
|
|
50
|
+
"stars": "Practice stars",
|
|
51
|
+
"startButton": "START",
|
|
52
|
+
"teacherRecs": "Teacher recommendations",
|
|
53
|
+
"thisWeek": "This week",
|
|
54
|
+
"time": "Practice time",
|
|
55
|
+
"title": "Practice & Progress"
|
|
56
|
+
},
|
|
57
|
+
"teacherFeedback": {
|
|
58
|
+
"noComments": "No comments yet"
|
|
59
|
+
},
|
|
60
|
+
"time": {
|
|
61
|
+
"dayAgo": "day ago",
|
|
62
|
+
"daysAgo": "{{count}} days ago",
|
|
63
|
+
"hourAgo": "hour ago",
|
|
64
|
+
"hoursAgo": "{{count}} hours ago",
|
|
65
|
+
"justNow": "just now",
|
|
66
|
+
"minuteAgo": "minute ago",
|
|
67
|
+
"minutesAgo": "{{count}} minutes ago",
|
|
68
|
+
"monthAgo": "month ago",
|
|
69
|
+
"monthsAgo": "{{count}} months ago",
|
|
70
|
+
"yearAgo": "year ago",
|
|
71
|
+
"yearsAgo": "{{count}} years ago"
|
|
43
72
|
},
|
|
44
73
|
"voice": {
|
|
45
|
-
"
|
|
46
|
-
"youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
|
|
47
|
-
"recordingDeleted": "Recording successfully deleted.",
|
|
48
|
-
"delete": "Delete",
|
|
74
|
+
"attempt": "Attempt {{ number }}",
|
|
49
75
|
"cancel": "Cancel",
|
|
76
|
+
"delete": "Delete",
|
|
77
|
+
"deleteRecording": "Delete recording?",
|
|
50
78
|
"noMicrophoneAccess": "No microphone access.",
|
|
51
79
|
"noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
|
|
52
80
|
"noMicrophoneFound": "No microphone found.",
|
|
53
|
-
"
|
|
54
|
-
"redoRecording": "Redo recording?",
|
|
81
|
+
"recordingDeleted": "Recording successfully deleted.",
|
|
55
82
|
"redo": "Redo",
|
|
83
|
+
"redoRecording": "Redo recording?",
|
|
56
84
|
"thisWillRemoveRecording": "This will remove your previous recording.",
|
|
57
85
|
"transcriptions": "Transcriptions",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Grade",
|
|
77
|
-
"gradeK": "K",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All grades are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practicing.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
86
|
+
"transcriptNotAvailable": "Transcript not available",
|
|
87
|
+
"uploadFailed": "Upload failed. Please try again.",
|
|
88
|
+
"youWontBeAbleToRecover": "You won't be able to recover this file once it's gone."
|
|
84
89
|
}
|
|
85
|
-
}
|
|
90
|
+
}
|
package/src/i18n/i18n.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import i18next, { ParseKeys, TFunction } from 'i18next'
|
|
2
|
+
import { useTranslation } from 'react-i18next'
|
|
3
|
+
import { TranslationNamespace } from '@magmamath/frontend-config/translation/constants'
|
|
4
|
+
|
|
5
|
+
export const NAMESPACE = TranslationNamespace.STUDENTS_FEATURES
|
|
6
|
+
|
|
7
|
+
export type TranslationKey = ParseKeys<typeof NAMESPACE>
|
|
8
|
+
export type GetText = TFunction<typeof NAMESPACE>
|
|
9
|
+
|
|
10
|
+
export const getText: GetText = i18next.getFixedT(null, NAMESPACE)
|
|
11
|
+
|
|
12
|
+
export const useText = (): GetText => useTranslation(NAMESPACE).t
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import 'i18next'
|
|
2
|
+
import 'react-i18next'
|
|
3
|
+
import schema from './.generated/schema.json'
|
|
4
|
+
import { NAMESPACE } from './i18n'
|
|
5
|
+
|
|
6
|
+
declare module 'i18next' {
|
|
7
|
+
interface CustomTypeOptions {
|
|
8
|
+
resources: {
|
|
9
|
+
[NAMESPACE]: typeof schema
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module 'react-i18next' {
|
|
15
|
+
interface CustomTypeOptions {
|
|
16
|
+
resources: {
|
|
17
|
+
[NAMESPACE]: typeof schema
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["lib/types/keys.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
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
|
-
};
|
|
23
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
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);
|
|
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;
|
|
41
|
-
};
|
|
42
|
-
exports.getText = getText;
|
|
43
|
-
const setFeaturesLocalization = generator => {
|
|
44
|
-
(0, _model.setLocalization)(generator);
|
|
45
|
-
};
|
|
46
|
-
exports.setFeaturesLocalization = setFeaturesLocalization;
|
|
47
|
-
//# sourceMappingURL=helpers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.useText = exports.useFeaturesLocalization = void 0;
|
|
7
|
-
var _effectorReact = require("effector-react");
|
|
8
|
-
var _model = require("./model.js");
|
|
9
|
-
var _react = require("react");
|
|
10
|
-
var _helpers = require("./helpers.js");
|
|
11
|
-
const useText = () => {
|
|
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]);
|
|
17
|
-
};
|
|
18
|
-
exports.useText = useText;
|
|
19
|
-
const useFeaturesLocalization = generator => {
|
|
20
|
-
(0, _react.useEffect)(() => {
|
|
21
|
-
(0, _model.setLocalization)(generator);
|
|
22
|
-
}, [generator]);
|
|
23
|
-
};
|
|
24
|
-
exports.useFeaturesLocalization = useFeaturesLocalization;
|
|
25
|
-
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
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
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "t", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _helpers.getText;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "useFeaturesLocalization", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _hooks.useFeaturesLocalization;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "useText", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _hooks.useText;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
var _hooks = require("./hooks.js");
|
|
43
|
-
var _helpers = require("./helpers.js");
|
|
44
|
-
var _model = require("./model.js");
|
|
45
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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":[]}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"locale": "en-CA",
|
|
3
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
4
|
-
"time.justNow": "just now",
|
|
5
|
-
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
|
-
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "{{count}} hours ago",
|
|
9
|
-
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "{{count}} days ago",
|
|
11
|
-
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "{{count}} months ago",
|
|
13
|
-
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "{{count}} years ago",
|
|
15
|
-
"chat": {
|
|
16
|
-
"anotherHint": "Give me another hint",
|
|
17
|
-
"getHint": "Get a hint",
|
|
18
|
-
"needHint": "I need a hint",
|
|
19
|
-
"giveHintOpenChat": "I need a hint",
|
|
20
|
-
"answerAgain": "Answer again to get another hint!",
|
|
21
|
-
"errorMessage": "Something went wrong! Try again",
|
|
22
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
23
|
-
"showError": "Show error",
|
|
24
|
-
"inputPlaceholder": "Type..."
|
|
25
|
-
},
|
|
26
|
-
"gifCelebrations": {
|
|
27
|
-
"greatStart": "Great start!",
|
|
28
|
-
"onTheWay": "On the way!",
|
|
29
|
-
"almostThere": "Almost there"
|
|
30
|
-
},
|
|
31
|
-
"exampleSolution": {
|
|
32
|
-
"exampleSolution": "Example solution",
|
|
33
|
-
"letMeThink": "Let me think...",
|
|
34
|
-
"aha": "Aha!",
|
|
35
|
-
"errorMessage": "Something went wrong with generating an example solution"
|
|
36
|
-
},
|
|
37
|
-
"keyboard": {
|
|
38
|
-
"length": "Length",
|
|
39
|
-
"area": "Area",
|
|
40
|
-
"volume": "Volume",
|
|
41
|
-
"weight": "Weight",
|
|
42
|
-
"time": "Time"
|
|
43
|
-
},
|
|
44
|
-
"voice": {
|
|
45
|
-
"deleteRecording": "Delete recording?",
|
|
46
|
-
"youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
|
|
47
|
-
"recordingDeleted": "Recording successfully deleted.",
|
|
48
|
-
"delete": "Delete",
|
|
49
|
-
"cancel": "Cancel",
|
|
50
|
-
"noMicrophoneAccess": "No microphone access.",
|
|
51
|
-
"noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
|
|
52
|
-
"noMicrophoneFound": "No microphone found.",
|
|
53
|
-
"uploadFailed": "Upload failed. Please try again.",
|
|
54
|
-
"redoRecording": "Redo recording?",
|
|
55
|
-
"redo": "Redo",
|
|
56
|
-
"thisWillRemoveRecording": "This will remove your previous recording.",
|
|
57
|
-
"transcriptions": "Transcriptions",
|
|
58
|
-
"attempt": "Attempt {{number}}",
|
|
59
|
-
"transcriptNotAvailable": "Transcript not available"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Grade",
|
|
77
|
-
"gradeK": "K",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All grades are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all grades.\nAsk them to unlock grades so you can start practising.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"locale": "de-DE",
|
|
3
|
-
"teacherFeedback.noComments": "Noch keine Kommentare",
|
|
4
|
-
"time.justNow": "gerade eben",
|
|
5
|
-
"time.minuteAgo": "vor einer Minute",
|
|
6
|
-
"time.minutesAgo": "vor {{count}} Minuten",
|
|
7
|
-
"time.hourAgo": "vor einer Stunde",
|
|
8
|
-
"time.hoursAgo": "vor {{count}} Stunden",
|
|
9
|
-
"time.dayAgo": "vor einem Tag",
|
|
10
|
-
"time.daysAgo": "vor {{count}} Tagen",
|
|
11
|
-
"time.monthAgo": "vor einem Monat",
|
|
12
|
-
"time.monthsAgo": "vor {{count}} Monaten",
|
|
13
|
-
"time.yearAgo": "vor einem Jahr",
|
|
14
|
-
"time.yearsAgo": "vor {{count}} Jahren",
|
|
15
|
-
"chat": {
|
|
16
|
-
"anotherHint": "Gib mir noch einen Hinweis",
|
|
17
|
-
"getHint": "Einen Hinweis erhalten",
|
|
18
|
-
"needHint": "Ich brauche einen Hinweis",
|
|
19
|
-
"giveHintOpenChat": "Ich brauche einen Hinweis",
|
|
20
|
-
"answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
|
|
21
|
-
"errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
|
|
22
|
-
"howCanIHelp": "Hi! Möchtest du Hilfe?",
|
|
23
|
-
"showError": "Fehler anzeigen",
|
|
24
|
-
"inputPlaceholder": "Tippe..."
|
|
25
|
-
},
|
|
26
|
-
"gifCelebrations": {
|
|
27
|
-
"greatStart": "Toller Start!",
|
|
28
|
-
"onTheWay": "Auf dem Weg!",
|
|
29
|
-
"almostThere": "Fast geschafft"
|
|
30
|
-
},
|
|
31
|
-
"exampleSolution": {
|
|
32
|
-
"exampleSolution": "Beispiellösung",
|
|
33
|
-
"letMeThink": "Lass mich nachdenken...",
|
|
34
|
-
"aha": "Aha!",
|
|
35
|
-
"errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
|
|
36
|
-
},
|
|
37
|
-
"keyboard": {
|
|
38
|
-
"length": "Länge",
|
|
39
|
-
"area": "Fläche",
|
|
40
|
-
"volume": "Volumen",
|
|
41
|
-
"weight": "Gewicht",
|
|
42
|
-
"time": "Zeit"
|
|
43
|
-
},
|
|
44
|
-
"voice": {
|
|
45
|
-
"deleteRecording": "Aufnahme löschen?",
|
|
46
|
-
"youWontBeAbleToRecover": "Du kannst die Datei nicht wiederherstellen, wenn sie einmal gelöscht ist.",
|
|
47
|
-
"recordingDeleted": "Aufnahme gelöscht.",
|
|
48
|
-
"delete": "Löschen",
|
|
49
|
-
"cancel": "Abbrechen",
|
|
50
|
-
"noMicrophoneAccess": "Kein Mikrofon-Zugriff.",
|
|
51
|
-
"noMicrophoneAccessBySystem": "Mikrofonzugriff durch Systemeinstellungen verweigert.",
|
|
52
|
-
"noMicrophoneFound": "Kein Mikrofon gefunden.",
|
|
53
|
-
"uploadFailed": "Hochladen fehlgeschlagen. Bitte versuche es erneut.",
|
|
54
|
-
"redoRecording": "Aufnahme erneut aufnehmen?",
|
|
55
|
-
"redo": "Wiederholen",
|
|
56
|
-
"thisWillRemoveRecording": "Dadurch wird die Aufnahme entfernt.",
|
|
57
|
-
"transcriptions": "Transkriptionen",
|
|
58
|
-
"attempt": "Versuch {{number}}",
|
|
59
|
-
"transcriptNotAvailable": "Transkript nicht verfügbar"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Üben & Fortschritt",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Als Nächstes dran!",
|
|
65
|
-
"teacherRecs": "Empfehlungen der Lehrkraft",
|
|
66
|
-
"practiceButton": "ÜBEN",
|
|
67
|
-
"stars": "Übungssterne",
|
|
68
|
-
"time": "Übungszeit",
|
|
69
|
-
"thisWeek": "Diese Woche",
|
|
70
|
-
"lastWeek": "Letzte Woche",
|
|
71
|
-
"allTime": "Gesamte Zeit",
|
|
72
|
-
"fluency": "Sicherheit",
|
|
73
|
-
"andMore": "und {{count}} weitere...",
|
|
74
|
-
"skillsLeft": "Fähigkeiten übrig",
|
|
75
|
-
"skillLeft": "Fähigkeit übrig",
|
|
76
|
-
"grade": "Jahrgang",
|
|
77
|
-
"gradeK": "Kiga",
|
|
78
|
-
"gradeOther": "Sonstige",
|
|
79
|
-
"loading": "Wird geladen...",
|
|
80
|
-
"allLockedTitle": "Alle Jahrgänge sind gesperrt",
|
|
81
|
-
"allLockedSubtitle": "Deine Lehrkraft hat alle Jahrgänge gesperrt.\nBitte sie, Jahrgänge freizuschalten, damit du mit dem Üben beginnen kannst.",
|
|
82
|
-
"initErrorTitle": "Etwas ist schiefgelaufen",
|
|
83
|
-
"initErrorSubtitle": "Wir konnten deinen Fortschritt nicht laden.\nBitte versuche es später erneut."
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"locale": "en-GB",
|
|
3
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
4
|
-
"time.justNow": "just now",
|
|
5
|
-
"time.minuteAgo": "minute ago",
|
|
6
|
-
"time.minutesAgo": "{{count}} minutes ago",
|
|
7
|
-
"time.hourAgo": "hour ago",
|
|
8
|
-
"time.hoursAgo": "{{count}} hours ago",
|
|
9
|
-
"time.dayAgo": "day ago",
|
|
10
|
-
"time.daysAgo": "{{count}} days ago",
|
|
11
|
-
"time.monthAgo": "month ago",
|
|
12
|
-
"time.monthsAgo": "{{count}} months ago",
|
|
13
|
-
"time.yearAgo": "year ago",
|
|
14
|
-
"time.yearsAgo": "{{count}} years ago",
|
|
15
|
-
"chat": {
|
|
16
|
-
"anotherHint": "Give me another hint",
|
|
17
|
-
"getHint": "Get a hint",
|
|
18
|
-
"needHint": "I need a hint",
|
|
19
|
-
"giveHintOpenChat": "I need a hint",
|
|
20
|
-
"answerAgain": "Answer again to get another hint!",
|
|
21
|
-
"errorMessage": "Something went wrong! Try again",
|
|
22
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
23
|
-
"showError": "Show error",
|
|
24
|
-
"inputPlaceholder": "Type..."
|
|
25
|
-
},
|
|
26
|
-
"gifCelebrations": {
|
|
27
|
-
"greatStart": "Great start!",
|
|
28
|
-
"onTheWay": "On the way!",
|
|
29
|
-
"almostThere": "Almost there"
|
|
30
|
-
},
|
|
31
|
-
"exampleSolution": {
|
|
32
|
-
"exampleSolution": "Example solution",
|
|
33
|
-
"letMeThink": "Let me think...",
|
|
34
|
-
"aha": "Aha!",
|
|
35
|
-
"errorMessage": "Something went wrong with generating an example solution"
|
|
36
|
-
},
|
|
37
|
-
"keyboard": {
|
|
38
|
-
"length": "Length",
|
|
39
|
-
"area": "Area",
|
|
40
|
-
"volume": "Volume",
|
|
41
|
-
"weight": "Weight",
|
|
42
|
-
"time": "Time"
|
|
43
|
-
},
|
|
44
|
-
"voice": {
|
|
45
|
-
"deleteRecording": "Delete recording?",
|
|
46
|
-
"youWontBeAbleToRecover": "You won't be able to recover this file once it's gone.",
|
|
47
|
-
"recordingDeleted": "Recording successfully deleted.",
|
|
48
|
-
"delete": "Delete",
|
|
49
|
-
"cancel": "Cancel",
|
|
50
|
-
"noMicrophoneAccess": "No microphone access.",
|
|
51
|
-
"noMicrophoneAccessBySystem": "Microphone access denied by system settings.",
|
|
52
|
-
"noMicrophoneFound": "No microphone found.",
|
|
53
|
-
"uploadFailed": "Upload failed. Please try again.",
|
|
54
|
-
"redoRecording": "Redo recording?",
|
|
55
|
-
"redo": "Redo",
|
|
56
|
-
"thisWillRemoveRecording": "This will remove your previous recording.",
|
|
57
|
-
"transcriptions": "Transcriptions",
|
|
58
|
-
"attempt": "Attempt {{number}}",
|
|
59
|
-
"transcriptNotAvailable": "Transcript not available"
|
|
60
|
-
},
|
|
61
|
-
"pmProgress": {
|
|
62
|
-
"title": "Practice & Progress",
|
|
63
|
-
"startButton": "START",
|
|
64
|
-
"nextUp": "Next up!",
|
|
65
|
-
"teacherRecs": "Teacher recommendations",
|
|
66
|
-
"practiceButton": "PRACTICE",
|
|
67
|
-
"stars": "Practice stars",
|
|
68
|
-
"time": "Practice time",
|
|
69
|
-
"thisWeek": "This week",
|
|
70
|
-
"lastWeek": "Last week",
|
|
71
|
-
"allTime": "All time",
|
|
72
|
-
"fluency": "Fluency",
|
|
73
|
-
"andMore": "and {{count}} more...",
|
|
74
|
-
"skillsLeft": "skills left",
|
|
75
|
-
"skillLeft": "skill left",
|
|
76
|
-
"grade": "Year",
|
|
77
|
-
"gradeK": "R",
|
|
78
|
-
"gradeOther": "Other",
|
|
79
|
-
"loading": "Loading...",
|
|
80
|
-
"allLockedTitle": "All years are locked",
|
|
81
|
-
"allLockedSubtitle": "Your teacher has locked all years.\nAsk them to unlock years so you can start practising.",
|
|
82
|
-
"initErrorTitle": "Something went wrong",
|
|
83
|
-
"initErrorSubtitle": "We couldn't load your progress.\nPlease try again later."
|
|
84
|
-
}
|
|
85
|
-
}
|