mirror of
https://github.com/gotson/komga.git
synced 2025-12-25 01:42:44 +01:00
refactor: extract more strings for i18n
This commit is contained in:
parent
d59167a33c
commit
e56c182b0d
4 changed files with 8 additions and 6 deletions
|
|
@ -422,7 +422,7 @@ export default Vue.extend({
|
|||
},
|
||||
seriesStatus (): any[] {
|
||||
return Object.keys(SeriesStatus).map(x => ({
|
||||
text: this.$_.capitalize(x),
|
||||
text: this.$t(`enums.series_status.${x}`),
|
||||
value: x,
|
||||
}))
|
||||
},
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@
|
|||
"edit_readlist": "Edit read list"
|
||||
},
|
||||
"browse_series": {
|
||||
"summary_from_book": "Summary from book {number}:",
|
||||
"series_no_summary": "This series has no summary, so we picked one for you!",
|
||||
"earliest_year_from_release_dates": "This is the earliest year from the release dates from all books in the series"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -116,7 +116,8 @@
|
|||
},
|
||||
"browse_series": {
|
||||
"earliest_year_from_release_dates": "Il s'agit de l'année la plus ancienne parmi les dates de sortie de tous les livres de la série",
|
||||
"series_no_summary": "Cette série n'a pas de résumé, nous en avons choisi un pour vous !"
|
||||
"series_no_summary": "Cette série n'a pas de résumé, nous en avons choisi un pour vous !",
|
||||
"summary_from_book": "Résume du livre {number} :"
|
||||
},
|
||||
"collections_expansion_panel": {
|
||||
"manage_collection": "Gérer la collection"
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
<v-chip label small
|
||||
:color="statusChip.color"
|
||||
:text-color="statusChip.text"
|
||||
>{{ series.metadata.status }}
|
||||
>{{ $t(`enums.series_status.${series.metadata.status}`) }}
|
||||
</v-chip>
|
||||
<v-chip label small v-if="series.metadata.ageRating" class="ml-2">{{
|
||||
series.metadata.ageRating
|
||||
|
|
@ -112,9 +112,9 @@
|
|||
<v-col>
|
||||
<v-tooltip right>
|
||||
<template v-slot:activator="{ on }">
|
||||
<span v-on="on" class="text-caption">Summary from book {{
|
||||
series.booksMetadata.summaryNumber
|
||||
}}:</span>
|
||||
<span v-on="on" class="text-caption">
|
||||
{{ $t('browse_series.summary_from_book',{number: series.booksMetadata.summaryNumber})}}
|
||||
</span>
|
||||
</template>
|
||||
{{ $t('browse_series.series_no_summary') }}
|
||||
</v-tooltip>
|
||||
|
|
|
|||
Loading…
Reference in a new issue