From 1e95442bb0d258f9ca2da78f8a71c387bd33d281 Mon Sep 17 00:00:00 2001 From: SenorSmartyPants Date: Thu, 20 Jan 2022 15:34:22 -0600 Subject: [PATCH 1/3] Special Features: Display extraType as secondaryText on card --- src/components/cardbuilder/cardBuilder.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/cardbuilder/cardBuilder.js b/src/components/cardbuilder/cardBuilder.js index 4a1060a808..96f325b3e7 100644 --- a/src/components/cardbuilder/cardBuilder.js +++ b/src/components/cardbuilder/cardBuilder.js @@ -856,6 +856,10 @@ import ServerConnections from '../ServerConnections'; } } + if (item.ExtraType && item.ExtraType !== 'Unknown') { + lines.push(globalize.translate(item.ExtraType)); + } + if (options.showItemCounts) { lines.push(getItemCountsHtml(options, item)); } From 3f63d060fae74305d58c4e33fc56155df2c3e463 Mon Sep 17 00:00:00 2001 From: SenorSmartyPants Date: Thu, 20 Jan 2022 15:49:47 -0600 Subject: [PATCH 2/3] ExtraType translation strings --- src/strings/en-us.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/strings/en-us.json b/src/strings/en-us.json index f1144e8f40..3724a2f05e 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1607,5 +1607,14 @@ "UnknownVideoStreamInfo": "The video stream info is unknown", "UnknownAudioStreamInfo": "The audio stream info is unknown", "DirectPlayError": "There was an error starting direct playback", - "SelectAll": "Select All" + "SelectAll": "Select All", + "Clip": "Featurette", + "Trailer": "Trailer", + "BehindTheScenes": "Behind the scenes", + "DeletedScene": "Deleted scene", + "Interview": "Interview", + "Scene": "Scene", + "Sample": "Sample", + "ThemeSong": "Theme song", + "ThemeVideo": "Theme video" } From 916b72eb6521853287eb0a10ca7797f78684afcc Mon Sep 17 00:00:00 2001 From: SenorSmartyPants Date: Wed, 9 Feb 2022 00:44:15 -0600 Subject: [PATCH 3/3] Change to Title Case --- src/strings/en-us.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 3724a2f05e..6736b5a108 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1610,11 +1610,11 @@ "SelectAll": "Select All", "Clip": "Featurette", "Trailer": "Trailer", - "BehindTheScenes": "Behind the scenes", - "DeletedScene": "Deleted scene", + "BehindTheScenes": "Behind the Scenes", + "DeletedScene": "Deleted Scene", "Interview": "Interview", "Scene": "Scene", "Sample": "Sample", - "ThemeSong": "Theme song", - "ThemeVideo": "Theme video" + "ThemeSong": "Theme Song", + "ThemeVideo": "Theme Video" }