Translate 'Read more' link

This commit is contained in:
Wolfgang Huß 2025-09-16 20:30:20 +02:00
parent 8733ca5d3c
commit 16cddab1d4
5 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,7 @@ const locale = useRouteLocale();
const props = defineProps({ const props = defineProps({
title: { type: String}, title: { type: String},
readMoreLinkTitle: { type: String},
showAllPostsButtonTitle: { type: String}, showAllPostsButtonTitle: { type: String},
}); });
@ -51,7 +52,7 @@ const formatDate = (d) =>
<p v-if="post.excerpt" class="card__excerpt" v-html="post.excerpt"></p> <p v-if="post.excerpt" class="card__excerpt" v-html="post.excerpt"></p>
<RouterLink :to="post.path" class="card__more">Weiterlesen </RouterLink> <RouterLink :to="post.path" class="card__more">{{ readMoreLinkTitle }} </RouterLink>
</div> </div>
</article> </article>
</div> </div>

View File

@ -288,8 +288,8 @@ description: Eine freie Open-Source-Software, mit der du ein soziales Netzwerk f
XXX --> XXX -->
<MiniBlog <MiniBlog
class="large-header"
:title="'Neueste Beiträge'" :title="'Neueste Beiträge'"
:readMoreLinkTitle="'Weiterlesen'"
:show-all-posts-button-title="'Alle Beiträge ansehen'" :show-all-posts-button-title="'Alle Beiträge ansehen'"
/> />

View File

@ -290,6 +290,7 @@ XXX -->
<MiniBlog <MiniBlog
:title="'Latest posts'" :title="'Latest posts'"
:readMoreLinkTitle="'Read more'"
:show-all-posts-button-title="'Show all posts'" :show-all-posts-button-title="'Show all posts'"
/> />

View File

@ -258,6 +258,7 @@ XXX -->
<MiniBlog <MiniBlog
:title="'Últimas publicaciones'" :title="'Últimas publicaciones'"
:readMoreLinkTitle="'Seguir leyendo'"
:show-all-posts-button-title="'Mostrar todas las publicaciones'" :show-all-posts-button-title="'Mostrar todas las publicaciones'"
/> />

View File

@ -290,6 +290,7 @@ XXX -->
<MiniBlog <MiniBlog
:title="'Derniers articles'" :title="'Derniers articles'"
:readMoreLinkTitle="'Continuer la lecture'"
:show-all-posts-button-title="'Afficher tous les messages'" :show-all-posts-button-title="'Afficher tous les messages'"
/> />