mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-17 06:11:16 +01:00
Localize: subtitle books
This commit is contained in:
1 parent
c33b470fca
commit
8a20510cde
1 file changed
+1
-1
@@ -325,7 +325,7 @@ export default {
|
||||
},
|
||||
displaySubtitle() {
|
||||
if (!this.libraryItem) return '\u00A0'
|
||||
if (this.collapsedSeries) return this.collapsedSeries.numBooks === 1 ? '1 book' : `${this.collapsedSeries.numBooks} books`
|
||||
if (this.collapsedSeries) return `${this.collapsedSeries.numBooks} ${this.$strings.LabelBooks}`
|
||||
if (this.mediaMetadata.subtitle) return this.mediaMetadata.subtitle
|
||||
if (this.mediaMetadata.seriesName) return this.mediaMetadata.seriesName
|
||||
return ''
|
||||
|
||||
Reference in new issue
Block a user