From dd138fd0be6d8100fc242816f5eb2549f2672ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Tue, 11 Oct 2022 12:32:01 +0200 Subject: [PATCH] feat: add new book categories Closes #147 --- src/things/book.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/things/book.ts b/src/things/book.ts index e1194359..18b81775 100644 --- a/src/things/book.ts +++ b/src/things/book.ts @@ -39,11 +39,13 @@ import { */ export type SCBookCategories = | 'audio' + | 'audiobook' | 'book' | 'cd' | 'dvd' - | 'ePhoto' + | 'eAudiobook' | 'ebook' + | 'ePhoto' | 'hierarchy' | 'kit' | 'manuscript' @@ -169,11 +171,13 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations().fieldValueTranslations.de, categories: { audio: 'Tonträger', + audiobook: 'Hörbuch', book: 'Buch', cd: 'CD', dvd: 'DVD', - ePhoto: 'E-Photo', + eAudiobook: 'E-Hörbuch', ebook: 'E-Book', + ePhoto: 'E-Photo', hierarchy: 'mehrteiliges Werk', kit: 'Medienkombination', manuscript: 'Handschrift', @@ -199,11 +203,13 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations