diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index c3a8153b..a92278a0 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -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 '' diff --git a/client/components/controls/LibraryFilterSelect.vue b/client/components/controls/LibraryFilterSelect.vue index ba96f103..2d9ced5a 100644 --- a/client/components/controls/LibraryFilterSelect.vue +++ b/client/components/controls/LibraryFilterSelect.vue @@ -413,21 +413,17 @@ export default { id: 'isbn', name: 'ISBN' }, - { - id: 'subtitle', - name: this.$strings.LabelSubtitle - }, { id: 'authors', name: this.$strings.LabelAuthor }, { - id: 'publishedYear', - name: this.$strings.LabelPublishYear + id: 'chapters', + name: this.$strings.LabelChapters }, { - id: 'series', - name: this.$strings.LabelSeries + id: 'cover', + name: this.$strings.LabelCover }, { id: 'description', @@ -438,24 +434,32 @@ export default { name: this.$strings.LabelGenres }, { - id: 'tags', - name: this.$strings.LabelTags + id: 'language', + name: this.$strings.LabelLanguage }, { id: 'narrators', name: this.$strings.LabelNarrator }, + { + id: 'publishedYear', + name: this.$strings.LabelPublishYear + }, { id: 'publisher', name: this.$strings.LabelPublisher }, { - id: 'language', - name: this.$strings.LabelLanguage + id: 'series', + name: this.$strings.LabelSeries }, { - id: 'cover', - name: this.$strings.LabelCover + id: 'subtitle', + name: this.$strings.LabelSubtitle + }, + { + id: 'tags', + name: this.$strings.LabelTags } ] }, diff --git a/client/components/modals/item/tabs/Tools.vue b/client/components/modals/item/tabs/Tools.vue index ad9435c4..5f148c3d 100644 --- a/client/components/modals/item/tabs/Tools.vue +++ b/client/components/modals/item/tabs/Tools.vue @@ -33,18 +33,18 @@ launch - Quick Embed + {{ $strings.ButtonQuickEmbed }} - Queued for metadata embed ({{ queuedEmbedLIds.length }} in queue) + {{ $getString('MessageQuickEmbedQueue', [queuedEmbedLIds.length]) }} - Currently embedding metadata + {{ $strings.MessageQuickEmbedInProgress }} @@ -113,7 +113,7 @@ export default { methods: { quickEmbed() { const payload = { - message: 'Warning! Quick embed will not backup your audio files. Make sure that you have a backup of your audio files. Would you like to continue?', + message: this.$strings.MessageConfirmQuickEmbed, callback: (confirmed) => { if (confirmed) { this.$axios diff --git a/client/components/modals/notification/NotificationEditModal.vue b/client/components/modals/notification/NotificationEditModal.vue index 32fa20ea..83b5a9d0 100644 --- a/client/components/modals/notification/NotificationEditModal.vue +++ b/client/components/modals/notification/NotificationEditModal.vue @@ -77,7 +77,13 @@ export default { return this.notificationData.events || [] }, eventOptions() { - return this.notificationEvents.map((e) => ({ value: e.name, text: e.name, subtext: e.description })) + return this.notificationEvents.map((e) => { + return { + value: e.name, + text: e.name, + subtext: this.$strings[e.descriptionKey] || e.description + } + }) }, selectedEventData() { return this.notificationEvents.find((e) => e.name === this.newNotification.eventName) diff --git a/client/components/widgets/AlreadyInLibraryIndicator.vue b/client/components/widgets/AlreadyInLibraryIndicator.vue index 14f2143d..cb6bfb30 100644 --- a/client/components/widgets/AlreadyInLibraryIndicator.vue +++ b/client/components/widgets/AlreadyInLibraryIndicator.vue @@ -1,14 +1,11 @@ - - check_circle + + check_circle
Queued for metadata embed ({{ queuedEmbedLIds.length }} in queue)
{{ $getString('MessageQuickEmbedQueue', [queuedEmbedLIds.length]) }}
Currently embedding metadata
{{ $strings.MessageQuickEmbedInProgress }}