Skip to content

Commit

Permalink
chore: add translation titles for link spans
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviareichl committed Dec 18, 2024
1 parent 4792647 commit b35f4bd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
10 changes: 10 additions & 0 deletions messages/de/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
},
"title": "Akademische Rezeption"
},
"AltausseePage": {
"errors": {
"404": "Seite nicht gefunden",
"500": "Interner Fehler"
},
"meta": {
"title": "Altaussee"
},
"title": "Altaussee"
},
"JournalisticReceptionPage": {
"errors": {
"404": "Seite nicht gefunden",
Expand Down
20 changes: 10 additions & 10 deletions pages/explore/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ usePageMetadata({
to="/explore/places"
class="relative aspect-square overflow-hidden bg-frisch-orange p-4 text-white transition hover:scale-105"
>
<span>ORTE</span>
<span class="uppercase">{{ t("PlacesPage.title") }}</span>
</NuxtLink>
<NuxtLink
to="/explore/journalistic-reception"
class="relative aspect-square overflow-hidden bg-frisch-grey p-4 text-frisch-indigo transition hover:scale-105"
>
<span>Journalistische Rezeption</span>
<span>{{ t("JournalisticReceptionPage.title") }}</span>
</NuxtLink>
<NuxtLink
rel="noopener noreferrer"
Expand All @@ -80,7 +80,7 @@ usePageMetadata({
to="/explore/research-aspects"
class="relative aspect-square overflow-hidden bg-frisch-orange p-4 text-white transition hover:scale-105"
>
<span>FORSCHUNGS-HINSICHTEN</span>
<span class="uppercase">{{ t("ResearchAspectsPage.title") }}</span>
</NuxtLink>
<Card class="relative aspect-square overflow-hidden p-4 transition hover:scale-105">
<NuxtImg
Expand All @@ -94,18 +94,18 @@ usePageMetadata({
to="/explore/from-the-archive"
class="relative aspect-square overflow-hidden bg-frisch-grey p-4 text-frisch-indigo transition hover:scale-105"
>
<span>Aus dem Archiv</span>
<span>{{ t("FromTheArchivePage.title") }}</span>
</NuxtLink>
<NuxtLink
to="/explore/themes"
class="relative aspect-square overflow-hidden bg-frisch-orange p-4 text-white transition hover:scale-105"
>
<span>THEMEN</span>
<span class="uppercase">{{ t("ThemesPage.title") }}</span>
</NuxtLink>
<Card
class="relative aspect-square overflow-hidden bg-frisch-indigo p-4 text-white transition hover:scale-105"
>
<span class="relative">ALTAUSSEE</span>
<span class="uppercase">{{ t("AltausseePage.title") }}</span>
</Card>
<NuxtLink
rel="noopener noreferrer"
Expand All @@ -129,14 +129,14 @@ usePageMetadata({
to="/explore/academic-reception"
class="relative aspect-square overflow-hidden bg-frisch-grey p-4 text-frisch-indigo transition hover:scale-105"
>
<span>Akademische Rezeption</span>
<span>{{ t("AcademicReceptionPage.title") }}</span>
</NuxtLink>

<NuxtLink
to="/explore/biography"
class="relative aspect-square overflow-hidden bg-frisch-indigo p-4 text-white transition hover:scale-105"
>
<span>BIOGRAFIE</span>
<span class="uppercase">{{ t("BiographyPage.title") }}</span>
</NuxtLink>
<NuxtLink
rel="noopener noreferrer"
Expand All @@ -160,7 +160,7 @@ usePageMetadata({
to="/explore/autobiografiction"
class="relative aspect-square overflow-hidden bg-frisch-grey p-4 text-frisch-indigo transition hover:scale-105"
>
<span>Autobiografiktion</span>
<span>{{ t("AutobiografictionPage.title") }}</span>
</NuxtLink>
<Card class="relative aspect-square overflow-hidden p-4 transition hover:scale-105">
<NuxtImg
Expand All @@ -174,7 +174,7 @@ usePageMetadata({
to="/explore/glossary"
class="relative aspect-square overflow-hidden bg-frisch-orange p-4 text-white transition hover:scale-105"
>
<span>GLOSSAR</span>
<span class="uppercase">{{ t("GlossaryPage.title") }}</span>
</NuxtLink>
</div>
</MainContent>
Expand Down

0 comments on commit b35f4bd

Please sign in to comment.