Skip to content

Commit

Permalink
Cleanup now-unused insufficient replacements modal
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellamaki committed Jun 19, 2024
1 parent 3f68cf8 commit 15d16b9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,6 @@
</div>

</KTabsPanel>

<NotEnoughResourcesModal
v-if="showNotEnoughResourcesModal"
:selectedQuestions="selectedActiveQuestions"
:availableQuestions="replacementQuestionPool"
@close="showNotEnoughResourcesModal = false"
@addResources="redirectToSelectResources"
/>
<KModal
v-if="showDeleteConfirmation"
:title="deleteSectionLabel$()"
Expand Down

This file was deleted.

28 changes: 0 additions & 28 deletions packages/kolibri-common/strings/enhancedQuizManagementStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,34 +232,6 @@ export const enhancedQuizManagementStrings = createTranslator('EnhancedQuizManag
allSectionsEmptyWarning: {
message: "You don't have any questions in the quiz",
},
notEnoughReplacementsTitle: {
message: 'Not enough replacements available',
context:
'Title of modal when a user tries to replace more questions than are available',
},
// noReplacementsMessage: {
// message:
// 'There are no more similar questions available to replace the selected questions with.',
// },
// notEnoughReplacementsMessage: {
// message:
// "You've selected { selected, number } { selected, plural, one { question } other { questions } } to replace, but {available, plural, =0 { don't have questions } one { only have 1 question } other { only have { available } questions } } available to replace them with.",
// context:
// 'Message of modal when a user tries to replace more questions than are available in the pool',
// },
goBackAndUnselect: {
message: 'You can go back and unselect some questions to be able to perform the replacement.',
context: 'Message of modal when a user tries to replace questions but cannot do so',
},
addMoreQuestions: {
message:
'You can add more exercises to increase the number of questions available. If you choose to add exercises, you will need to restart the replacement process.',
context:
'Message of modal when a user tries to replace more questions than are available',
},
addResourcesAction: {
message: 'Add exercises',
},
goBackAction: {
message: 'Go back',
},
Expand Down

0 comments on commit 15d16b9

Please sign in to comment.