Fix translations when having an error on loading collections
This commit is contained in:
@@ -33,7 +33,7 @@ function pageChange(newPageNumber) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<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">
|
<div v-else-if="data">
|
||||||
<AddCollection @created="fetchData" />
|
<AddCollection @created="fetchData" />
|
||||||
<div class="collectionslist">
|
<div class="collectionslist">
|
||||||
|
|||||||
@@ -91,6 +91,7 @@
|
|||||||
"textplaceholder": "Write my review..."
|
"textplaceholder": "Write my review..."
|
||||||
},
|
},
|
||||||
"collections": {
|
"collections": {
|
||||||
|
"error": "Error when loading collections: {error}",
|
||||||
"add": "Add a collection",
|
"add": "Add a collection",
|
||||||
"name": "Nom"
|
"name": "Nom"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,6 +91,7 @@
|
|||||||
"textplaceholder": "Écrire ma critique..."
|
"textplaceholder": "Écrire ma critique..."
|
||||||
},
|
},
|
||||||
"collections": {
|
"collections": {
|
||||||
|
"error": "Erreur pendant le chargement des listes: {error}",
|
||||||
"add": "Ajouter une liste",
|
"add": "Ajouter une liste",
|
||||||
"name": "Nom"
|
"name": "Nom"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user