From 8c2f56394f1a0c3274aef0f1d0952fb8aba9501f Mon Sep 17 00:00:00 2001 From: Albin Larsson Date: Thu, 22 Aug 2019 13:14:05 +0200 Subject: [PATCH] add favorite books section to favorite tab tmp --- src/controllers/favorites.js | 9 +++++++++ src/strings/de.json | 1 + src/strings/en-gb.json | 1 + src/strings/en-us.json | 1 + 4 files changed, 12 insertions(+) diff --git a/src/controllers/favorites.js b/src/controllers/favorites.js index 4412ec6e9b..6c521f7bfe 100644 --- a/src/controllers/favorites.js +++ b/src/controllers/favorites.js @@ -108,6 +108,15 @@ define(["appRouter", "cardBuilder", "dom", "globalize", "connectionManager", "ap overlayMoreButton: !0, action: "instantmix", coverImage: !0 + }, { + name: "HeaderFavoriteBooks", + types: "Book", + shape: getPosterShape(), + showTitle: true, + showYear: true, + overlayPlayButton: true, + overlayText: false, + centerText: true }] } diff --git a/src/strings/de.json b/src/strings/de.json index 424eb49cb7..d144818b0e 100644 --- a/src/strings/de.json +++ b/src/strings/de.json @@ -1412,6 +1412,7 @@ "Whitelist": "Erlaubt", "AuthProviderHelp": "Auswählen eines Authentifizierungsanbieter, der zur Authentifizierung des Passworts dieses Benutzes verwendet werden soll", "Features": "Features", + "HeaderFavoriteBooks": "Lieblingsbücher", "HeaderFavoriteMovies": "Lieblingsfilme", "HeaderFavoriteShows": "Lieblingsserien", "HeaderFavoriteEpisodes": "Lieblingsepisoden", diff --git a/src/strings/en-gb.json b/src/strings/en-gb.json index 5873d8ae70..4407164e1f 100644 --- a/src/strings/en-gb.json +++ b/src/strings/en-gb.json @@ -385,6 +385,7 @@ "HeaderEpisodes": "Episodes", "HeaderError": "Error", "HeaderExternalIds": "External IDs:", + "HeaderFavoriteBooks": "Favourite Books", "HeaderFavoriteMovies": "Favourite Movies", "HeaderFavoriteShows": "Favourite Shows", "HeaderFavoriteEpisodes": "Favourite Episodes", diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 2c7b98167f..db07c756c4 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -351,6 +351,7 @@ "HeaderEpisodes": "Episodes", "HeaderError": "Error", "HeaderExternalIds": "External IDs:", + "HeaderFavoriteBooks": "Favorite Books", "HeaderFavoriteMovies": "Favorite Movies", "HeaderFavoriteShows": "Favorite Shows", "HeaderFavoriteEpisodes": "Favorite Episodes",