Skip to content

Commit

Permalink
feat(street): adjust instruction message
Browse files Browse the repository at this point in the history
  • Loading branch information
ofr1tz committed Dec 17, 2024
1 parent ff1d402 commit ae707ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/StreetProject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default defineComponent({
},
computed: {
instructionMessage() {
const message = this.project?.lookFor
const message = this.$t('streetProject.lookFor', { lookFor: this.project?.lookFor })
return message
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/StreetProjectInstructions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineComponent({
<v-card-text>
<div class="text-h6">{{ $t('projectInstructions.classifyTitle') }}</div>
<div class="text-p">
{{ instructionMessage }} {{ $t('projectInstructions.classifyInstruction') }}.
{{ instructionMessage }}. {{ $t('projectInstructions.classifyInstruction') }}.
</div>

<v-row v-for="(option, optionIndex) in options" :key="optionIndex" align="center" dense>
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
},
"streetProject": {
"moveLeft": "Zurück",
"moveRight": "Weiter"
"moveRight": "Weiter",
"lookFor": "Suche {lookFor}"
},
"digitizeProjectInstructions": {
"switchMode": "Editiermodus umschalten",
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
},
"streetProject": {
"moveLeft": "Back",
"moveRight": "Forward"
"moveRight": "Forward",
"lookFor": "Look for {lookFor}"
},
"digitizeProjectInstructions": {
"switchMode": "Switch editing mode",
Expand Down

0 comments on commit ae707ad

Please sign in to comment.