Fix translations when having an error on loading collections

This commit is contained in:
2026-04-03 15:54:14 +02:00
parent b48ab1e4de
commit 488e3763e3
3 changed files with 3 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ function pageChange(newPageNumber) {
<template>
<div>
<div v-if="error">{{ $t('bookbrowser.error', { error: error.message }) }}</div>
<div v-if="error">{{ $t('collections.error', { error: error.message }) }}</div>
<div v-else-if="data">
<AddCollection @created="fetchData" />
<div class="collectionslist">

View File

@@ -91,6 +91,7 @@
"textplaceholder": "Write my review..."
},
"collections": {
"error": "Error when loading collections: {error}",
"add": "Add a collection",
"name": "Nom"
}

View File

@@ -91,6 +91,7 @@
"textplaceholder": "Écrire ma critique..."
},
"collections": {
"error": "Erreur pendant le chargement des listes: {error}",
"add": "Ajouter une liste",
"name": "Nom"
}