From 783f924bb903ceae7627b4ead37e71e4605a6c15 Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 5 Dec 2023 16:14:20 -0600 Subject: [PATCH] Add:Ebook library filters #971 --- components/modals/FilterModal.vue | 17 +++++++++++++++++ strings/cs.json | 3 +++ strings/da.json | 3 +++ strings/de.json | 3 +++ strings/en-us.json | 3 +++ strings/es.json | 3 +++ strings/fr.json | 3 +++ strings/gu.json | 3 +++ strings/hi.json | 3 +++ strings/hr.json | 3 +++ strings/it.json | 3 +++ strings/lt.json | 3 +++ strings/nl.json | 3 +++ strings/no.json | 3 +++ strings/pl.json | 3 +++ strings/ru.json | 3 +++ strings/sv.json | 3 +++ strings/zh-cn.json | 3 +++ 18 files changed, 68 insertions(+) diff --git a/components/modals/FilterModal.vue b/components/modals/FilterModal.vue index 67cb8f4c..b21ff8de 100644 --- a/components/modals/FilterModal.vue +++ b/components/modals/FilterModal.vue @@ -95,6 +95,11 @@ export default { value: 'progress', sublist: true }, + { + text: this.$strings.LabelEbooks, + value: 'ebooks', + sublist: true + }, { text: this.$strings.ButtonIssues, value: 'issues', @@ -192,6 +197,18 @@ export default { } ] }, + ebooks() { + return [ + { + id: 'ebook', + name: this.$strings.LabelHasEbook + }, + { + id: 'supplementary', + name: this.$strings.LabelHasSupplementaryEbook + } + ] + }, sublistItems() { return (this[this.sublist] || []).map((item) => { if (typeof item === 'string') { diff --git a/strings/cs.json b/strings/cs.json index 924ecb01..cea7ee51 100644 --- a/strings/cs.json +++ b/strings/cs.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Doba trvání", "LabelEbook": "Elektronická kniha", + "LabelEbooks": "Ebooks", "LabelEnable": "Povolit", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Žánr", "LabelGenres": "Žánry", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Hostitel", diff --git a/strings/da.json b/strings/da.json index b8b1f86d..661da8e8 100644 --- a/strings/da.json +++ b/strings/da.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Varighed", "LabelEbook": "E-bog", + "LabelEbooks": "Ebooks", "LabelEnable": "Aktivér", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genrer", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Vært", diff --git a/strings/de.json b/strings/de.json index 279a4e0e..3dbf4bf0 100644 --- a/strings/de.json +++ b/strings/de.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Laufzeit", "LabelEbook": "E-Book", + "LabelEbooks": "Ebooks", "LabelEnable": "Aktivieren", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Kategorie", "LabelGenres": "Kategorien", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/en-us.json b/strings/en-us.json index 7bc62b0a..68c26467 100644 --- a/strings/en-us.json +++ b/strings/en-us.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Duration", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Enable", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genres", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/es.json b/strings/es.json index 4817fa4b..61b4f98b 100644 --- a/strings/es.json +++ b/strings/es.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Duración", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Habilitar", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genero", "LabelGenres": "Géneros", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/fr.json b/strings/fr.json index bf607cb1..7a7b9cdb 100644 --- a/strings/fr.json +++ b/strings/fr.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Durée", "LabelEbook": "Livre numérique", + "LabelEbooks": "Ebooks", "LabelEnable": "Activer", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genres", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Hôte", diff --git a/strings/gu.json b/strings/gu.json index 09f4803d..857e2bbf 100644 --- a/strings/gu.json +++ b/strings/gu.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Duration", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Enable", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genres", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/hi.json b/strings/hi.json index abdce46e..31ec192c 100644 --- a/strings/hi.json +++ b/strings/hi.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Duration", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Enable", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genres", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/hr.json b/strings/hr.json index 0f76685f..dc115e06 100644 --- a/strings/hr.json +++ b/strings/hr.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Trajanje", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Uključi", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Žanrovi", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/it.json b/strings/it.json index 2bd23a16..c1b6aa16 100644 --- a/strings/it.json +++ b/strings/it.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Durata", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Abilita", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genere", "LabelGenres": "Generi", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/lt.json b/strings/lt.json index 0bd552d6..affe24cf 100644 --- a/strings/lt.json +++ b/strings/lt.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Trukmė", "LabelEbook": "Elektroninė knyga", + "LabelEbooks": "Ebooks", "LabelEnable": "Įjungti", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Žanras", "LabelGenres": "Žanrai", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Serveris", diff --git a/strings/nl.json b/strings/nl.json index c666d1eb..87133baa 100644 --- a/strings/nl.json +++ b/strings/nl.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Duur", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Inschakelen", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genres", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/no.json b/strings/no.json index 1001cad9..f9c4b98f 100644 --- a/strings/no.json +++ b/strings/no.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Varighet", "LabelEbook": "Ebok", + "LabelEbooks": "Ebooks", "LabelEnable": "Aktiver", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Sjanger", "LabelGenres": "Sjangers", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Tjener", diff --git a/strings/pl.json b/strings/pl.json index b3f0cb87..85bc0c11 100644 --- a/strings/pl.json +++ b/strings/pl.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Czas trwania", "LabelEbook": "Ebook", + "LabelEbooks": "Ebooks", "LabelEnable": "Włącz", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Gatunek", "LabelGenres": "Gatunki", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Host", diff --git a/strings/ru.json b/strings/ru.json index 02a3aea6..2510ac2c 100644 --- a/strings/ru.json +++ b/strings/ru.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Длина", "LabelEbook": "E-книга", + "LabelEbooks": "Ebooks", "LabelEnable": "Включить", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Жанр", "LabelGenres": "Жанры", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Хост", diff --git a/strings/sv.json b/strings/sv.json index b021c202..fd6a435b 100644 --- a/strings/sv.json +++ b/strings/sv.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "Varaktighet", "LabelEbook": "E-bok", + "LabelEbooks": "Ebooks", "LabelEnable": "Aktivera", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "Genre", "LabelGenres": "Genrer", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "Värd", diff --git a/strings/zh-cn.json b/strings/zh-cn.json index 93ac3233..3f9526c2 100644 --- a/strings/zh-cn.json +++ b/strings/zh-cn.json @@ -116,6 +116,7 @@ "LabelDownloaded": "Downloaded", "LabelDuration": "持续时间", "LabelEbook": "电子书", + "LabelEbooks": "Ebooks", "LabelEnable": "启用", "LabelEnableMp3IndexSeeking": "Enable mp3 index seeking", "LabelEnableMp3IndexSeekingHelp": "This setting should only be enabled if you have mp3 files that are not seeking correctly. Inaccurate seeking is most likely due to Variable birate (VBR) MP3 files. This setting will force index seeking, in which a time-to-byte mapping is built as the file is read. In some cases with large MP3 files there will be a delay when seeking towards the end of the file.", @@ -134,6 +135,8 @@ "LabelGenre": "流派", "LabelGenres": "流派", "LabelHapticFeedback": "Haptic feedback", + "LabelHasEbook": "Has ebook", + "LabelHasSupplementaryEbook": "Has supplementary ebook", "LabelHeavy": "Heavy", "LabelHigh": "High", "LabelHost": "主机",