Fix translations when having an error on loading collections
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
"textplaceholder": "Write my review..."
|
||||
},
|
||||
"collections": {
|
||||
"error": "Error when loading collections: {error}",
|
||||
"add": "Add a collection",
|
||||
"name": "Nom"
|
||||
}
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
"textplaceholder": "Écrire ma critique..."
|
||||
},
|
||||
"collections": {
|
||||
"error": "Erreur pendant le chargement des listes: {error}",
|
||||
"add": "Ajouter une liste",
|
||||
"name": "Nom"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user