File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export class BookItem extends Item<BookDto> {
74
74
return ItemTypes . BOOK
75
75
}
76
76
77
+
77
78
title ( context : ItemContext [ ] ) : ItemTitle | ItemTitle [ ] {
78
79
if ( context . includes ( ItemContext . SHOW_SERIES ) )
79
80
return [
@@ -198,8 +199,7 @@ export class CollectionItem extends Item<CollectionDto> {
198
199
}
199
200
200
201
body ( context : ItemContext [ ] = [ ] ) : string {
201
- const c = this . item . seriesIds . length
202
- return `<span>${ c } Series</span>`
202
+ return `<span>${ i18n . tc ( 'dialog.add_to_collection.card_collection_subtitle' , this . item . seriesIds . length ) } </span>`
203
203
}
204
204
205
205
to ( ) : RawLocation {
@@ -228,8 +228,7 @@ export class ReadListItem extends Item<ReadListDto> {
228
228
}
229
229
230
230
body ( context : ItemContext [ ] = [ ] ) : string {
231
- const c = this . item . bookIds . length
232
- return `<span>${ c } Books</span>`
231
+ return `<span>${ i18n . tc ( 'dialog.add_to_readlist.card_readlist_subtitle' , this . item . bookIds . length ) } </span>`
233
232
}
234
233
235
234
to ( ) : RawLocation {
You can’t perform that action at this time.
0 commit comments