diff --git a/src/components/CompareProjectTask.vue b/src/components/CompareProjectTask.vue index 6d5ae8a..746c6bd 100644 --- a/src/components/CompareProjectTask.vue +++ b/src/components/CompareProjectTask.vue @@ -49,6 +49,7 @@ export default defineComponent({

{{ $t('compareProject.before') }}

{{ $t('compareProject.after') }} - Show answer + {{ $t('projectTutorial.showAnswer') }} - Next task + {{ $t('projectTutorial.nextTask') }} diff --git a/src/components/FindProjectTutorial.vue b/src/components/FindProjectTutorial.vue index 63e4d57..07a2c22 100644 --- a/src/components/FindProjectTutorial.vue +++ b/src/components/FindProjectTutorial.vue @@ -317,10 +317,10 @@ export default defineComponent({ v-if="userAttempts > 1 && !answeredCorrectly && !answersRevealed" @click="showAnswer" > - Show answer + {{ $t('projectTutorial.showAnswer') }} - Next task + {{ $t('projectTutorial.nextTask') }} diff --git a/src/components/ProjectInfo.vue b/src/components/ProjectInfo.vue index 37f1a81..45832f5 100644 --- a/src/components/ProjectInfo.vue +++ b/src/components/ProjectInfo.vue @@ -95,14 +95,21 @@ export default defineComponent({ - + - Tutorial + /> + diff --git a/src/components/TutorialCompletionCard.vue b/src/components/TutorialCompletionCard.vue index e72b0dd..b78d9c3 100644 --- a/src/components/TutorialCompletionCard.vue +++ b/src/components/TutorialCompletionCard.vue @@ -13,13 +13,13 @@ export default defineComponent({ mdi-check-circle - You're ready to start MapSwiping! + {{ $t('projectTutorial.completionTitle') }} - You're now equipped with all you need to contribute to humanitarian mapping using the app. You can come back anytime for refresher. + {{ $t('projectTutorial.completionDescription') }} - Start mapping + {{ $t('projectTutorial.startMapping') }} diff --git a/src/components/ValidateProjectTutorial.vue b/src/components/ValidateProjectTutorial.vue index 5a64d5e..578bd66 100644 --- a/src/components/ValidateProjectTutorial.vue +++ b/src/components/ValidateProjectTutorial.vue @@ -234,12 +234,12 @@ export default defineComponent({ v-if="userAttempts > 1 && !answeredCorrectly && !answersRevealed" @click="showAnswer" > - Show answer + {{ $t('projectTutorial.showAnswer') }} - Next task + {{ $t('projectTutorial.nextTask') }} diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index ab96ba5..4b818bc 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -155,7 +155,8 @@ "toggleOpacityInstruction": "For a clearer view of the underlying imagery, toggle the opacity of the overlay", "useButtonsToNavigate": "Use buttons to navigate", "whereIamTitle": "Where am I mapping?", - "whereIamInstruction": "Open a map of where you are currently contributing" + "whereIamInstruction": "Open a map of where you are currently contributing", + "tutorial": "Tutorial" }, "findProjectInstructions": { "classifyTitle": "Click or tap to classify", @@ -202,5 +203,12 @@ "drawNewFeature": "Draw new features", "modifyFeature": "Modify features", "deleteFeature": "Delete features" + }, + "projectTutorial": { + "showAnswer": "Show answer", + "nextTask": "Next task", + "completionTitle": "You're ready to start MapSwiping!", + "completionDescription": "You're now equipped with all you need to contribute to humanitarian mapping using the app. You can come back anytime for refresher.", + "startMapping": "Start mapping" } }