mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02: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
|
return ItemTypes.BOOK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
title(context: ItemContext[]): ItemTitle | ItemTitle[] {
|
title(context: ItemContext[]): ItemTitle | ItemTitle[] {
|
||||||
if (context.includes(ItemContext.SHOW_SERIES))
|
if (context.includes(ItemContext.SHOW_SERIES))
|
||||||
return [
|
return [
|
||||||
|
|
@ -198,8 +199,7 @@ export class CollectionItem extends Item<CollectionDto> {
|
||||||
}
|
}
|
||||||
|
|
||||||
body(context: ItemContext[] = []): string {
|
body(context: ItemContext[] = []): string {
|
||||||
const c = this.item.seriesIds.length
|
return `<span>${i18n.tc('dialog.add_to_collection.card_collection_subtitle', this.item.seriesIds.length)}</span>`
|
||||||
return `<span>${c} Series</span>`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
to(): RawLocation {
|
to(): RawLocation {
|
||||||
|
|
@ -228,8 +228,7 @@ export class ReadListItem extends Item<ReadListDto> {
|
||||||
}
|
}
|
||||||
|
|
||||||
body(context: ItemContext[] = []): string {
|
body(context: ItemContext[] = []): string {
|
||||||
const c = this.item.bookIds.length
|
return `<span>${i18n.tc('dialog.add_to_readlist.card_readlist_subtitle', this.item.bookIds.length)}</span>`
|
||||||
return `<span>${c} Books</span>`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
to(): RawLocation {
|
to(): RawLocation {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue