diff --git a/client/components/cards/BookMatchCard.vue b/client/components/cards/BookMatchCard.vue index cbe4f7a433..d5355e9151 100644 --- a/client/components/cards/BookMatchCard.vue +++ b/client/components/cards/BookMatchCard.vue @@ -13,9 +13,9 @@

{{ book.publishedYear }}

-

by {{ book.author }}

-

Narrated by {{ book.narrator }}

-

Runtime: {{ $elapsedPrettyExtended(bookDuration, false) }} {{ bookDurationComparison }}

+

{{ $getString('LabelByAuthor', [book.author]) }}

+

{{ $strings.LabelNarrators }}: {{ book.narrator }}

+

{{ $strings.LabelDuration }}: {{ $elapsedPrettyExtended(bookDuration, false) }} {{ bookDurationComparison }}

@@ -31,7 +31,7 @@

{{ book.title }}

-

by {{ book.author }}

+

{{ $getString('LabelByAuthor', [book.author]) }}

{{ book.genres.join(', ') }}

{{ book.trackCount }} Episodes

@@ -75,11 +75,11 @@ export default { let differenceInMinutes = currentBookDurationMinutes - this.book.duration if (differenceInMinutes < 0) { differenceInMinutes = Math.abs(differenceInMinutes) - return `(${this.$elapsedPrettyExtended(differenceInMinutes * 60, false, false)} shorter)` + return this.$getString('LabelDurationComparisonLonger', [this.$elapsedPrettyExtended(differenceInMinutes * 60, false, false)]) } else if (differenceInMinutes > 0) { - return `(${this.$elapsedPrettyExtended(differenceInMinutes * 60, false, false)} longer)` + return this.$getString('LabelDurationComparisonShorter', [this.$elapsedPrettyExtended(differenceInMinutes * 60, false, false)]) } - return '(exact match)' + return this.$strings.LabelDurationComparisonExactMatch } }, methods: { diff --git a/client/components/cards/ItemSearchCard.vue b/client/components/cards/ItemSearchCard.vue index f1b5bf3d46..bfcac8f0d8 100644 --- a/client/components/cards/ItemSearchCard.vue +++ b/client/components/cards/ItemSearchCard.vue @@ -7,7 +7,7 @@

-

by {{ authorName }}

+

{{ $getString('LabelByAuthor', [authorName]) }}

@@ -69,7 +69,7 @@ export default { if (this.matchKey === 'episode') return `

${this.$strings.LabelEpisode}: ${html}

` if (this.matchKey === 'tags') return `

${this.$strings.LabelTags}: ${html}

` if (this.matchKey === 'subtitle') return `

${html}

` - if (this.matchKey === 'authors') return `by ${html}` + if (this.matchKey === 'authors') this.$getString('LabelByAuthor', [html]) if (this.matchKey === 'isbn') return `

ISBN: ${html}

` if (this.matchKey === 'asin') return `

ASIN: ${html}

` if (this.matchKey === 'series') return `

${this.$strings.LabelSeries}: ${html}

` @@ -90,4 +90,4 @@ export default { flex-direction: column; justify-content: center; } - \ No newline at end of file + diff --git a/client/components/modals/ListeningSessionModal.vue b/client/components/modals/ListeningSessionModal.vue index 2075323445..6b4a0d8ac7 100644 --- a/client/components/modals/ListeningSessionModal.vue +++ b/client/components/modals/ListeningSessionModal.vue @@ -8,7 +8,7 @@

{{ _session.displayTitle }}

-

by {{ _session.displayAuthor }}

+

{{ $getString('LabelByAuthor', [_session.displayAuthor]) }}

diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index c566f6008a..ed4db87aff 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -42,13 +42,13 @@
-

New

+

{{ $strings.LabelNew }}

-

Current

+

{{ $strings.LabelCurrent }}

@@ -180,14 +180,14 @@
-

{{ $strings.LabelCurrently }} {{ mediaMetadata.explicit ? 'Explicit (checked)' : 'Not Explicit (unchecked)' }}

+

{{ $strings.LabelCurrently }} {{ mediaMetadata.explicit ? $strings.LabelExplicitChecked : $strings.LabelExplicitUnchecked }}

-

{{ $strings.LabelCurrently }} {{ mediaMetadata.abridged ? 'Abridged (checked)' : 'Unabridged (unchecked)' }}

+

{{ $strings.LabelCurrently }} {{ mediaMetadata.abridged ? $strings.LabelAbridgedChecked : $strings.LabelAbridgedUnchecked }}

diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index ef4bbee402..a403478bde 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -18,7 +18,7 @@