Restructure translation files

This commit is contained in:
2024-10-25 13:05:51 +02:00
parent 10d6142fff
commit fedb821a72
39 changed files with 526 additions and 596 deletions

View File

@@ -31,7 +31,7 @@ function confirmPressed() {
prepend-icon="mdi-close"
color="orange"
>
{{ $t("dialog.cancel") }}
{{ $t("misc.actions.cancel") }}
</outlined-button>
<outlined-button
@@ -39,7 +39,7 @@ function confirmPressed() {
prepend-icon="mdi-check"
color="red"
>
{{ $t("dialog.confirm") }}
{{ $t("misc.actions.confirm") }}
</outlined-button>
</template>
</action-dialog>

View File

@@ -22,7 +22,7 @@ watch(() => route.path, () => {
<v-spacer />
<v-col>
{{ $t('youAreHere') }}
{{ $t('misc.youAreHere') }}
<v-breadcrumbs :items="routeItems">
<template v-slot:title="{ item }">
{{ item.title.charAt(0).toUpperCase() + item.title.slice(1) }}

View File

@@ -15,7 +15,7 @@
height="100%"
:rounded="false"
>
{{ $t('allBands', 2) }}
{{ $t('band.allBands', 2) }}
</v-btn>
<v-divider vertical />
@@ -26,7 +26,7 @@
height="100%"
:rounded="false"
>
{{ $t('allConcerts', 2) }}
{{ $t('concert.allConcerts', 2) }}
</v-btn>
<v-divider vertical />
@@ -38,7 +38,7 @@
height="100%"
:rounded="false"
>
{{ $t('allLocations', 2) }}
{{ $t('location.allLocations', 2) }}
</v-btn>
<v-divider vertical />

View File

@@ -52,12 +52,12 @@ defineProps({
<template #append>
<div>
<div class="text-secondary font-weight-medium text-h6 pb-1">
{{ $t('from') + ' ' + lowestTicketPrice(concerts) + ' €' }}
{{ $t('misc.from') + ' ' + lowestTicketPrice(concerts) + ' €' }}
</div>
<div>
<v-btn variant="flat" color="secondary">
{{ $t('more') }}
{{ $t('misc.actions.more') }}
</v-btn>
</div>
</div>

View File

@@ -71,16 +71,16 @@ defineProps({
<template #append>
<div>
<div class="text-secondary font-weight-medium text-h6 pb-1">
{{ $t('from') + ' ' + concert.price.toFixed(2) + ' €' }}
{{ $t('misc.from') + ' ' + concert.price.toFixed(2) + ' €' }}
</div>
<div v-if="concert.inStock == 0 && showButton" class="text-h6">
{{ $t('soldOut') }}
{{ $t('concert.concertSoldOut') }}
</div>
<div v-else-if="showButton">
<v-btn variant="flat" color="secondary">
{{ $t('goToTheConcert') }}
{{ $t('concert.goToTheConcert') }}
</v-btn>
</div>

View File

@@ -23,7 +23,7 @@ defineProps({
@click="router.push('locations/details/' + location.name.replaceAll(' ', '-').toLowerCase())"
>
<div>
{{ nrOfConcerts }} {{ $t('concert', nrOfConcerts) }}
{{ nrOfConcerts }} {{ $t('concert.concert', nrOfConcerts) }}
</div>
</card-view-top-image>
</template>

View File

@@ -48,7 +48,7 @@ defineProps({
>
<template #content>
<div class="text-caption">
{{ $t('date') }}
{{ $t('misc.date') }}
</div>
<div>
@@ -56,7 +56,7 @@ defineProps({
</div>
<div class="text-caption">
{{ $t('location') }}
{{ $t('location.location') }}
</div>
<div>
@@ -64,7 +64,7 @@ defineProps({
</div>
<div class="text-caption">
{{ $t('price') }}
{{ $t('misc.price') }}
</div>
<div>
@@ -76,25 +76,25 @@ defineProps({
<v-row>
<v-col>
<card-view-one-line
:description-text="$t('seatGroup')"
:description-text="$t('location.seat.seatGroup')"
:value-text="seatGroup"
/>
<div v-if="seatRow != 0">
<card-view-one-line
:description-text="$t('seatRow')"
:description-text="$t('location.seat.seatRow')"
:value-text="seatRow"
/>
<card-view-one-line
:description-text="$t('seat')"
:description-text="$t('location.seat.seat')"
:value-text="seatNr"
/>
</div>
<v-div v-else>
<card-view-one-line
:value-text="$t('standingArea')"
:value-text="$t('location.seat.standingArea')"
/>
</v-div>
</v-col>

View File

@@ -93,7 +93,7 @@ const seatGroupI = findSeatCategory("I")
width="50"
class="px-5 py-2 d-flex justify-center align-center"
>
{{ $t('stage') }}
{{ $t('location.stage') }}
</v-sheet>
</v-col>

View File

@@ -53,7 +53,7 @@ function handleSeatClick() {
width="100%"
class="d-flex justify-center align-center"
>
{{ $t('stage') }}
{{ $t('location.stage') }}
</v-sheet>
</v-col>
@@ -62,7 +62,7 @@ function handleSeatClick() {
<v-row>
<v-col class="text-center text-h6">
{{ seatGroup.capacity - seatGroup.occupied }} {{ $t('standingPlaces') }}
{{ seatGroup.capacity - seatGroup.occupied }} {{ $t('location.seat.standingPlace', 2) }}
</v-col>
</v-row>
</v-sheet>