mirror of
https://github.com/gotson/komga.git
synced 2025-12-16 13:33:49 +01:00
fix(webui): missing i18n strings
This commit is contained in:
parent
f0d3a46655
commit
775dd5c666
1 changed files with 3 additions and 4 deletions
|
|
@ -74,6 +74,7 @@ export class BookItem extends Item<BookDto> {
|
|||
return ItemTypes.BOOK
|
||||
}
|
||||
|
||||
|
||||
title(context: ItemContext[]): ItemTitle | ItemTitle[] {
|
||||
if (context.includes(ItemContext.SHOW_SERIES))
|
||||
return [
|
||||
|
|
@ -198,8 +199,7 @@ export class CollectionItem extends Item<CollectionDto> {
|
|||
}
|
||||
|
||||
body(context: ItemContext[] = []): string {
|
||||
const c = this.item.seriesIds.length
|
||||
return `<span>${c} Series</span>`
|
||||
return `<span>${i18n.tc('dialog.add_to_collection.card_collection_subtitle', this.item.seriesIds.length)}</span>`
|
||||
}
|
||||
|
||||
to(): RawLocation {
|
||||
|
|
@ -228,8 +228,7 @@ export class ReadListItem extends Item<ReadListDto> {
|
|||
}
|
||||
|
||||
body(context: ItemContext[] = []): string {
|
||||
const c = this.item.bookIds.length
|
||||
return `<span>${c} Books</span>`
|
||||
return `<span>${i18n.tc('dialog.add_to_readlist.card_readlist_subtitle', this.item.bookIds.length)}</span>`
|
||||
}
|
||||
|
||||
to(): RawLocation {
|
||||
|
|
|
|||
Loading…
Reference in a new issue